Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cc201530981e513eba2542fa850395c651a4a8aa 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-ssh17261832981097703903.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4524918885408056153.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2595884582716877923.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5055012216687496325.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15050154081526462662.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118095 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision cc201530981e513eba2542fa850395c651a4a8aa (main) Commit message: "Merge pull request #201 from lenny-intel/levski-change-log" > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 > git rev-list --no-walk 073f6628e4882ecd405eac7767f08140f08a9e58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-03T09:42:49.764Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-03T09:42:49.837Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-03T09:42:49.853Z] ========================================================= [2022-11-03T09:42:49.853Z] EdgeX Global Pipelines Version Info [2022-11-03T09:42:49.853Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:42:50.567Z] ------------------- [2022-11-03T09:42:50.567Z] stable info: [2022-11-03T09:42:50.567Z] ------------------- [2022-11-03T09:42:50.567Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-03T09:42:50.567Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T09:42:50.567Z] Message: update stable to v1.0.244 [2022-11-03T09:42:51.137Z] ------------------- [2022-11-03T09:42:51.137Z] experimental info: [2022-11-03T09:42:51.137Z] ------------------- [2022-11-03T09:42:51.137Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-03T09:42:51.137Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T09:42:51.137Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-03T09:42:51.298Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-11-03T09:42:51.313Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-11-03T09:42:51.325Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-03T09:42:51.339Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-03T09:42:51.350Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-03T09:42:51.362Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-03T09:42:51.375Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-03T09:42:51.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-03T09:42:51.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-03T09:42:51.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-03T09:42:51.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-03T09:42:51.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-11-03T09:42:51.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-03T09:42:51.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-03T09:42:51.475Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T09:42:51.489Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T09:42:51.500Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T09:42:51.508Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T09:42:51.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-03T09:42:51.534Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-03T09:42:51.549Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-03T09:42:51.566Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-03T09:42:51.580Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-03T09:42:51.591Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-03T09:42:51.603Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-03T09:42:51.614Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-03T09:42:51.625Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-03T09:42:51.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-03T09:42:51.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-03T09:42:51.661Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-03T09:42:51.672Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] echo [2022-11-03T09:42:51.685Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc20153 [Pipeline] echo [2022-11-03T09:42:51.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:42:51.750Z] provisioning config files... [2022-11-03T09:42:51.765Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10520199310030277327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:42:52.068Z] ---> docker-login.sh [2022-11-03T09:42:52.068Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:42:52.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:52.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:52.328Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:52.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:52.328Z] [2022-11-03T09:42:52.328Z] Login Succeeded [2022-11-03T09:42:52.328Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:42:52.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:52.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:52.588Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:52.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:52.588Z] [2022-11-03T09:42:52.588Z] Login Succeeded [2022-11-03T09:42:52.588Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:42:52.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:52.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:52.588Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:52.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:52.588Z] [2022-11-03T09:42:52.588Z] Login Succeeded [2022-11-03T09:42:52.588Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:42:52.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:52.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:52.848Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:52.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:52.848Z] [2022-11-03T09:42:52.848Z] Login Succeeded [2022-11-03T09:42:52.848Z] docker.io [2022-11-03T09:42:52.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:53.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:53.109Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:53.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:53.109Z] [2022-11-03T09:42:53.109Z] Login Succeeded [2022-11-03T09:42:53.109Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:42:53.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-03T09:42:53.479Z] + git rev-list -1 --merges cc201530981e513eba2542fa850395c651a4a8aa~1..cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] echo [2022-11-03T09:42:53.508Z] -----------> git rev-list -1 --merges cc201530981e513eba2542fa850395c651a4a8aa~1..cc201530981e513eba2542fa850395c651a4a8aa cc201530981e513eba2542fa850395c651a4a8aa [2022-11-03T09:42:53.508Z] cc201530981e513eba2542fa850395c651a4a8aa [false] [Pipeline] sh [2022-11-03T09:42:53.796Z] + git log --format=format:%s -1 cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] echo [2022-11-03T09:42:53.809Z] ========================================================= [2022-11-03T09:42:53.809Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-03T09:42:53.809Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T09:42:54.145Z] + git log --format=format:%s -1 cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] echo [2022-11-03T09:42:54.155Z] [semverPrep] GIT_COMMIT: cc201530981e513eba2542fa850395c651a4a8aa, Commit Message: Merge pull request #201 from lenny-intel/levski-change-log [Pipeline] echo [2022-11-03T09:42:54.165Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-03T09:42:54.499Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T09:42:54.499Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-03T09:42:54.499Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-03T09:42:54.499Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-03T09:42:54.499Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-03T09:42:54.499Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-03T09:42:54.499Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:42:54.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:42:54.859Z] [2022-11-03T09:42:54.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:42:55.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:42:55.160Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-03T09:42:55.160Z] b85a868b505f: Pulling fs layer [2022-11-03T09:42:55.160Z] e2be974225ed: Pulling fs layer [2022-11-03T09:42:55.160Z] 339a4e72a1f5: Pulling fs layer [2022-11-03T09:42:55.160Z] 988bab9f4d93: Pulling fs layer [2022-11-03T09:42:55.160Z] 1469e6f7b9e6: Pulling fs layer [2022-11-03T09:42:55.160Z] eaf3925da568: Pulling fs layer [2022-11-03T09:42:55.160Z] bab4dde63d76: Pulling fs layer [2022-11-03T09:42:55.160Z] bde34c3a00c8: Pulling fs layer [2022-11-03T09:42:55.160Z] 1469e6f7b9e6: Waiting [2022-11-03T09:42:55.160Z] b352a97aabf1: Pulling fs layer [2022-11-03T09:42:55.160Z] eaf3925da568: Waiting [2022-11-03T09:42:55.160Z] 4872d77fe225: Pulling fs layer [2022-11-03T09:42:55.160Z] 5851b861e8e6: Pulling fs layer [2022-11-03T09:42:55.160Z] bab4dde63d76: Waiting [2022-11-03T09:42:55.160Z] bde34c3a00c8: Waiting [2022-11-03T09:42:55.160Z] b352a97aabf1: Waiting [2022-11-03T09:42:55.160Z] 4872d77fe225: Waiting [2022-11-03T09:42:55.160Z] 988bab9f4d93: Waiting [2022-11-03T09:42:55.160Z] e2be974225ed: Verifying Checksum [2022-11-03T09:42:55.160Z] e2be974225ed: Download complete [2022-11-03T09:42:55.160Z] 988bab9f4d93: Download complete [2022-11-03T09:42:55.427Z] 1469e6f7b9e6: Verifying Checksum [2022-11-03T09:42:55.427Z] 1469e6f7b9e6: Download complete [2022-11-03T09:42:55.427Z] 339a4e72a1f5: Verifying Checksum [2022-11-03T09:42:55.427Z] 339a4e72a1f5: Download complete [2022-11-03T09:42:55.427Z] eaf3925da568: Verifying Checksum [2022-11-03T09:42:55.427Z] eaf3925da568: Download complete [2022-11-03T09:42:55.427Z] bde34c3a00c8: Verifying Checksum [2022-11-03T09:42:55.427Z] bde34c3a00c8: Download complete [2022-11-03T09:42:55.427Z] b352a97aabf1: Download complete [2022-11-03T09:42:55.427Z] 4872d77fe225: Verifying Checksum [2022-11-03T09:42:55.427Z] 4872d77fe225: Download complete [2022-11-03T09:42:55.427Z] 5851b861e8e6: Verifying Checksum [2022-11-03T09:42:55.427Z] 5851b861e8e6: Download complete [2022-11-03T09:42:55.427Z] b85a868b505f: Verifying Checksum [2022-11-03T09:42:55.427Z] b85a868b505f: Download complete [2022-11-03T09:42:55.686Z] bab4dde63d76: Verifying Checksum [2022-11-03T09:42:55.686Z] bab4dde63d76: Download complete [2022-11-03T09:42:56.633Z] b85a868b505f: Pull complete [2022-11-03T09:42:56.891Z] e2be974225ed: Pull complete [2022-11-03T09:42:57.149Z] 339a4e72a1f5: Pull complete [2022-11-03T09:42:57.149Z] 988bab9f4d93: Pull complete [2022-11-03T09:42:57.409Z] 1469e6f7b9e6: Pull complete [2022-11-03T09:42:57.668Z] eaf3925da568: Pull complete [2022-11-03T09:42:59.041Z] bab4dde63d76: Pull complete [2022-11-03T09:42:59.299Z] bde34c3a00c8: Pull complete [2022-11-03T09:42:59.299Z] b352a97aabf1: Pull complete [2022-11-03T09:42:59.299Z] 4872d77fe225: Pull complete [2022-11-03T09:42:59.558Z] 5851b861e8e6: Pull complete [2022-11-03T09:42:59.558Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-03T09:42:59.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:42:59.558Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:42:59.631Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:42:59.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T09:43:02.211Z] $ docker top 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 -eo pid,comm [2022-11-03T09:43:02.266Z] 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). [2022-11-03T09:43:02.266Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T09:43:02.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:43:02.295Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:43:02.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:43:02.392Z] $ docker exec 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 ssh-agent [2022-11-03T09:43:02.511Z] SSH_AUTH_SOCK=/tmp/ssh-j5yUWkQO37gD/agent.32 [2022-11-03T09:43:02.511Z] SSH_AGENT_PID=38 [2022-11-03T09:43:02.517Z] Running ssh-add (command line suppressed) [2022-11-03T09:43:02.630Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12078984976709375028.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12078984976709375028.key) [2022-11-03T09:43:02.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:43:02.937Z] + git tag --points-at HEAD [Pipeline] } [2022-11-03T09:43:02.944Z] $ docker exec --env ******** --env ******** 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 ssh-agent -k [2022-11-03T09:43:03.056Z] unset SSH_AUTH_SOCK; [2022-11-03T09:43:03.056Z] unset SSH_AGENT_PID; [2022-11-03T09:43:03.056Z] echo Agent pid 38 killed; [2022-11-03T09:43:03.073Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-03T09:43:03.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:43:03.092Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:43:03.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:43:03.212Z] $ docker exec 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 ssh-agent [2022-11-03T09:43:03.336Z] SSH_AUTH_SOCK=/tmp/ssh-TCQN6ooGrtWk/agent.70 [2022-11-03T09:43:03.336Z] SSH_AGENT_PID=76 [2022-11-03T09:43:03.341Z] Running ssh-add (command line suppressed) [2022-11-03T09:43:03.455Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5262300700803018948.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5262300700803018948.key) [2022-11-03T09:43:03.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:43:03.833Z] + git semver init [2022-11-03T09:43:04.092Z] 2022-11-03 09:43:04,009 [run_init] DEBUG init version:0.0.0 force:False [2022-11-03T09:43:04.092Z] 2022-11-03 09:43:04,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-11-03T09:43:04.092Z] 2022-11-03 09:43:04,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-11-03T09:43:04.092Z] 2022-11-03 09:43:04,010 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-03T09:43:05.029Z] 2022-11-03 09:43:04,955 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-11-03T09:43:05.029Z] 2022-11-03 09:43:04,955 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2022-11-03T09:43:05.029Z] 2022-11-03 09:43:04,955 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-03T09:43:05.029Z] 2022-11-03 09:43:04,956 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-03T09:43:05.029Z] 2.3.0-dev.22 [Pipeline] } [2022-11-03T09:43:05.031Z] $ docker exec --env ******** --env ******** 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 ssh-agent -k [2022-11-03T09:43:05.120Z] unset SSH_AUTH_SOCK; [2022-11-03T09:43:05.120Z] unset SSH_AGENT_PID; [2022-11-03T09:43:05.120Z] echo Agent pid 76 killed; [2022-11-03T09:43:05.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T09:43:05.421Z] + git semver [Pipeline] } [2022-11-03T09:43:05.690Z] $ docker stop --time=1 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 [2022-11-03T09:43:07.001Z] $ docker rm -f 3f8f9cfba0e47c892501c2acfb9e455e620396cc138ec35eec41e83857d27aa1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T09:43:07.344Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-03T09:43:07.513Z] Stashed 1 file(s) [Pipeline] echo [2022-11-03T09:43:07.516Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:43:07.609Z] provisioning config files... [2022-11-03T09:43:07.617Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11679087348730271900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:43:07.916Z] ---> docker-login.sh [2022-11-03T09:43:07.916Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:43:07.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:43:07.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:43:07.916Z] Configure a credential helper to remove this warning. See [2022-11-03T09:43:07.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:43:07.916Z] [2022-11-03T09:43:07.916Z] Login Succeeded [2022-11-03T09:43:07.916Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:43:07.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:43:07.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:43:07.916Z] Configure a credential helper to remove this warning. See [2022-11-03T09:43:07.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:43:07.916Z] [2022-11-03T09:43:07.916Z] Login Succeeded [2022-11-03T09:43:08.176Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:43:08.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:43:08.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:43:08.176Z] Configure a credential helper to remove this warning. See [2022-11-03T09:43:08.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:43:08.176Z] [2022-11-03T09:43:08.176Z] Login Succeeded [2022-11-03T09:43:08.176Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:43:08.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:43:08.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:43:08.434Z] Configure a credential helper to remove this warning. See [2022-11-03T09:43:08.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:43:08.434Z] [2022-11-03T09:43:08.434Z] Login Succeeded [2022-11-03T09:43:08.434Z] docker.io [2022-11-03T09:43:08.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:43:08.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:43:08.696Z] Configure a credential helper to remove this warning. See [2022-11-03T09:43:08.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:43:08.696Z] [2022-11-03T09:43:08.696Z] Login Succeeded [2022-11-03T09:43:08.696Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:43:08.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T09:43:08.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:43:08.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:43:08.773Z] ========================================================= [2022-11-03T09:43:08.773Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-03T09:43:08.773Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:43:09.078Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-03T09:43:09.078Z] Sending build context to Docker daemon 5.543MB [2022-11-03T09:43:09.078Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T09:43:09.078Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-03T09:43:09.078Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-03T09:43:09.078Z] 213ec9aee27d: Pulling fs layer [2022-11-03T09:43:09.078Z] 4583459ba037: Pulling fs layer [2022-11-03T09:43:09.078Z] 93c1e223e6f2: Pulling fs layer [2022-11-03T09:43:09.078Z] 53926ce57604: Pulling fs layer [2022-11-03T09:43:09.078Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-03T09:43:09.078Z] 22ff95d597cd: Pulling fs layer [2022-11-03T09:43:09.078Z] 12d6caf4c0d1: Pulling fs layer [2022-11-03T09:43:09.078Z] 96b7cbca73a9: Pulling fs layer [2022-11-03T09:43:09.078Z] a7acece74701: Pulling fs layer [2022-11-03T09:43:09.078Z] 12d6caf4c0d1: Waiting [2022-11-03T09:43:09.078Z] 21b2b0c7a3f4: Waiting [2022-11-03T09:43:09.078Z] 53926ce57604: Waiting [2022-11-03T09:43:09.078Z] 22ff95d597cd: Waiting [2022-11-03T09:43:09.078Z] 96b7cbca73a9: Waiting [2022-11-03T09:43:09.078Z] a7acece74701: Waiting [2022-11-03T09:43:09.078Z] 93c1e223e6f2: Verifying Checksum [2022-11-03T09:43:09.078Z] 93c1e223e6f2: Download complete [2022-11-03T09:43:09.078Z] 4583459ba037: Verifying Checksum [2022-11-03T09:43:09.078Z] 4583459ba037: Download complete [2022-11-03T09:43:09.078Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-03T09:43:09.078Z] 21b2b0c7a3f4: Download complete [2022-11-03T09:43:09.340Z] 22ff95d597cd: Download complete [2022-11-03T09:43:09.340Z] 213ec9aee27d: Verifying Checksum [2022-11-03T09:43:09.340Z] 12d6caf4c0d1: Download complete [2022-11-03T09:43:09.340Z] 213ec9aee27d: Pull complete [2022-11-03T09:43:09.614Z] 4583459ba037: Pull complete [2022-11-03T09:43:09.614Z] 93c1e223e6f2: Pull complete [2022-11-03T09:43:09.876Z] a7acece74701: Verifying Checksum [2022-11-03T09:43:09.876Z] a7acece74701: Download complete [2022-11-03T09:43:09.876Z] 96b7cbca73a9: Verifying Checksum [2022-11-03T09:43:09.876Z] 96b7cbca73a9: Download complete [2022-11-03T09:43:10.133Z] 53926ce57604: Verifying Checksum [2022-11-03T09:43:10.133Z] 53926ce57604: Download complete [2022-11-03T09:43:14.313Z] 53926ce57604: Pull complete [2022-11-03T09:43:14.313Z] 21b2b0c7a3f4: Pull complete [2022-11-03T09:43:14.313Z] 22ff95d597cd: Pull complete [2022-11-03T09:43:14.313Z] 12d6caf4c0d1: Pull complete [2022-11-03T09:43:15.687Z] 96b7cbca73a9: Pull complete [2022-11-03T09:43:16.624Z] a7acece74701: Pull complete [2022-11-03T09:43:16.624Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-03T09:43:16.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-03T09:43:16.624Z] ---> db6d94c90886 [2022-11-03T09:43:16.624Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-03T09:43:22.119Z] ---> Running in 0c1b6781a6ed [2022-11-03T09:43:22.119Z] Removing intermediate container 0c1b6781a6ed [2022-11-03T09:43:22.119Z] ---> 86f0687cbf74 [2022-11-03T09:43:22.119Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T09:43:22.119Z] ---> Running in 6e27fc7f642e [2022-11-03T09:43:22.119Z] Removing intermediate container 6e27fc7f642e [2022-11-03T09:43:22.119Z] ---> 0473b5c1791f [2022-11-03T09:43:22.119Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T09:43:22.119Z] ---> Running in 7324b260d1dd [2022-11-03T09:43:22.119Z] Removing intermediate container 7324b260d1dd [2022-11-03T09:43:22.119Z] ---> 3a8e01fd9067 [2022-11-03T09:43:22.119Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T09:43:22.119Z] ---> Running in ce25c2bc8a7a [2022-11-03T09:43:22.119Z] Removing intermediate container ce25c2bc8a7a [2022-11-03T09:43:22.119Z] ---> 26c4050c3d2b [2022-11-03T09:43:22.119Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T09:43:22.119Z] ---> Running in 46c20398bd5c [2022-11-03T09:43:22.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T09:43:22.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T09:43:22.119Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T09:43:22.119Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-03T09:43:22.119Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T09:43:22.378Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T09:43:22.378Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T09:43:22.378Z] OK: 216 MiB in 55 packages [2022-11-03T09:43:22.584Z] Still waiting to schedule task [2022-11-03T09:43:22.584Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-03T09:43:22.637Z] Removing intermediate container 46c20398bd5c [2022-11-03T09:43:22.637Z] ---> cb2321efaaae [2022-11-03T09:43:22.637Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-03T09:43:22.637Z] ---> Running in 91b5fe10631e [2022-11-03T09:43:22.897Z] Removing intermediate container 91b5fe10631e [2022-11-03T09:43:22.897Z] ---> fe8675a12856 [2022-11-03T09:43:22.897Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-03T09:43:22.897Z] ---> 7c0aec8ff4ab [2022-11-03T09:43:22.897Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T09:43:22.897Z] ---> Running in 43408bc825da [2022-11-03T09:43:44.847Z] Removing intermediate container 43408bc825da [2022-11-03T09:43:44.847Z] ---> b23e05b05948 [2022-11-03T09:43:44.847Z] Step 11/12 : COPY . . [2022-11-03T09:43:44.847Z] ---> 84557983227a [2022-11-03T09:43:44.847Z] Step 12/12 : RUN ${MAKE} [2022-11-03T09:43:44.847Z] ---> Running in e1b1862224a1 [2022-11-03T09:43:44.847Z] noop [2022-11-03T09:43:45.108Z] Removing intermediate container e1b1862224a1 [2022-11-03T09:43:45.108Z] ---> d1c1746199cb [2022-11-03T09:43:45.108Z] Successfully built d1c1746199cb [2022-11-03T09:43:45.108Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:43:45.411Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T09:43:45.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:43:45.476Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:43:45.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-03T09:43:45.838Z] $ docker top 0afad1afae3da128f70e7585b011a8cfe56797d4bb9d1199f21d7808193c8e12 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:43:46.166Z] + go version [2022-11-03T09:43:46.166Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-03T09:43:46.181Z] $ docker stop --time=1 0afad1afae3da128f70e7585b011a8cfe56797d4bb9d1199f21d7808193c8e12 [2022-11-03T09:43:47.429Z] $ docker rm -f 0afad1afae3da128f70e7585b011a8cfe56797d4bb9d1199f21d7808193c8e12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:43:47.819Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T09:43:47.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:43:47.886Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:43:47.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-03T09:43:48.240Z] $ docker top 22df9cfe88e44d277f60200d58b201c8101cec59c4e7b735e928895e36588eba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:43:48.568Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2022-11-03T09:43:48.861Z] + make test [2022-11-03T09:43:48.861Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-03T09:43:49.426Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-03T09:43:59.397Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-03T09:43:59.397Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements [2022-11-03T09:44:04.652Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-03T09:44:04.652Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T09:44:07.932Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T09:44:07.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T09:44:07.932Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T09:44:07.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T09:44:07.960Z] $ docker stop --time=1 22df9cfe88e44d277f60200d58b201c8101cec59c4e7b735e928895e36588eba [2022-11-03T09:44:10.528Z] $ docker rm -f 22df9cfe88e44d277f60200d58b201c8101cec59c4e7b735e928895e36588eba [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T09:44:10.962Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T09:44:10.995Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-03T09:44:11.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T09:44:11.713Z] + ls -al . [2022-11-03T09:44:11.713Z] total 184 [2022-11-03T09:44:11.713Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 09:43 . [2022-11-03T09:44:11.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:42 .. [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 3 09:42 .dockerignore [2022-11-03T09:44:11.713Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:43 .git [2022-11-03T09:44:11.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 .github [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 3 09:42 .gitignore [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:42 .golangci.yml [2022-11-03T09:44:11.713Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:43 .semver [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 3 09:42 Attribution.txt [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 3 09:42 CHANGELOG.md [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 3 09:42 Dockerfile [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:42 GOVERNANCE.md [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 3 09:42 Jenkinsfile [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:42 LICENSE [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 3 09:42 Makefile [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 09:42 OWNERS.md [2022-11-03T09:44:11.713Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 3 09:42 README.md [2022-11-03T09:44:11.714Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:43 VERSION [2022-11-03T09:44:11.714Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:42 bin [2022-11-03T09:44:11.714Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 cmd [2022-11-03T09:44:11.714Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 3 09:43 coverage.out [2022-11-03T09:44:11.714Z] -rw-rw-r-- 1 jenkins jenkins 3462 Nov 3 09:42 go.mod [2022-11-03T09:44:11.714Z] -rw-rw-r-- 1 jenkins jenkins 45069 Nov 3 09:42 go.sum [2022-11-03T09:44:11.714Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 internal [2022-11-03T09:44:11.714Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:42 snap [2022-11-03T09:44:11.714Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 3 09:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:12.047Z] + 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=cc201530981e513eba2542fa850395c651a4a8aa --label arch=amd64 --label version=2.3.0-dev.22 . [2022-11-03T09:44:12.047Z] Sending build context to Docker daemon 5.552MB [2022-11-03T09:44:12.047Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T09:44:12.047Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-03T09:44:12.047Z] ---> d1c1746199cb [2022-11-03T09:44:12.047Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-03T09:44:12.307Z] ---> Running in eeec25dc3e1f [2022-11-03T09:44:12.307Z] Removing intermediate container eeec25dc3e1f [2022-11-03T09:44:12.307Z] ---> 9f0b4fc3e539 [2022-11-03T09:44:12.307Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T09:44:12.307Z] ---> Running in 0cb79bb7928f [2022-11-03T09:44:12.307Z] Removing intermediate container 0cb79bb7928f [2022-11-03T09:44:12.307Z] ---> 6cc84ce0f6db [2022-11-03T09:44:12.307Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T09:44:12.307Z] ---> Running in 657ae0a90093 [2022-11-03T09:44:12.566Z] Removing intermediate container 657ae0a90093 [2022-11-03T09:44:12.566Z] ---> fc0b25eabad6 [2022-11-03T09:44:12.566Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T09:44:12.566Z] ---> Running in 3a20b964d65a [2022-11-03T09:44:12.566Z] Removing intermediate container 3a20b964d65a [2022-11-03T09:44:12.566Z] ---> e428c114f40e [2022-11-03T09:44:12.566Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T09:44:12.566Z] ---> Running in 5e2df8aa7565 [2022-11-03T09:44:12.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T09:44:12.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T09:44:13.086Z] OK: 216 MiB in 55 packages [2022-11-03T09:44:13.346Z] Removing intermediate container 5e2df8aa7565 [2022-11-03T09:44:13.346Z] ---> 2d4c850a7f4f [2022-11-03T09:44:13.346Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-03T09:44:13.346Z] ---> Running in 48318198e871 [2022-11-03T09:44:13.604Z] Removing intermediate container 48318198e871 [2022-11-03T09:44:13.604Z] ---> 5b0fdf50401b [2022-11-03T09:44:13.604Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-03T09:44:13.604Z] ---> 6bb8cebecc7f [2022-11-03T09:44:13.604Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T09:44:13.604Z] ---> Running in 5bf23174e42a [2022-11-03T09:44:14.171Z] Removing intermediate container 5bf23174e42a [2022-11-03T09:44:14.171Z] ---> 75ff0cb46647 [2022-11-03T09:44:14.171Z] Step 11/24 : COPY . . [2022-11-03T09:44:14.764Z] ---> e1ea99e69871 [2022-11-03T09:44:14.764Z] Step 12/24 : RUN ${MAKE} [2022-11-03T09:44:14.764Z] ---> Running in ffb4892955ef [2022-11-03T09:44:15.023Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-03T09:44:36.935Z] Removing intermediate container ffb4892955ef [2022-11-03T09:44:36.935Z] ---> 9a3d47a330f6 [2022-11-03T09:44:36.935Z] Step 13/24 : FROM alpine:3.16 [2022-11-03T09:44:36.935Z] 3.16: Pulling from library/alpine [2022-11-03T09:44:36.935Z] 213ec9aee27d: Already exists [2022-11-03T09:44:37.245Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T09:44:37.245Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T09:44:37.245Z] ---> 9c6f07244728 [2022-11-03T09:44:37.245Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T09:44:37.512Z] ---> Running in 938a42b3223a [2022-11-03T09:44:38.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T09:44:38.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T09:44:38.117Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T09:44:38.117Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T09:44:38.423Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T09:44:38.423Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T09:44:38.423Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T09:44:38.423Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T09:44:38.423Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T09:44:38.423Z] OK: 8 MiB in 20 packages [2022-11-03T09:44:39.385Z] Removing intermediate container 938a42b3223a [2022-11-03T09:44:39.385Z] ---> 231e46014edb [2022-11-03T09:44:39.385Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-03T09:44:40.329Z] ---> d25bf6a27a64 [2022-11-03T09:44:40.329Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-03T09:44:40.587Z] ---> 716a66ecd9d0 [2022-11-03T09:44:40.587Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-03T09:44:41.154Z] ---> 6c0a7c9112fd [2022-11-03T09:44:41.154Z] Step 18/24 : EXPOSE 59993 [2022-11-03T09:44:41.154Z] ---> Running in 00e5ff4f721c [2022-11-03T09:44:41.413Z] Removing intermediate container 00e5ff4f721c [2022-11-03T09:44:41.413Z] ---> ec136428ab85 [2022-11-03T09:44:41.413Z] Step 19/24 : EXPOSE 161 [2022-11-03T09:44:41.672Z] ---> Running in 22062b9a5bf2 [2022-11-03T09:44:41.930Z] Removing intermediate container 22062b9a5bf2 [2022-11-03T09:44:41.930Z] ---> 4ba521aaeae8 [2022-11-03T09:44:41.930Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-03T09:44:42.192Z] ---> Running in 1caa6bb64fbb [2022-11-03T09:44:42.192Z] Removing intermediate container 1caa6bb64fbb [2022-11-03T09:44:42.192Z] ---> 46fdd7ff7859 [2022-11-03T09:44:42.192Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-03T09:44:42.192Z] ---> Running in a3226dc2b219 [2022-11-03T09:44:42.451Z] Removing intermediate container a3226dc2b219 [2022-11-03T09:44:42.451Z] ---> 0ce3ae107a31 [2022-11-03T09:44:42.451Z] Step 22/24 : LABEL arch=amd64 [2022-11-03T09:44:42.451Z] ---> Running in dd53e832167d [2022-11-03T09:44:42.451Z] Removing intermediate container dd53e832167d [2022-11-03T09:44:42.451Z] ---> a6dcd80675f8 [2022-11-03T09:44:42.451Z] Step 23/24 : LABEL git_sha=cc201530981e513eba2542fa850395c651a4a8aa [2022-11-03T09:44:42.451Z] ---> Running in 8c817cbae34c [2022-11-03T09:44:42.451Z] Removing intermediate container 8c817cbae34c [2022-11-03T09:44:42.451Z] ---> 2124f53448af [2022-11-03T09:44:42.451Z] Step 24/24 : LABEL version=2.3.0-dev.22 [2022-11-03T09:44:42.451Z] ---> Running in cace3c8a794f [2022-11-03T09:44:42.711Z] Removing intermediate container cace3c8a794f [2022-11-03T09:44:42.711Z] ---> 134dd2c1c4e8 [2022-11-03T09:44:42.711Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T09:44:42.711Z] Successfully built 134dd2c1c4e8 [2022-11-03T09:44:42.711Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:44:42.782Z] provisioning config files... [2022-11-03T09:44:42.791Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11969250224684119254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:44:43.091Z] ---> docker-login.sh [2022-11-03T09:44:43.091Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:44:43.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:44:43.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:44:43.091Z] Configure a credential helper to remove this warning. See [2022-11-03T09:44:43.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:44:43.091Z] [2022-11-03T09:44:43.091Z] Login Succeeded [2022-11-03T09:44:43.091Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:44:43.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:44:43.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:44:43.091Z] Configure a credential helper to remove this warning. See [2022-11-03T09:44:43.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:44:43.091Z] [2022-11-03T09:44:43.091Z] Login Succeeded [2022-11-03T09:44:43.091Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:44:43.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:44:43.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:44:43.350Z] Configure a credential helper to remove this warning. See [2022-11-03T09:44:43.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:44:43.350Z] [2022-11-03T09:44:43.350Z] Login Succeeded [2022-11-03T09:44:43.350Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:44:43.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:44:43.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:44:43.350Z] Configure a credential helper to remove this warning. See [2022-11-03T09:44:43.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:44:43.350Z] [2022-11-03T09:44:43.350Z] Login Succeeded [2022-11-03T09:44:43.350Z] docker.io [2022-11-03T09:44:43.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:44:43.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:44:43.868Z] Configure a credential helper to remove this warning. See [2022-11-03T09:44:43.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:44:43.868Z] [2022-11-03T09:44:43.868Z] Login Succeeded [2022-11-03T09:44:43.868Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:44:43.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-03T09:44:43.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:44:43.911Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-11-03T09:44:43.911Z] cc201530981e513eba2542fa850395c651a4a8aa [2022-11-03T09:44:43.911Z] latest [2022-11-03T09:44:43.911Z] 2.3.0-dev.22 [2022-11-03T09:44:43.911Z] cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [2022-11-03T09:44:43.911Z] main [2022-11-03T09:44:43.911Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:44.212Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:44.511Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa [2022-11-03T09:44:44.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-03T09:44:44.511Z] dabd470a6995: Preparing [2022-11-03T09:44:44.511Z] ca36c6ce4775: Preparing [2022-11-03T09:44:44.511Z] 6aa3f8be7c91: Preparing [2022-11-03T09:44:44.511Z] 6c0f21fd5f1e: Preparing [2022-11-03T09:44:44.511Z] 994393dc58e7: Preparing [2022-11-03T09:44:44.511Z] 994393dc58e7: Layer already exists [2022-11-03T09:44:44.511Z] dabd470a6995: Pushed [2022-11-03T09:44:44.511Z] ca36c6ce4775: Pushed [2022-11-03T09:44:44.770Z] 6c0f21fd5f1e: Pushed [2022-11-03T09:44:47.302Z] 6aa3f8be7c91: Pushed [2022-11-03T09:44:47.562Z] cc201530981e513eba2542fa850395c651a4a8aa: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:47.866Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:48.166Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-11-03T09:44:48.166Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-03T09:44:48.166Z] dabd470a6995: Preparing [2022-11-03T09:44:48.166Z] ca36c6ce4775: Preparing [2022-11-03T09:44:48.166Z] 6aa3f8be7c91: Preparing [2022-11-03T09:44:48.166Z] 6c0f21fd5f1e: Preparing [2022-11-03T09:44:48.166Z] 994393dc58e7: Preparing [2022-11-03T09:44:48.166Z] 6c0f21fd5f1e: Layer already exists [2022-11-03T09:44:48.166Z] 994393dc58e7: Layer already exists [2022-11-03T09:44:48.166Z] ca36c6ce4775: Layer already exists [2022-11-03T09:44:48.166Z] 6aa3f8be7c91: Layer already exists [2022-11-03T09:44:48.166Z] dabd470a6995: Layer already exists [2022-11-03T09:44:48.166Z] latest: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:48.471Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:48.781Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.22 [2022-11-03T09:44:48.781Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-03T09:44:48.781Z] dabd470a6995: Preparing [2022-11-03T09:44:48.781Z] ca36c6ce4775: Preparing [2022-11-03T09:44:48.781Z] 6aa3f8be7c91: Preparing [2022-11-03T09:44:48.781Z] 6c0f21fd5f1e: Preparing [2022-11-03T09:44:48.781Z] 994393dc58e7: Preparing [2022-11-03T09:44:48.781Z] 6c0f21fd5f1e: Layer already exists [2022-11-03T09:44:48.781Z] ca36c6ce4775: Layer already exists [2022-11-03T09:44:48.781Z] 994393dc58e7: Layer already exists [2022-11-03T09:44:48.781Z] dabd470a6995: Layer already exists [2022-11-03T09:44:48.781Z] 6aa3f8be7c91: Layer already exists [2022-11-03T09:44:48.781Z] 2.3.0-dev.22: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:49.096Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:49.407Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [2022-11-03T09:44:49.407Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-03T09:44:49.407Z] dabd470a6995: Preparing [2022-11-03T09:44:49.407Z] ca36c6ce4775: Preparing [2022-11-03T09:44:49.407Z] 6aa3f8be7c91: Preparing [2022-11-03T09:44:49.407Z] 6c0f21fd5f1e: Preparing [2022-11-03T09:44:49.407Z] 994393dc58e7: Preparing [2022-11-03T09:44:49.407Z] 994393dc58e7: Layer already exists [2022-11-03T09:44:49.407Z] 6c0f21fd5f1e: Layer already exists [2022-11-03T09:44:49.407Z] dabd470a6995: Layer already exists [2022-11-03T09:44:49.407Z] 6aa3f8be7c91: Layer already exists [2022-11-03T09:44:49.407Z] ca36c6ce4775: Layer already exists [2022-11-03T09:44:49.407Z] cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:49.720Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:50.025Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-11-03T09:44:50.025Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-11-03T09:44:50.025Z] dabd470a6995: Preparing [2022-11-03T09:44:50.025Z] ca36c6ce4775: Preparing [2022-11-03T09:44:50.025Z] 6aa3f8be7c91: Preparing [2022-11-03T09:44:50.025Z] 6c0f21fd5f1e: Preparing [2022-11-03T09:44:50.025Z] 994393dc58e7: Preparing [2022-11-03T09:44:50.025Z] dabd470a6995: Layer already exists [2022-11-03T09:44:50.025Z] 994393dc58e7: Layer already exists [2022-11-03T09:44:50.025Z] ca36c6ce4775: Layer already exists [2022-11-03T09:44:50.025Z] 6aa3f8be7c91: Layer already exists [2022-11-03T09:44:50.025Z] 6c0f21fd5f1e: Layer already exists [2022-11-03T09:44:50.025Z] main: digest: sha256:03f5d18dff475171faa646bf9b91fccc3e01dd74c5d8852810cfe3748f70bfaa size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-03T09:44:50.069Z] ===================================================== [Pipeline] echo [2022-11-03T09:44:50.080Z] taggedImages: [2022-11-03T09:44:50.080Z] - nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa [2022-11-03T09:44:50.080Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-11-03T09:44:50.080Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.22 [2022-11-03T09:44:50.080Z] - nexus3.edgexfoundry.org:10004/device-snmp:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [2022-11-03T09:44:50.080Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:50.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T09:44:50.438Z] [2022-11-03T09:44:50.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:50.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T09:44:50.739Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-03T09:44:50.739Z] 5eb5b503b376: Pulling fs layer [2022-11-03T09:44:50.739Z] 5c69ac0246d0: Pulling fs layer [2022-11-03T09:44:50.739Z] ec43610c2a17: Pulling fs layer [2022-11-03T09:44:50.739Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-03T09:44:50.739Z] 33b1e0a273af: Pulling fs layer [2022-11-03T09:44:50.739Z] 5d3b04190fa2: Pulling fs layer [2022-11-03T09:44:50.739Z] 2f39f015ded8: Pulling fs layer [2022-11-03T09:44:50.739Z] 5d3b04190fa2: Waiting [2022-11-03T09:44:50.739Z] 2f39f015ded8: Waiting [2022-11-03T09:44:50.739Z] 3a2ae6a8a46f: Waiting [2022-11-03T09:44:50.739Z] 33b1e0a273af: Waiting [2022-11-03T09:44:50.739Z] 5c69ac0246d0: Download complete [2022-11-03T09:44:50.999Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-03T09:44:50.999Z] 3a2ae6a8a46f: Download complete [2022-11-03T09:44:50.999Z] 33b1e0a273af: Verifying Checksum [2022-11-03T09:44:50.999Z] 33b1e0a273af: Download complete [2022-11-03T09:44:50.999Z] 5d3b04190fa2: Verifying Checksum [2022-11-03T09:44:50.999Z] ec43610c2a17: Verifying Checksum [2022-11-03T09:44:50.999Z] ec43610c2a17: Download complete [2022-11-03T09:44:51.258Z] 5eb5b503b376: Download complete [2022-11-03T09:44:51.824Z] 2f39f015ded8: Download complete [2022-11-03T09:44:52.391Z] 5eb5b503b376: Pull complete [2022-11-03T09:44:52.650Z] 5c69ac0246d0: Pull complete [2022-11-03T09:44:53.217Z] ec43610c2a17: Pull complete [2022-11-03T09:44:53.217Z] 3a2ae6a8a46f: Pull complete [2022-11-03T09:44:53.475Z] 33b1e0a273af: Pull complete [2022-11-03T09:44:53.475Z] 5d3b04190fa2: Pull complete [2022-11-03T09:44:57.671Z] 2f39f015ded8: Pull complete [2022-11-03T09:44:57.930Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-03T09:44:57.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T09:44:57.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:44:58.000Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:44:58.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-03T09:45:02.543Z] $ docker top 39e20e73a33b0601f6950be21919897779b53f63ee517bdac6bc4b8a81cbdd36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:45:02.901Z] ---> job-cost.sh [2022-11-03T09:45:02.902Z] lf-activate-venv: SKIPPING [2022-11-03T09:45:02.902Z] INFO: No Stack... [2022-11-03T09:45:03.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T09:45:03.417Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T09:45:03.701Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-11-03T09:45:03.701Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T09:45:03.714Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [2022-11-03T09:45:03.724Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] did not exist. Created. [2022-11-03T09:45:03.724Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T09:45:04.020Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-03T09:45:04.047Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T09:45:04.055Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T09:45:04.076Z] $ docker stop --time=1 39e20e73a33b0601f6950be21919897779b53f63ee517bdac6bc4b8a81cbdd36 [2022-11-03T09:45:05.329Z] $ docker rm -f 39e20e73a33b0601f6950be21919897779b53f63ee517bdac6bc4b8a81cbdd36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-03T09:46:28.246Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118096 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-11-03T09:46:28.258Z] Running in /w/workspace/device-snmp-go/53 [Pipeline] { [Pipeline] checkout [2022-11-03T09:46:28.296Z] Selected Git installation does not exist. Using Default [2022-11-03T09:46:28.296Z] The recommended git tool is: NONE [2022-11-03T09:46:33.906Z] using credential edgex-jenkins-ssh [2022-11-03T09:46:33.923Z] Cloning the remote Git repository [2022-11-03T09:46:33.969Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-11-03T09:46:34.049Z] > git init /w/workspace/device-snmp-go/53 # timeout=10 [2022-11-03T09:46:34.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-03T09:46:34.205Z] > git --version # timeout=10 [2022-11-03T09:46:34.231Z] > git --version # 'git version 2.25.1' [2022-11-03T09:46:34.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T09:46:34.285Z] Verifying host key using known hosts file [2022-11-03T09:46:34.505Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-03T09:46:34.518Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T09:46:35.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-03T09:46:35.692Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T09:46:36.564Z] Avoid second fetch [2022-11-03T09:46:36.565Z] Checking out Revision cc201530981e513eba2542fa850395c651a4a8aa (main) [2022-11-03T09:46:36.582Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T09:46:36.600Z] > git checkout -f cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 [2022-11-03T09:46:37.067Z] Commit message: "Merge pull request #201 from lenny-intel/levski-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T09:46:37.943Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-03T09:46:37.943Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T09:46:37.943Z] Dload Upload Total Spent Left Speed [2022-11-03T09:46:37.943Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88746 [Pipeline] sh [2022-11-03T09:46:38.553Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-03T09:46:38.878Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-03T09:46:38.878Z] + sudo tee /etc/docker/daemon.new [2022-11-03T09:46:38.878Z] { [2022-11-03T09:46:38.878Z] "registry-mirrors": [ [2022-11-03T09:46:38.878Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-03T09:46:38.878Z] ], [2022-11-03T09:46:38.878Z] "bip": "10.250.0.254/24", [2022-11-03T09:46:38.878Z] "hosts": [ [2022-11-03T09:46:38.878Z] "tcp://0.0.0.0:5555", [2022-11-03T09:46:38.878Z] "unix:///var/run/docker.sock" [2022-11-03T09:46:38.878Z] ], [2022-11-03T09:46:38.878Z] "mtu": 1458, [2022-11-03T09:46:38.878Z] "selinux-enabled": true, [2022-11-03T09:46:38.878Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-03T09:46:38.878Z] } [Pipeline] sh [2022-11-03T09:46:39.205Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-03T09:46:39.534Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:46:57.800Z] provisioning config files... [2022-11-03T09:46:57.824Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/53@tmp/config7781114084001321683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:46:58.180Z] ---> docker-login.sh [2022-11-03T09:46:58.180Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:46:58.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:46:59.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:46:59.038Z] Configure a credential helper to remove this warning. See [2022-11-03T09:46:59.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:46:59.038Z] [2022-11-03T09:46:59.038Z] Login Succeeded [2022-11-03T09:46:59.038Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:46:59.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:46:59.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:46:59.311Z] Configure a credential helper to remove this warning. See [2022-11-03T09:46:59.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:46:59.311Z] [2022-11-03T09:46:59.311Z] Login Succeeded [2022-11-03T09:46:59.311Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:46:59.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:46:59.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:46:59.581Z] Configure a credential helper to remove this warning. See [2022-11-03T09:46:59.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:46:59.581Z] [2022-11-03T09:46:59.581Z] Login Succeeded [2022-11-03T09:46:59.581Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:46:59.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:47:00.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:47:00.123Z] Configure a credential helper to remove this warning. See [2022-11-03T09:47:00.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:47:00.123Z] [2022-11-03T09:47:00.123Z] Login Succeeded [2022-11-03T09:47:00.123Z] docker.io [2022-11-03T09:47:00.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:47:00.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:47:00.663Z] Configure a credential helper to remove this warning. See [2022-11-03T09:47:00.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:47:00.663Z] [2022-11-03T09:47:00.663Z] Login Succeeded [2022-11-03T09:47:00.663Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:47:00.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T09:47:00.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:47:00.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:47:00.878Z] ========================================================= [2022-11-03T09:47:00.878Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-03T09:47:00.878Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:47:01.229Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-03T09:47:01.502Z] Sending build context to Docker daemon 2.864MB [2022-11-03T09:47:01.502Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T09:47:01.502Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-03T09:47:01.775Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-03T09:47:01.775Z] 9b18e9b68314: Pulling fs layer [2022-11-03T09:47:01.775Z] 35d82f9e3411: Pulling fs layer [2022-11-03T09:47:01.775Z] e16973657156: Pulling fs layer [2022-11-03T09:47:01.775Z] fc693d55d65f: Pulling fs layer [2022-11-03T09:47:01.775Z] 7e9fc2657dce: Pulling fs layer [2022-11-03T09:47:01.775Z] dda99020689f: Pulling fs layer [2022-11-03T09:47:01.775Z] db1c61fa0a46: Pulling fs layer [2022-11-03T09:47:01.775Z] 891c053d2c06: Pulling fs layer [2022-11-03T09:47:01.775Z] dda99020689f: Waiting [2022-11-03T09:47:01.775Z] fc693d55d65f: Waiting [2022-11-03T09:47:01.775Z] 7e9fc2657dce: Waiting [2022-11-03T09:47:01.775Z] db1c61fa0a46: Waiting [2022-11-03T09:47:01.775Z] 891c053d2c06: Waiting [2022-11-03T09:47:01.775Z] e16973657156: Verifying Checksum [2022-11-03T09:47:01.775Z] e16973657156: Download complete [2022-11-03T09:47:01.775Z] 35d82f9e3411: Verifying Checksum [2022-11-03T09:47:01.775Z] 35d82f9e3411: Download complete [2022-11-03T09:47:01.775Z] 7e9fc2657dce: Download complete [2022-11-03T09:47:01.775Z] dda99020689f: Verifying Checksum [2022-11-03T09:47:01.775Z] dda99020689f: Download complete [2022-11-03T09:47:01.775Z] 9b18e9b68314: Verifying Checksum [2022-11-03T09:47:03.208Z] 9b18e9b68314: Pull complete [2022-11-03T09:47:03.208Z] 891c053d2c06: Verifying Checksum [2022-11-03T09:47:03.208Z] 891c053d2c06: Download complete [2022-11-03T09:47:03.486Z] 35d82f9e3411: Pull complete [2022-11-03T09:47:03.766Z] e16973657156: Pull complete [2022-11-03T09:47:04.360Z] db1c61fa0a46: Verifying Checksum [2022-11-03T09:47:04.951Z] fc693d55d65f: Download complete [2022-11-03T09:47:17.327Z] fc693d55d65f: Pull complete [2022-11-03T09:47:17.327Z] 7e9fc2657dce: Pull complete [2022-11-03T09:47:17.600Z] dda99020689f: Pull complete [2022-11-03T09:47:24.285Z] db1c61fa0a46: Pull complete [2022-11-03T09:47:25.713Z] 891c053d2c06: Pull complete [2022-11-03T09:47:25.713Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-03T09:47:25.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-03T09:47:25.713Z] ---> f96f9c87975a [2022-11-03T09:47:25.713Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-03T09:47:28.313Z] ---> Running in 6fff7e735b30 [2022-11-03T09:47:28.313Z] Removing intermediate container 6fff7e735b30 [2022-11-03T09:47:28.313Z] ---> 2cea4b6ea1fa [2022-11-03T09:47:28.313Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T09:47:28.313Z] ---> Running in 1297834ac7a8 [2022-11-03T09:47:28.582Z] Removing intermediate container 1297834ac7a8 [2022-11-03T09:47:28.582Z] ---> 9c072aa073a4 [2022-11-03T09:47:28.582Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T09:47:28.582Z] ---> Running in 84a497f59eeb [2022-11-03T09:47:29.176Z] Removing intermediate container 84a497f59eeb [2022-11-03T09:47:29.176Z] ---> 375800b410d1 [2022-11-03T09:47:29.176Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T09:47:29.176Z] ---> Running in 80051c8847f9 [2022-11-03T09:47:29.443Z] Removing intermediate container 80051c8847f9 [2022-11-03T09:47:29.443Z] ---> 3655d04aa7d9 [2022-11-03T09:47:29.443Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T09:47:29.443Z] ---> Running in b561ffce3c8a [2022-11-03T09:47:30.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T09:47:31.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T09:47:32.093Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T09:47:32.093Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-03T09:47:32.093Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T09:47:32.093Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T09:47:32.093Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T09:47:32.093Z] OK: 226 MiB in 55 packages [2022-11-03T09:47:33.061Z] Removing intermediate container b561ffce3c8a [2022-11-03T09:47:33.061Z] ---> a7f96d3bf09d [2022-11-03T09:47:33.061Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-03T09:47:33.345Z] ---> Running in 2708e3d38ad3 [2022-11-03T09:47:33.615Z] Removing intermediate container 2708e3d38ad3 [2022-11-03T09:47:33.615Z] ---> c5b7f7226fc9 [2022-11-03T09:47:33.615Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-03T09:47:34.201Z] ---> 69c54aacf9a8 [2022-11-03T09:47:34.201Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T09:47:34.201Z] ---> Running in 267cf9273325 [2022-11-03T09:48:30.756Z] Removing intermediate container 267cf9273325 [2022-11-03T09:48:30.756Z] ---> a013c0a95873 [2022-11-03T09:48:30.756Z] Step 11/12 : COPY . . [2022-11-03T09:48:30.756Z] ---> ef92f1b2b27e [2022-11-03T09:48:30.756Z] Step 12/12 : RUN ${MAKE} [2022-11-03T09:48:30.756Z] ---> Running in e66accc49944 [2022-11-03T09:48:30.756Z] noop [2022-11-03T09:48:31.345Z] Removing intermediate container e66accc49944 [2022-11-03T09:48:31.345Z] ---> d5026758cf11 [2022-11-03T09:48:31.345Z] Successfully built d5026758cf11 [2022-11-03T09:48:31.345Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:48:31.975Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T09:48:31.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:48:32.171Z] prd-ubuntu20.04-docker-arm64-4c-16g-118096 does not seem to be running inside a container [2022-11-03T09:48:32.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/53 -v /w/workspace/device-snmp-go/53:/w/workspace/device-snmp-go/53:rw,z -v /w/workspace/device-snmp-go/53@tmp:/w/workspace/device-snmp-go/53@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 [2022-11-03T09:48:33.566Z] $ docker top 925b42043fd2125754b326c2b41f29d8fb87d2d9b6b8db6eee9d826e98fee8ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:48:34.435Z] + go version [2022-11-03T09:48:34.435Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-03T09:48:34.459Z] $ docker stop --time=1 925b42043fd2125754b326c2b41f29d8fb87d2d9b6b8db6eee9d826e98fee8ae [2022-11-03T09:48:36.128Z] $ docker rm -f 925b42043fd2125754b326c2b41f29d8fb87d2d9b6b8db6eee9d826e98fee8ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:48:36.675Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T09:48:36.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:48:36.871Z] prd-ubuntu20.04-docker-arm64-4c-16g-118096 does not seem to be running inside a container [2022-11-03T09:48:36.951Z] $ 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/53 -v /w/workspace/device-snmp-go/53:/w/workspace/device-snmp-go/53:rw,z -v /w/workspace/device-snmp-go/53@tmp:/w/workspace/device-snmp-go/53@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 [2022-11-03T09:48:38.251Z] $ docker top f6eb7e14218084bddaab0a0f17945dbde059398bb67b330650a6d7b2c712fe7a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:48:39.120Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/53 [Pipeline] fileExists [Pipeline] sh [2022-11-03T09:48:39.778Z] + make test [2022-11-03T09:48:39.778Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-03T09:48:41.197Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-03T09:50:17.880Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-03T09:50:17.880Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements [2022-11-03T09:50:17.880Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-03T09:50:17.880Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T09:50:27.970Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T09:50:27.970Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T09:50:27.970Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T09:50:27.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T09:50:27.997Z] $ docker stop --time=1 f6eb7e14218084bddaab0a0f17945dbde059398bb67b330650a6d7b2c712fe7a [2022-11-03T09:50:29.753Z] $ docker rm -f f6eb7e14218084bddaab0a0f17945dbde059398bb67b330650a6d7b2c712fe7a [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T09:50:30.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T09:50:30.663Z] Warning: overwriting stash ‘coverage-report’ [2022-11-03T09:50:31.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T09:50:31.402Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T09:50:31.718Z] + ls -al . [2022-11-03T09:50:31.718Z] total 180 [2022-11-03T09:50:31.718Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:48 . [2022-11-03T09:50:31.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:46 .. [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 3 09:46 .dockerignore [2022-11-03T09:50:31.718Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:46 .git [2022-11-03T09:50:31.718Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:46 .github [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 3 09:46 .gitignore [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:46 .golangci.yml [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 3 09:46 Attribution.txt [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 3 09:46 CHANGELOG.md [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 3 09:46 Dockerfile [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:46 GOVERNANCE.md [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 3 09:46 Jenkinsfile [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:46 LICENSE [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 3 09:46 Makefile [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 3 09:46 OWNERS.md [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 3 09:46 README.md [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:43 VERSION [2022-11-03T09:50:31.718Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:46 bin [2022-11-03T09:50:31.718Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:46 cmd [2022-11-03T09:50:31.718Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 3 09:50 coverage.out [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 3462 Nov 3 09:46 go.mod [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 45069 Nov 3 09:46 go.sum [2022-11-03T09:50:31.718Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:46 internal [2022-11-03T09:50:31.718Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:46 snap [2022-11-03T09:50:31.718Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 3 09:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:50:32.048Z] + 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=cc201530981e513eba2542fa850395c651a4a8aa --label arch=arm64 --label version=2.3.0-dev.22 . [2022-11-03T09:50:32.316Z] Sending build context to Docker daemon 2.872MB [2022-11-03T09:50:32.316Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T09:50:32.316Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-03T09:50:32.316Z] ---> d5026758cf11 [2022-11-03T09:50:32.316Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-03T09:50:32.316Z] ---> Running in 3138e8fe21ef [2022-11-03T09:50:32.590Z] Removing intermediate container 3138e8fe21ef [2022-11-03T09:50:32.590Z] ---> af3a3aa28d8e [2022-11-03T09:50:32.590Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T09:50:32.859Z] ---> Running in f70f3f4bcfc4 [2022-11-03T09:50:33.126Z] Removing intermediate container f70f3f4bcfc4 [2022-11-03T09:50:33.126Z] ---> 313199e5eda0 [2022-11-03T09:50:33.126Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-03T09:50:33.126Z] ---> Running in 0fc3c746c5a9 [2022-11-03T09:50:33.394Z] Removing intermediate container 0fc3c746c5a9 [2022-11-03T09:50:33.394Z] ---> 6e75d9e5ec6f [2022-11-03T09:50:33.394Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-03T09:50:33.394Z] ---> Running in 0b192ea2f9e1 [2022-11-03T09:50:33.663Z] Removing intermediate container 0b192ea2f9e1 [2022-11-03T09:50:33.663Z] ---> 10762a0b7fb5 [2022-11-03T09:50:33.663Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-03T09:50:33.663Z] ---> Running in 4be16e2bc3e4 [2022-11-03T09:50:34.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T09:50:34.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T09:50:35.857Z] OK: 226 MiB in 55 packages [2022-11-03T09:50:36.820Z] Removing intermediate container 4be16e2bc3e4 [2022-11-03T09:50:36.820Z] ---> cf305e527343 [2022-11-03T09:50:36.820Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-03T09:50:36.820Z] ---> Running in 068fc18010a9 [2022-11-03T09:50:37.406Z] Removing intermediate container 068fc18010a9 [2022-11-03T09:50:37.406Z] ---> 42a61ea5627a [2022-11-03T09:50:37.406Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-03T09:50:37.675Z] ---> 7ee5dd708e3f [2022-11-03T09:50:37.675Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T09:50:37.675Z] ---> Running in 2331274e0dcd [2022-11-03T09:50:39.621Z] Removing intermediate container 2331274e0dcd [2022-11-03T09:50:39.621Z] ---> 57ba63cac405 [2022-11-03T09:50:39.621Z] Step 11/24 : COPY . . [2022-11-03T09:50:40.583Z] ---> f30b2c1647c8 [2022-11-03T09:50:40.583Z] Step 12/24 : RUN ${MAKE} [2022-11-03T09:50:40.583Z] ---> Running in a291b51a86bd [2022-11-03T09:50:41.545Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-03T09:53:18.259Z] Removing intermediate container a291b51a86bd [2022-11-03T09:53:18.259Z] ---> cf41bfef53a0 [2022-11-03T09:53:18.259Z] Step 13/24 : FROM alpine:3.16 [2022-11-03T09:53:18.259Z] 3.16: Pulling from library/alpine [2022-11-03T09:53:18.259Z] 9b18e9b68314: Already exists [2022-11-03T09:53:18.259Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-03T09:53:18.259Z] Status: Downloaded newer image for alpine:3.16 [2022-11-03T09:53:18.259Z] ---> a6215f271958 [2022-11-03T09:53:18.259Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T09:53:18.259Z] ---> Running in 9c3049ca209a [2022-11-03T09:53:18.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T09:53:18.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T09:53:18.259Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T09:53:18.259Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-03T09:53:18.259Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T09:53:18.259Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-03T09:53:18.259Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T09:53:18.259Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T09:53:18.259Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T09:53:18.259Z] OK: 8 MiB in 20 packages [2022-11-03T09:53:18.259Z] Removing intermediate container 9c3049ca209a [2022-11-03T09:53:18.259Z] ---> d5482b7b427c [2022-11-03T09:53:18.259Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-03T09:53:18.259Z] ---> 1da1746765a0 [2022-11-03T09:53:18.259Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-03T09:53:18.259Z] ---> 8a6f8e93a23f [2022-11-03T09:53:18.259Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-03T09:53:18.259Z] ---> 271f4a97e3d4 [2022-11-03T09:53:18.259Z] Step 18/24 : EXPOSE 59993 [2022-11-03T09:53:18.259Z] ---> Running in c1d5e0297121 [2022-11-03T09:53:18.259Z] Removing intermediate container c1d5e0297121 [2022-11-03T09:53:18.259Z] ---> f4abf86ff183 [2022-11-03T09:53:18.259Z] Step 19/24 : EXPOSE 161 [2022-11-03T09:53:18.259Z] ---> Running in 375ca7bfd0c9 [2022-11-03T09:53:18.259Z] Removing intermediate container 375ca7bfd0c9 [2022-11-03T09:53:18.259Z] ---> 7d16ce57c855 [2022-11-03T09:53:18.259Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-03T09:53:18.259Z] ---> Running in 65e627cae876 [2022-11-03T09:53:18.259Z] Removing intermediate container 65e627cae876 [2022-11-03T09:53:18.259Z] ---> c03fe8e0c602 [2022-11-03T09:53:18.259Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-03T09:53:18.259Z] ---> Running in 3ef3021f936f [2022-11-03T09:53:18.259Z] Removing intermediate container 3ef3021f936f [2022-11-03T09:53:18.259Z] ---> 6904e02acdcb [2022-11-03T09:53:18.259Z] Step 22/24 : LABEL arch=arm64 [2022-11-03T09:53:18.259Z] ---> Running in f17887c4fe01 [2022-11-03T09:53:18.259Z] Removing intermediate container f17887c4fe01 [2022-11-03T09:53:18.259Z] ---> 9cd4f1806280 [2022-11-03T09:53:18.259Z] Step 23/24 : LABEL git_sha=cc201530981e513eba2542fa850395c651a4a8aa [2022-11-03T09:53:18.259Z] ---> Running in 199f3e6c8cc9 [2022-11-03T09:53:18.259Z] Removing intermediate container 199f3e6c8cc9 [2022-11-03T09:53:18.259Z] ---> c46fd6beceb7 [2022-11-03T09:53:18.259Z] Step 24/24 : LABEL version=2.3.0-dev.22 [2022-11-03T09:53:18.259Z] ---> Running in da65e0264121 [2022-11-03T09:53:18.259Z] Removing intermediate container da65e0264121 [2022-11-03T09:53:18.259Z] ---> b51bd61cb8b9 [2022-11-03T09:53:18.259Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T09:53:18.259Z] Successfully built b51bd61cb8b9 [2022-11-03T09:53:18.259Z] 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 [2022-11-03T09:53:18.339Z] provisioning config files... [2022-11-03T09:53:18.352Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/53@tmp/config9321676499380838086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:53:18.675Z] ---> docker-login.sh [2022-11-03T09:53:18.675Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:53:18.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:53:18.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:53:18.943Z] Configure a credential helper to remove this warning. See [2022-11-03T09:53:18.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:53:18.943Z] [2022-11-03T09:53:18.943Z] Login Succeeded [2022-11-03T09:53:18.943Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:53:19.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:53:19.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:53:19.211Z] Configure a credential helper to remove this warning. See [2022-11-03T09:53:19.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:53:19.211Z] [2022-11-03T09:53:19.211Z] Login Succeeded [2022-11-03T09:53:19.211Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:53:19.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:53:19.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:53:19.748Z] Configure a credential helper to remove this warning. See [2022-11-03T09:53:19.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:53:19.748Z] [2022-11-03T09:53:19.748Z] Login Succeeded [2022-11-03T09:53:19.749Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:53:20.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:53:20.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:53:20.014Z] Configure a credential helper to remove this warning. See [2022-11-03T09:53:20.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:53:20.015Z] [2022-11-03T09:53:20.015Z] Login Succeeded [2022-11-03T09:53:20.015Z] docker.io [2022-11-03T09:53:20.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:53:20.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:53:20.551Z] Configure a credential helper to remove this warning. See [2022-11-03T09:53:20.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:53:20.551Z] [2022-11-03T09:53:20.551Z] Login Succeeded [2022-11-03T09:53:20.551Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:53:20.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-03T09:53:20.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:53:20.600Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-11-03T09:53:20.600Z] cc201530981e513eba2542fa850395c651a4a8aa [2022-11-03T09:53:20.600Z] latest [2022-11-03T09:53:20.600Z] 2.3.0-dev.22 [2022-11-03T09:53:20.600Z] cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [2022-11-03T09:53:20.600Z] main [2022-11-03T09:53:20.600Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:20.927Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:21.260Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa [2022-11-03T09:53:21.260Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-03T09:53:21.260Z] 10e7f820894c: Preparing [2022-11-03T09:53:21.260Z] 7b08c91bf897: Preparing [2022-11-03T09:53:21.260Z] cdd4fcc3447b: Preparing [2022-11-03T09:53:21.260Z] 950a50635b27: Preparing [2022-11-03T09:53:21.260Z] 5d3e392a13a0: Preparing [2022-11-03T09:53:21.260Z] 5d3e392a13a0: Layer already exists [2022-11-03T09:53:21.525Z] 7b08c91bf897: Pushed [2022-11-03T09:53:21.525Z] 10e7f820894c: Pushed [2022-11-03T09:53:22.108Z] 950a50635b27: Pushed [2022-11-03T09:53:26.356Z] cdd4fcc3447b: Pushed [2022-11-03T09:53:26.620Z] cc201530981e513eba2542fa850395c651a4a8aa: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:26.952Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:27.282Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-11-03T09:53:27.282Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-03T09:53:27.282Z] 10e7f820894c: Preparing [2022-11-03T09:53:27.282Z] 7b08c91bf897: Preparing [2022-11-03T09:53:27.282Z] cdd4fcc3447b: Preparing [2022-11-03T09:53:27.282Z] 950a50635b27: Preparing [2022-11-03T09:53:27.282Z] 5d3e392a13a0: Preparing [2022-11-03T09:53:27.282Z] 5d3e392a13a0: Layer already exists [2022-11-03T09:53:27.282Z] 950a50635b27: Layer already exists [2022-11-03T09:53:27.282Z] 10e7f820894c: Layer already exists [2022-11-03T09:53:27.282Z] cdd4fcc3447b: Layer already exists [2022-11-03T09:53:27.282Z] 7b08c91bf897: Layer already exists [2022-11-03T09:53:27.282Z] latest: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:27.614Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:27.945Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.22 [2022-11-03T09:53:27.945Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-03T09:53:27.945Z] 10e7f820894c: Preparing [2022-11-03T09:53:27.945Z] 7b08c91bf897: Preparing [2022-11-03T09:53:27.945Z] cdd4fcc3447b: Preparing [2022-11-03T09:53:27.945Z] 950a50635b27: Preparing [2022-11-03T09:53:27.945Z] 5d3e392a13a0: Preparing [2022-11-03T09:53:27.945Z] 5d3e392a13a0: Layer already exists [2022-11-03T09:53:27.945Z] 10e7f820894c: Layer already exists [2022-11-03T09:53:27.945Z] 950a50635b27: Layer already exists [2022-11-03T09:53:27.945Z] cdd4fcc3447b: Layer already exists [2022-11-03T09:53:27.945Z] 7b08c91bf897: Layer already exists [2022-11-03T09:53:27.945Z] 2.3.0-dev.22: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:28.280Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:28.616Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [2022-11-03T09:53:28.616Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-03T09:53:28.616Z] 10e7f820894c: Preparing [2022-11-03T09:53:28.616Z] 7b08c91bf897: Preparing [2022-11-03T09:53:28.616Z] cdd4fcc3447b: Preparing [2022-11-03T09:53:28.616Z] 950a50635b27: Preparing [2022-11-03T09:53:28.616Z] 5d3e392a13a0: Preparing [2022-11-03T09:53:28.616Z] 7b08c91bf897: Layer already exists [2022-11-03T09:53:28.616Z] 10e7f820894c: Layer already exists [2022-11-03T09:53:28.616Z] 950a50635b27: Layer already exists [2022-11-03T09:53:28.616Z] cdd4fcc3447b: Layer already exists [2022-11-03T09:53:28.616Z] 5d3e392a13a0: Layer already exists [2022-11-03T09:53:28.616Z] cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:28.945Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:29.278Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-11-03T09:53:29.278Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-11-03T09:53:29.278Z] 10e7f820894c: Preparing [2022-11-03T09:53:29.278Z] 7b08c91bf897: Preparing [2022-11-03T09:53:29.278Z] cdd4fcc3447b: Preparing [2022-11-03T09:53:29.278Z] 950a50635b27: Preparing [2022-11-03T09:53:29.278Z] 5d3e392a13a0: Preparing [2022-11-03T09:53:29.278Z] 5d3e392a13a0: Layer already exists [2022-11-03T09:53:29.278Z] 7b08c91bf897: Layer already exists [2022-11-03T09:53:29.278Z] 950a50635b27: Layer already exists [2022-11-03T09:53:29.278Z] 10e7f820894c: Layer already exists [2022-11-03T09:53:29.278Z] cdd4fcc3447b: Layer already exists [2022-11-03T09:53:29.278Z] main: digest: sha256:e473520e8783f4b20a10740bacc319fcdce29ff7041de0ca90d375cc61b28bfe size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-03T09:53:29.315Z] ===================================================== [Pipeline] echo [2022-11-03T09:53:29.320Z] taggedImages: [2022-11-03T09:53:29.320Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa [2022-11-03T09:53:29.320Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-11-03T09:53:29.320Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.22 [2022-11-03T09:53:29.320Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:cc201530981e513eba2542fa850395c651a4a8aa-2.3.0-dev.22 [2022-11-03T09:53:29.320Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:29.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T09:53:29.723Z] [2022-11-03T09:53:29.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:53:30.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T09:53:30.060Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-03T09:53:30.060Z] 8998bd30e6a1: Pulling fs layer [2022-11-03T09:53:30.060Z] 04944245beec: Pulling fs layer [2022-11-03T09:53:30.060Z] 699f458cf7ca: Pulling fs layer [2022-11-03T09:53:30.060Z] 765212b225bb: Pulling fs layer [2022-11-03T09:53:30.060Z] f23df028b6ca: Pulling fs layer [2022-11-03T09:53:30.060Z] d65c8cfc05b1: Pulling fs layer [2022-11-03T09:53:30.060Z] 2437ff75d9bd: Pulling fs layer [2022-11-03T09:53:30.060Z] f23df028b6ca: Waiting [2022-11-03T09:53:30.060Z] d65c8cfc05b1: Waiting [2022-11-03T09:53:30.060Z] 765212b225bb: Waiting [2022-11-03T09:53:30.060Z] 2437ff75d9bd: Waiting [2022-11-03T09:53:30.341Z] 04944245beec: Verifying Checksum [2022-11-03T09:53:30.341Z] 04944245beec: Download complete [2022-11-03T09:53:30.341Z] 765212b225bb: Verifying Checksum [2022-11-03T09:53:30.341Z] 765212b225bb: Download complete [2022-11-03T09:53:30.341Z] f23df028b6ca: Download complete [2022-11-03T09:53:30.341Z] d65c8cfc05b1: Verifying Checksum [2022-11-03T09:53:30.341Z] d65c8cfc05b1: Download complete [2022-11-03T09:53:30.625Z] 699f458cf7ca: Verifying Checksum [2022-11-03T09:53:30.625Z] 699f458cf7ca: Download complete [2022-11-03T09:53:30.914Z] 8998bd30e6a1: Verifying Checksum [2022-11-03T09:53:30.914Z] 8998bd30e6a1: Download complete [2022-11-03T09:53:33.519Z] 2437ff75d9bd: Verifying Checksum [2022-11-03T09:53:33.519Z] 2437ff75d9bd: Download complete [2022-11-03T09:53:34.925Z] 8998bd30e6a1: Pull complete [2022-11-03T09:53:35.509Z] 04944245beec: Pull complete [2022-11-03T09:53:36.917Z] 699f458cf7ca: Pull complete [2022-11-03T09:53:37.187Z] 765212b225bb: Pull complete [2022-11-03T09:53:37.772Z] f23df028b6ca: Pull complete [2022-11-03T09:53:38.040Z] d65c8cfc05b1: Pull complete [2022-11-03T09:53:53.042Z] 2437ff75d9bd: Pull complete [2022-11-03T09:53:53.042Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-03T09:53:53.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T09:53:53.042Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:53:53.205Z] prd-ubuntu20.04-docker-arm64-4c-16g-118096 does not seem to be running inside a container [2022-11-03T09:53:53.264Z] $ 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/53 -v /w/workspace/device-snmp-go/53:/w/workspace/device-snmp-go/53:rw,z -v /w/workspace/device-snmp-go/53@tmp:/w/workspace/device-snmp-go/53@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 [2022-11-03T09:53:55.570Z] $ docker top 673c0c48df69a2c9c14d7f472c4ad7ac56e07121ecbf28c8f2383617b7df6939 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:53:56.088Z] ---> job-cost.sh [2022-11-03T09:53:56.353Z] lf-activate-venv: SKIPPING [2022-11-03T09:53:56.353Z] INFO: No Stack... [2022-11-03T09:53:56.619Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-03T09:53:57.576Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T09:53:57.896Z] + cat /w/workspace/device-snmp-go/53/archives/cost.csv [2022-11-03T09:53:57.896Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T09:53:57.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [2022-11-03T09:53:57.965Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] did not exist. Created. [2022-11-03T09:53:57.965Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T09:53:58.301Z] /w/workspace/device-snmp-go/53@tmp/durable-82f5deba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-03T09:53:58.944Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-03T09:53:58.965Z] Warning: overwriting stash ‘stack-cost’ [2022-11-03T09:53:59.003Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T09:53:59.009Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T09:53:59.018Z] $ docker stop --time=1 673c0c48df69a2c9c14d7f472c4ad7ac56e07121ecbf28c8f2383617b7df6939 [2022-11-03T09:54:00.502Z] $ docker rm -f 673c0c48df69a2c9c14d7f472c4ad7ac56e07121ecbf28c8f2383617b7df6939 [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 [2022-11-03T09:54:00.888Z] provisioning config files... [2022-11-03T09:54:00.895Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18168558621847087870tmp [Pipeline] { [Pipeline] sh [2022-11-03T09:54:01.187Z] + set +x [2022-11-03T09:54:01.187Z] + curl -s https://codecov.io/bash [2022-11-03T09:54:01.187Z] + bash -s -- [2022-11-03T09:54:01.187Z] [2022-11-03T09:54:01.187Z] _____ _ [2022-11-03T09:54:01.187Z] / ____| | | [2022-11-03T09:54:01.187Z] | | ___ __| | ___ ___ _____ __ [2022-11-03T09:54:01.187Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-03T09:54:01.187Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-03T09:54:01.187Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-03T09:54:01.187Z] Bash-1.0.6 [2022-11-03T09:54:01.187Z] [2022-11-03T09:54:01.187Z] [2022-11-03T09:54:01.188Z] ==> git version 2.25.1 found [2022-11-03T09:54:01.188Z] ==> 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 [2022-11-03T09:54:01.188Z] Release-Date: 2020-01-08 [2022-11-03T09:54:01.188Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-03T09:54:01.188Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-03T09:54:01.188Z] ==> Jenkins CI detected. [2022-11-03T09:54:01.188Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-11-03T09:54:01.188Z] project root: . [2022-11-03T09:54:01.188Z] --> token set from env [2022-11-03T09:54:01.188Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-03T09:54:01.188Z] ==> Running gcov in . (disable via -X gcov) [2022-11-03T09:54:01.188Z] ==> Python coveragepy not found [2022-11-03T09:54:01.188Z] ==> Searching for coverage reports in: [2022-11-03T09:54:01.188Z] + . [2022-11-03T09:54:01.188Z] -> Found 1 reports [2022-11-03T09:54:01.188Z] ==> Detecting git/mercurial file structure [2022-11-03T09:54:01.188Z] ==> Reading reports [2022-11-03T09:54:01.188Z] + ./coverage.out bytes=7631 [2022-11-03T09:54:01.188Z] ==> Appending adjustments [2022-11-03T09:54:01.188Z] https://docs.codecov.io/docs/fixing-reports [2022-11-03T09:54:01.447Z] + Found adjustments [2022-11-03T09:54:01.447Z] ==> Gzipping contents [2022-11-03T09:54:01.447Z] 4.0K /tmp/codecov.o1tp1x.gz [2022-11-03T09:54:01.447Z] ==> Uploading reports [2022-11-03T09:54:01.447Z] url: https://codecov.io [2022-11-03T09:54:01.447Z] query: branch=main&commit=cc201530981e513eba2542fa850395c651a4a8aa&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-03T09:54:01.447Z] -> Pinging Codecov [2022-11-03T09:54:01.447Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=cc201530981e513eba2542fa850395c651a4a8aa&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-03T09:54:01.707Z] -> Uploading to [2022-11-03T09:54:01.707Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-03/6C56EA5C29638FB4528AC87E60AF5AE0/cc201530981e513eba2542fa850395c651a4a8aa/bbcc42cd-92ae-4950-bd4b-a33a1584eef2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T095401Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43c2521fe143ccb25a165bd925d98cf8e50ab8f5e101288857f6264a944b5393 [2022-11-03T09:54:01.707Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T09:54:01.707Z] Dload Upload Total Spent Left Speed [2022-11-03T09:54:01.967Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 5757 --:--:-- --:--:-- --:--:-- 5757 [2022-11-03T09:54:01.967Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] } [2022-11-03T09:54:01.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-11-03T09:54:02.069Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-11-03T09:54:02.081Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:54:02.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-03T09:54:02.385Z] [2022-11-03T09:54:02.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:54:02.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-03T09:54:02.683Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-11-03T09:54:02.683Z] df9b9388f04a: Pulling fs layer [2022-11-03T09:54:02.683Z] 52dc419b0ee2: Pulling fs layer [2022-11-03T09:54:02.683Z] 25bc292e5bac: Pulling fs layer [2022-11-03T09:54:02.683Z] 114826534d7a: Pulling fs layer [2022-11-03T09:54:02.683Z] 4657fd5d0bcf: Pulling fs layer [2022-11-03T09:54:02.683Z] 6ad1cebc031e: Pulling fs layer [2022-11-03T09:54:02.683Z] 8a3aa393b2d8: Pulling fs layer [2022-11-03T09:54:02.683Z] 4657fd5d0bcf: Waiting [2022-11-03T09:54:02.683Z] 114826534d7a: Waiting [2022-11-03T09:54:02.683Z] 6ad1cebc031e: Waiting [2022-11-03T09:54:02.683Z] 8a3aa393b2d8: Waiting [2022-11-03T09:54:02.683Z] 25bc292e5bac: Verifying Checksum [2022-11-03T09:54:02.683Z] 25bc292e5bac: Download complete [2022-11-03T09:54:02.683Z] 52dc419b0ee2: Verifying Checksum [2022-11-03T09:54:02.683Z] 52dc419b0ee2: Download complete [2022-11-03T09:54:02.683Z] 4657fd5d0bcf: Verifying Checksum [2022-11-03T09:54:02.683Z] 4657fd5d0bcf: Download complete [2022-11-03T09:54:02.683Z] df9b9388f04a: Verifying Checksum [2022-11-03T09:54:02.683Z] df9b9388f04a: Download complete [2022-11-03T09:54:02.942Z] 6ad1cebc031e: Verifying Checksum [2022-11-03T09:54:02.942Z] 6ad1cebc031e: Download complete [2022-11-03T09:54:02.942Z] df9b9388f04a: Pull complete [2022-11-03T09:54:02.942Z] 52dc419b0ee2: Pull complete [2022-11-03T09:54:03.204Z] 25bc292e5bac: Pull complete [2022-11-03T09:54:03.463Z] 114826534d7a: Verifying Checksum [2022-11-03T09:54:03.463Z] 114826534d7a: Download complete [2022-11-03T09:54:03.722Z] 8a3aa393b2d8: Verifying Checksum [2022-11-03T09:54:03.722Z] 8a3aa393b2d8: Download complete [2022-11-03T09:54:07.011Z] 114826534d7a: Pull complete [2022-11-03T09:54:07.011Z] 4657fd5d0bcf: Pull complete [2022-11-03T09:54:07.578Z] 6ad1cebc031e: Pull complete [2022-11-03T09:54:10.107Z] 8a3aa393b2d8: Pull complete [2022-11-03T09:54:10.107Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-11-03T09:54:10.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-03T09:54:10.107Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:54:10.175Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:54:10.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-11-03T09:54:12.920Z] $ docker top 20939937f30217ca4c75c948b83ec7baea4ce7633243852349cac7d610427868 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-11-03T09:54:12.978Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2022-11-03T09:54:13.255Z] + set -o pipefail [2022-11-03T09:54:13.255Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2022-11-03T09:54:18.552Z] [2022-11-03T09:54:18.552Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-11-03T09:54:18.552Z] [2022-11-03T09:54:18.552Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/d874a40c-5be7-4769-80b2-a004702b729f [2022-11-03T09:54:18.552Z] [2022-11-03T09:54:18.552Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-11-03T09:54:18.552Z] [2022-11-03T09:54:18.552Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-11-03T09:54:18.552Z] [2022-11-03T09:54:18.818Z] [2022-11-03T09:54:18.818Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-11-03T09:54:18.818Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-11-03T09:54:18.818Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-11-03T09:54:18.838Z] $ docker stop --time=1 20939937f30217ca4c75c948b83ec7baea4ce7633243852349cac7d610427868 [2022-11-03T09:54:21.151Z] $ docker rm -f 20939937f30217ca4c75c948b83ec7baea4ce7633243852349cac7d610427868 [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 [2022-11-03T09:54:21.879Z] + git log --format=format:%s -1 cc201530981e513eba2542fa850395c651a4a8aa [Pipeline] sh [2022-11-03T09:54:22.169Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T09:54:22.169Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:54:22.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:54:22.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:54:22.550Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:54:22.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T09:54:23.005Z] $ docker top c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T09:54:23.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:54:23.089Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:54:23.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:54:23.221Z] $ docker exec c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 ssh-agent [2022-11-03T09:54:23.327Z] SSH_AUTH_SOCK=/tmp/ssh-HGlo6lEqRcFD/agent.32 [2022-11-03T09:54:23.327Z] SSH_AGENT_PID=38 [2022-11-03T09:54:23.333Z] Running ssh-add (command line suppressed) [2022-11-03T09:54:23.449Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1184943900293731988.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1184943900293731988.key) [2022-11-03T09:54:23.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:54:23.740Z] + git semver tag [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,940 [run_tag] DEBUG tag force:False [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,941 [check_head_tag] DEBUG check head tag [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,941 [execute] INFO git cat-file --batch-check [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,946 [execute] INFO git cat-file --batch [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,961 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,961 [execute] INFO git tag -a v2.3.0-dev.22 -m v2.3.0-dev.22 [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,961 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.22', '-m', 'v2.3.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-03T09:54:24.000Z] 2022-11-03 09:54:23,967 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-03T09:54:24.000Z] 2.3.0-dev.22 [Pipeline] } [2022-11-03T09:54:24.018Z] $ docker exec --env ******** --env ******** c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 ssh-agent -k [2022-11-03T09:54:24.118Z] unset SSH_AUTH_SOCK; [2022-11-03T09:54:24.119Z] unset SSH_AGENT_PID; [2022-11-03T09:54:24.119Z] echo Agent pid 38 killed; [2022-11-03T09:54:24.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T09:54:24.437Z] + git semver [Pipeline] } [2022-11-03T09:54:24.716Z] $ docker stop --time=1 c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 [2022-11-03T09:54:26.124Z] $ docker rm -f c1542379e60b39c06b1976d822c3fe4715ed484ee17d791ed40acd14860eea77 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:54:26.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-03T09:54:26.503Z] [2022-11-03T09:54:26.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:54:26.818Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-03T09:54:26.818Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-03T09:54:26.818Z] ab5ef0e58194: Pulling fs layer [2022-11-03T09:54:26.818Z] 9712f1f96733: Pulling fs layer [2022-11-03T09:54:26.818Z] 63f879dbbcfc: Pulling fs layer [2022-11-03T09:54:26.818Z] 0d9ebad4ef96: Pulling fs layer [2022-11-03T09:54:26.818Z] e9a5061849ea: Pulling fs layer [2022-11-03T09:54:26.818Z] d747dcd14b5f: Pulling fs layer [2022-11-03T09:54:26.818Z] 2de7ff778b66: Pulling fs layer [2022-11-03T09:54:26.818Z] 0d9ebad4ef96: Waiting [2022-11-03T09:54:26.818Z] e9a5061849ea: Waiting [2022-11-03T09:54:26.818Z] d747dcd14b5f: Waiting [2022-11-03T09:54:26.818Z] 2de7ff778b66: Waiting [2022-11-03T09:54:26.818Z] 9712f1f96733: Verifying Checksum [2022-11-03T09:54:26.818Z] 9712f1f96733: Download complete [2022-11-03T09:54:27.401Z] 63f879dbbcfc: Verifying Checksum [2022-11-03T09:54:27.401Z] 63f879dbbcfc: Download complete [2022-11-03T09:54:27.401Z] 0d9ebad4ef96: Verifying Checksum [2022-11-03T09:54:27.401Z] 0d9ebad4ef96: Download complete [2022-11-03T09:54:27.401Z] d747dcd14b5f: Verifying Checksum [2022-11-03T09:54:27.401Z] d747dcd14b5f: Download complete [2022-11-03T09:54:27.401Z] ab5ef0e58194: Verifying Checksum [2022-11-03T09:54:27.401Z] ab5ef0e58194: Download complete [2022-11-03T09:54:27.401Z] e9a5061849ea: Verifying Checksum [2022-11-03T09:54:27.401Z] e9a5061849ea: Download complete [2022-11-03T09:54:27.401Z] 2de7ff778b66: Verifying Checksum [2022-11-03T09:54:27.401Z] 2de7ff778b66: Download complete [2022-11-03T09:54:30.683Z] ab5ef0e58194: Pull complete [2022-11-03T09:54:30.683Z] 9712f1f96733: Pull complete [2022-11-03T09:54:30.941Z] 63f879dbbcfc: Pull complete [2022-11-03T09:54:35.125Z] 0d9ebad4ef96: Pull complete [2022-11-03T09:54:35.125Z] e9a5061849ea: Pull complete [2022-11-03T09:54:35.125Z] d747dcd14b5f: Pull complete [2022-11-03T09:54:36.057Z] 2de7ff778b66: Pull complete [2022-11-03T09:54:36.057Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-03T09:54:36.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-03T09:54:36.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:54:36.127Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:54:36.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-11-03T09:54:39.548Z] $ docker top 6dc6ba8f106417dc616aab91646aaa6d656b7ced19d1b61dd5eea32a2c669ff5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:54:39.599Z] provisioning config files... [2022-11-03T09:54:39.604Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6744092409787149694tmp [2022-11-03T09:54:39.612Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17407178422784160700tmp [2022-11-03T09:54:39.620Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8695806149405252707tmp [Pipeline] { [Pipeline] echo [2022-11-03T09:54:39.633Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:54:39.931Z] ---> sigul-configuration.sh [2022-11-03T09:54:39.931Z] gpg: directory `/root/.gnupg' created [2022-11-03T09:54:39.931Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-03T09:54:39.931Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-03T09:54:39.931Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-03T09:54:39.931Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-03T09:54:39.931Z] gpg: CAST5 encrypted data [2022-11-03T09:54:39.931Z] gpg: encrypted with 1 passphrase [2022-11-03T09:54:39.931Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-03T09:54:40.213Z] + mkdir /home/jenkins [2022-11-03T09:54:40.213Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-03T09:54:40.498Z] + 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 [2022-11-03T09:54:40.507Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:54:40.789Z] ---> sigul-install.sh [2022-11-03T09:54:40.789Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-03T09:54:41.078Z] + git tag --list [2022-11-03T09:54:41.078Z] 1.0.0 [2022-11-03T09:54:41.078Z] v0.0.0 [2022-11-03T09:54:41.078Z] v1.1.0 [2022-11-03T09:54:41.078Z] v1.1.1 [2022-11-03T09:54:41.078Z] v1.2.2 [2022-11-03T09:54:41.078Z] v1.3.0 [2022-11-03T09:54:41.078Z] v1.3.1 [2022-11-03T09:54:41.078Z] v2.0.0 [2022-11-03T09:54:41.078Z] v2.1.0 [2022-11-03T09:54:41.078Z] v2.1.1 [2022-11-03T09:54:41.078Z] v2.1.1-dev.2 [2022-11-03T09:54:41.078Z] v2.1.1-dev.3 [2022-11-03T09:54:41.078Z] v2.2.0 [2022-11-03T09:54:41.078Z] v2.2.1-dev.1 [2022-11-03T09:54:41.078Z] v2.2.1-dev.2 [2022-11-03T09:54:41.078Z] v2.2.1-dev.3 [2022-11-03T09:54:41.078Z] v2.2.1-dev.4 [2022-11-03T09:54:41.078Z] v2.2.1-dev.5 [2022-11-03T09:54:41.078Z] v2.2.1-dev.6 [2022-11-03T09:54:41.078Z] v2.2.1-dev.7 [2022-11-03T09:54:41.078Z] v2.3.0-dev.10 [2022-11-03T09:54:41.078Z] v2.3.0-dev.11 [2022-11-03T09:54:41.078Z] v2.3.0-dev.12 [2022-11-03T09:54:41.078Z] v2.3.0-dev.13 [2022-11-03T09:54:41.078Z] v2.3.0-dev.14 [2022-11-03T09:54:41.078Z] v2.3.0-dev.15 [2022-11-03T09:54:41.078Z] v2.3.0-dev.16 [2022-11-03T09:54:41.078Z] v2.3.0-dev.17 [2022-11-03T09:54:41.078Z] v2.3.0-dev.18 [2022-11-03T09:54:41.078Z] v2.3.0-dev.19 [2022-11-03T09:54:41.078Z] v2.3.0-dev.20 [2022-11-03T09:54:41.078Z] v2.3.0-dev.21 [2022-11-03T09:54:41.078Z] v2.3.0-dev.22 [2022-11-03T09:54:41.078Z] v2.3.0-dev.7 [2022-11-03T09:54:41.078Z] v2.3.0-dev.8 [2022-11-03T09:54:41.078Z] v2.3.0-dev.9 [Pipeline] sh [2022-11-03T09:54:41.364Z] + lftools sign git-tag v2.3.0-dev.22 [2022-11-03T09:54:41.932Z] Signing Git tag with Sigul... [2022-11-03T09:54:41.932Z] Signing v2.3.0-dev.22 [Pipeline] echo [2022-11-03T09:54:42.200Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:54:42.483Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-03T09:54:42.490Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-03T09:54:42.516Z] $ docker stop --time=1 6dc6ba8f106417dc616aab91646aaa6d656b7ced19d1b61dd5eea32a2c669ff5 [2022-11-03T09:54:43.856Z] $ docker rm -f 6dc6ba8f106417dc616aab91646aaa6d656b7ced19d1b61dd5eea32a2c669ff5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-03T09:54:44.247Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T09:54:44.247Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:54:44.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:54:44.541Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:54:44.607Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:54:44.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T09:54:45.002Z] $ docker top c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T09:54:45.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:54:45.081Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:54:45.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:54:45.195Z] $ docker exec c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c ssh-agent [2022-11-03T09:54:45.305Z] SSH_AUTH_SOCK=/tmp/ssh-0kR4pU8qEIyw/agent.31 [2022-11-03T09:54:45.305Z] SSH_AGENT_PID=37 [2022-11-03T09:54:45.310Z] Running ssh-add (command line suppressed) [2022-11-03T09:54:45.428Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13874734813817851855.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13874734813817851855.key) [2022-11-03T09:54:45.431Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:54:45.718Z] + git semver bump pre [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,905 [bump_version] DEBUG bumping version:2.3.0-dev.22 on axis:pre with prefix:dev [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,905 [bump_version] DEBUG bumped version:2.3.0-dev.23 [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,905 [write_version] DEBUG write version:2.3.0-dev.23 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,905 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,907 [execute] INFO git cat-file --batch-check [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,917 [execute] INFO git cat-file --batch [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T09:54:45.978Z] 2022-11-03 09:54:45,923 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-03T09:54:45.978Z] 2.3.0-dev.23 [Pipeline] } [2022-11-03T09:54:45.998Z] $ docker exec --env ******** --env ******** c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c ssh-agent -k [2022-11-03T09:54:46.098Z] unset SSH_AUTH_SOCK; [2022-11-03T09:54:46.099Z] unset SSH_AGENT_PID; [2022-11-03T09:54:46.099Z] echo Agent pid 37 killed; [2022-11-03T09:54:46.098Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T09:54:46.395Z] + git semver [Pipeline] } [2022-11-03T09:54:46.674Z] $ docker stop --time=1 c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c [2022-11-03T09:54:47.952Z] $ docker rm -f c2f55791d9eb5cde3af86b5e7e8c0d30058ad2950f950bc9c9683da5d88d2c5c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T09:54:48.281Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T09:54:48.281Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:54:48.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:54:48.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:54:48.644Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:54:48.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-03T09:54:49.038Z] $ docker top 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T09:54:49.108Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:54:49.108Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:54:49.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:54:49.229Z] $ docker exec 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 ssh-agent [2022-11-03T09:54:49.324Z] SSH_AUTH_SOCK=/tmp/ssh-3NWOVnYmeAw7/agent.32 [2022-11-03T09:54:49.324Z] SSH_AGENT_PID=38 [2022-11-03T09:54:49.331Z] Running ssh-add (command line suppressed) [2022-11-03T09:54:49.436Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16085651522097869112.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16085651522097869112.key) [2022-11-03T09:54:49.438Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:54:49.721Z] + git semver push [2022-11-03T09:54:49.979Z] 2022-11-03 09:54:49,897 [run_push] DEBUG push [2022-11-03T09:54:49.980Z] 2022-11-03 09:54:49,898 [execute] INFO git cat-file --batch-check [2022-11-03T09:54:49.980Z] 2022-11-03 09:54:49,898 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T09:54:49.980Z] 2022-11-03 09:54:49,902 [execute] INFO git rev-list 3dbe4b8d43aa6a5252edeb200cec9a3de00eae5f -- [2022-11-03T09:54:49.980Z] 2022-11-03 09:54:49,902 [execute] DEBUG Popen(['git', 'rev-list', '3dbe4b8d43aa6a5252edeb200cec9a3de00eae5f', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-03T09:54:49.980Z] 2022-11-03 09:54:49,909 [execute] INFO git fetch -v origin [2022-11-03T09:54:49.980Z] 2022-11-03 09:54:49,909 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-11-03T09:54:50.548Z] 2022-11-03 09:54:50,509 [run_push] DEBUG no remote changes detected [2022-11-03T09:54:50.548Z] 2022-11-03 09:54:50,509 [execute] INFO git push origin semver [2022-11-03T09:54:50.548Z] 2022-11-03 09:54:50,510 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-03T09:54:51.486Z] 2022-11-03 09:54:51,281 [run_push] DEBUG push all version tags [2022-11-03T09:54:51.486Z] 2022-11-03 09:54:51,281 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-11-03T09:54:51.486Z] 2022-11-03 09:54:51,282 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-03T09:54:52.425Z] 2022-11-03 09:54:52,235 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-11-03T09:54:52.425Z] 2.3.0-dev.23 [Pipeline] } [2022-11-03T09:54:52.444Z] $ docker exec --env ******** --env ******** 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 ssh-agent -k [2022-11-03T09:54:52.541Z] unset SSH_AUTH_SOCK; [2022-11-03T09:54:52.541Z] unset SSH_AGENT_PID; [2022-11-03T09:54:52.541Z] echo Agent pid 38 killed; [2022-11-03T09:54:52.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T09:54:52.846Z] + git semver [Pipeline] } [2022-11-03T09:54:53.128Z] $ docker stop --time=1 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 [2022-11-03T09:54:54.488Z] $ docker rm -f 8a108a1c0a556ca381f16f06e03c7d0cd0a1746f34c51cd78c505694bffe3930 [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 [2022-11-03T09:54:55.029Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-11-03T09:54:55.029Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-11-03T09:54:55.029Z] total 16 [2022-11-03T09:54:55.029Z] drwxr-xr-x 3 root root 4096 Nov 3 09:45 . [2022-11-03T09:54:55.029Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:54 .. [2022-11-03T09:54:55.029Z] drwxr-xr-x 2 root root 4096 Nov 3 09:45 cost [2022-11-03T09:54:55.029Z] -rw-r--r-- 1 root root 85 Nov 3 09:45 cost.csv [2022-11-03T09:54:55.029Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-11-03T09:54:55.029Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-11-03T09:54:55.029Z] total 16 [2022-11-03T09:54:55.029Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:45 . [2022-11-03T09:54:55.029Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:54 .. [2022-11-03T09:54:55.029Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 09:45 cost [2022-11-03T09:54:55.029Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 3 09:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:54:55.319Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:54:56.177Z] ---> package-listing.sh [2022-11-03T09:54:56.177Z] ++ facter osfamily [2022-11-03T09:54:56.177Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-03T09:54:56.436Z] + OS_FAMILY=debian [2022-11-03T09:54:56.436Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-11-03T09:54:56.436Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-03T09:54:56.436Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-03T09:54:56.436Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-03T09:54:56.436Z] + PACKAGES=/tmp/packages_start.txt [2022-11-03T09:54:56.436Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-11-03T09:54:56.436Z] + PACKAGES=/tmp/packages_end.txt [2022-11-03T09:54:56.436Z] + case "${OS_FAMILY}" in [2022-11-03T09:54:56.436Z] + dpkg -l [2022-11-03T09:54:56.436Z] + grep '^ii' [2022-11-03T09:54:56.436Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-03T09:54:56.436Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-03T09:54:56.436Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-03T09:54:56.436Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-11-03T09:54:56.436Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-11-03T09:54:56.436Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2022-11-03T09:54:56.445Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-03T09:54:56.724Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:54:57.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T09:54:57.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:54:57.356Z] prd-ubuntu20.04-docker-8c-8g-118095 does not seem to be running inside a container [2022-11-03T09:54:57.398Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-03T09:54:57.634Z] $ docker top 368ee03dddbbbea953c20f49afa2aec5cad17275c8be4ae5ca083b697f61ffef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:54:58.055Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-03T09:54:58.360Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-03T09:54:58.719Z] + ls /var/log/sa-host [2022-11-03T09:54:58.719Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:54:58.787Z] provisioning config files... [2022-11-03T09:54:58.795Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2496917661376041456tmp [Pipeline] { [Pipeline] echo [2022-11-03T09:54:58.805Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:54:59.088Z] ---> create-netrc.sh [Pipeline] } [2022-11-03T09:54:59.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:54:59.428Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-03T09:54:59.437Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:54:59.721Z] ---> sudo-logs.sh [2022-11-03T09:54:59.721Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-03T09:54:59.751Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:55:00.033Z] ---> job-cost.sh [2022-11-03T09:55:00.033Z] lf-activate-venv: SKIPPING [2022-11-03T09:55:00.033Z] DEBUG: total: 0.2199999988079071 [2022-11-03T09:55:00.033Z] INFO: Retrieving Stack Cost... [2022-11-03T09:55:00.602Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T09:55:00.861Z] INFO: Archiving Costs [Pipeline] echo [2022-11-03T09:55:00.872Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:55:01.158Z] ---> logs-deploy.sh [2022-11-03T09:55:01.158Z] lf-activate-venv: SKIPPING [2022-11-03T09:55:01.158Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/53 [2022-11-03T09:55:01.158Z] INFO: archiving workspace using pattern(s): [2022-11-03T09:55:02.092Z] Archives upload complete. [2022-11-03T09:55:02.350Z] INFO: archiving logs to Nexus