Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b57b763129a056da364ef181ea3d00bbbd664f0 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-ssh14250744699768800703.key > 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-ssh13897819033201202983.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-ssh2283540367748291925.key > 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-ssh11519401333052042134.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16041241420015808358.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘prd-ubuntu20.04-docker-8c-8g-1953’ Running on prd-ubuntu20.04-docker-8c-8g-1956 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9b57b763129a056da364ef181ea3d00bbbd664f0 (main) Commit message: "Merge pull request #211 from lenny-intel/mb-config" > 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 9b57b763129a056da364ef181ea3d00bbbd664f0 # timeout=10 > git rev-list --no-walk ac8d37b91ffebeab2a267fed6cce847388f5686c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T21:50:13.712Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T21:50:13.783Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T21:50:13.799Z] ========================================================= [2023-01-11T21:50:13.799Z] EdgeX Global Pipelines Version Info [2023-01-11T21:50:13.799Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:50:14.547Z] ------------------- [2023-01-11T21:50:14.547Z] stable info: [2023-01-11T21:50:14.547Z] ------------------- [2023-01-11T21:50:14.547Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T21:50:14.547Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T21:50:14.547Z] Message: update stable to v1.0.244 [2023-01-11T21:50:15.119Z] ------------------- [2023-01-11T21:50:15.119Z] experimental info: [2023-01-11T21:50:15.119Z] ------------------- [2023-01-11T21:50:15.119Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T21:50:15.119Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T21:50:15.119Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T21:50:15.287Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-01-11T21:50:15.307Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-01-11T21:50:15.326Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T21:50:15.349Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T21:50:15.367Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T21:50:15.387Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T21:50:15.402Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T21:50:15.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T21:50:15.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T21:50:15.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T21:50:15.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T21:50:15.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-01-11T21:50:15.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T21:50:15.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T21:50:15.542Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T21:50:15.563Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T21:50:15.580Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T21:50:15.600Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T21:50:15.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T21:50:15.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T21:50:15.648Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T21:50:15.667Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T21:50:15.683Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T21:50:15.695Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T21:50:15.708Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T21:50:15.722Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T21:50:15.739Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T21:50:15.752Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-11T21:50:15.769Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-11T21:50:15.789Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-11T21:50:15.806Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b57b763129a056da364ef181ea3d00bbbd664f0 [Pipeline] echo [2023-01-11T21:50:15.827Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b57b76 [Pipeline] echo [2023-01-11T21:50:15.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:50:15.890Z] provisioning config files... [2023-01-11T21:50:15.905Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5141482261662664088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:50:16.215Z] ---> docker-login.sh [2023-01-11T21:50:16.215Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:50:16.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:16.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:16.475Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:16.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:16.475Z] [2023-01-11T21:50:16.475Z] Login Succeeded [2023-01-11T21:50:16.475Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:50:16.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:16.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:16.736Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:16.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:16.736Z] [2023-01-11T21:50:16.736Z] Login Succeeded [2023-01-11T21:50:16.736Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:50:16.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:16.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:16.736Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:16.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:16.736Z] [2023-01-11T21:50:16.736Z] Login Succeeded [2023-01-11T21:50:16.736Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:50:16.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:16.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:16.996Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:16.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:16.996Z] [2023-01-11T21:50:16.996Z] Login Succeeded [2023-01-11T21:50:16.996Z] docker.io [2023-01-11T21:50:16.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:17.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:17.256Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:17.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:17.256Z] [2023-01-11T21:50:17.256Z] Login Succeeded [2023-01-11T21:50:17.256Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:50:17.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T21:50:17.637Z] + git rev-list -1 --merges 9b57b763129a056da364ef181ea3d00bbbd664f0~1..9b57b763129a056da364ef181ea3d00bbbd664f0 [Pipeline] echo [2023-01-11T21:50:17.685Z] -----------> git rev-list -1 --merges 9b57b763129a056da364ef181ea3d00bbbd664f0~1..9b57b763129a056da364ef181ea3d00bbbd664f0 9b57b763129a056da364ef181ea3d00bbbd664f0 [2023-01-11T21:50:17.685Z] 9b57b763129a056da364ef181ea3d00bbbd664f0 [false] [Pipeline] sh [2023-01-11T21:50:17.971Z] + git log --format=format:%s -1 9b57b763129a056da364ef181ea3d00bbbd664f0 [Pipeline] echo [2023-01-11T21:50:17.984Z] ========================================================= [2023-01-11T21:50:17.984Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T21:50:17.984Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T21:50:18.312Z] + git log --format=format:%s -1 9b57b763129a056da364ef181ea3d00bbbd664f0 [Pipeline] echo [2023-01-11T21:50:18.324Z] [semverPrep] GIT_COMMIT: 9b57b763129a056da364ef181ea3d00bbbd664f0, Commit Message: Merge pull request #211 from lenny-intel/mb-config [Pipeline] echo [2023-01-11T21:50:18.335Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T21:50:18.705Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T21:50:18.705Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T21:50:18.705Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T21:50:18.705Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T21:50:18.705Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T21:50:18.705Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T21:50:18.705Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:50:19.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T21:50:19.045Z] [2023-01-11T21:50:19.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:50:19.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T21:50:19.347Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T21:50:19.347Z] b85a868b505f: Pulling fs layer [2023-01-11T21:50:19.347Z] e2be974225ed: Pulling fs layer [2023-01-11T21:50:19.347Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T21:50:19.347Z] 988bab9f4d93: Pulling fs layer [2023-01-11T21:50:19.347Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T21:50:19.347Z] eaf3925da568: Pulling fs layer [2023-01-11T21:50:19.347Z] bab4dde63d76: Pulling fs layer [2023-01-11T21:50:19.347Z] bde34c3a00c8: Pulling fs layer [2023-01-11T21:50:19.347Z] b352a97aabf1: Pulling fs layer [2023-01-11T21:50:19.347Z] 4872d77fe225: Pulling fs layer [2023-01-11T21:50:19.347Z] 5851b861e8e6: Pulling fs layer [2023-01-11T21:50:19.347Z] bde34c3a00c8: Waiting [2023-01-11T21:50:19.347Z] b352a97aabf1: Waiting [2023-01-11T21:50:19.347Z] 988bab9f4d93: Waiting [2023-01-11T21:50:19.347Z] 1469e6f7b9e6: Waiting [2023-01-11T21:50:19.347Z] eaf3925da568: Waiting [2023-01-11T21:50:19.347Z] 5851b861e8e6: Waiting [2023-01-11T21:50:19.347Z] 4872d77fe225: Waiting [2023-01-11T21:50:19.347Z] bab4dde63d76: Waiting [2023-01-11T21:50:19.347Z] e2be974225ed: Download complete [2023-01-11T21:50:19.347Z] 988bab9f4d93: Verifying Checksum [2023-01-11T21:50:19.347Z] 988bab9f4d93: Download complete [2023-01-11T21:50:19.609Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T21:50:19.609Z] 1469e6f7b9e6: Download complete [2023-01-11T21:50:19.609Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T21:50:19.609Z] 339a4e72a1f5: Download complete [2023-01-11T21:50:19.609Z] eaf3925da568: Verifying Checksum [2023-01-11T21:50:19.609Z] eaf3925da568: Download complete [2023-01-11T21:50:19.609Z] bde34c3a00c8: Verifying Checksum [2023-01-11T21:50:19.609Z] bde34c3a00c8: Download complete [2023-01-11T21:50:19.609Z] b352a97aabf1: Download complete [2023-01-11T21:50:19.609Z] 4872d77fe225: Download complete [2023-01-11T21:50:19.609Z] 5851b861e8e6: Download complete [2023-01-11T21:50:19.609Z] b85a868b505f: Download complete [2023-01-11T21:50:19.869Z] bab4dde63d76: Verifying Checksum [2023-01-11T21:50:19.869Z] bab4dde63d76: Download complete [2023-01-11T21:50:21.247Z] b85a868b505f: Pull complete [2023-01-11T21:50:21.247Z] e2be974225ed: Pull complete [2023-01-11T21:50:21.506Z] 339a4e72a1f5: Pull complete [2023-01-11T21:50:21.764Z] 988bab9f4d93: Pull complete [2023-01-11T21:50:22.024Z] 1469e6f7b9e6: Pull complete [2023-01-11T21:50:22.024Z] eaf3925da568: Pull complete [2023-01-11T21:50:23.932Z] bab4dde63d76: Pull complete [2023-01-11T21:50:23.932Z] bde34c3a00c8: Pull complete [2023-01-11T21:50:23.932Z] b352a97aabf1: Pull complete [2023-01-11T21:50:23.932Z] 4872d77fe225: Pull complete [2023-01-11T21:50:24.192Z] 5851b861e8e6: Pull complete [2023-01-11T21:50:24.192Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T21:50:24.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T21:50:24.192Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:50:24.294Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T21:50:24.316Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T21:50:29.404Z] $ docker top 1a1ad6394b254c681ea287a01480aa5175b6854fab90947152b9e3bd87137e40 -eo pid,comm [2023-01-11T21:50:29.463Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-11T21:50:29.463Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T21:50:29.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T21:50:29.500Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T21:50:29.613Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T21:50:29.610Z] $ docker exec 1a1ad6394b254c681ea287a01480aa5175b6854fab90947152b9e3bd87137e40 ssh-agent [2023-01-11T21:50:29.724Z] SSH_AUTH_SOCK=/tmp/ssh-Anz2HCAa4NZj/agent.32 [2023-01-11T21:50:29.724Z] SSH_AGENT_PID=38 [2023-01-11T21:50:29.730Z] Running ssh-add (command line suppressed) [2023-01-11T21:50:29.826Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10301401018138401822.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_10301401018138401822.key) [2023-01-11T21:50:29.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T21:50:30.131Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T21:50:30.140Z] $ docker exec --env ******** --env ******** 1a1ad6394b254c681ea287a01480aa5175b6854fab90947152b9e3bd87137e40 ssh-agent -k [2023-01-11T21:50:30.242Z] unset SSH_AUTH_SOCK; [2023-01-11T21:50:30.243Z] unset SSH_AGENT_PID; [2023-01-11T21:50:30.243Z] echo Agent pid 38 killed; [2023-01-11T21:50:30.260Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T21:50:30.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T21:50:30.283Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T21:50:30.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T21:50:30.381Z] $ docker exec 1a1ad6394b254c681ea287a01480aa5175b6854fab90947152b9e3bd87137e40 ssh-agent [2023-01-11T21:50:30.501Z] SSH_AUTH_SOCK=/tmp/ssh-cdewMEQ2mbni/agent.70 [2023-01-11T21:50:30.501Z] SSH_AGENT_PID=76 [2023-01-11T21:50:30.505Z] Running ssh-add (command line suppressed) [2023-01-11T21:50:30.603Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18195466389086193558.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18195466389086193558.key) [2023-01-11T21:50:30.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T21:50:30.905Z] + git semver init [2023-01-11T21:50:31.163Z] 2023-01-11 21:50:31,085 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T21:50:31.164Z] 2023-01-11 21:50:31,086 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-01-11T21:50:31.164Z] 2023-01-11 21:50:31,087 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-01-11T21:50:31.164Z] 2023-01-11 21:50:31,087 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-11T21:50:32.103Z] 2023-01-11 21:50:31,901 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-01-11T21:50:32.103Z] 2023-01-11 21:50:31,902 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-01-11T21:50:32.103Z] 2023-01-11 21:50:31,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-11T21:50:32.103Z] 2023-01-11 21:50:31,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-11T21:50:32.103Z] 3.0.0-dev.4 [Pipeline] } [2023-01-11T21:50:32.107Z] $ docker exec --env ******** --env ******** 1a1ad6394b254c681ea287a01480aa5175b6854fab90947152b9e3bd87137e40 ssh-agent -k [2023-01-11T21:50:32.198Z] unset SSH_AUTH_SOCK; [2023-01-11T21:50:32.198Z] unset SSH_AGENT_PID; [2023-01-11T21:50:32.198Z] echo Agent pid 76 killed; [2023-01-11T21:50:32.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T21:50:32.520Z] + git semver [Pipeline] } [2023-01-11T21:50:32.784Z] $ docker stop --time=1 1a1ad6394b254c681ea287a01480aa5175b6854fab90947152b9e3bd87137e40 [2023-01-11T21:50:34.051Z] $ docker rm -f --volumes 1a1ad6394b254c681ea287a01480aa5175b6854fab90947152b9e3bd87137e40 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T21:50:34.380Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T21:50:34.581Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T21:50:34.585Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:50:34.728Z] provisioning config files... [2023-01-11T21:50:34.738Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1731330121222102133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:50:35.040Z] ---> docker-login.sh [2023-01-11T21:50:35.040Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:50:35.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:35.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:35.040Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:35.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:35.040Z] [2023-01-11T21:50:35.040Z] Login Succeeded [2023-01-11T21:50:35.040Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:50:35.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:35.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:35.040Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:35.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:35.040Z] [2023-01-11T21:50:35.040Z] Login Succeeded [2023-01-11T21:50:35.040Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:50:35.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:35.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:35.299Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:35.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:35.299Z] [2023-01-11T21:50:35.299Z] Login Succeeded [2023-01-11T21:50:35.299Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:50:35.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:35.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:35.299Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:35.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:35.299Z] [2023-01-11T21:50:35.299Z] Login Succeeded [2023-01-11T21:50:35.299Z] docker.io [2023-01-11T21:50:35.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:50:35.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:50:35.558Z] Configure a credential helper to remove this warning. See [2023-01-11T21:50:35.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:50:35.558Z] [2023-01-11T21:50:35.558Z] Login Succeeded [2023-01-11T21:50:35.558Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:50:35.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T21:50:35.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:50:35.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:50:35.655Z] ========================================================= [2023-01-11T21:50:35.655Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T21:50:35.655Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:50:35.976Z] + 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 . [2023-01-11T21:50:35.976Z] Sending build context to Docker daemon 5.64MB [2023-01-11T21:50:35.976Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:50:35.976Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T21:50:35.976Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T21:50:35.976Z] 213ec9aee27d: Pulling fs layer [2023-01-11T21:50:35.976Z] 4583459ba037: Pulling fs layer [2023-01-11T21:50:35.976Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T21:50:35.976Z] 53926ce57604: Pulling fs layer [2023-01-11T21:50:35.976Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T21:50:35.976Z] 22ff95d597cd: Pulling fs layer [2023-01-11T21:50:35.976Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T21:50:35.976Z] 53926ce57604: Waiting [2023-01-11T21:50:35.976Z] 21b2b0c7a3f4: Waiting [2023-01-11T21:50:35.976Z] 22ff95d597cd: Waiting [2023-01-11T21:50:35.976Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T21:50:35.976Z] 12d6caf4c0d1: Waiting [2023-01-11T21:50:35.976Z] a7acece74701: Pulling fs layer [2023-01-11T21:50:35.976Z] a7acece74701: Waiting [2023-01-11T21:50:35.976Z] 96b7cbca73a9: Waiting [2023-01-11T21:50:35.976Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T21:50:35.976Z] 93c1e223e6f2: Download complete [2023-01-11T21:50:35.976Z] 4583459ba037: Verifying Checksum [2023-01-11T21:50:35.976Z] 4583459ba037: Download complete [2023-01-11T21:50:35.976Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T21:50:35.976Z] 21b2b0c7a3f4: Download complete [2023-01-11T21:50:36.241Z] 22ff95d597cd: Download complete [2023-01-11T21:50:36.241Z] 213ec9aee27d: Verifying Checksum [2023-01-11T21:50:36.241Z] 213ec9aee27d: Download complete [2023-01-11T21:50:36.241Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T21:50:36.241Z] 12d6caf4c0d1: Download complete [2023-01-11T21:50:36.241Z] 213ec9aee27d: Pull complete [2023-01-11T21:50:36.520Z] 4583459ba037: Pull complete [2023-01-11T21:50:36.520Z] 93c1e223e6f2: Pull complete [2023-01-11T21:50:37.120Z] a7acece74701: Verifying Checksum [2023-01-11T21:50:37.120Z] a7acece74701: Download complete [2023-01-11T21:50:37.386Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T21:50:37.386Z] 96b7cbca73a9: Download complete [2023-01-11T21:50:37.386Z] 53926ce57604: Verifying Checksum [2023-01-11T21:50:37.386Z] 53926ce57604: Download complete [2023-01-11T21:50:40.666Z] 53926ce57604: Pull complete [2023-01-11T21:50:40.666Z] 21b2b0c7a3f4: Pull complete [2023-01-11T21:50:40.925Z] 22ff95d597cd: Pull complete [2023-01-11T21:50:40.925Z] 12d6caf4c0d1: Pull complete [2023-01-11T21:50:42.841Z] 96b7cbca73a9: Pull complete [2023-01-11T21:50:43.407Z] a7acece74701: Pull complete [2023-01-11T21:50:43.407Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T21:50:43.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T21:50:43.407Z] ---> db6d94c90886 [2023-01-11T21:50:43.407Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:50:49.692Z] Still waiting to schedule task [2023-01-11T21:50:49.693Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1954’ [2023-01-11T21:50:51.791Z] ---> Running in 5e8d4e4b291f [2023-01-11T21:50:51.791Z] Removing intermediate container 5e8d4e4b291f [2023-01-11T21:50:51.791Z] ---> 1ff954460f58 [2023-01-11T21:50:51.791Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:50:51.791Z] ---> Running in 953c90961687 [2023-01-11T21:50:51.791Z] Removing intermediate container 953c90961687 [2023-01-11T21:50:51.791Z] ---> f264b54cc545 [2023-01-11T21:50:51.791Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T21:50:51.791Z] ---> Running in 2c705fa8bc58 [2023-01-11T21:50:51.791Z] Removing intermediate container 2c705fa8bc58 [2023-01-11T21:50:51.791Z] ---> 255c69e63202 [2023-01-11T21:50:51.791Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:50:51.791Z] ---> Running in bbb9b326b5aa [2023-01-11T21:50:51.791Z] Removing intermediate container bbb9b326b5aa [2023-01-11T21:50:51.791Z] ---> 72967654d390 [2023-01-11T21:50:51.791Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:50:51.791Z] ---> Running in 869ed4c26c1f [2023-01-11T21:50:51.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T21:50:51.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T21:50:51.791Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T21:50:51.791Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T21:50:51.791Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T21:50:51.791Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T21:50:51.791Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T21:50:51.791Z] OK: 216 MiB in 55 packages [2023-01-11T21:50:52.358Z] Removing intermediate container 869ed4c26c1f [2023-01-11T21:50:52.358Z] ---> d5ad16ba272b [2023-01-11T21:50:52.358Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-11T21:50:52.358Z] ---> Running in 5a0f8465745c [2023-01-11T21:50:52.616Z] Removing intermediate container 5a0f8465745c [2023-01-11T21:50:52.616Z] ---> 2abd19c3f82a [2023-01-11T21:50:52.616Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T21:50:52.616Z] ---> 3baaec00bfa9 [2023-01-11T21:50:52.616Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:50:52.616Z] ---> Running in 011ea5bc55b4 [2023-01-11T21:51:19.511Z] Removing intermediate container 011ea5bc55b4 [2023-01-11T21:51:19.511Z] ---> 57fc02129a67 [2023-01-11T21:51:19.511Z] Step 11/12 : COPY . . [2023-01-11T21:51:19.769Z] ---> bdc8f74fc3d9 [2023-01-11T21:51:19.769Z] Step 12/12 : RUN ${MAKE} [2023-01-11T21:51:19.769Z] ---> Running in 6110000065dd [2023-01-11T21:51:20.027Z] noop [2023-01-11T21:51:20.285Z] Removing intermediate container 6110000065dd [2023-01-11T21:51:20.285Z] ---> 7c678ed75fe3 [2023-01-11T21:51:20.285Z] Successfully built 7c678ed75fe3 [2023-01-11T21:51:20.285Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:51:20.585Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T21:51:20.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:51:20.651Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T21:51:20.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T21:51:20.987Z] $ docker top 0e950722f4a42294b8d62257ff1f388f7fbeb7df0780731b7b4279d14496cf0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:51:21.321Z] + go version [2023-01-11T21:51:21.322Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T21:51:21.341Z] $ docker stop --time=1 0e950722f4a42294b8d62257ff1f388f7fbeb7df0780731b7b4279d14496cf0a [2023-01-11T21:51:22.645Z] $ docker rm -f --volumes 0e950722f4a42294b8d62257ff1f388f7fbeb7df0780731b7b4279d14496cf0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:51:23.060Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T21:51:23.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:51:23.140Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T21:51:23.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T21:51:23.487Z] $ docker top cb53ff3d6151480b41b8a2f5d49bd88923d128f671b1e1436d5f827549efe569 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:51:23.822Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-11T21:51:24.115Z] + make test [2023-01-11T21:51:24.115Z] go test ./... -coverprofile=coverage.out [2023-01-11T21:51:24.373Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-11T21:51:32.473Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-11T21:51:32.473Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.025s coverage: 0.0% of statements [2023-01-11T21:51:37.737Z] 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." [2023-01-11T21:51:37.737Z] go vet ./... [2023-01-11T21:51:40.270Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T21:51:40.270Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T21:51:40.270Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T21:51:40.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T21:51:40.559Z] $ docker stop --time=1 cb53ff3d6151480b41b8a2f5d49bd88923d128f671b1e1436d5f827549efe569 [2023-01-11T21:51:42.998Z] $ docker rm -f --volumes cb53ff3d6151480b41b8a2f5d49bd88923d128f671b1e1436d5f827549efe569 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T21:51:43.402Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T21:51:43.446Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T21:51:43.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T21:51:44.144Z] + ls -al . [2023-01-11T21:51:44.144Z] total 180 [2023-01-11T21:51:44.144Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 21:51 . [2023-01-11T21:51:44.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:50 .. [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 11 21:50 .dockerignore [2023-01-11T21:51:44.144Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:51 .git [2023-01-11T21:51:44.144Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:50 .github [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 11 21:50 .gitignore [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 21:50 .golangci.yml [2023-01-11T21:51:44.144Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:50 .semver [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 11 21:50 Attribution.txt [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 11 21:50 CHANGELOG.md [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 11 21:50 Dockerfile [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:50 GOVERNANCE.md [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 11 21:50 Jenkinsfile [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 21:50 LICENSE [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 11 21:50 Makefile [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 21:50 OWNERS.md [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 11 21:50 README.md [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 21:50 VERSION [2023-01-11T21:51:44.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:50 bin [2023-01-11T21:51:44.144Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:50 cmd [2023-01-11T21:51:44.144Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 11 21:51 coverage.out [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 11 21:50 go.mod [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 11 21:50 go.sum [2023-01-11T21:51:44.144Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:50 internal [2023-01-11T21:51:44.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:50 snap [2023-01-11T21:51:44.144Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 11 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:51:44.452Z] + 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=9b57b763129a056da364ef181ea3d00bbbd664f0 --label arch=amd64 --label version=3.0.0-dev.4 . [2023-01-11T21:51:44.452Z] Sending build context to Docker daemon 5.648MB [2023-01-11T21:51:44.452Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:51:44.452Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T21:51:44.452Z] ---> 7c678ed75fe3 [2023-01-11T21:51:44.452Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:51:44.710Z] ---> Running in 0608062a106c [2023-01-11T21:51:44.710Z] Removing intermediate container 0608062a106c [2023-01-11T21:51:44.710Z] ---> 6b3c9b850e4d [2023-01-11T21:51:44.710Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:51:44.710Z] ---> Running in 5fa6f616200c [2023-01-11T21:51:44.711Z] Removing intermediate container 5fa6f616200c [2023-01-11T21:51:44.711Z] ---> 3e8dc8b2623c [2023-01-11T21:51:44.711Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T21:51:44.711Z] ---> Running in 83898db2b42a [2023-01-11T21:51:44.969Z] Removing intermediate container 83898db2b42a [2023-01-11T21:51:44.969Z] ---> 4dee85c2e045 [2023-01-11T21:51:44.969Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:51:44.969Z] ---> Running in d346eb946fa8 [2023-01-11T21:51:44.969Z] Removing intermediate container d346eb946fa8 [2023-01-11T21:51:44.969Z] ---> 6460f79c8f69 [2023-01-11T21:51:44.969Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:51:44.969Z] ---> Running in b36650d64c6c [2023-01-11T21:51:45.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T21:51:45.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T21:51:45.744Z] OK: 216 MiB in 55 packages [2023-01-11T21:51:46.002Z] Removing intermediate container b36650d64c6c [2023-01-11T21:51:46.002Z] ---> 89342241513e [2023-01-11T21:51:46.002Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-11T21:51:46.002Z] ---> Running in 41428588291c [2023-01-11T21:51:46.002Z] Removing intermediate container 41428588291c [2023-01-11T21:51:46.002Z] ---> 20d01568137c [2023-01-11T21:51:46.002Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T21:51:46.260Z] ---> c761ed949353 [2023-01-11T21:51:46.260Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:51:46.260Z] ---> Running in ed020fde716a [2023-01-11T21:51:46.832Z] Removing intermediate container ed020fde716a [2023-01-11T21:51:46.832Z] ---> 6c284e1427e9 [2023-01-11T21:51:46.832Z] Step 11/24 : COPY . . [2023-01-11T21:51:47.091Z] ---> c8bda5244862 [2023-01-11T21:51:47.091Z] Step 12/24 : RUN ${MAKE} [2023-01-11T21:51:47.091Z] ---> Running in 4244598a0ac1 [2023-01-11T21:51:47.657Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-11T21:52:09.590Z] Removing intermediate container 4244598a0ac1 [2023-01-11T21:52:09.590Z] ---> 4164a82239a1 [2023-01-11T21:52:09.590Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T21:52:09.590Z] 3.16: Pulling from library/alpine [2023-01-11T21:52:09.590Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T21:52:09.590Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T21:52:09.590Z] ca7dd9ec2225: Download complete [2023-01-11T21:52:09.590Z] ca7dd9ec2225: Pull complete [2023-01-11T21:52:09.590Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T21:52:09.590Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T21:52:09.590Z] ---> bfe296a52501 [2023-01-11T21:52:09.590Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T21:52:09.590Z] ---> Running in 9380cc305f39 [2023-01-11T21:52:09.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T21:52:09.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T21:52:09.590Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T21:52:09.590Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T21:52:09.590Z] OK: 6 MiB in 15 packages [2023-01-11T21:52:09.590Z] Removing intermediate container 9380cc305f39 [2023-01-11T21:52:09.590Z] ---> 5f86c30e039b [2023-01-11T21:52:09.590Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-11T21:52:09.590Z] ---> 906047c8c81f [2023-01-11T21:52:09.590Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-11T21:52:09.590Z] ---> 130339a0b7e5 [2023-01-11T21:52:09.590Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-11T21:52:09.590Z] ---> 5b120a156e19 [2023-01-11T21:52:09.590Z] Step 18/24 : EXPOSE 59993 [2023-01-11T21:52:09.590Z] ---> Running in 07ad3f956a7c [2023-01-11T21:52:09.590Z] Removing intermediate container 07ad3f956a7c [2023-01-11T21:52:09.590Z] ---> 6ad4ccfffcaa [2023-01-11T21:52:09.590Z] Step 19/24 : EXPOSE 161 [2023-01-11T21:52:09.590Z] ---> Running in 9c54969505b5 [2023-01-11T21:52:09.590Z] Removing intermediate container 9c54969505b5 [2023-01-11T21:52:09.590Z] ---> 2b9ea099e246 [2023-01-11T21:52:09.590Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-11T21:52:09.590Z] ---> Running in 755140236cf4 [2023-01-11T21:52:09.591Z] Removing intermediate container 755140236cf4 [2023-01-11T21:52:09.591Z] ---> cedd1d4b05f1 [2023-01-11T21:52:09.591Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T21:52:09.591Z] ---> Running in 7fbaff80006e [2023-01-11T21:52:09.591Z] Removing intermediate container 7fbaff80006e [2023-01-11T21:52:09.591Z] ---> 5f26b7e4ab7e [2023-01-11T21:52:09.591Z] Step 22/24 : LABEL arch=amd64 [2023-01-11T21:52:09.591Z] ---> Running in 3c64cfcf3c7b [2023-01-11T21:52:09.591Z] Removing intermediate container 3c64cfcf3c7b [2023-01-11T21:52:09.591Z] ---> f6d4961355c8 [2023-01-11T21:52:09.591Z] Step 23/24 : LABEL git_sha=9b57b763129a056da364ef181ea3d00bbbd664f0 [2023-01-11T21:52:09.591Z] ---> Running in 0c1012dc2892 [2023-01-11T21:52:09.591Z] Removing intermediate container 0c1012dc2892 [2023-01-11T21:52:09.591Z] ---> a15a849e2271 [2023-01-11T21:52:09.591Z] Step 24/24 : LABEL version=3.0.0-dev.4 [2023-01-11T21:52:09.591Z] ---> Running in ed7e16e750b4 [2023-01-11T21:52:09.591Z] Removing intermediate container ed7e16e750b4 [2023-01-11T21:52:09.591Z] ---> c97e0c7529a1 [2023-01-11T21:52:09.591Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T21:52:09.591Z] Successfully built c97e0c7529a1 [2023-01-11T21:52:09.591Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:52:09.670Z] provisioning config files... [2023-01-11T21:52:09.678Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11816143483348324904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:52:10.073Z] ---> docker-login.sh [2023-01-11T21:52:10.073Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:52:10.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:10.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:10.073Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:10.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:10.073Z] [2023-01-11T21:52:10.073Z] Login Succeeded [2023-01-11T21:52:10.073Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:52:10.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:10.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:10.073Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:10.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:10.073Z] [2023-01-11T21:52:10.073Z] Login Succeeded [2023-01-11T21:52:10.073Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:52:10.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:10.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:10.361Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:10.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:10.361Z] [2023-01-11T21:52:10.361Z] Login Succeeded [2023-01-11T21:52:10.361Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:52:10.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:10.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:10.361Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:10.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:10.361Z] [2023-01-11T21:52:10.361Z] Login Succeeded [2023-01-11T21:52:10.361Z] docker.io [2023-01-11T21:52:10.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:10.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:10.640Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:10.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:10.640Z] [2023-01-11T21:52:10.640Z] Login Succeeded [2023-01-11T21:52:10.640Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:52:10.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T21:52:10.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:52:10.695Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-01-11T21:52:10.695Z] 9b57b763129a056da364ef181ea3d00bbbd664f0 [2023-01-11T21:52:10.695Z] latest [2023-01-11T21:52:10.695Z] 3.0.0-dev.4 [2023-01-11T21:52:10.695Z] 9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4 [2023-01-11T21:52:10.695Z] main [2023-01-11T21:52:10.695Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:11.021Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9b57b763129a056da364ef181ea3d00bbbd664f0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:11.323Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9b57b763129a056da364ef181ea3d00bbbd664f0 [2023-01-11T21:52:11.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-11T21:52:11.323Z] bff11c026208: Preparing [2023-01-11T21:52:11.323Z] 7371771140b9: Preparing [2023-01-11T21:52:11.323Z] d69c5cfa6a0a: Preparing [2023-01-11T21:52:11.323Z] 6114055c449c: Preparing [2023-01-11T21:52:11.323Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:11.323Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:11.323Z] 6114055c449c: Pushed [2023-01-11T21:52:11.323Z] 7371771140b9: Pushed [2023-01-11T21:52:11.323Z] bff11c026208: Pushed [2023-01-11T21:52:13.858Z] d69c5cfa6a0a: Pushed [2023-01-11T21:52:13.858Z] 9b57b763129a056da364ef181ea3d00bbbd664f0: digest: sha256:9a3637f524a988a10b3f5d2b55118103d8a4fdecf7274baa4df14e4582c6b035 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:14.163Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:14.471Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-01-11T21:52:14.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-11T21:52:14.471Z] bff11c026208: Preparing [2023-01-11T21:52:14.471Z] 7371771140b9: Preparing [2023-01-11T21:52:14.471Z] d69c5cfa6a0a: Preparing [2023-01-11T21:52:14.471Z] 6114055c449c: Preparing [2023-01-11T21:52:14.471Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:14.471Z] d69c5cfa6a0a: Layer already exists [2023-01-11T21:52:14.471Z] 7371771140b9: Layer already exists [2023-01-11T21:52:14.471Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:14.471Z] 6114055c449c: Layer already exists [2023-01-11T21:52:14.471Z] bff11c026208: Layer already exists [2023-01-11T21:52:14.471Z] latest: digest: sha256:9a3637f524a988a10b3f5d2b55118103d8a4fdecf7274baa4df14e4582c6b035 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:14.780Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:15.089Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.4 [2023-01-11T21:52:15.089Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-11T21:52:15.089Z] bff11c026208: Preparing [2023-01-11T21:52:15.089Z] 7371771140b9: Preparing [2023-01-11T21:52:15.089Z] d69c5cfa6a0a: Preparing [2023-01-11T21:52:15.089Z] 6114055c449c: Preparing [2023-01-11T21:52:15.089Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:15.089Z] 6114055c449c: Layer already exists [2023-01-11T21:52:15.089Z] 7371771140b9: Layer already exists [2023-01-11T21:52:15.089Z] d69c5cfa6a0a: Layer already exists [2023-01-11T21:52:15.089Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:15.089Z] bff11c026208: Layer already exists [2023-01-11T21:52:15.089Z] 3.0.0-dev.4: digest: sha256:9a3637f524a988a10b3f5d2b55118103d8a4fdecf7274baa4df14e4582c6b035 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:15.410Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:15.717Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4 [2023-01-11T21:52:15.717Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-11T21:52:15.717Z] bff11c026208: Preparing [2023-01-11T21:52:15.717Z] 7371771140b9: Preparing [2023-01-11T21:52:15.717Z] d69c5cfa6a0a: Preparing [2023-01-11T21:52:15.717Z] 6114055c449c: Preparing [2023-01-11T21:52:15.717Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:15.717Z] bff11c026208: Layer already exists [2023-01-11T21:52:15.717Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:15.717Z] 6114055c449c: Layer already exists [2023-01-11T21:52:15.717Z] 7371771140b9: Layer already exists [2023-01-11T21:52:15.717Z] d69c5cfa6a0a: Layer already exists [2023-01-11T21:52:15.717Z] 9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4: digest: sha256:9a3637f524a988a10b3f5d2b55118103d8a4fdecf7274baa4df14e4582c6b035 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:16.030Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:16.346Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-01-11T21:52:16.346Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-01-11T21:52:16.346Z] bff11c026208: Preparing [2023-01-11T21:52:16.346Z] 7371771140b9: Preparing [2023-01-11T21:52:16.346Z] d69c5cfa6a0a: Preparing [2023-01-11T21:52:16.346Z] 6114055c449c: Preparing [2023-01-11T21:52:16.346Z] e5e13b0c77cb: Preparing [2023-01-11T21:52:16.346Z] 6114055c449c: Layer already exists [2023-01-11T21:52:16.346Z] d69c5cfa6a0a: Layer already exists [2023-01-11T21:52:16.346Z] e5e13b0c77cb: Layer already exists [2023-01-11T21:52:16.346Z] bff11c026208: Layer already exists [2023-01-11T21:52:16.346Z] 7371771140b9: Layer already exists [2023-01-11T21:52:16.346Z] main: digest: sha256:9a3637f524a988a10b3f5d2b55118103d8a4fdecf7274baa4df14e4582c6b035 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T21:52:16.398Z] ===================================================== [Pipeline] echo [2023-01-11T21:52:16.407Z] taggedImages: [2023-01-11T21:52:16.407Z] - nexus3.edgexfoundry.org:10004/device-snmp:9b57b763129a056da364ef181ea3d00bbbd664f0 [2023-01-11T21:52:16.407Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-01-11T21:52:16.407Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.4 [2023-01-11T21:52:16.407Z] - nexus3.edgexfoundry.org:10004/device-snmp:9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4 [2023-01-11T21:52:16.407Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:16.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T21:52:16.783Z] [2023-01-11T21:52:16.783Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:17.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T21:52:17.082Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T21:52:17.082Z] 5eb5b503b376: Pulling fs layer [2023-01-11T21:52:17.082Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T21:52:17.082Z] ec43610c2a17: Pulling fs layer [2023-01-11T21:52:17.082Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T21:52:17.082Z] 33b1e0a273af: Pulling fs layer [2023-01-11T21:52:17.082Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T21:52:17.082Z] 2f39f015ded8: Pulling fs layer [2023-01-11T21:52:17.082Z] 33b1e0a273af: Waiting [2023-01-11T21:52:17.082Z] 5d3b04190fa2: Waiting [2023-01-11T21:52:17.082Z] 2f39f015ded8: Waiting [2023-01-11T21:52:17.082Z] 3a2ae6a8a46f: Waiting [2023-01-11T21:52:17.082Z] 5c69ac0246d0: Download complete [2023-01-11T21:52:17.082Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T21:52:17.082Z] 3a2ae6a8a46f: Download complete [2023-01-11T21:52:17.340Z] 33b1e0a273af: Verifying Checksum [2023-01-11T21:52:17.340Z] 33b1e0a273af: Download complete [2023-01-11T21:52:17.340Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T21:52:17.340Z] 5d3b04190fa2: Download complete [2023-01-11T21:52:17.340Z] ec43610c2a17: Verifying Checksum [2023-01-11T21:52:17.340Z] ec43610c2a17: Download complete [2023-01-11T21:52:17.340Z] 5eb5b503b376: Verifying Checksum [2023-01-11T21:52:17.340Z] 5eb5b503b376: Download complete [2023-01-11T21:52:17.904Z] 2f39f015ded8: Download complete [2023-01-11T21:52:18.474Z] 5eb5b503b376: Pull complete [2023-01-11T21:52:18.731Z] 5c69ac0246d0: Pull complete [2023-01-11T21:52:18.989Z] ec43610c2a17: Pull complete [2023-01-11T21:52:18.989Z] 3a2ae6a8a46f: Pull complete [2023-01-11T21:52:19.246Z] 33b1e0a273af: Pull complete [2023-01-11T21:52:19.246Z] 5d3b04190fa2: Pull complete [2023-01-11T21:52:23.425Z] 2f39f015ded8: Pull complete [2023-01-11T21:52:23.425Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T21:52:23.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T21:52:23.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:52:23.512Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T21:52:23.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T21:52:28.078Z] $ docker top c7d750b9721b1512a515d264d64c4ad7093e6a85b29592eb51135afafc74761a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:52:28.432Z] ---> job-cost.sh [2023-01-11T21:52:28.432Z] lf-activate-venv: SKIPPING [2023-01-11T21:52:28.432Z] INFO: No Stack... [2023-01-11T21:52:28.693Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T21:52:28.965Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T21:52:29.271Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-01-11T21:52:29.271Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T21:52:29.286Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-60-stack-cost] [2023-01-11T21:52:29.291Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-60-stack-cost] did not exist. Created. [2023-01-11T21:52:29.291Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T21:52:29.586Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T21:52:29.612Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T21:52:29.621Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T21:52:29.648Z] $ docker stop --time=1 c7d750b9721b1512a515d264d64c4ad7093e6a85b29592eb51135afafc74761a [2023-01-11T21:52:30.791Z] $ docker rm -f --volumes c7d750b9721b1512a515d264d64c4ad7093e6a85b29592eb51135afafc74761a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T21:53:16.953Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1965 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-01-11T21:53:16.967Z] Running in /w/workspace/device-snmp-go/60 [Pipeline] { [Pipeline] checkout [2023-01-11T21:53:17.000Z] Selected Git installation does not exist. Using Default [2023-01-11T21:53:17.000Z] The recommended git tool is: NONE [2023-01-11T21:53:23.813Z] using credential edgex-jenkins-ssh [2023-01-11T21:53:23.840Z] Cloning the remote Git repository [2023-01-11T21:53:23.889Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-01-11T21:53:23.974Z] > git init /w/workspace/device-snmp-go/60 # timeout=10 [2023-01-11T21:53:24.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-11T21:53:24.146Z] > git --version # timeout=10 [2023-01-11T21:53:24.167Z] > git --version # 'git version 2.25.1' [2023-01-11T21:53:24.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T21:53:24.252Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T21:53:25.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-11T21:53:25.336Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T21:53:26.415Z] Avoid second fetch [2023-01-11T21:53:26.415Z] Checking out Revision 9b57b763129a056da364ef181ea3d00bbbd664f0 (main) [2023-01-11T21:53:26.990Z] Commit message: "Merge pull request #211 from lenny-intel/mb-config" [2023-01-11T21:53:26.434Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T21:53:26.456Z] > git checkout -f 9b57b763129a056da364ef181ea3d00bbbd664f0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T21:53:27.897Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T21:53:27.897Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T21:53:27.897Z] Dload Upload Total Spent Left Speed [2023-01-11T21:53:27.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-01-11T21:53:28.599Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T21:53:28.938Z] + sudo tee /etc/docker/daemon.new [2023-01-11T21:53:28.938Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T21:53:28.938Z] { [2023-01-11T21:53:28.938Z] "registry-mirrors": [ [2023-01-11T21:53:28.938Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T21:53:28.938Z] ], [2023-01-11T21:53:28.938Z] "bip": "10.250.0.254/24", [2023-01-11T21:53:28.938Z] "hosts": [ [2023-01-11T21:53:28.938Z] "tcp://0.0.0.0:5555", [2023-01-11T21:53:28.938Z] "unix:///var/run/docker.sock" [2023-01-11T21:53:28.938Z] ], [2023-01-11T21:53:28.938Z] "mtu": 1458, [2023-01-11T21:53:28.938Z] "selinux-enabled": true, [2023-01-11T21:53:28.938Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T21:53:28.938Z] } [Pipeline] sh [2023-01-11T21:53:29.288Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T21:53:29.638Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:53:47.953Z] provisioning config files... [2023-01-11T21:53:47.987Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/60@tmp/config7132089646166580307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:53:48.352Z] ---> docker-login.sh [2023-01-11T21:53:48.352Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:53:48.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:53:48.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:53:48.949Z] Configure a credential helper to remove this warning. See [2023-01-11T21:53:48.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:53:48.949Z] [2023-01-11T21:53:48.949Z] Login Succeeded [2023-01-11T21:53:48.949Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:53:49.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:53:49.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:53:49.498Z] Configure a credential helper to remove this warning. See [2023-01-11T21:53:49.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:53:49.498Z] [2023-01-11T21:53:49.498Z] Login Succeeded [2023-01-11T21:53:49.498Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:53:49.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:53:49.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:53:49.775Z] Configure a credential helper to remove this warning. See [2023-01-11T21:53:49.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:53:49.775Z] [2023-01-11T21:53:49.775Z] Login Succeeded [2023-01-11T21:53:49.775Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:53:50.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:53:50.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:53:50.325Z] Configure a credential helper to remove this warning. See [2023-01-11T21:53:50.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:53:50.325Z] [2023-01-11T21:53:50.325Z] Login Succeeded [2023-01-11T21:53:50.325Z] docker.io [2023-01-11T21:53:50.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:53:50.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:53:50.881Z] Configure a credential helper to remove this warning. See [2023-01-11T21:53:50.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:53:50.881Z] [2023-01-11T21:53:50.881Z] Login Succeeded [2023-01-11T21:53:50.881Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:53:50.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T21:53:51.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:53:51.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:53:51.294Z] ========================================================= [2023-01-11T21:53:51.294Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T21:53:51.294Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:53:51.760Z] + 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 . [2023-01-11T21:53:52.037Z] Sending build context to Docker daemon 2.917MB [2023-01-11T21:53:52.037Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:53:52.037Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T21:53:52.311Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T21:53:52.311Z] 9b18e9b68314: Pulling fs layer [2023-01-11T21:53:52.311Z] 35d82f9e3411: Pulling fs layer [2023-01-11T21:53:52.311Z] e16973657156: Pulling fs layer [2023-01-11T21:53:52.311Z] fc693d55d65f: Pulling fs layer [2023-01-11T21:53:52.311Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T21:53:52.311Z] dda99020689f: Pulling fs layer [2023-01-11T21:53:52.311Z] db1c61fa0a46: Pulling fs layer [2023-01-11T21:53:52.311Z] 891c053d2c06: Pulling fs layer [2023-01-11T21:53:52.311Z] 7e9fc2657dce: Waiting [2023-01-11T21:53:52.311Z] dda99020689f: Waiting [2023-01-11T21:53:52.311Z] db1c61fa0a46: Waiting [2023-01-11T21:53:52.311Z] 891c053d2c06: Waiting [2023-01-11T21:53:52.311Z] fc693d55d65f: Waiting [2023-01-11T21:53:52.311Z] e16973657156: Verifying Checksum [2023-01-11T21:53:52.311Z] e16973657156: Download complete [2023-01-11T21:53:52.311Z] 35d82f9e3411: Verifying Checksum [2023-01-11T21:53:52.311Z] 35d82f9e3411: Download complete [2023-01-11T21:53:52.311Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T21:53:52.311Z] 7e9fc2657dce: Download complete [2023-01-11T21:53:52.311Z] dda99020689f: Verifying Checksum [2023-01-11T21:53:52.311Z] dda99020689f: Download complete [2023-01-11T21:53:52.589Z] 9b18e9b68314: Verifying Checksum [2023-01-11T21:53:52.589Z] 9b18e9b68314: Download complete [2023-01-11T21:53:53.589Z] 9b18e9b68314: Pull complete [2023-01-11T21:53:53.589Z] 891c053d2c06: Verifying Checksum [2023-01-11T21:53:53.589Z] 891c053d2c06: Download complete [2023-01-11T21:53:54.202Z] 35d82f9e3411: Pull complete [2023-01-11T21:53:54.801Z] e16973657156: Pull complete [2023-01-11T21:53:55.398Z] db1c61fa0a46: Verifying Checksum [2023-01-11T21:53:55.398Z] db1c61fa0a46: Download complete [2023-01-11T21:53:55.672Z] fc693d55d65f: Verifying Checksum [2023-01-11T21:53:55.672Z] fc693d55d65f: Download complete [2023-01-11T21:54:10.754Z] fc693d55d65f: Pull complete [2023-01-11T21:54:10.754Z] 7e9fc2657dce: Pull complete [2023-01-11T21:54:10.754Z] dda99020689f: Pull complete [2023-01-11T21:54:15.053Z] db1c61fa0a46: Pull complete [2023-01-11T21:54:16.495Z] 891c053d2c06: Pull complete [2023-01-11T21:54:16.495Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T21:54:16.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T21:54:16.767Z] ---> f96f9c87975a [2023-01-11T21:54:16.767Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:54:19.390Z] ---> Running in e5da8aaf9461 [2023-01-11T21:54:19.390Z] Removing intermediate container e5da8aaf9461 [2023-01-11T21:54:19.390Z] ---> f9da09768834 [2023-01-11T21:54:19.390Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:54:19.390Z] ---> Running in 21b4f8db5008 [2023-01-11T21:54:19.993Z] Removing intermediate container 21b4f8db5008 [2023-01-11T21:54:19.993Z] ---> 51b5bc3bc158 [2023-01-11T21:54:19.993Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T21:54:19.993Z] ---> Running in dc1848c80b14 [2023-01-11T21:54:20.264Z] Removing intermediate container dc1848c80b14 [2023-01-11T21:54:20.264Z] ---> 539698dbe8ca [2023-01-11T21:54:20.264Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:54:20.534Z] ---> Running in 16675f423b1d [2023-01-11T21:54:20.806Z] Removing intermediate container 16675f423b1d [2023-01-11T21:54:20.806Z] ---> 1cbb7d38372f [2023-01-11T21:54:20.806Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:54:21.080Z] ---> Running in 7b78c4055d12 [2023-01-11T21:54:22.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T21:54:22.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T21:54:24.232Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T21:54:24.232Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T21:54:24.232Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T21:54:24.232Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T21:54:24.232Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T21:54:24.232Z] OK: 226 MiB in 55 packages [2023-01-11T21:54:25.806Z] Removing intermediate container 7b78c4055d12 [2023-01-11T21:54:25.806Z] ---> 99d1046b593b [2023-01-11T21:54:25.806Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-11T21:54:25.806Z] ---> Running in 73fe49404611 [2023-01-11T21:54:26.084Z] Removing intermediate container 73fe49404611 [2023-01-11T21:54:26.084Z] ---> 1825b71d0339 [2023-01-11T21:54:26.084Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T21:54:26.693Z] ---> d132138f0193 [2023-01-11T21:54:26.693Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:54:26.969Z] ---> Running in b420ed82c7b1 [2023-01-11T21:55:23.556Z] Removing intermediate container b420ed82c7b1 [2023-01-11T21:55:23.556Z] ---> b80b0e3a6174 [2023-01-11T21:55:23.556Z] Step 11/12 : COPY . . [2023-01-11T21:55:23.556Z] ---> bedc2dfbf64c [2023-01-11T21:55:23.556Z] Step 12/12 : RUN ${MAKE} [2023-01-11T21:55:23.556Z] ---> Running in 900564e8b363 [2023-01-11T21:55:24.150Z] noop [2023-01-11T21:55:25.133Z] Removing intermediate container 900564e8b363 [2023-01-11T21:55:25.133Z] ---> 830d967896a1 [2023-01-11T21:55:25.133Z] Successfully built 830d967896a1 [2023-01-11T21:55:25.133Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:55:25.527Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T21:55:25.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:55:25.785Z] prd-ubuntu20.04-docker-arm64-4c-16g-1965 does not seem to be running inside a container [2023-01-11T21:55:25.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/60 -v /w/workspace/device-snmp-go/60:/w/workspace/device-snmp-go/60:rw,z -v /w/workspace/device-snmp-go/60@tmp:/w/workspace/device-snmp-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T21:55:27.270Z] $ docker top 7d30a6525a4845d0daa8f7b701b1af52f76aee4737c417feabeb2f3ff2c44bbf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:55:28.192Z] + go version [2023-01-11T21:55:28.192Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T21:55:28.226Z] $ docker stop --time=1 7d30a6525a4845d0daa8f7b701b1af52f76aee4737c417feabeb2f3ff2c44bbf [2023-01-11T21:55:29.947Z] $ docker rm -f --volumes 7d30a6525a4845d0daa8f7b701b1af52f76aee4737c417feabeb2f3ff2c44bbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:55:30.526Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T21:55:30.527Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:55:30.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-1965 does not seem to be running inside a container [2023-01-11T21:55:30.828Z] $ 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/60 -v /w/workspace/device-snmp-go/60:/w/workspace/device-snmp-go/60:rw,z -v /w/workspace/device-snmp-go/60@tmp:/w/workspace/device-snmp-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T21:55:32.208Z] $ docker top 0d1880f4ddf76166338b66f3954526c4443b4050bf7da4242609e26cd3c1f63d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:55:33.105Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/60 [Pipeline] fileExists [Pipeline] sh [2023-01-11T21:55:33.797Z] + make test [2023-01-11T21:55:33.797Z] go test ./... -coverprofile=coverage.out [2023-01-11T21:55:36.428Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-11T21:57:13.198Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-11T21:57:13.198Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.053s coverage: 0.0% of statements [2023-01-11T21:57:13.198Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T21:57:13.198Z] go vet ./... [2023-01-11T21:57:39.941Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T21:57:39.941Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T21:57:39.941Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T21:57:39.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T21:57:39.984Z] $ docker stop --time=1 0d1880f4ddf76166338b66f3954526c4443b4050bf7da4242609e26cd3c1f63d [2023-01-11T21:57:41.843Z] $ docker rm -f --volumes 0d1880f4ddf76166338b66f3954526c4443b4050bf7da4242609e26cd3c1f63d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T21:57:42.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T21:57:42.894Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T21:57:43.549Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T21:57:43.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T21:57:44.299Z] + ls -al . [2023-01-11T21:57:44.299Z] total 176 [2023-01-11T21:57:44.299Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:55 . [2023-01-11T21:57:44.299Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:53 .. [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 11 21:53 .dockerignore [2023-01-11T21:57:44.299Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:53 .git [2023-01-11T21:57:44.299Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:53 .github [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 11 21:53 .gitignore [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 21:53 .golangci.yml [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 11 21:53 Attribution.txt [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 11 21:53 CHANGELOG.md [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 11 21:53 Dockerfile [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:53 GOVERNANCE.md [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 11 21:53 Jenkinsfile [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 21:53 LICENSE [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 11 21:53 Makefile [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 21:53 OWNERS.md [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 11 21:53 README.md [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 21:50 VERSION [2023-01-11T21:57:44.299Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:53 bin [2023-01-11T21:57:44.299Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:53 cmd [2023-01-11T21:57:44.299Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 11 21:57 coverage.out [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 3414 Jan 11 21:53 go.mod [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 44744 Jan 11 21:53 go.sum [2023-01-11T21:57:44.299Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:53 internal [2023-01-11T21:57:44.299Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:53 snap [2023-01-11T21:57:44.299Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 11 21:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:57:44.668Z] + 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=9b57b763129a056da364ef181ea3d00bbbd664f0 --label arch=arm64 --label version=3.0.0-dev.4 . [2023-01-11T21:57:44.940Z] Sending build context to Docker daemon 2.925MB [2023-01-11T21:57:44.941Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:57:44.941Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T21:57:44.941Z] ---> 830d967896a1 [2023-01-11T21:57:44.941Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:57:45.209Z] ---> Running in 2abb7106cf8d [2023-01-11T21:57:45.480Z] Removing intermediate container 2abb7106cf8d [2023-01-11T21:57:45.480Z] ---> 5d690873ad72 [2023-01-11T21:57:45.480Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:57:45.480Z] ---> Running in 644c599112de [2023-01-11T21:57:46.070Z] Removing intermediate container 644c599112de [2023-01-11T21:57:46.070Z] ---> 36e8411a7ebf [2023-01-11T21:57:46.070Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T21:57:46.070Z] ---> Running in 917d0d7c750d [2023-01-11T21:57:46.337Z] Removing intermediate container 917d0d7c750d [2023-01-11T21:57:46.337Z] ---> 9ce92d51f1a4 [2023-01-11T21:57:46.337Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:57:46.337Z] ---> Running in b8cf7404c9a9 [2023-01-11T21:57:46.609Z] Removing intermediate container b8cf7404c9a9 [2023-01-11T21:57:46.609Z] ---> c5772f4ed4b4 [2023-01-11T21:57:46.609Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:57:46.878Z] ---> Running in c8ce365608f8 [2023-01-11T21:57:48.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T21:57:48.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T21:57:49.744Z] OK: 226 MiB in 55 packages [2023-01-11T21:57:50.725Z] Removing intermediate container c8ce365608f8 [2023-01-11T21:57:50.725Z] ---> 0f3492b88827 [2023-01-11T21:57:50.725Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-11T21:57:50.725Z] ---> Running in 7c4f9c2c2c34 [2023-01-11T21:57:51.313Z] Removing intermediate container 7c4f9c2c2c34 [2023-01-11T21:57:51.313Z] ---> 2aa9bdb05a62 [2023-01-11T21:57:51.313Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T21:57:51.903Z] ---> c7dd6088e0b0 [2023-01-11T21:57:51.903Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:57:51.903Z] ---> Running in ddfd1b360f80 [2023-01-11T21:57:55.268Z] Removing intermediate container ddfd1b360f80 [2023-01-11T21:57:55.268Z] ---> fd8ba8ddb251 [2023-01-11T21:57:55.268Z] Step 11/24 : COPY . . [2023-01-11T21:57:57.863Z] ---> dadc7a7678b7 [2023-01-11T21:57:57.863Z] Step 12/24 : RUN ${MAKE} [2023-01-11T21:57:57.863Z] ---> Running in 9e59cee7e98a [2023-01-11T21:57:58.833Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-11T22:00:50.638Z] Removing intermediate container 9e59cee7e98a [2023-01-11T22:00:50.638Z] ---> b3af9773b8af [2023-01-11T22:00:50.638Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T22:00:50.638Z] 3.16: Pulling from library/alpine [2023-01-11T22:00:50.638Z] 6875df1f5354: Pulling fs layer [2023-01-11T22:00:50.638Z] 6875df1f5354: Verifying Checksum [2023-01-11T22:00:50.638Z] 6875df1f5354: Download complete [2023-01-11T22:00:50.638Z] 6875df1f5354: Pull complete [2023-01-11T22:00:50.638Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T22:00:50.638Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T22:00:50.638Z] ---> 2b4661558fb8 [2023-01-11T22:00:50.638Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T22:00:50.638Z] ---> Running in 2e4927d05446 [2023-01-11T22:00:50.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T22:00:50.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T22:00:50.638Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T22:00:50.638Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T22:00:50.638Z] OK: 5 MiB in 15 packages [2023-01-11T22:00:50.638Z] Removing intermediate container 2e4927d05446 [2023-01-11T22:00:50.638Z] ---> 69493ba93a10 [2023-01-11T22:00:50.638Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-11T22:00:52.065Z] ---> 61bfe3f1d91e [2023-01-11T22:00:52.065Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-11T22:00:52.672Z] ---> 249c372d1257 [2023-01-11T22:00:52.672Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-11T22:00:53.651Z] ---> 544c37c02524 [2023-01-11T22:00:53.651Z] Step 18/24 : EXPOSE 59993 [2023-01-11T22:00:53.651Z] ---> Running in 533e53f508dd [2023-01-11T22:00:53.921Z] Removing intermediate container 533e53f508dd [2023-01-11T22:00:53.921Z] ---> 4493136a0b83 [2023-01-11T22:00:53.921Z] Step 19/24 : EXPOSE 161 [2023-01-11T22:00:53.921Z] ---> Running in adfaf92db214 [2023-01-11T22:00:54.193Z] Removing intermediate container adfaf92db214 [2023-01-11T22:00:54.193Z] ---> 7c47dca9b4e7 [2023-01-11T22:00:54.193Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-11T22:00:54.462Z] ---> Running in f769bdcee6ce [2023-01-11T22:00:54.732Z] Removing intermediate container f769bdcee6ce [2023-01-11T22:00:54.732Z] ---> d8e2cadd9fc5 [2023-01-11T22:00:54.732Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T22:00:54.732Z] ---> Running in 4e0959b74bc5 [2023-01-11T22:00:55.002Z] Removing intermediate container 4e0959b74bc5 [2023-01-11T22:00:55.002Z] ---> 664231ca27a8 [2023-01-11T22:00:55.002Z] Step 22/24 : LABEL arch=arm64 [2023-01-11T22:00:55.273Z] ---> Running in 2f292a51578d [2023-01-11T22:00:55.552Z] Removing intermediate container 2f292a51578d [2023-01-11T22:00:55.552Z] ---> 2bda8a5b2185 [2023-01-11T22:00:55.552Z] Step 23/24 : LABEL git_sha=9b57b763129a056da364ef181ea3d00bbbd664f0 [2023-01-11T22:00:55.552Z] ---> Running in a1013754acbd [2023-01-11T22:00:56.148Z] Removing intermediate container a1013754acbd [2023-01-11T22:00:56.148Z] ---> c5e4d9a50ea3 [2023-01-11T22:00:56.148Z] Step 24/24 : LABEL version=3.0.0-dev.4 [2023-01-11T22:00:56.148Z] ---> Running in d585803094c2 [2023-01-11T22:00:56.417Z] Removing intermediate container d585803094c2 [2023-01-11T22:00:56.417Z] ---> 47852571c891 [2023-01-11T22:00:56.417Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T22:00:56.417Z] Successfully built 47852571c891 [2023-01-11T22:00:56.417Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T22:00:56.536Z] provisioning config files... [2023-01-11T22:00:56.553Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/60@tmp/config12654039331663643515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:00:56.900Z] ---> docker-login.sh [2023-01-11T22:00:56.900Z] nexus3.edgexfoundry.org:10001 [2023-01-11T22:00:57.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:57.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:57.171Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:57.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:57.171Z] [2023-01-11T22:00:57.171Z] Login Succeeded [2023-01-11T22:00:57.171Z] nexus3.edgexfoundry.org:10002 [2023-01-11T22:00:57.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:57.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:57.715Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:57.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:57.715Z] [2023-01-11T22:00:57.715Z] Login Succeeded [2023-01-11T22:00:57.715Z] nexus3.edgexfoundry.org:10003 [2023-01-11T22:00:57.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:58.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:58.254Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:58.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:58.254Z] [2023-01-11T22:00:58.254Z] Login Succeeded [2023-01-11T22:00:58.254Z] nexus3.edgexfoundry.org:10004 [2023-01-11T22:00:58.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:58.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:58.522Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:58.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:58.522Z] [2023-01-11T22:00:58.522Z] Login Succeeded [2023-01-11T22:00:58.522Z] docker.io [2023-01-11T22:00:58.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T22:00:59.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T22:00:59.057Z] Configure a credential helper to remove this warning. See [2023-01-11T22:00:59.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T22:00:59.057Z] [2023-01-11T22:00:59.057Z] Login Succeeded [2023-01-11T22:00:59.057Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T22:00:59.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T22:00:59.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T22:00:59.136Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-01-11T22:00:59.136Z] 9b57b763129a056da364ef181ea3d00bbbd664f0 [2023-01-11T22:00:59.136Z] latest [2023-01-11T22:00:59.136Z] 3.0.0-dev.4 [2023-01-11T22:00:59.136Z] 9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4 [2023-01-11T22:00:59.136Z] main [2023-01-11T22:00:59.136Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:00:59.511Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9b57b763129a056da364ef181ea3d00bbbd664f0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:00:59.916Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9b57b763129a056da364ef181ea3d00bbbd664f0 [2023-01-11T22:00:59.916Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-11T22:00:59.917Z] 8da8d43daecb: Preparing [2023-01-11T22:00:59.917Z] 987776118b00: Preparing [2023-01-11T22:00:59.917Z] 7184dea1ed80: Preparing [2023-01-11T22:00:59.917Z] 9e4b91f4956b: Preparing [2023-01-11T22:00:59.917Z] 17bec77d7fdc: Preparing [2023-01-11T22:00:59.917Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:01:00.190Z] 987776118b00: Pushed [2023-01-11T22:01:00.190Z] 8da8d43daecb: Pushed [2023-01-11T22:01:00.190Z] 9e4b91f4956b: Pushed [2023-01-11T22:01:05.559Z] 7184dea1ed80: Pushed [2023-01-11T22:01:05.829Z] 9b57b763129a056da364ef181ea3d00bbbd664f0: digest: sha256:15781067eb4ea5c97a56817d50f6f88dc3de7f3a24cbe2a3193becbb2be3ae28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:06.188Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:06.544Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-01-11T22:01:06.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-11T22:01:06.544Z] 8da8d43daecb: Preparing [2023-01-11T22:01:06.544Z] 987776118b00: Preparing [2023-01-11T22:01:06.544Z] 7184dea1ed80: Preparing [2023-01-11T22:01:06.544Z] 9e4b91f4956b: Preparing [2023-01-11T22:01:06.544Z] 17bec77d7fdc: Preparing [2023-01-11T22:01:06.544Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:01:06.544Z] 9e4b91f4956b: Layer already exists [2023-01-11T22:01:06.544Z] 8da8d43daecb: Layer already exists [2023-01-11T22:01:06.544Z] 987776118b00: Layer already exists [2023-01-11T22:01:06.544Z] 7184dea1ed80: Layer already exists [2023-01-11T22:01:06.813Z] latest: digest: sha256:15781067eb4ea5c97a56817d50f6f88dc3de7f3a24cbe2a3193becbb2be3ae28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:07.167Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:07.521Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.4 [2023-01-11T22:01:07.521Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-11T22:01:07.521Z] 8da8d43daecb: Preparing [2023-01-11T22:01:07.521Z] 987776118b00: Preparing [2023-01-11T22:01:07.521Z] 7184dea1ed80: Preparing [2023-01-11T22:01:07.521Z] 9e4b91f4956b: Preparing [2023-01-11T22:01:07.521Z] 17bec77d7fdc: Preparing [2023-01-11T22:01:07.521Z] 9e4b91f4956b: Layer already exists [2023-01-11T22:01:07.521Z] 7184dea1ed80: Layer already exists [2023-01-11T22:01:07.521Z] 987776118b00: Layer already exists [2023-01-11T22:01:07.521Z] 8da8d43daecb: Layer already exists [2023-01-11T22:01:07.521Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:01:07.789Z] 3.0.0-dev.4: digest: sha256:15781067eb4ea5c97a56817d50f6f88dc3de7f3a24cbe2a3193becbb2be3ae28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:08.153Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:08.511Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4 [2023-01-11T22:01:08.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-11T22:01:08.511Z] 8da8d43daecb: Preparing [2023-01-11T22:01:08.511Z] 987776118b00: Preparing [2023-01-11T22:01:08.511Z] 7184dea1ed80: Preparing [2023-01-11T22:01:08.511Z] 9e4b91f4956b: Preparing [2023-01-11T22:01:08.511Z] 17bec77d7fdc: Preparing [2023-01-11T22:01:08.511Z] 7184dea1ed80: Layer already exists [2023-01-11T22:01:08.511Z] 987776118b00: Layer already exists [2023-01-11T22:01:08.511Z] 9e4b91f4956b: Layer already exists [2023-01-11T22:01:08.511Z] 8da8d43daecb: Layer already exists [2023-01-11T22:01:08.511Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:01:08.781Z] 9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4: digest: sha256:15781067eb4ea5c97a56817d50f6f88dc3de7f3a24cbe2a3193becbb2be3ae28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:09.145Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:09.499Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-01-11T22:01:09.499Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-01-11T22:01:09.499Z] 8da8d43daecb: Preparing [2023-01-11T22:01:09.499Z] 987776118b00: Preparing [2023-01-11T22:01:09.499Z] 7184dea1ed80: Preparing [2023-01-11T22:01:09.499Z] 9e4b91f4956b: Preparing [2023-01-11T22:01:09.499Z] 17bec77d7fdc: Preparing [2023-01-11T22:01:09.499Z] 17bec77d7fdc: Layer already exists [2023-01-11T22:01:09.499Z] 7184dea1ed80: Layer already exists [2023-01-11T22:01:09.499Z] 9e4b91f4956b: Layer already exists [2023-01-11T22:01:09.499Z] 987776118b00: Layer already exists [2023-01-11T22:01:09.499Z] 8da8d43daecb: Layer already exists [2023-01-11T22:01:09.767Z] main: digest: sha256:15781067eb4ea5c97a56817d50f6f88dc3de7f3a24cbe2a3193becbb2be3ae28 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-11T22:01:09.832Z] ===================================================== [Pipeline] echo [2023-01-11T22:01:09.838Z] taggedImages: [2023-01-11T22:01:09.838Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9b57b763129a056da364ef181ea3d00bbbd664f0 [2023-01-11T22:01:09.838Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-01-11T22:01:09.838Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.4 [2023-01-11T22:01:09.838Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9b57b763129a056da364ef181ea3d00bbbd664f0-3.0.0-dev.4 [2023-01-11T22:01:09.838Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:10.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T22:01:10.219Z] [2023-01-11T22:01:10.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:10.577Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T22:01:10.853Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T22:01:10.853Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T22:01:10.853Z] 04944245beec: Pulling fs layer [2023-01-11T22:01:10.853Z] 699f458cf7ca: Pulling fs layer [2023-01-11T22:01:10.853Z] 765212b225bb: Pulling fs layer [2023-01-11T22:01:10.853Z] f23df028b6ca: Pulling fs layer [2023-01-11T22:01:10.853Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T22:01:10.853Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T22:01:10.853Z] 765212b225bb: Waiting [2023-01-11T22:01:10.853Z] f23df028b6ca: Waiting [2023-01-11T22:01:10.853Z] d65c8cfc05b1: Waiting [2023-01-11T22:01:10.853Z] 2437ff75d9bd: Waiting [2023-01-11T22:01:10.853Z] 04944245beec: Verifying Checksum [2023-01-11T22:01:10.853Z] 04944245beec: Download complete [2023-01-11T22:01:10.853Z] 765212b225bb: Verifying Checksum [2023-01-11T22:01:10.853Z] 765212b225bb: Download complete [2023-01-11T22:01:10.853Z] f23df028b6ca: Verifying Checksum [2023-01-11T22:01:10.853Z] f23df028b6ca: Download complete [2023-01-11T22:01:11.142Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T22:01:11.142Z] d65c8cfc05b1: Download complete [2023-01-11T22:01:11.142Z] 699f458cf7ca: Verifying Checksum [2023-01-11T22:01:11.142Z] 699f458cf7ca: Download complete [2023-01-11T22:01:11.735Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T22:01:11.735Z] 8998bd30e6a1: Download complete [2023-01-11T22:01:14.347Z] 2437ff75d9bd: Download complete [2023-01-11T22:01:15.761Z] 8998bd30e6a1: Pull complete [2023-01-11T22:01:16.030Z] 04944245beec: Pull complete [2023-01-11T22:01:17.444Z] 699f458cf7ca: Pull complete [2023-01-11T22:01:17.713Z] 765212b225bb: Pull complete [2023-01-11T22:01:18.682Z] f23df028b6ca: Pull complete [2023-01-11T22:01:18.682Z] d65c8cfc05b1: Pull complete [2023-01-11T22:01:36.907Z] 2437ff75d9bd: Pull complete [2023-01-11T22:01:36.907Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T22:01:36.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T22:01:36.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:01:37.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-1965 does not seem to be running inside a container [2023-01-11T22:01:37.302Z] $ 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/60 -v /w/workspace/device-snmp-go/60:/w/workspace/device-snmp-go/60:rw,z -v /w/workspace/device-snmp-go/60@tmp:/w/workspace/device-snmp-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T22:01:40.350Z] $ docker top 4392e4c4bead88cea0a6116745256aba582bcda4b6251e1cd121d6db9b1d1336 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:01:41.275Z] ---> job-cost.sh [2023-01-11T22:01:41.275Z] lf-activate-venv: SKIPPING [2023-01-11T22:01:41.275Z] INFO: No Stack... [2023-01-11T22:01:41.549Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T22:01:42.531Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T22:01:43.229Z] + cat /w/workspace/device-snmp-go/60/archives/cost.csv [2023-01-11T22:01:43.229Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T22:01:43.319Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-60-stack-cost] [2023-01-11T22:01:43.325Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-60-stack-cost] did not exist. Created. [2023-01-11T22:01:43.325Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T22:01:43.999Z] /w/workspace/device-snmp-go/60@tmp/durable-c1b4f56f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T22:01:44.662Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T22:01:44.687Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T22:01:44.744Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T22:01:44.751Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T22:01:44.784Z] $ docker stop --time=1 4392e4c4bead88cea0a6116745256aba582bcda4b6251e1cd121d6db9b1d1336 [2023-01-11T22:01:46.365Z] $ docker rm -f --volumes 4392e4c4bead88cea0a6116745256aba582bcda4b6251e1cd121d6db9b1d1336 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-11T22:01:46.766Z] provisioning config files... [2023-01-11T22:01:46.772Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3056611650888187260tmp [Pipeline] { [Pipeline] sh [2023-01-11T22:01:47.060Z] + set +x [2023-01-11T22:01:47.060Z] + curl -s https://codecov.io/bash [2023-01-11T22:01:47.060Z] + bash -s -- [2023-01-11T22:01:47.060Z] [2023-01-11T22:01:47.060Z] _____ _ [2023-01-11T22:01:47.060Z] / ____| | | [2023-01-11T22:01:47.060Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T22:01:47.060Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T22:01:47.060Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T22:01:47.060Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T22:01:47.060Z] Bash-1.0.6 [2023-01-11T22:01:47.060Z] [2023-01-11T22:01:47.060Z] [2023-01-11T22:01:47.060Z] ==> git version 2.25.1 found [2023-01-11T22:01:47.060Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-11T22:01:47.060Z] Release-Date: 2020-01-08 [2023-01-11T22:01:47.060Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-11T22:01:47.060Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T22:01:47.060Z] ==> Jenkins CI detected. [2023-01-11T22:01:47.060Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-01-11T22:01:47.060Z] project root: . [2023-01-11T22:01:47.060Z] --> token set from env [2023-01-11T22:01:47.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T22:01:47.060Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T22:01:47.060Z] ==> Python coveragepy not found [2023-01-11T22:01:47.060Z] ==> Searching for coverage reports in: [2023-01-11T22:01:47.060Z] + . [2023-01-11T22:01:47.060Z] -> Found 1 reports [2023-01-11T22:01:47.060Z] ==> Detecting git/mercurial file structure [2023-01-11T22:01:47.060Z] ==> Reading reports [2023-01-11T22:01:47.060Z] + ./coverage.out bytes=7631 [2023-01-11T22:01:47.060Z] ==> Appending adjustments [2023-01-11T22:01:47.060Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T22:01:47.060Z] + Found adjustments [2023-01-11T22:01:47.060Z] ==> Gzipping contents [2023-01-11T22:01:47.060Z] 4.0K /tmp/codecov.qAzjIt.gz [2023-01-11T22:01:47.319Z] ==> Uploading reports [2023-01-11T22:01:47.319Z] url: https://codecov.io [2023-01-11T22:01:47.319Z] query: branch=main&commit=9b57b763129a056da364ef181ea3d00bbbd664f0&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-11T22:01:47.319Z] -> Pinging Codecov [2023-01-11T22:01:47.319Z] 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=9b57b763129a056da364ef181ea3d00bbbd664f0&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-11T22:01:47.577Z] -> Uploading to [2023-01-11T22:01:47.578Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/6C56EA5C29638FB4528AC87E60AF5AE0/9b57b763129a056da364ef181ea3d00bbbd664f0/a7ca80c6-fee6-4743-abd3-667f798724fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T220147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=27ed7ce61918dca96f3f2804f1e089978eb6f58f4b02f32369561e39a4a61122 [2023-01-11T22:01:47.578Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T22:01:47.578Z] Dload Upload Total Spent Left Speed [2023-01-11T22:01:47.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 7600 --:--:-- --:--:-- --:--:-- 7563 100 1543 0 0 100 1543 0 6272 --:--:-- --:--:-- --:--:-- 6246 [2023-01-11T22:01:47.837Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/9b57b763129a056da364ef181ea3d00bbbd664f0 [Pipeline] } [2023-01-11T22:01:47.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-11T22:01:47.969Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-11T22:01:47.978Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:48.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-11T22:01:48.282Z] [2023-01-11T22:01:48.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:01:48.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-11T22:01:48.587Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-11T22:01:48.587Z] df9b9388f04a: Pulling fs layer [2023-01-11T22:01:48.587Z] 52dc419b0ee2: Pulling fs layer [2023-01-11T22:01:48.587Z] 25bc292e5bac: Pulling fs layer [2023-01-11T22:01:48.587Z] 114826534d7a: Pulling fs layer [2023-01-11T22:01:48.587Z] 4657fd5d0bcf: Pulling fs layer [2023-01-11T22:01:48.587Z] 6ad1cebc031e: Pulling fs layer [2023-01-11T22:01:48.587Z] 8a3aa393b2d8: Pulling fs layer [2023-01-11T22:01:48.587Z] 4657fd5d0bcf: Waiting [2023-01-11T22:01:48.587Z] 6ad1cebc031e: Waiting [2023-01-11T22:01:48.587Z] 8a3aa393b2d8: Waiting [2023-01-11T22:01:48.587Z] 114826534d7a: Waiting [2023-01-11T22:01:48.587Z] 25bc292e5bac: Verifying Checksum [2023-01-11T22:01:48.587Z] 25bc292e5bac: Download complete [2023-01-11T22:01:48.587Z] 52dc419b0ee2: Download complete [2023-01-11T22:01:48.587Z] 4657fd5d0bcf: Verifying Checksum [2023-01-11T22:01:48.587Z] 4657fd5d0bcf: Download complete [2023-01-11T22:01:48.587Z] df9b9388f04a: Download complete [2023-01-11T22:01:48.846Z] df9b9388f04a: Pull complete [2023-01-11T22:01:48.846Z] 52dc419b0ee2: Pull complete [2023-01-11T22:01:48.846Z] 25bc292e5bac: Pull complete [2023-01-11T22:01:49.104Z] 6ad1cebc031e: Verifying Checksum [2023-01-11T22:01:49.104Z] 6ad1cebc031e: Download complete [2023-01-11T22:01:49.364Z] 114826534d7a: Verifying Checksum [2023-01-11T22:01:49.364Z] 114826534d7a: Download complete [2023-01-11T22:01:50.738Z] 8a3aa393b2d8: Verifying Checksum [2023-01-11T22:01:50.738Z] 8a3aa393b2d8: Download complete [2023-01-11T22:01:52.700Z] 114826534d7a: Pull complete [2023-01-11T22:01:52.700Z] 4657fd5d0bcf: Pull complete [2023-01-11T22:01:52.958Z] 6ad1cebc031e: Pull complete [2023-01-11T22:01:55.484Z] 8a3aa393b2d8: Pull complete [2023-01-11T22:01:55.485Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-11T22:01:55.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-11T22:01:55.485Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:01:55.568Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T22:01:55.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-01-11T22:01:59.232Z] $ docker top 9d83c4487c1a70e727d4a2132f00ce6aaa0c132b04726b8e9eb23dc39b35ac67 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-11T22:01:59.278Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-01-11T22:01:59.553Z] + set -o pipefail [2023-01-11T22:01:59.553Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-01-11T22:02:04.822Z] [2023-01-11T22:02:04.823Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-01-11T22:02:04.823Z] [2023-01-11T22:02:04.823Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/d15a37ca-b9de-445a-91f5-cf3ded569395 [2023-01-11T22:02:04.823Z] [2023-01-11T22:02:04.823Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-11T22:02:04.823Z] [2023-01-11T22:02:04.823Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-11T22:02:04.823Z] [2023-01-11T22:02:04.823Z] [2023-01-11T22:02:04.823Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-11T22:02:04.823Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-11T22:02:04.823Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-11T22:02:04.849Z] $ docker stop --time=1 9d83c4487c1a70e727d4a2132f00ce6aaa0c132b04726b8e9eb23dc39b35ac67 [2023-01-11T22:02:07.910Z] $ docker rm -f --volumes 9d83c4487c1a70e727d4a2132f00ce6aaa0c132b04726b8e9eb23dc39b35ac67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T22:02:08.606Z] + git log --format=format:%s -1 9b57b763129a056da364ef181ea3d00bbbd664f0 [Pipeline] sh [2023-01-11T22:02:08.904Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T22:02:08.904Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:09.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T22:02:09.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:09.273Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T22:02:09.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T22:02:09.717Z] $ docker top 961ab73a80c556f0264ff4002104dfeccf274b167ec9304165023fc2c4967e1d -eo pid,comm [2023-01-11T22:02:09.745Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-11T22:02:09.745Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T22:02:09.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T22:02:09.788Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T22:02:09.894Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T22:02:09.913Z] $ docker exec 961ab73a80c556f0264ff4002104dfeccf274b167ec9304165023fc2c4967e1d ssh-agent [2023-01-11T22:02:09.997Z] SSH_AUTH_SOCK=/tmp/ssh-LKUaCEeeuexK/agent.32 [2023-01-11T22:02:09.997Z] SSH_AGENT_PID=39 [2023-01-11T22:02:10.002Z] Running ssh-add (command line suppressed) [2023-01-11T22:02:10.133Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18278725980187779847.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18278725980187779847.key) [2023-01-11T22:02:10.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T22:02:10.411Z] + git semver tag [2023-01-11T22:02:10.671Z] 2023-01-11 22:02:10,663 [run_tag] DEBUG tag force:False [2023-01-11T22:02:10.671Z] 2023-01-11 22:02:10,664 [check_head_tag] DEBUG check head tag [2023-01-11T22:02:10.671Z] 2023-01-11 22:02:10,665 [execute] INFO git cat-file --batch-check [2023-01-11T22:02:10.671Z] 2023-01-11 22:02:10,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:10.671Z] 2023-01-11 22:02:10,670 [execute] INFO git cat-file --batch [2023-01-11T22:02:10.671Z] 2023-01-11 22:02:10,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:10.931Z] 2023-01-11 22:02:10,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-11T22:02:10.931Z] 2023-01-11 22:02:10,687 [execute] INFO git tag -a v3.0.0-dev.4 -m v3.0.0-dev.4 [2023-01-11T22:02:10.931Z] 2023-01-11 22:02:10,687 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.4', '-m', 'v3.0.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-11T22:02:10.931Z] 2023-01-11 22:02:10,692 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-11T22:02:10.931Z] 3.0.0-dev.4 [Pipeline] } [2023-01-11T22:02:10.958Z] $ docker exec --env ******** --env ******** 961ab73a80c556f0264ff4002104dfeccf274b167ec9304165023fc2c4967e1d ssh-agent -k [2023-01-11T22:02:11.053Z] unset SSH_AUTH_SOCK; [2023-01-11T22:02:11.053Z] unset SSH_AGENT_PID; [2023-01-11T22:02:11.053Z] echo Agent pid 39 killed; [2023-01-11T22:02:11.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T22:02:11.357Z] + git semver [Pipeline] } [2023-01-11T22:02:11.645Z] $ docker stop --time=1 961ab73a80c556f0264ff4002104dfeccf274b167ec9304165023fc2c4967e1d [2023-01-11T22:02:12.923Z] $ docker rm -f --volumes 961ab73a80c556f0264ff4002104dfeccf274b167ec9304165023fc2c4967e1d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:13.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-11T22:02:13.292Z] [2023-01-11T22:02:13.292Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:13.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-11T22:02:13.592Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-11T22:02:13.592Z] ab5ef0e58194: Pulling fs layer [2023-01-11T22:02:13.592Z] 9712f1f96733: Pulling fs layer [2023-01-11T22:02:13.592Z] 63f879dbbcfc: Pulling fs layer [2023-01-11T22:02:13.592Z] 0d9ebad4ef96: Pulling fs layer [2023-01-11T22:02:13.592Z] e9a5061849ea: Pulling fs layer [2023-01-11T22:02:13.592Z] d747dcd14b5f: Pulling fs layer [2023-01-11T22:02:13.592Z] 2de7ff778b66: Pulling fs layer [2023-01-11T22:02:13.592Z] 0d9ebad4ef96: Waiting [2023-01-11T22:02:13.592Z] e9a5061849ea: Waiting [2023-01-11T22:02:13.592Z] 2de7ff778b66: Waiting [2023-01-11T22:02:13.592Z] d747dcd14b5f: Waiting [2023-01-11T22:02:13.592Z] 9712f1f96733: Verifying Checksum [2023-01-11T22:02:13.592Z] 9712f1f96733: Download complete [2023-01-11T22:02:13.856Z] 63f879dbbcfc: Verifying Checksum [2023-01-11T22:02:13.856Z] 63f879dbbcfc: Download complete [2023-01-11T22:02:14.116Z] 0d9ebad4ef96: Verifying Checksum [2023-01-11T22:02:14.116Z] 0d9ebad4ef96: Download complete [2023-01-11T22:02:14.116Z] d747dcd14b5f: Download complete [2023-01-11T22:02:14.116Z] ab5ef0e58194: Verifying Checksum [2023-01-11T22:02:14.116Z] ab5ef0e58194: Download complete [2023-01-11T22:02:14.116Z] e9a5061849ea: Download complete [2023-01-11T22:02:14.374Z] 2de7ff778b66: Verifying Checksum [2023-01-11T22:02:16.902Z] ab5ef0e58194: Pull complete [2023-01-11T22:02:16.902Z] 9712f1f96733: Pull complete [2023-01-11T22:02:17.468Z] 63f879dbbcfc: Pull complete [2023-01-11T22:02:20.743Z] 0d9ebad4ef96: Pull complete [2023-01-11T22:02:21.000Z] e9a5061849ea: Pull complete [2023-01-11T22:02:21.000Z] d747dcd14b5f: Pull complete [2023-01-11T22:02:21.931Z] 2de7ff778b66: Pull complete [2023-01-11T22:02:21.931Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-11T22:02:21.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-11T22:02:21.931Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:22.003Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T22:02:22.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-11T22:02:25.763Z] $ docker top f44a0c04c0ed7b6b8abbf4f4ed93689a41128936477b61b8a268f57042163d3d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-11T22:02:25.812Z] provisioning config files... [2023-01-11T22:02:25.818Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9047730887044258603tmp [2023-01-11T22:02:25.827Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10987898782499974199tmp [2023-01-11T22:02:25.835Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12370495139922182995tmp [Pipeline] { [Pipeline] echo [2023-01-11T22:02:25.846Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:26.125Z] ---> sigul-configuration.sh [2023-01-11T22:02:26.125Z] gpg: directory `/root/.gnupg' created [2023-01-11T22:02:26.125Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-11T22:02:26.125Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-11T22:02:26.125Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-11T22:02:26.125Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-11T22:02:26.125Z] gpg: CAST5 encrypted data [2023-01-11T22:02:26.125Z] gpg: encrypted with 1 passphrase [2023-01-11T22:02:26.125Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-11T22:02:26.406Z] + mkdir /home/jenkins [2023-01-11T22:02:26.406Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-11T22:02:26.689Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-01-11T22:02:26.698Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:26.984Z] ---> sigul-install.sh [2023-01-11T22:02:26.984Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-11T22:02:27.272Z] + git tag --list [2023-01-11T22:02:27.272Z] 1.0.0 [2023-01-11T22:02:27.272Z] v0.0.0 [2023-01-11T22:02:27.272Z] v1.1.0 [2023-01-11T22:02:27.272Z] v1.1.1 [2023-01-11T22:02:27.272Z] v1.2.2 [2023-01-11T22:02:27.272Z] v1.3.0 [2023-01-11T22:02:27.272Z] v1.3.1 [2023-01-11T22:02:27.272Z] v2.0.0 [2023-01-11T22:02:27.272Z] v2.1.0 [2023-01-11T22:02:27.272Z] v2.1.1 [2023-01-11T22:02:27.272Z] v2.1.1-dev.2 [2023-01-11T22:02:27.272Z] v2.1.1-dev.3 [2023-01-11T22:02:27.272Z] v2.2.0 [2023-01-11T22:02:27.272Z] v2.2.1-dev.1 [2023-01-11T22:02:27.272Z] v2.2.1-dev.2 [2023-01-11T22:02:27.272Z] v2.2.1-dev.3 [2023-01-11T22:02:27.272Z] v2.2.1-dev.4 [2023-01-11T22:02:27.272Z] v2.2.1-dev.5 [2023-01-11T22:02:27.272Z] v2.2.1-dev.6 [2023-01-11T22:02:27.272Z] v2.2.1-dev.7 [2023-01-11T22:02:27.272Z] v2.3.0 [2023-01-11T22:02:27.272Z] v2.3.0-dev.10 [2023-01-11T22:02:27.272Z] v2.3.0-dev.11 [2023-01-11T22:02:27.272Z] v2.3.0-dev.12 [2023-01-11T22:02:27.272Z] v2.3.0-dev.13 [2023-01-11T22:02:27.272Z] v2.3.0-dev.14 [2023-01-11T22:02:27.272Z] v2.3.0-dev.15 [2023-01-11T22:02:27.272Z] v2.3.0-dev.16 [2023-01-11T22:02:27.272Z] v2.3.0-dev.17 [2023-01-11T22:02:27.272Z] v2.3.0-dev.18 [2023-01-11T22:02:27.272Z] v2.3.0-dev.19 [2023-01-11T22:02:27.272Z] v2.3.0-dev.20 [2023-01-11T22:02:27.272Z] v2.3.0-dev.21 [2023-01-11T22:02:27.272Z] v2.3.0-dev.22 [2023-01-11T22:02:27.272Z] v2.3.0-dev.23 [2023-01-11T22:02:27.272Z] v2.3.0-dev.24 [2023-01-11T22:02:27.272Z] v2.3.0-dev.7 [2023-01-11T22:02:27.272Z] v2.3.0-dev.8 [2023-01-11T22:02:27.272Z] v2.3.0-dev.9 [2023-01-11T22:02:27.272Z] v3.0.0-dev.1 [2023-01-11T22:02:27.272Z] v3.0.0-dev.2 [2023-01-11T22:02:27.272Z] v3.0.0-dev.3 [2023-01-11T22:02:27.272Z] v3.0.0-dev.4 [Pipeline] sh [2023-01-11T22:02:27.558Z] + lftools sign git-tag v3.0.0-dev.4 [2023-01-11T22:02:28.125Z] Signing Git tag with Sigul... [2023-01-11T22:02:28.125Z] Signing v3.0.0-dev.4 [Pipeline] echo [2023-01-11T22:02:28.702Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:28.986Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-11T22:02:28.993Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-11T22:02:29.034Z] $ docker stop --time=1 f44a0c04c0ed7b6b8abbf4f4ed93689a41128936477b61b8a268f57042163d3d [2023-01-11T22:02:30.302Z] $ docker rm -f --volumes f44a0c04c0ed7b6b8abbf4f4ed93689a41128936477b61b8a268f57042163d3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-11T22:02:30.706Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T22:02:30.706Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:31.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T22:02:31.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:31.096Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T22:02:31.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T22:02:31.476Z] $ docker top 775d7f65db866224247755d81ae880a41991badfbb902a8179d6b54f9b32c8a2 -eo pid,comm [2023-01-11T22:02:31.502Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-11T22:02:31.502Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T22:02:31.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T22:02:31.551Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T22:02:31.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T22:02:31.690Z] $ docker exec 775d7f65db866224247755d81ae880a41991badfbb902a8179d6b54f9b32c8a2 ssh-agent [2023-01-11T22:02:31.783Z] SSH_AUTH_SOCK=/tmp/ssh-nnVFttpQzf03/agent.32 [2023-01-11T22:02:31.783Z] SSH_AGENT_PID=38 [2023-01-11T22:02:31.788Z] Running ssh-add (command line suppressed) [2023-01-11T22:02:31.901Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9331085446811873730.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9331085446811873730.key) [2023-01-11T22:02:31.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T22:02:32.186Z] + git semver bump pre [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,411 [bump_version] DEBUG bumping version:3.0.0-dev.4 on axis:pre with prefix:dev [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,411 [bump_version] DEBUG bumped version:3.0.0-dev.5 [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,411 [write_version] DEBUG write version:3.0.0-dev.5 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,411 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,412 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,413 [execute] INFO git cat-file --batch-check [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,419 [execute] INFO git cat-file --batch [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:32.446Z] 2023-01-11 22:02:32,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-11T22:02:32.446Z] 3.0.0-dev.5 [Pipeline] } [2023-01-11T22:02:32.472Z] $ docker exec --env ******** --env ******** 775d7f65db866224247755d81ae880a41991badfbb902a8179d6b54f9b32c8a2 ssh-agent -k [2023-01-11T22:02:32.568Z] unset SSH_AUTH_SOCK; [2023-01-11T22:02:32.568Z] unset SSH_AGENT_PID; [2023-01-11T22:02:32.568Z] echo Agent pid 38 killed; [2023-01-11T22:02:32.562Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T22:02:32.866Z] + git semver [Pipeline] } [2023-01-11T22:02:33.153Z] $ docker stop --time=1 775d7f65db866224247755d81ae880a41991badfbb902a8179d6b54f9b32c8a2 [2023-01-11T22:02:34.431Z] $ docker rm -f --volumes 775d7f65db866224247755d81ae880a41991badfbb902a8179d6b54f9b32c8a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T22:02:34.761Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T22:02:34.761Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:35.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T22:02:35.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:35.128Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T22:02:35.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T22:02:35.528Z] $ docker top cc1c7a89b23c3ebe02592bd89de1593cb06bfbb75a8f9a8a5cdc7801e542055c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T22:02:35.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T22:02:35.598Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T22:02:35.718Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T22:02:35.737Z] $ docker exec cc1c7a89b23c3ebe02592bd89de1593cb06bfbb75a8f9a8a5cdc7801e542055c ssh-agent [2023-01-11T22:02:35.816Z] SSH_AUTH_SOCK=/tmp/ssh-mCDp1NUQmDCQ/agent.32 [2023-01-11T22:02:35.816Z] SSH_AGENT_PID=38 [2023-01-11T22:02:35.821Z] Running ssh-add (command line suppressed) [2023-01-11T22:02:35.940Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12022594323441332550.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12022594323441332550.key) [2023-01-11T22:02:35.935Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T22:02:36.221Z] + git semver push [2023-01-11T22:02:36.480Z] 2023-01-11 22:02:36,407 [run_push] DEBUG push [2023-01-11T22:02:36.480Z] 2023-01-11 22:02:36,407 [execute] INFO git cat-file --batch-check [2023-01-11T22:02:36.480Z] 2023-01-11 22:02:36,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T22:02:36.480Z] 2023-01-11 22:02:36,411 [execute] INFO git rev-list c5def1c3428ceb8e49a05b3a0cc1d653a2fffe61 -- [2023-01-11T22:02:36.480Z] 2023-01-11 22:02:36,411 [execute] DEBUG Popen(['git', 'rev-list', 'c5def1c3428ceb8e49a05b3a0cc1d653a2fffe61', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-11T22:02:36.480Z] 2023-01-11 22:02:36,419 [execute] INFO git fetch -v origin [2023-01-11T22:02:36.480Z] 2023-01-11 22:02:36,419 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-11T22:02:37.049Z] 2023-01-11 22:02:36,962 [run_push] DEBUG no remote changes detected [2023-01-11T22:02:37.049Z] 2023-01-11 22:02:36,962 [execute] INFO git push origin semver [2023-01-11T22:02:37.049Z] 2023-01-11 22:02:36,963 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-11T22:02:37.984Z] 2023-01-11 22:02:37,769 [run_push] DEBUG push all version tags [2023-01-11T22:02:37.985Z] 2023-01-11 22:02:37,770 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-11T22:02:37.985Z] 2023-01-11 22:02:37,770 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-11T22:02:38.922Z] 2023-01-11 22:02:38,695 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-01-11T22:02:38.922Z] 3.0.0-dev.5 [Pipeline] } [2023-01-11T22:02:38.949Z] $ docker exec --env ******** --env ******** cc1c7a89b23c3ebe02592bd89de1593cb06bfbb75a8f9a8a5cdc7801e542055c ssh-agent -k [2023-01-11T22:02:39.060Z] unset SSH_AUTH_SOCK; [2023-01-11T22:02:39.061Z] unset SSH_AGENT_PID; [2023-01-11T22:02:39.061Z] echo Agent pid 38 killed; [2023-01-11T22:02:39.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T22:02:39.364Z] + git semver [Pipeline] } [2023-01-11T22:02:39.651Z] $ docker stop --time=1 cc1c7a89b23c3ebe02592bd89de1593cb06bfbb75a8f9a8a5cdc7801e542055c [2023-01-11T22:02:40.952Z] $ docker rm -f --volumes cc1c7a89b23c3ebe02592bd89de1593cb06bfbb75a8f9a8a5cdc7801e542055c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-11T22:02:41.468Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-01-11T22:02:41.468Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-01-11T22:02:41.468Z] total 16 [2023-01-11T22:02:41.468Z] drwxr-xr-x 3 root root 4096 Jan 11 21:52 . [2023-01-11T22:02:41.468Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 22:02 .. [2023-01-11T22:02:41.468Z] drwxr-xr-x 2 root root 4096 Jan 11 21:52 cost [2023-01-11T22:02:41.468Z] -rw-r--r-- 1 root root 85 Jan 11 21:52 cost.csv [2023-01-11T22:02:41.468Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-01-11T22:02:41.468Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-01-11T22:02:41.468Z] total 16 [2023-01-11T22:02:41.468Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:52 . [2023-01-11T22:02:41.468Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 22:02 .. [2023-01-11T22:02:41.468Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 21:52 cost [2023-01-11T22:02:41.468Z] -rw-r--r-- 1 jenkins jenkins 85 Jan 11 21:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:41.758Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:42.617Z] ---> package-listing.sh [2023-01-11T22:02:42.617Z] ++ facter osfamily [2023-01-11T22:02:42.617Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T22:02:42.875Z] + OS_FAMILY=debian [2023-01-11T22:02:42.875Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-01-11T22:02:42.875Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T22:02:42.875Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T22:02:42.875Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T22:02:42.875Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T22:02:42.875Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-01-11T22:02:42.875Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T22:02:42.875Z] + case "${OS_FAMILY}" in [2023-01-11T22:02:42.875Z] + dpkg -l [2023-01-11T22:02:42.875Z] + grep '^ii' [2023-01-11T22:02:42.875Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T22:02:42.875Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T22:02:42.875Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T22:02:42.875Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-01-11T22:02:42.875Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-01-11T22:02:42.875Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2023-01-11T22:02:42.885Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T22:02:43.159Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:02:43.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T22:02:43.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:02:43.808Z] prd-ubuntu20.04-docker-8c-8g-1956 does not seem to be running inside a container [2023-01-11T22:02:43.851Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T22:02:44.045Z] $ docker top 51edb4be4c9e24bb5ff7814e7e34417815d4e9e6122e83927e7bd84a43e94a78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T22:02:44.371Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T22:02:44.652Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T22:02:44.933Z] + ls /var/log/sa-host [2023-01-11T22:02:44.933Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T22:02:45.000Z] provisioning config files... [2023-01-11T22:02:45.006Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2368022475732019492tmp [Pipeline] { [Pipeline] echo [2023-01-11T22:02:45.020Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:45.302Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T22:02:45.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:45.643Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T22:02:45.651Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:45.984Z] ---> sudo-logs.sh [2023-01-11T22:02:45.984Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T22:02:46.031Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:46.347Z] ---> job-cost.sh [2023-01-11T22:02:46.347Z] lf-activate-venv: SKIPPING [2023-01-11T22:02:46.347Z] DEBUG: total: 0.2199999988079071 [2023-01-11T22:02:46.347Z] INFO: Retrieving Stack Cost... [2023-01-11T22:02:46.939Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T22:02:47.196Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T22:02:47.208Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:02:47.488Z] ---> logs-deploy.sh [2023-01-11T22:02:47.488Z] lf-activate-venv: SKIPPING [2023-01-11T22:02:47.488Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/60 [2023-01-11T22:02:47.488Z] INFO: archiving workspace using pattern(s): [2023-01-11T22:02:48.422Z] Archives upload complete. [2023-01-11T22:02:48.422Z] INFO: archiving logs to Nexus