Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9516c9f86bfab3f780b93b970f8360439339a3f4 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-ssh13208032879451755388.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18228957237742675887.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14796733780104048433.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7078483005455547110.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-ssh9743125264967318279.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8906 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 9516c9f86bfab3f780b93b970f8360439339a3f4 (main) Commit message: "Merge pull request #288 from hahattan/bump-sdk" > 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 9516c9f86bfab3f780b93b970f8360439339a3f4 # timeout=10 > git rev-list --no-walk 66f4f92b1dfb1a8e5e2851088fb3fbe79a62ad92 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T11:14:14.538Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T11:14:14.584Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T11:14:14.601Z] ========================================================= [2023-04-18T11:14:14.601Z] EdgeX Global Pipelines Version Info [2023-04-18T11:14:14.601Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:14:15.333Z] ------------------- [2023-04-18T11:14:15.333Z] stable info: [2023-04-18T11:14:15.333Z] ------------------- [2023-04-18T11:14:15.333Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T11:14:15.333Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T11:14:15.333Z] Message: update stable to v1.0.248 [2023-04-18T11:14:15.904Z] ------------------- [2023-04-18T11:14:15.904Z] experimental info: [2023-04-18T11:14:15.904Z] ------------------- [2023-04-18T11:14:15.904Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T11:14:15.904Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T11:14:15.904Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T11:14:16.104Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-04-18T11:14:16.113Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-04-18T11:14:16.122Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T11:14:16.131Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T11:14:16.143Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T11:14:16.155Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T11:14:16.166Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T11:14:16.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T11:14:16.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T11:14:16.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T11:14:16.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T11:14:16.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-04-18T11:14:16.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T11:14:16.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T11:14:16.282Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T11:14:16.299Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T11:14:16.320Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T11:14:16.346Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T11:14:16.365Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T11:14:16.380Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T11:14:16.393Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T11:14:16.405Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T11:14:16.420Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T11:14:16.434Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T11:14:16.444Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T11:14:16.460Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T11:14:16.474Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T11:14:16.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-18T11:14:16.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-18T11:14:16.522Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-18T11:14:16.541Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9516c9f86bfab3f780b93b970f8360439339a3f4 [Pipeline] echo [2023-04-18T11:14:16.560Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9516c9f [Pipeline] echo [2023-04-18T11:14:16.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:14:16.637Z] provisioning config files... [2023-04-18T11:14:16.654Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12468874072402608480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:14:16.968Z] ---> docker-login.sh [2023-04-18T11:14:16.968Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:14:17.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:17.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:17.230Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:17.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:17.230Z] [2023-04-18T11:14:17.230Z] Login Succeeded [2023-04-18T11:14:17.230Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:14:17.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:17.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:17.492Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:17.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:17.492Z] [2023-04-18T11:14:17.492Z] Login Succeeded [2023-04-18T11:14:17.492Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:14:17.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:17.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:17.492Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:17.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:17.492Z] [2023-04-18T11:14:17.492Z] Login Succeeded [2023-04-18T11:14:17.492Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:14:17.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:17.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:17.754Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:17.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:17.754Z] [2023-04-18T11:14:17.754Z] Login Succeeded [2023-04-18T11:14:17.754Z] docker.io [2023-04-18T11:14:17.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:18.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:18.016Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:18.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:18.016Z] [2023-04-18T11:14:18.016Z] Login Succeeded [2023-04-18T11:14:18.016Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:14:18.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T11:14:18.411Z] + git rev-list -1 --merges 9516c9f86bfab3f780b93b970f8360439339a3f4~1..9516c9f86bfab3f780b93b970f8360439339a3f4 [Pipeline] echo [2023-04-18T11:14:18.462Z] -----------> git rev-list -1 --merges 9516c9f86bfab3f780b93b970f8360439339a3f4~1..9516c9f86bfab3f780b93b970f8360439339a3f4 9516c9f86bfab3f780b93b970f8360439339a3f4 [2023-04-18T11:14:18.462Z] 9516c9f86bfab3f780b93b970f8360439339a3f4 [false] [Pipeline] sh [2023-04-18T11:14:18.757Z] + git log --format=format:%s -1 9516c9f86bfab3f780b93b970f8360439339a3f4 [Pipeline] echo [2023-04-18T11:14:18.772Z] ========================================================= [2023-04-18T11:14:18.772Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T11:14:18.772Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T11:14:19.098Z] + git log --format=format:%s -1 9516c9f86bfab3f780b93b970f8360439339a3f4 [Pipeline] echo [2023-04-18T11:14:19.109Z] [semverPrep] GIT_COMMIT: 9516c9f86bfab3f780b93b970f8360439339a3f4, Commit Message: Merge pull request #288 from hahattan/bump-sdk [Pipeline] echo [2023-04-18T11:14:19.118Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T11:14:19.504Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T11:14:19.504Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T11:14:19.504Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T11:14:19.504Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T11:14:19.504Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T11:14:19.504Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T11:14:19.504Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:14:19.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:14:19.951Z] [2023-04-18T11:14:19.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:14:20.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:14:20.262Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T11:14:20.262Z] b85a868b505f: Pulling fs layer [2023-04-18T11:14:20.262Z] e2be974225ed: Pulling fs layer [2023-04-18T11:14:20.262Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T11:14:20.262Z] 988bab9f4d93: Pulling fs layer [2023-04-18T11:14:20.262Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T11:14:20.262Z] eaf3925da568: Pulling fs layer [2023-04-18T11:14:20.262Z] bab4dde63d76: Pulling fs layer [2023-04-18T11:14:20.262Z] bde34c3a00c8: Pulling fs layer [2023-04-18T11:14:20.262Z] b352a97aabf1: Pulling fs layer [2023-04-18T11:14:20.262Z] 4872d77fe225: Pulling fs layer [2023-04-18T11:14:20.262Z] 5851b861e8e6: Pulling fs layer [2023-04-18T11:14:20.262Z] 988bab9f4d93: Waiting [2023-04-18T11:14:20.262Z] bab4dde63d76: Waiting [2023-04-18T11:14:20.262Z] bde34c3a00c8: Waiting [2023-04-18T11:14:20.262Z] 1469e6f7b9e6: Waiting [2023-04-18T11:14:20.262Z] eaf3925da568: Waiting [2023-04-18T11:14:20.262Z] b352a97aabf1: Waiting [2023-04-18T11:14:20.262Z] 4872d77fe225: Waiting [2023-04-18T11:14:20.262Z] 5851b861e8e6: Waiting [2023-04-18T11:14:20.262Z] e2be974225ed: Download complete [2023-04-18T11:14:20.262Z] 988bab9f4d93: Verifying Checksum [2023-04-18T11:14:20.262Z] 988bab9f4d93: Download complete [2023-04-18T11:14:20.534Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T11:14:20.534Z] 1469e6f7b9e6: Download complete [2023-04-18T11:14:20.534Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T11:14:20.534Z] 339a4e72a1f5: Download complete [2023-04-18T11:14:20.534Z] eaf3925da568: Verifying Checksum [2023-04-18T11:14:20.534Z] eaf3925da568: Download complete [2023-04-18T11:14:20.534Z] bde34c3a00c8: Download complete [2023-04-18T11:14:20.534Z] b352a97aabf1: Verifying Checksum [2023-04-18T11:14:20.534Z] b352a97aabf1: Download complete [2023-04-18T11:14:20.534Z] 4872d77fe225: Download complete [2023-04-18T11:14:20.534Z] 5851b861e8e6: Verifying Checksum [2023-04-18T11:14:20.534Z] 5851b861e8e6: Download complete [2023-04-18T11:14:20.534Z] b85a868b505f: Verifying Checksum [2023-04-18T11:14:20.534Z] b85a868b505f: Download complete [2023-04-18T11:14:20.795Z] bab4dde63d76: Verifying Checksum [2023-04-18T11:14:20.795Z] bab4dde63d76: Download complete [2023-04-18T11:14:21.740Z] b85a868b505f: Pull complete [2023-04-18T11:14:21.999Z] e2be974225ed: Pull complete [2023-04-18T11:14:22.568Z] 339a4e72a1f5: Pull complete [2023-04-18T11:14:22.568Z] 988bab9f4d93: Pull complete [2023-04-18T11:14:22.829Z] 1469e6f7b9e6: Pull complete [2023-04-18T11:14:22.829Z] eaf3925da568: Pull complete [2023-04-18T11:14:24.737Z] bab4dde63d76: Pull complete [2023-04-18T11:14:24.737Z] bde34c3a00c8: Pull complete [2023-04-18T11:14:24.737Z] b352a97aabf1: Pull complete [2023-04-18T11:14:24.737Z] 4872d77fe225: Pull complete [2023-04-18T11:14:24.737Z] 5851b861e8e6: Pull complete [2023-04-18T11:14:24.737Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T11:14:24.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:14:24.737Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:14:24.840Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:14:24.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T11:14:27.660Z] $ docker top 1b6a5c3326e956329c59ea834baee8b212765918399d6bf08c595b8b516d10a2 -eo pid,comm [2023-04-18T11:14:27.715Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-18T11:14:27.715Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T11:14:27.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:14:27.756Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:14:27.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:14:27.885Z] $ docker exec 1b6a5c3326e956329c59ea834baee8b212765918399d6bf08c595b8b516d10a2 ssh-agent [2023-04-18T11:14:27.979Z] SSH_AUTH_SOCK=/tmp/ssh-i7RFwLGPfZ3S/agent.33 [2023-04-18T11:14:27.979Z] SSH_AGENT_PID=39 [2023-04-18T11:14:27.986Z] Running ssh-add (command line suppressed) [2023-04-18T11:14:28.100Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7336226626945248081.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7336226626945248081.key) [2023-04-18T11:14:28.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:14:28.402Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T11:14:28.424Z] $ docker exec --env ******** --env ******** 1b6a5c3326e956329c59ea834baee8b212765918399d6bf08c595b8b516d10a2 ssh-agent -k [2023-04-18T11:14:28.512Z] unset SSH_AUTH_SOCK; [2023-04-18T11:14:28.512Z] unset SSH_AGENT_PID; [2023-04-18T11:14:28.512Z] echo Agent pid 39 killed; [2023-04-18T11:14:28.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T11:14:28.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:14:28.545Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:14:28.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:14:28.652Z] $ docker exec 1b6a5c3326e956329c59ea834baee8b212765918399d6bf08c595b8b516d10a2 ssh-agent [2023-04-18T11:14:28.744Z] SSH_AUTH_SOCK=/tmp/ssh-Tb4aUliNbmKP/agent.71 [2023-04-18T11:14:28.744Z] SSH_AGENT_PID=77 [2023-04-18T11:14:28.750Z] Running ssh-add (command line suppressed) [2023-04-18T11:14:28.860Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9953646926858000629.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9953646926858000629.key) [2023-04-18T11:14:28.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:14:29.160Z] + git semver init [2023-04-18T11:14:29.420Z] 2023-04-18 11:14:29,341 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T11:14:29.420Z] 2023-04-18 11:14:29,341 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-18T11:14:29.420Z] 2023-04-18 11:14:29,342 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-18T11:14:29.420Z] 2023-04-18 11:14:29,342 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-18T11:14:30.363Z] 2023-04-18 11:14:30,108 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-04-18T11:14:30.364Z] 2023-04-18 11:14:30,108 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-04-18T11:14:30.364Z] 2023-04-18 11:14:30,108 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-18T11:14:30.364Z] 2023-04-18 11:14:30,109 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-18T11:14:30.364Z] 3.0.0-dev.14 [Pipeline] } [2023-04-18T11:14:30.379Z] $ docker exec --env ******** --env ******** 1b6a5c3326e956329c59ea834baee8b212765918399d6bf08c595b8b516d10a2 ssh-agent -k [2023-04-18T11:14:30.475Z] unset SSH_AUTH_SOCK; [2023-04-18T11:14:30.476Z] unset SSH_AGENT_PID; [2023-04-18T11:14:30.477Z] echo Agent pid 77 killed; [2023-04-18T11:14:30.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T11:14:30.812Z] + git semver [Pipeline] } [2023-04-18T11:14:31.092Z] $ docker stop --time=1 1b6a5c3326e956329c59ea834baee8b212765918399d6bf08c595b8b516d10a2 [2023-04-18T11:14:32.563Z] $ docker rm -f --volumes 1b6a5c3326e956329c59ea834baee8b212765918399d6bf08c595b8b516d10a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T11:14:32.905Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T11:14:33.160Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T11:14:33.163Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:14:33.309Z] provisioning config files... [2023-04-18T11:14:33.319Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4585338071087342823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:14:33.617Z] ---> docker-login.sh [2023-04-18T11:14:33.617Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:14:33.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:33.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:33.617Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:33.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:33.617Z] [2023-04-18T11:14:33.617Z] Login Succeeded [2023-04-18T11:14:33.617Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:14:33.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:33.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:33.617Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:33.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:33.617Z] [2023-04-18T11:14:33.617Z] Login Succeeded [2023-04-18T11:14:33.617Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:14:33.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:33.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:33.878Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:33.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:33.878Z] [2023-04-18T11:14:33.878Z] Login Succeeded [2023-04-18T11:14:33.878Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:14:33.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:33.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:33.878Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:33.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:33.878Z] [2023-04-18T11:14:33.878Z] Login Succeeded [2023-04-18T11:14:33.878Z] docker.io [2023-04-18T11:14:33.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:14:34.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:14:34.138Z] Configure a credential helper to remove this warning. See [2023-04-18T11:14:34.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:14:34.138Z] [2023-04-18T11:14:34.138Z] Login Succeeded [2023-04-18T11:14:34.138Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:14:34.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T11:14:34.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:14:34.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:14:34.236Z] ========================================================= [2023-04-18T11:14:34.236Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T11:14:34.236Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:14:34.541Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T11:14:34.541Z] Sending build context to Docker daemon 5.764MB [2023-04-18T11:14:34.541Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T11:14:34.541Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T11:14:34.541Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T11:14:34.541Z] 63b65145d645: Pulling fs layer [2023-04-18T11:14:34.541Z] a2d21d5440eb: Pulling fs layer [2023-04-18T11:14:34.541Z] 935e6c44a52c: Pulling fs layer [2023-04-18T11:14:34.541Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T11:14:34.541Z] 30dea6a524f1: Pulling fs layer [2023-04-18T11:14:34.541Z] a2aff8979fd8: Pulling fs layer [2023-04-18T11:14:34.541Z] 6808be2612f2: Pulling fs layer [2023-04-18T11:14:34.541Z] 94cc34f8dd06: Waiting [2023-04-18T11:14:34.541Z] f25807f1079a: Pulling fs layer [2023-04-18T11:14:34.541Z] 30dea6a524f1: Waiting [2023-04-18T11:14:34.541Z] a2aff8979fd8: Waiting [2023-04-18T11:14:34.541Z] 6808be2612f2: Waiting [2023-04-18T11:14:34.541Z] f25807f1079a: Waiting [2023-04-18T11:14:34.541Z] a2d21d5440eb: Verifying Checksum [2023-04-18T11:14:34.541Z] a2d21d5440eb: Download complete [2023-04-18T11:14:34.541Z] 94cc34f8dd06: Download complete [2023-04-18T11:14:34.541Z] 30dea6a524f1: Verifying Checksum [2023-04-18T11:14:34.541Z] 30dea6a524f1: Download complete [2023-04-18T11:14:34.541Z] 63b65145d645: Download complete [2023-04-18T11:14:34.802Z] a2aff8979fd8: Verifying Checksum [2023-04-18T11:14:34.802Z] a2aff8979fd8: Download complete [2023-04-18T11:14:34.802Z] 63b65145d645: Pull complete [2023-04-18T11:14:34.802Z] a2d21d5440eb: Pull complete [2023-04-18T11:14:35.063Z] f25807f1079a: Verifying Checksum [2023-04-18T11:14:35.063Z] f25807f1079a: Download complete [2023-04-18T11:14:35.323Z] 935e6c44a52c: Verifying Checksum [2023-04-18T11:14:35.323Z] 935e6c44a52c: Download complete [2023-04-18T11:14:35.581Z] 6808be2612f2: Verifying Checksum [2023-04-18T11:14:35.581Z] 6808be2612f2: Download complete [2023-04-18T11:14:38.866Z] 935e6c44a52c: Pull complete [2023-04-18T11:14:38.866Z] 94cc34f8dd06: Pull complete [2023-04-18T11:14:38.866Z] 30dea6a524f1: Pull complete [2023-04-18T11:14:38.866Z] a2aff8979fd8: Pull complete [2023-04-18T11:14:41.392Z] 6808be2612f2: Pull complete [2023-04-18T11:14:41.957Z] f25807f1079a: Pull complete [2023-04-18T11:14:41.957Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T11:14:41.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T11:14:41.957Z] ---> 3b553350e43f [2023-04-18T11:14:41.957Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T11:14:46.198Z] ---> Running in 7d724815ff80 [2023-04-18T11:14:46.198Z] Removing intermediate container 7d724815ff80 [2023-04-18T11:14:46.198Z] ---> 77a19048389e [2023-04-18T11:14:46.198Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T11:14:46.198Z] ---> Running in 9513bf5fe7b4 [2023-04-18T11:14:46.198Z] Removing intermediate container 9513bf5fe7b4 [2023-04-18T11:14:46.198Z] ---> 2dec3225a73f [2023-04-18T11:14:46.198Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T11:14:46.198Z] ---> Running in 17cf0fd06832 [2023-04-18T11:14:46.457Z] Removing intermediate container 17cf0fd06832 [2023-04-18T11:14:46.457Z] ---> 9b188e7e2780 [2023-04-18T11:14:46.457Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T11:14:46.457Z] ---> Running in 4a1c41a68c84 [2023-04-18T11:14:46.457Z] Removing intermediate container 4a1c41a68c84 [2023-04-18T11:14:46.457Z] ---> 0cc374bbdb25 [2023-04-18T11:14:46.457Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T11:14:46.457Z] ---> Running in 0bcf325a4b53 [2023-04-18T11:14:46.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T11:14:47.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T11:14:47.000Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T11:14:47.000Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T11:14:47.000Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T11:14:47.000Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T11:14:47.000Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T11:14:47.000Z] OK: 269 MiB in 57 packages [2023-04-18T11:14:47.565Z] Removing intermediate container 0bcf325a4b53 [2023-04-18T11:14:47.565Z] ---> b6ead7c851ab [2023-04-18T11:14:47.565Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-18T11:14:47.565Z] ---> Running in 551997d2c897 [2023-04-18T11:14:47.565Z] Removing intermediate container 551997d2c897 [2023-04-18T11:14:47.565Z] ---> f203d1df455c [2023-04-18T11:14:47.565Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T11:14:47.823Z] ---> 7b8e99c37027 [2023-04-18T11:14:47.823Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T11:14:47.823Z] ---> Running in ed89c918aac6 [2023-04-18T11:14:48.269Z] Still waiting to schedule task [2023-04-18T11:14:48.269Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T11:15:19.913Z] Removing intermediate container ed89c918aac6 [2023-04-18T11:15:19.913Z] ---> 7cbebafad4e7 [2023-04-18T11:15:19.913Z] Step 11/12 : COPY . . [2023-04-18T11:15:19.913Z] ---> 4121ef1dab47 [2023-04-18T11:15:19.913Z] Step 12/12 : RUN ${MAKE} [2023-04-18T11:15:19.913Z] ---> Running in 32c8764c12c7 [2023-04-18T11:15:19.913Z] noop [2023-04-18T11:15:19.913Z] Removing intermediate container 32c8764c12c7 [2023-04-18T11:15:19.913Z] ---> 4d2da6ae998f [2023-04-18T11:15:19.913Z] Successfully built 4d2da6ae998f [2023-04-18T11:15:19.913Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:15:20.216Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T11:15:20.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:15:20.287Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:15:20.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T11:15:20.647Z] $ docker top bd14d7e62d304b209cd31f038a3153ad2cba556809dcaf2d53d4734103e7417f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:15:20.985Z] + go version [2023-04-18T11:15:20.985Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T11:15:20.999Z] $ docker stop --time=1 bd14d7e62d304b209cd31f038a3153ad2cba556809dcaf2d53d4734103e7417f [2023-04-18T11:15:22.266Z] $ docker rm -f --volumes bd14d7e62d304b209cd31f038a3153ad2cba556809dcaf2d53d4734103e7417f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:15:22.678Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T11:15:22.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:15:22.737Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:15:22.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T11:15:23.092Z] $ docker top 91bcae6e54aeed877526cbc77555788d9c97ac9f5dbbac28c1a50a919b5c8692 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:15:23.428Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-18T11:15:23.722Z] + make test [2023-04-18T11:15:23.722Z] go test ./... -coverprofile=coverage.out [2023-04-18T11:15:27.909Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-18T11:15:37.876Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-18T11:15:37.876Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2023-04-18T11:15:43.138Z] go vet ./... [2023-04-18T11:15:46.416Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T11:15:46.416Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T11:15:46.416Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T11:15:46.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T11:15:46.447Z] $ docker stop --time=1 91bcae6e54aeed877526cbc77555788d9c97ac9f5dbbac28c1a50a919b5c8692 [2023-04-18T11:15:50.673Z] $ docker rm -f --volumes 91bcae6e54aeed877526cbc77555788d9c97ac9f5dbbac28c1a50a919b5c8692 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T11:15:51.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T11:15:51.164Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T11:15:51.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T11:15:51.948Z] + ls -al . [2023-04-18T11:15:51.948Z] total 172 [2023-04-18T11:15:51.948Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 11:15 . [2023-04-18T11:15:51.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:14 .. [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 18 11:14 .dockerignore [2023-04-18T11:15:51.948Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:14 .git [2023-04-18T11:15:51.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:14 .github [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 18 11:14 .gitignore [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:14 .golangci.yml [2023-04-18T11:15:51.948Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 11:14 .semver [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 18 11:14 Attribution.txt [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 18 11:14 CHANGELOG.md [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 18 11:14 Dockerfile [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:14 GOVERNANCE.md [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 18 11:14 Jenkinsfile [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:14 LICENSE [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 18 11:14 Makefile [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 11:14 OWNERS.md [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 18 11:14 README.md [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 11:14 VERSION [2023-04-18T11:15:51.948Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:14 bin [2023-04-18T11:15:51.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:14 cmd [2023-04-18T11:15:51.948Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 18 11:15 coverage.out [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 18 11:14 go.mod [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 31551 Apr 18 11:14 go.sum [2023-04-18T11:15:51.948Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:14 internal [2023-04-18T11:15:51.948Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:14 snap [2023-04-18T11:15:51.948Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 18 11:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:15:52.315Z] + 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=9516c9f86bfab3f780b93b970f8360439339a3f4 --label arch=amd64 --label version=3.0.0-dev.14 . [2023-04-18T11:15:52.315Z] Sending build context to Docker daemon 5.774MB [2023-04-18T11:15:52.315Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T11:15:52.315Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-18T11:15:52.315Z] ---> 4d2da6ae998f [2023-04-18T11:15:52.315Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-18T11:15:52.315Z] ---> Running in 1ffe7380ca25 [2023-04-18T11:15:52.574Z] Removing intermediate container 1ffe7380ca25 [2023-04-18T11:15:52.574Z] ---> 2919275ce299 [2023-04-18T11:15:52.574Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T11:15:52.574Z] ---> Running in 01a57668ab43 [2023-04-18T11:15:52.574Z] Removing intermediate container 01a57668ab43 [2023-04-18T11:15:52.574Z] ---> 74ddae1b2e2d [2023-04-18T11:15:52.574Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T11:15:52.574Z] ---> Running in dd68471dcf46 [2023-04-18T11:15:52.574Z] Removing intermediate container dd68471dcf46 [2023-04-18T11:15:52.574Z] ---> ce7a1c1609d8 [2023-04-18T11:15:52.574Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T11:15:52.833Z] ---> Running in 758d3cf4b7ee [2023-04-18T11:15:52.833Z] Removing intermediate container 758d3cf4b7ee [2023-04-18T11:15:52.833Z] ---> ce28aa018d94 [2023-04-18T11:15:52.833Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T11:15:52.833Z] ---> Running in 8718468eca6e [2023-04-18T11:15:53.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T11:15:53.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T11:15:53.403Z] OK: 269 MiB in 57 packages [2023-04-18T11:15:53.707Z] Removing intermediate container 8718468eca6e [2023-04-18T11:15:53.707Z] ---> 55b2d77e20c9 [2023-04-18T11:15:53.707Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-18T11:15:53.707Z] ---> Running in e9b551783802 [2023-04-18T11:15:53.707Z] Removing intermediate container e9b551783802 [2023-04-18T11:15:53.707Z] ---> bc1bb0de03eb [2023-04-18T11:15:53.707Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-18T11:15:53.998Z] ---> 296052ec4b34 [2023-04-18T11:15:53.998Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T11:15:53.998Z] ---> Running in 031854a8c476 [2023-04-18T11:15:54.589Z] Removing intermediate container 031854a8c476 [2023-04-18T11:15:54.589Z] ---> d0b369e12eeb [2023-04-18T11:15:54.589Z] Step 11/24 : COPY . . [2023-04-18T11:15:54.847Z] ---> be751a8e7662 [2023-04-18T11:15:54.847Z] Step 12/24 : RUN ${MAKE} [2023-04-18T11:15:54.847Z] ---> Running in 7345b9bfc443 [2023-04-18T11:15:55.415Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-18T11:16:17.335Z] Removing intermediate container 7345b9bfc443 [2023-04-18T11:16:17.335Z] ---> 037e4afac5cb [2023-04-18T11:16:17.335Z] Step 13/24 : FROM alpine:3.17 [2023-04-18T11:16:17.335Z] 3.17: Pulling from library/alpine [2023-04-18T11:16:17.335Z] f56be85fc22e: Pulling fs layer [2023-04-18T11:16:17.335Z] f56be85fc22e: Verifying Checksum [2023-04-18T11:16:17.335Z] f56be85fc22e: Download complete [2023-04-18T11:16:17.335Z] f56be85fc22e: Pull complete [2023-04-18T11:16:17.335Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T11:16:17.335Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T11:16:17.335Z] ---> 9ed4aefc74f6 [2023-04-18T11:16:17.335Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-18T11:16:17.335Z] ---> Running in 0911ea1dcdfc [2023-04-18T11:16:17.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T11:16:17.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T11:16:17.335Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T11:16:17.335Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T11:16:17.335Z] OK: 7 MiB in 16 packages [2023-04-18T11:16:17.335Z] Removing intermediate container 0911ea1dcdfc [2023-04-18T11:16:17.335Z] ---> e00b4c5ceb8d [2023-04-18T11:16:17.335Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-18T11:16:17.335Z] ---> 3f78fcdd34d8 [2023-04-18T11:16:17.335Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-18T11:16:17.335Z] ---> 962b7f0f2707 [2023-04-18T11:16:17.335Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-18T11:16:17.335Z] ---> e35922dff2bb [2023-04-18T11:16:17.335Z] Step 18/24 : EXPOSE 59993 [2023-04-18T11:16:17.335Z] ---> Running in 42e843c1be3c [2023-04-18T11:16:17.335Z] Removing intermediate container 42e843c1be3c [2023-04-18T11:16:17.335Z] ---> ff3520a1dc3a [2023-04-18T11:16:17.335Z] Step 19/24 : EXPOSE 161 [2023-04-18T11:16:17.335Z] ---> Running in 00006f49a14a [2023-04-18T11:16:17.335Z] Removing intermediate container 00006f49a14a [2023-04-18T11:16:17.335Z] ---> eb3f46bc02b4 [2023-04-18T11:16:17.335Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-18T11:16:17.335Z] ---> Running in 9657c98febd2 [2023-04-18T11:16:17.335Z] Removing intermediate container 9657c98febd2 [2023-04-18T11:16:17.335Z] ---> 425967ed6946 [2023-04-18T11:16:17.335Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T11:16:17.335Z] ---> Running in a5ea57f41277 [2023-04-18T11:16:17.335Z] Removing intermediate container a5ea57f41277 [2023-04-18T11:16:17.335Z] ---> 404a73d1ef0e [2023-04-18T11:16:17.335Z] Step 22/24 : LABEL arch=amd64 [2023-04-18T11:16:17.335Z] ---> Running in 066ce742d766 [2023-04-18T11:16:17.593Z] Removing intermediate container 066ce742d766 [2023-04-18T11:16:17.593Z] ---> 33efda4d24e3 [2023-04-18T11:16:17.593Z] Step 23/24 : LABEL git_sha=9516c9f86bfab3f780b93b970f8360439339a3f4 [2023-04-18T11:16:17.593Z] ---> Running in 585dec0dcd36 [2023-04-18T11:16:17.593Z] Removing intermediate container 585dec0dcd36 [2023-04-18T11:16:17.593Z] ---> 804705d0a631 [2023-04-18T11:16:17.593Z] Step 24/24 : LABEL version=3.0.0-dev.14 [2023-04-18T11:16:17.593Z] ---> Running in 4baa5921891c [2023-04-18T11:16:17.593Z] Removing intermediate container 4baa5921891c [2023-04-18T11:16:17.593Z] ---> 27da15ae8721 [2023-04-18T11:16:17.593Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T11:16:17.593Z] Successfully built 27da15ae8721 [2023-04-18T11:16:17.593Z] 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-04-18T11:16:17.973Z] provisioning config files... [2023-04-18T11:16:17.980Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8822049848225083965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:16:18.274Z] ---> docker-login.sh [2023-04-18T11:16:18.274Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:16:18.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:18.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:18.274Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:18.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:18.274Z] [2023-04-18T11:16:18.274Z] Login Succeeded [2023-04-18T11:16:18.274Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:16:18.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:18.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:18.274Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:18.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:18.274Z] [2023-04-18T11:16:18.274Z] Login Succeeded [2023-04-18T11:16:18.274Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:16:18.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:18.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:18.533Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:18.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:18.533Z] [2023-04-18T11:16:18.533Z] Login Succeeded [2023-04-18T11:16:18.533Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:16:18.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:18.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:18.533Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:18.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:18.533Z] [2023-04-18T11:16:18.533Z] Login Succeeded [2023-04-18T11:16:18.533Z] docker.io [2023-04-18T11:16:18.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:18.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:18.791Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:18.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:18.791Z] [2023-04-18T11:16:18.791Z] Login Succeeded [2023-04-18T11:16:18.791Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:16:18.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T11:16:18.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:16:18.859Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-04-18T11:16:18.859Z] 9516c9f86bfab3f780b93b970f8360439339a3f4 [2023-04-18T11:16:18.859Z] latest [2023-04-18T11:16:18.859Z] 3.0.0-dev.14 [2023-04-18T11:16:18.859Z] 9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14 [2023-04-18T11:16:18.859Z] main [2023-04-18T11:16:18.859Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:19.174Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9516c9f86bfab3f780b93b970f8360439339a3f4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:19.487Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9516c9f86bfab3f780b93b970f8360439339a3f4 [2023-04-18T11:16:19.487Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-18T11:16:19.487Z] c4cbaef1ddc3: Preparing [2023-04-18T11:16:19.487Z] 339a6b7f2ffd: Preparing [2023-04-18T11:16:19.488Z] b3e4ea412358: Preparing [2023-04-18T11:16:19.488Z] 804cfef10c0a: Preparing [2023-04-18T11:16:19.488Z] f1417ff83b31: Preparing [2023-04-18T11:16:19.488Z] f1417ff83b31: Layer already exists [2023-04-18T11:16:19.488Z] c4cbaef1ddc3: Pushed [2023-04-18T11:16:19.488Z] 339a6b7f2ffd: Pushed [2023-04-18T11:16:19.488Z] 804cfef10c0a: Pushed [2023-04-18T11:16:21.998Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8908 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-04-18T11:16:22.009Z] Running in /w/workspace/device-snmp-go/71 [Pipeline] { [2023-04-18T11:16:22.023Z] b3e4ea412358: Pushed [2023-04-18T11:16:22.023Z] 9516c9f86bfab3f780b93b970f8360439339a3f4: digest: sha256:bca5c7c372ae42f95c14b4ae911aeb94cedb3460bfd42a6d1f240d667500f7da size: 1365 [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [2023-04-18T11:16:22.043Z] Selected Git installation does not exist. Using Default [2023-04-18T11:16:22.044Z] The recommended git tool is: NONE [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:22.337Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:22.642Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-18T11:16:22.642Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-18T11:16:22.642Z] c4cbaef1ddc3: Preparing [2023-04-18T11:16:22.642Z] 339a6b7f2ffd: Preparing [2023-04-18T11:16:22.642Z] b3e4ea412358: Preparing [2023-04-18T11:16:22.642Z] 804cfef10c0a: Preparing [2023-04-18T11:16:22.642Z] f1417ff83b31: Preparing [2023-04-18T11:16:22.642Z] f1417ff83b31: Layer already exists [2023-04-18T11:16:22.642Z] c4cbaef1ddc3: Layer already exists [2023-04-18T11:16:22.642Z] 804cfef10c0a: Layer already exists [2023-04-18T11:16:22.642Z] 339a6b7f2ffd: Layer already exists [2023-04-18T11:16:22.642Z] b3e4ea412358: Layer already exists [2023-04-18T11:16:22.642Z] latest: digest: sha256:bca5c7c372ae42f95c14b4ae911aeb94cedb3460bfd42a6d1f240d667500f7da size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:22.954Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:23.255Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.14 [2023-04-18T11:16:23.255Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-18T11:16:23.255Z] c4cbaef1ddc3: Preparing [2023-04-18T11:16:23.255Z] 339a6b7f2ffd: Preparing [2023-04-18T11:16:23.255Z] b3e4ea412358: Preparing [2023-04-18T11:16:23.255Z] 804cfef10c0a: Preparing [2023-04-18T11:16:23.255Z] f1417ff83b31: Preparing [2023-04-18T11:16:23.255Z] f1417ff83b31: Layer already exists [2023-04-18T11:16:23.255Z] 339a6b7f2ffd: Layer already exists [2023-04-18T11:16:23.255Z] 804cfef10c0a: Layer already exists [2023-04-18T11:16:23.255Z] c4cbaef1ddc3: Layer already exists [2023-04-18T11:16:23.255Z] b3e4ea412358: Layer already exists [2023-04-18T11:16:23.255Z] 3.0.0-dev.14: digest: sha256:bca5c7c372ae42f95c14b4ae911aeb94cedb3460bfd42a6d1f240d667500f7da size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:23.565Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:23.879Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14 [2023-04-18T11:16:23.879Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-18T11:16:23.879Z] c4cbaef1ddc3: Preparing [2023-04-18T11:16:23.879Z] 339a6b7f2ffd: Preparing [2023-04-18T11:16:23.879Z] b3e4ea412358: Preparing [2023-04-18T11:16:23.879Z] 804cfef10c0a: Preparing [2023-04-18T11:16:23.879Z] f1417ff83b31: Preparing [2023-04-18T11:16:23.879Z] c4cbaef1ddc3: Layer already exists [2023-04-18T11:16:23.879Z] 339a6b7f2ffd: Layer already exists [2023-04-18T11:16:23.879Z] f1417ff83b31: Layer already exists [2023-04-18T11:16:23.879Z] 804cfef10c0a: Layer already exists [2023-04-18T11:16:23.879Z] b3e4ea412358: Layer already exists [2023-04-18T11:16:23.879Z] 9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14: digest: sha256:bca5c7c372ae42f95c14b4ae911aeb94cedb3460bfd42a6d1f240d667500f7da size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:24.182Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:24.497Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-04-18T11:16:24.497Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-18T11:16:24.497Z] c4cbaef1ddc3: Preparing [2023-04-18T11:16:24.497Z] 339a6b7f2ffd: Preparing [2023-04-18T11:16:24.497Z] b3e4ea412358: Preparing [2023-04-18T11:16:24.497Z] 804cfef10c0a: Preparing [2023-04-18T11:16:24.497Z] f1417ff83b31: Preparing [2023-04-18T11:16:24.497Z] 804cfef10c0a: Layer already exists [2023-04-18T11:16:24.497Z] 339a6b7f2ffd: Layer already exists [2023-04-18T11:16:24.497Z] c4cbaef1ddc3: Layer already exists [2023-04-18T11:16:24.497Z] b3e4ea412358: Layer already exists [2023-04-18T11:16:24.498Z] f1417ff83b31: Layer already exists [2023-04-18T11:16:24.498Z] main: digest: sha256:bca5c7c372ae42f95c14b4ae911aeb94cedb3460bfd42a6d1f240d667500f7da size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T11:16:24.559Z] ===================================================== [Pipeline] echo [2023-04-18T11:16:24.568Z] taggedImages: [2023-04-18T11:16:24.568Z] - nexus3.edgexfoundry.org:10004/device-snmp:9516c9f86bfab3f780b93b970f8360439339a3f4 [2023-04-18T11:16:24.568Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-18T11:16:24.568Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.14 [2023-04-18T11:16:24.568Z] - nexus3.edgexfoundry.org:10004/device-snmp:9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14 [2023-04-18T11:16:24.568Z] - 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-04-18T11:16:24.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T11:16:24.944Z] [2023-04-18T11:16:24.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:25.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T11:16:25.246Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T11:16:25.246Z] 5eb5b503b376: Pulling fs layer [2023-04-18T11:16:25.246Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T11:16:25.246Z] ec43610c2a17: Pulling fs layer [2023-04-18T11:16:25.246Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T11:16:25.246Z] 33b1e0a273af: Pulling fs layer [2023-04-18T11:16:25.246Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T11:16:25.246Z] 2f39f015ded8: Pulling fs layer [2023-04-18T11:16:25.246Z] 3a2ae6a8a46f: Waiting [2023-04-18T11:16:25.246Z] 33b1e0a273af: Waiting [2023-04-18T11:16:25.246Z] 5d3b04190fa2: Waiting [2023-04-18T11:16:25.246Z] 2f39f015ded8: Waiting [2023-04-18T11:16:25.246Z] 5c69ac0246d0: Download complete [2023-04-18T11:16:25.246Z] 3a2ae6a8a46f: Download complete [2023-04-18T11:16:25.246Z] 33b1e0a273af: Verifying Checksum [2023-04-18T11:16:25.246Z] 33b1e0a273af: Download complete [2023-04-18T11:16:25.246Z] ec43610c2a17: Verifying Checksum [2023-04-18T11:16:25.246Z] ec43610c2a17: Download complete [2023-04-18T11:16:25.246Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T11:16:25.246Z] 5d3b04190fa2: Download complete [2023-04-18T11:16:25.507Z] 5eb5b503b376: Verifying Checksum [2023-04-18T11:16:25.507Z] 5eb5b503b376: Download complete [2023-04-18T11:16:26.074Z] 2f39f015ded8: Verifying Checksum [2023-04-18T11:16:26.074Z] 2f39f015ded8: Download complete [2023-04-18T11:16:26.639Z] 5eb5b503b376: Pull complete [2023-04-18T11:16:26.639Z] 5c69ac0246d0: Pull complete [2023-04-18T11:16:26.942Z] using credential edgex-jenkins-ssh [2023-04-18T11:16:26.957Z] Cloning the remote Git repository [2023-04-18T11:16:27.204Z] ec43610c2a17: Pull complete [2023-04-18T11:16:27.205Z] 3a2ae6a8a46f: Pull complete [2023-04-18T11:16:27.205Z] 33b1e0a273af: Pull complete [2023-04-18T11:16:27.463Z] 5d3b04190fa2: Pull complete [2023-04-18T11:16:27.000Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-04-18T11:16:27.096Z] > git init /w/workspace/device-snmp-go/71 # timeout=10 [2023-04-18T11:16:27.264Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-04-18T11:16:27.265Z] > git --version # timeout=10 [2023-04-18T11:16:27.283Z] > git --version # 'git version 2.25.1' [2023-04-18T11:16:27.285Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T11:16:27.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T11:16:29.220Z] Avoid second fetch [2023-04-18T11:16:29.221Z] Checking out Revision 9516c9f86bfab3f780b93b970f8360439339a3f4 (main) [2023-04-18T11:16:28.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-04-18T11:16:28.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T11:16:29.235Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T11:16:29.304Z] > git checkout -f 9516c9f86bfab3f780b93b970f8360439339a3f4 # timeout=10 [2023-04-18T11:16:29.755Z] Commit message: "Merge pull request #288 from hahattan/bump-sdk" [2023-04-18T11:16:30.080Z] [2023-04-18T11:16:30.080Z] GitHub has been notified of this commit’s build result [2023-04-18T11:16:30.080Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T11:16:30.607Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T11:16:30.608Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T11:16:30.608Z] Dload Upload Total Spent Left Speed [2023-04-18T11:16:30.608Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72039 0 --:--:-- --:--:-- --:--:-- 72448 [Pipeline] sh [2023-04-18T11:16:31.220Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T11:16:31.549Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T11:16:31.549Z] + sudo tee /etc/docker/daemon.new [2023-04-18T11:16:31.549Z] { [2023-04-18T11:16:31.549Z] "registry-mirrors": [ [2023-04-18T11:16:31.549Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T11:16:31.549Z] ], [2023-04-18T11:16:31.549Z] "bip": "10.250.0.254/24", [2023-04-18T11:16:31.549Z] "hosts": [ [2023-04-18T11:16:31.549Z] "tcp://0.0.0.0:5555", [2023-04-18T11:16:31.549Z] "unix:///var/run/docker.sock" [2023-04-18T11:16:31.549Z] ], [2023-04-18T11:16:31.549Z] "mtu": 1458, [2023-04-18T11:16:31.549Z] "selinux-enabled": true, [2023-04-18T11:16:31.549Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T11:16:31.549Z] } [Pipeline] sh [2023-04-18T11:16:31.645Z] 2f39f015ded8: Pull complete [2023-04-18T11:16:31.645Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T11:16:31.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T11:16:31.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:16:31.732Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:16:31.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T11:16:31.875Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-04-18T11:16:36.150Z] $ docker top 12d7399dcc6a178244bde00b94268cc7d0797ac5cb87f6aa81327f1ddbffe50d -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:16:36.520Z] + sudo service docker restart [2023-04-18T11:16:36.587Z] ---> job-cost.sh [2023-04-18T11:16:36.588Z] lf-activate-venv: SKIPPING [2023-04-18T11:16:36.588Z] INFO: No Stack... [2023-04-18T11:16:36.846Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T11:16:37.103Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T11:16:37.386Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-04-18T11:16:37.387Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T11:16:37.400Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-71-stack-cost] [2023-04-18T11:16:37.406Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-71-stack-cost] did not exist. Created. [2023-04-18T11:16:37.406Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T11:16:37.709Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T11:16:37.735Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T11:16:37.741Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T11:16:37.767Z] $ docker stop --time=1 12d7399dcc6a178244bde00b94268cc7d0797ac5cb87f6aa81327f1ddbffe50d [2023-04-18T11:16:38.920Z] $ docker rm -f --volumes 12d7399dcc6a178244bde00b94268cc7d0797ac5cb87f6aa81327f1ddbffe50d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:16:54.757Z] provisioning config files... [2023-04-18T11:16:54.783Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/71@tmp/config12430545821442080667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:16:55.132Z] ---> docker-login.sh [2023-04-18T11:16:55.132Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:16:55.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:55.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:55.987Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:55.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:55.987Z] [2023-04-18T11:16:55.987Z] Login Succeeded [2023-04-18T11:16:55.987Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:16:55.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:56.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:56.254Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:56.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:56.254Z] [2023-04-18T11:16:56.254Z] Login Succeeded [2023-04-18T11:16:56.254Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:16:56.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:56.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:56.524Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:56.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:56.524Z] [2023-04-18T11:16:56.524Z] Login Succeeded [2023-04-18T11:16:56.524Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:16:56.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:56.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:56.794Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:56.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:56.794Z] [2023-04-18T11:16:56.794Z] Login Succeeded [2023-04-18T11:16:56.794Z] docker.io [2023-04-18T11:16:57.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:16:57.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:16:57.334Z] Configure a credential helper to remove this warning. See [2023-04-18T11:16:57.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:16:57.334Z] [2023-04-18T11:16:57.334Z] Login Succeeded [2023-04-18T11:16:57.334Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:16:57.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T11:16:57.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:16:57.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:16:57.629Z] ========================================================= [2023-04-18T11:16:57.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T11:16:57.629Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:16:57.973Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T11:16:58.243Z] Sending build context to Docker daemon 2.984MB [2023-04-18T11:16:58.243Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T11:16:58.243Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T11:16:58.513Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T11:16:58.513Z] af6eaf76a39c: Pulling fs layer [2023-04-18T11:16:58.513Z] 55522c791124: Pulling fs layer [2023-04-18T11:16:58.513Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T11:16:58.513Z] 169dfbe0d373: Pulling fs layer [2023-04-18T11:16:58.513Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T11:16:58.513Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T11:16:58.513Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T11:16:58.513Z] e1ff8fa3b103: Waiting [2023-04-18T11:16:58.513Z] 52ebb69f0ebf: Waiting [2023-04-18T11:16:58.513Z] 5abe8eddf0d5: Waiting [2023-04-18T11:16:58.513Z] 169dfbe0d373: Waiting [2023-04-18T11:16:58.513Z] 55522c791124: Verifying Checksum [2023-04-18T11:16:58.513Z] 55522c791124: Download complete [2023-04-18T11:16:58.513Z] 169dfbe0d373: Verifying Checksum [2023-04-18T11:16:58.513Z] 169dfbe0d373: Download complete [2023-04-18T11:16:58.513Z] e1ff8fa3b103: Download complete [2023-04-18T11:16:58.513Z] af6eaf76a39c: Verifying Checksum [2023-04-18T11:16:58.513Z] af6eaf76a39c: Download complete [2023-04-18T11:16:59.957Z] af6eaf76a39c: Pull complete [2023-04-18T11:16:59.957Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T11:16:59.957Z] 5abe8eddf0d5: Download complete [2023-04-18T11:17:00.549Z] 55522c791124: Pull complete [2023-04-18T11:17:01.149Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T11:17:01.149Z] 52ebb69f0ebf: Download complete [2023-04-18T11:17:01.149Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T11:17:01.149Z] ce5c4a1c91eb: Download complete [2023-04-18T11:17:13.489Z] ce5c4a1c91eb: Pull complete [2023-04-18T11:17:13.489Z] 169dfbe0d373: Pull complete [2023-04-18T11:17:13.489Z] e1ff8fa3b103: Pull complete [2023-04-18T11:17:20.188Z] 52ebb69f0ebf: Pull complete [2023-04-18T11:17:21.634Z] 5abe8eddf0d5: Pull complete [2023-04-18T11:17:21.634Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T11:17:21.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T11:17:21.634Z] ---> 6cb57ee374ae [2023-04-18T11:17:21.634Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T11:17:23.160Z] ---> Running in 5a53f5faac17 [2023-04-18T11:17:23.435Z] Removing intermediate container 5a53f5faac17 [2023-04-18T11:17:23.435Z] ---> 2eb96219131c [2023-04-18T11:17:23.435Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T11:17:23.754Z] ---> Running in 5a88149d5b1c [2023-04-18T11:17:23.754Z] Removing intermediate container 5a88149d5b1c [2023-04-18T11:17:23.754Z] ---> 3723ef4b207c [2023-04-18T11:17:23.754Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T11:17:24.026Z] ---> Running in a226079a40bf [2023-04-18T11:17:24.296Z] Removing intermediate container a226079a40bf [2023-04-18T11:17:24.296Z] ---> e9613e436b1e [2023-04-18T11:17:24.296Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T11:17:24.296Z] ---> Running in 4c3b7bf97c8f [2023-04-18T11:17:24.566Z] Removing intermediate container 4c3b7bf97c8f [2023-04-18T11:17:24.566Z] ---> 0854ac1ea030 [2023-04-18T11:17:24.566Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T11:17:24.841Z] ---> Running in 2ebdfffb5de9 [2023-04-18T11:17:25.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T11:17:26.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T11:17:27.359Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T11:17:27.359Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T11:17:27.359Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T11:17:27.359Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T11:17:27.631Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T11:17:27.631Z] OK: 268 MiB in 57 packages [2023-04-18T11:17:28.614Z] Removing intermediate container 2ebdfffb5de9 [2023-04-18T11:17:28.614Z] ---> f0c3565f5780 [2023-04-18T11:17:28.614Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-18T11:17:28.614Z] ---> Running in eb7fe3248536 [2023-04-18T11:17:28.881Z] Removing intermediate container eb7fe3248536 [2023-04-18T11:17:28.881Z] ---> b9b4c7df5173 [2023-04-18T11:17:28.881Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T11:17:29.465Z] ---> 40f32975bc49 [2023-04-18T11:17:29.465Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T11:17:29.465Z] ---> Running in ade1e257cb6a [2023-04-18T11:18:37.354Z] Removing intermediate container ade1e257cb6a [2023-04-18T11:18:37.354Z] ---> 7cae2ce3f280 [2023-04-18T11:18:37.354Z] Step 11/12 : COPY . . [2023-04-18T11:18:37.354Z] ---> e0e20224d023 [2023-04-18T11:18:37.354Z] Step 12/12 : RUN ${MAKE} [2023-04-18T11:18:37.354Z] ---> Running in 6654ff9e26ec [2023-04-18T11:18:37.354Z] noop [2023-04-18T11:18:37.354Z] Removing intermediate container 6654ff9e26ec [2023-04-18T11:18:37.354Z] ---> d6811d00c486 [2023-04-18T11:18:37.354Z] Successfully built d6811d00c486 [2023-04-18T11:18:37.354Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:18:37.726Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T11:18:37.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:18:37.915Z] prd-ubuntu20.04-docker-arm64-4c-16g-8908 does not seem to be running inside a container [2023-04-18T11:18:37.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/71 -v /w/workspace/device-snmp-go/71:/w/workspace/device-snmp-go/71:rw,z -v /w/workspace/device-snmp-go/71@tmp:/w/workspace/device-snmp-go/71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T11:18:39.144Z] $ docker top ab87c15e326b04fb57e68c36b25bf72c467618660fbb91c9e8d51377a34c9d9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:18:39.982Z] + go version [2023-04-18T11:18:39.982Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T11:18:40.011Z] $ docker stop --time=1 ab87c15e326b04fb57e68c36b25bf72c467618660fbb91c9e8d51377a34c9d9c [2023-04-18T11:18:42.055Z] $ docker rm -f --volumes ab87c15e326b04fb57e68c36b25bf72c467618660fbb91c9e8d51377a34c9d9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:18:42.582Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T11:18:42.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:18:42.764Z] prd-ubuntu20.04-docker-arm64-4c-16g-8908 does not seem to be running inside a container [2023-04-18T11:18:42.835Z] $ 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/71 -v /w/workspace/device-snmp-go/71:/w/workspace/device-snmp-go/71:rw,z -v /w/workspace/device-snmp-go/71@tmp:/w/workspace/device-snmp-go/71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T11:18:44.005Z] $ docker top 69efcd4f2d39741e373b6906afe99bd594c749a445686939fd22b21961ca21b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:18:44.517Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/71 [Pipeline] fileExists [Pipeline] sh [2023-04-18T11:18:44.849Z] + make test [2023-04-18T11:18:45.121Z] go test ./... -coverprofile=coverage.out [2023-04-18T11:19:17.376Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-18T11:21:09.033Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-18T11:21:09.033Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements [2023-04-18T11:21:09.619Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T11:21:09.619Z] go vet ./... [2023-04-18T11:21:41.884Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T11:21:41.884Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T11:21:41.884Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T11:21:42.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T11:21:42.189Z] $ docker stop --time=1 69efcd4f2d39741e373b6906afe99bd594c749a445686939fd22b21961ca21b6 [2023-04-18T11:21:43.984Z] $ docker rm -f --volumes 69efcd4f2d39741e373b6906afe99bd594c749a445686939fd22b21961ca21b6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T11:21:45.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T11:21:45.170Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T11:21:45.595Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T11:21:46.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T11:21:46.331Z] + ls -al . [2023-04-18T11:21:46.331Z] total 168 [2023-04-18T11:21:46.331Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:18 . [2023-04-18T11:21:46.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:16 .. [2023-04-18T11:21:46.331Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 18 11:16 .dockerignore [2023-04-18T11:21:46.331Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:16 .git [2023-04-18T11:21:46.331Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:16 .github [2023-04-18T11:21:46.331Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 18 11:16 .gitignore [2023-04-18T11:21:46.331Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:16 .golangci.yml [2023-04-18T11:21:46.331Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 18 11:16 Attribution.txt [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 18 11:16 CHANGELOG.md [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 18 11:16 Dockerfile [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:16 GOVERNANCE.md [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 18 11:16 Jenkinsfile [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:16 LICENSE [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 18 11:16 Makefile [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 11:16 OWNERS.md [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 18 11:16 README.md [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 11:14 VERSION [2023-04-18T11:21:46.332Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:16 bin [2023-04-18T11:21:46.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:16 cmd [2023-04-18T11:21:46.332Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 18 11:21 coverage.out [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 18 11:16 go.mod [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 31551 Apr 18 11:16 go.sum [2023-04-18T11:21:46.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:16 internal [2023-04-18T11:21:46.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:16 snap [2023-04-18T11:21:46.332Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 18 11:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:21:46.675Z] + 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=9516c9f86bfab3f780b93b970f8360439339a3f4 --label arch=arm64 --label version=3.0.0-dev.14 . [2023-04-18T11:21:46.944Z] Sending build context to Docker daemon 2.994MB [2023-04-18T11:21:46.944Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T11:21:46.944Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-18T11:21:46.944Z] ---> d6811d00c486 [2023-04-18T11:21:46.944Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-18T11:21:50.287Z] ---> Running in 88d9d488184e [2023-04-18T11:21:50.287Z] Removing intermediate container 88d9d488184e [2023-04-18T11:21:50.287Z] ---> 9336f4ff6432 [2023-04-18T11:21:50.287Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T11:21:50.287Z] ---> Running in dc4faceb7c9f [2023-04-18T11:21:50.555Z] Removing intermediate container dc4faceb7c9f [2023-04-18T11:21:50.555Z] ---> 3a29842dcb8f [2023-04-18T11:21:50.555Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-18T11:21:50.555Z] ---> Running in 8996fb6f486e [2023-04-18T11:21:50.826Z] Removing intermediate container 8996fb6f486e [2023-04-18T11:21:50.826Z] ---> 766fb0d5c358 [2023-04-18T11:21:50.826Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T11:21:51.097Z] ---> Running in 59f0c5a8f38f [2023-04-18T11:21:51.367Z] Removing intermediate container 59f0c5a8f38f [2023-04-18T11:21:51.367Z] ---> 509b408751fc [2023-04-18T11:21:51.367Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T11:21:51.367Z] ---> Running in 1b5c4b493e20 [2023-04-18T11:21:52.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T11:21:53.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T11:21:54.472Z] OK: 268 MiB in 57 packages [2023-04-18T11:21:55.058Z] Removing intermediate container 1b5c4b493e20 [2023-04-18T11:21:55.058Z] ---> e2a60212893a [2023-04-18T11:21:55.058Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-18T11:21:55.058Z] ---> Running in d1662d1ae486 [2023-04-18T11:21:55.327Z] Removing intermediate container d1662d1ae486 [2023-04-18T11:21:55.327Z] ---> 6bd4ddc423b7 [2023-04-18T11:21:55.327Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-18T11:21:55.913Z] ---> bfb71f14d945 [2023-04-18T11:21:55.913Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T11:21:55.913Z] ---> Running in 300031bd5ca9 [2023-04-18T11:21:58.530Z] Removing intermediate container 300031bd5ca9 [2023-04-18T11:21:58.530Z] ---> 34e31ee89c46 [2023-04-18T11:21:58.530Z] Step 11/24 : COPY . . [2023-04-18T11:21:59.497Z] ---> 9b5ba5857755 [2023-04-18T11:21:59.497Z] Step 12/24 : RUN ${MAKE} [2023-04-18T11:21:59.497Z] ---> Running in 5ff6b4831772 [2023-04-18T11:22:00.459Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.14" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-18T11:24:22.452Z] Removing intermediate container 5ff6b4831772 [2023-04-18T11:24:22.452Z] ---> 23062348d51a [2023-04-18T11:24:22.452Z] Step 13/24 : FROM alpine:3.17 [2023-04-18T11:24:22.452Z] 3.17: Pulling from library/alpine [2023-04-18T11:24:22.452Z] c41833b44d91: Pulling fs layer [2023-04-18T11:24:22.452Z] c41833b44d91: Verifying Checksum [2023-04-18T11:24:22.452Z] c41833b44d91: Download complete [2023-04-18T11:24:22.452Z] c41833b44d91: Pull complete [2023-04-18T11:24:22.452Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T11:24:22.452Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T11:24:22.452Z] ---> 51e60588ff2c [2023-04-18T11:24:22.452Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-18T11:24:22.452Z] ---> Running in 83ed64f73482 [2023-04-18T11:24:22.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T11:24:22.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T11:24:22.452Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T11:24:22.452Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T11:24:22.452Z] OK: 8 MiB in 16 packages [2023-04-18T11:24:22.452Z] Removing intermediate container 83ed64f73482 [2023-04-18T11:24:22.452Z] ---> 39afc85487a2 [2023-04-18T11:24:22.452Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-18T11:24:22.726Z] ---> 5f9d45ea3cb1 [2023-04-18T11:24:22.726Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-18T11:24:23.312Z] ---> 85d3f1db266b [2023-04-18T11:24:23.312Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-18T11:24:23.897Z] ---> d1ca3c5f805d [2023-04-18T11:24:23.897Z] Step 18/24 : EXPOSE 59993 [2023-04-18T11:24:23.897Z] ---> Running in b2207b597657 [2023-04-18T11:24:24.165Z] Removing intermediate container b2207b597657 [2023-04-18T11:24:24.165Z] ---> 32316d9d1538 [2023-04-18T11:24:24.165Z] Step 19/24 : EXPOSE 161 [2023-04-18T11:24:24.431Z] ---> Running in bca1f6479909 [2023-04-18T11:24:24.699Z] Removing intermediate container bca1f6479909 [2023-04-18T11:24:24.699Z] ---> f2c6cc6ce0d6 [2023-04-18T11:24:24.699Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-18T11:24:24.699Z] ---> Running in 412902c95ed3 [2023-04-18T11:24:24.967Z] Removing intermediate container 412902c95ed3 [2023-04-18T11:24:24.967Z] ---> 674ae5ecb0a2 [2023-04-18T11:24:24.967Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T11:24:25.237Z] ---> Running in e849fafa809a [2023-04-18T11:24:25.502Z] Removing intermediate container e849fafa809a [2023-04-18T11:24:25.502Z] ---> 8eb88d5611e6 [2023-04-18T11:24:25.502Z] Step 22/24 : LABEL arch=arm64 [2023-04-18T11:24:25.502Z] ---> Running in 207298bb13f7 [2023-04-18T11:24:25.769Z] Removing intermediate container 207298bb13f7 [2023-04-18T11:24:25.769Z] ---> 31ff97f8719c [2023-04-18T11:24:25.769Z] Step 23/24 : LABEL git_sha=9516c9f86bfab3f780b93b970f8360439339a3f4 [2023-04-18T11:24:25.769Z] ---> Running in d360549d8a94 [2023-04-18T11:24:26.041Z] Removing intermediate container d360549d8a94 [2023-04-18T11:24:26.041Z] ---> 7d3c0c735615 [2023-04-18T11:24:26.041Z] Step 24/24 : LABEL version=3.0.0-dev.14 [2023-04-18T11:24:26.041Z] ---> Running in 26d4bacb2cc0 [2023-04-18T11:24:26.307Z] Removing intermediate container 26d4bacb2cc0 [2023-04-18T11:24:26.307Z] ---> a66ff2e20758 [2023-04-18T11:24:26.307Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T11:24:26.576Z] Successfully built a66ff2e20758 [2023-04-18T11:24:26.576Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:24:26.700Z] provisioning config files... [2023-04-18T11:24:26.715Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/71@tmp/config7366917781693382421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:24:27.054Z] ---> docker-login.sh [2023-04-18T11:24:27.055Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:24:27.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:24:27.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:24:27.324Z] Configure a credential helper to remove this warning. See [2023-04-18T11:24:27.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:24:27.324Z] [2023-04-18T11:24:27.324Z] Login Succeeded [2023-04-18T11:24:27.324Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:24:27.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:24:27.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:24:27.594Z] Configure a credential helper to remove this warning. See [2023-04-18T11:24:27.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:24:27.594Z] [2023-04-18T11:24:27.594Z] Login Succeeded [2023-04-18T11:24:27.594Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:24:27.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:24:28.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:24:28.133Z] Configure a credential helper to remove this warning. See [2023-04-18T11:24:28.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:24:28.133Z] [2023-04-18T11:24:28.133Z] Login Succeeded [2023-04-18T11:24:28.133Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:24:28.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:24:28.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:24:28.401Z] Configure a credential helper to remove this warning. See [2023-04-18T11:24:28.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:24:28.401Z] [2023-04-18T11:24:28.401Z] Login Succeeded [2023-04-18T11:24:28.401Z] docker.io [2023-04-18T11:24:28.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:24:28.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:24:28.936Z] Configure a credential helper to remove this warning. See [2023-04-18T11:24:28.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:24:28.936Z] [2023-04-18T11:24:28.936Z] Login Succeeded [2023-04-18T11:24:28.936Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:24:28.948Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T11:24:28.976Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:24:28.992Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-04-18T11:24:28.992Z] 9516c9f86bfab3f780b93b970f8360439339a3f4 [2023-04-18T11:24:28.992Z] latest [2023-04-18T11:24:28.992Z] 3.0.0-dev.14 [2023-04-18T11:24:28.992Z] 9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14 [2023-04-18T11:24:28.992Z] main [2023-04-18T11:24:28.992Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:29.327Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9516c9f86bfab3f780b93b970f8360439339a3f4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:29.671Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9516c9f86bfab3f780b93b970f8360439339a3f4 [2023-04-18T11:24:29.672Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-18T11:24:29.672Z] b6694c737074: Preparing [2023-04-18T11:24:29.672Z] 62c7c04f04f8: Preparing [2023-04-18T11:24:29.672Z] ca454842f83c: Preparing [2023-04-18T11:24:29.672Z] fc82d766e14f: Preparing [2023-04-18T11:24:29.672Z] 26cbea5cba74: Preparing [2023-04-18T11:24:29.672Z] 26cbea5cba74: Layer already exists [2023-04-18T11:24:29.940Z] fc82d766e14f: Pushed [2023-04-18T11:24:29.940Z] 62c7c04f04f8: Pushed [2023-04-18T11:24:29.940Z] b6694c737074: Pushed [2023-04-18T11:24:36.593Z] ca454842f83c: Pushed [2023-04-18T11:24:36.593Z] 9516c9f86bfab3f780b93b970f8360439339a3f4: digest: sha256:ae143743af3ba8c96dc1f8a66ab2c6ee161794b693be42fcbd6b30cc8850cb8c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:36.956Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:37.300Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-18T11:24:37.300Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-18T11:24:37.300Z] b6694c737074: Preparing [2023-04-18T11:24:37.300Z] 62c7c04f04f8: Preparing [2023-04-18T11:24:37.300Z] ca454842f83c: Preparing [2023-04-18T11:24:37.300Z] fc82d766e14f: Preparing [2023-04-18T11:24:37.300Z] 26cbea5cba74: Preparing [2023-04-18T11:24:37.300Z] ca454842f83c: Layer already exists [2023-04-18T11:24:37.300Z] b6694c737074: Layer already exists [2023-04-18T11:24:37.300Z] 62c7c04f04f8: Layer already exists [2023-04-18T11:24:37.300Z] fc82d766e14f: Layer already exists [2023-04-18T11:24:37.300Z] 26cbea5cba74: Layer already exists [2023-04-18T11:24:37.568Z] latest: digest: sha256:ae143743af3ba8c96dc1f8a66ab2c6ee161794b693be42fcbd6b30cc8850cb8c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:37.916Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:38.260Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.14 [2023-04-18T11:24:38.260Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-18T11:24:38.260Z] b6694c737074: Preparing [2023-04-18T11:24:38.260Z] 62c7c04f04f8: Preparing [2023-04-18T11:24:38.260Z] ca454842f83c: Preparing [2023-04-18T11:24:38.260Z] fc82d766e14f: Preparing [2023-04-18T11:24:38.260Z] 26cbea5cba74: Preparing [2023-04-18T11:24:38.260Z] ca454842f83c: Layer already exists [2023-04-18T11:24:38.260Z] fc82d766e14f: Layer already exists [2023-04-18T11:24:38.260Z] 62c7c04f04f8: Layer already exists [2023-04-18T11:24:38.260Z] b6694c737074: Layer already exists [2023-04-18T11:24:38.260Z] 26cbea5cba74: Layer already exists [2023-04-18T11:24:38.528Z] 3.0.0-dev.14: digest: sha256:ae143743af3ba8c96dc1f8a66ab2c6ee161794b693be42fcbd6b30cc8850cb8c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:38.876Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:39.220Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14 [2023-04-18T11:24:39.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-18T11:24:39.220Z] b6694c737074: Preparing [2023-04-18T11:24:39.220Z] 62c7c04f04f8: Preparing [2023-04-18T11:24:39.220Z] ca454842f83c: Preparing [2023-04-18T11:24:39.220Z] fc82d766e14f: Preparing [2023-04-18T11:24:39.220Z] 26cbea5cba74: Preparing [2023-04-18T11:24:39.220Z] b6694c737074: Layer already exists [2023-04-18T11:24:39.220Z] 62c7c04f04f8: Layer already exists [2023-04-18T11:24:39.220Z] fc82d766e14f: Layer already exists [2023-04-18T11:24:39.220Z] 26cbea5cba74: Layer already exists [2023-04-18T11:24:39.220Z] ca454842f83c: Layer already exists [2023-04-18T11:24:39.486Z] 9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14: digest: sha256:ae143743af3ba8c96dc1f8a66ab2c6ee161794b693be42fcbd6b30cc8850cb8c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:39.829Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:40.169Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-04-18T11:24:40.169Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-18T11:24:40.169Z] b6694c737074: Preparing [2023-04-18T11:24:40.169Z] 62c7c04f04f8: Preparing [2023-04-18T11:24:40.169Z] ca454842f83c: Preparing [2023-04-18T11:24:40.169Z] fc82d766e14f: Preparing [2023-04-18T11:24:40.169Z] 26cbea5cba74: Preparing [2023-04-18T11:24:40.169Z] ca454842f83c: Layer already exists [2023-04-18T11:24:40.169Z] 26cbea5cba74: Layer already exists [2023-04-18T11:24:40.169Z] b6694c737074: Layer already exists [2023-04-18T11:24:40.169Z] fc82d766e14f: Layer already exists [2023-04-18T11:24:40.169Z] 62c7c04f04f8: Layer already exists [2023-04-18T11:24:40.436Z] main: digest: sha256:ae143743af3ba8c96dc1f8a66ab2c6ee161794b693be42fcbd6b30cc8850cb8c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T11:24:40.484Z] ===================================================== [Pipeline] echo [2023-04-18T11:24:40.490Z] taggedImages: [2023-04-18T11:24:40.490Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9516c9f86bfab3f780b93b970f8360439339a3f4 [2023-04-18T11:24:40.490Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-18T11:24:40.490Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.14 [2023-04-18T11:24:40.490Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9516c9f86bfab3f780b93b970f8360439339a3f4-3.0.0-dev.14 [2023-04-18T11:24:40.490Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:40.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T11:24:40.837Z] [2023-04-18T11:24:40.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:24:41.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T11:24:41.169Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T11:24:41.169Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T11:24:41.169Z] 04944245beec: Pulling fs layer [2023-04-18T11:24:41.169Z] 699f458cf7ca: Pulling fs layer [2023-04-18T11:24:41.169Z] 765212b225bb: Pulling fs layer [2023-04-18T11:24:41.169Z] f23df028b6ca: Pulling fs layer [2023-04-18T11:24:41.169Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T11:24:41.169Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T11:24:41.169Z] f23df028b6ca: Waiting [2023-04-18T11:24:41.169Z] d65c8cfc05b1: Waiting [2023-04-18T11:24:41.169Z] 765212b225bb: Waiting [2023-04-18T11:24:41.169Z] 2437ff75d9bd: Waiting [2023-04-18T11:24:41.447Z] 04944245beec: Verifying Checksum [2023-04-18T11:24:41.447Z] 04944245beec: Download complete [2023-04-18T11:24:41.447Z] 765212b225bb: Verifying Checksum [2023-04-18T11:24:41.447Z] 765212b225bb: Download complete [2023-04-18T11:24:41.447Z] f23df028b6ca: Verifying Checksum [2023-04-18T11:24:41.447Z] f23df028b6ca: Download complete [2023-04-18T11:24:41.447Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T11:24:41.447Z] d65c8cfc05b1: Download complete [2023-04-18T11:24:41.718Z] 699f458cf7ca: Verifying Checksum [2023-04-18T11:24:41.718Z] 699f458cf7ca: Download complete [2023-04-18T11:24:41.987Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T11:24:41.987Z] 8998bd30e6a1: Download complete [2023-04-18T11:24:44.592Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T11:24:44.593Z] 2437ff75d9bd: Download complete [2023-04-18T11:24:46.540Z] 8998bd30e6a1: Pull complete [2023-04-18T11:24:46.540Z] 04944245beec: Pull complete [2023-04-18T11:24:47.949Z] 699f458cf7ca: Pull complete [2023-04-18T11:24:48.215Z] 765212b225bb: Pull complete [2023-04-18T11:24:49.183Z] f23df028b6ca: Pull complete [2023-04-18T11:24:49.183Z] d65c8cfc05b1: Pull complete [2023-04-18T11:25:04.173Z] 2437ff75d9bd: Pull complete [2023-04-18T11:25:04.173Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T11:25:04.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T11:25:04.173Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:25:04.364Z] prd-ubuntu20.04-docker-arm64-4c-16g-8908 does not seem to be running inside a container [2023-04-18T11:25:04.445Z] $ 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/71 -v /w/workspace/device-snmp-go/71:/w/workspace/device-snmp-go/71:rw,z -v /w/workspace/device-snmp-go/71@tmp:/w/workspace/device-snmp-go/71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T11:25:07.207Z] $ docker top 30086d342ee0458b7b822796c71783de1f519c73c40b800b5b5ebce15a135f34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:25:08.040Z] ---> job-cost.sh [2023-04-18T11:25:08.040Z] lf-activate-venv: SKIPPING [2023-04-18T11:25:08.040Z] INFO: No Stack... [2023-04-18T11:25:08.308Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T11:25:09.265Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T11:25:09.589Z] + cut -d, -f6 [2023-04-18T11:25:09.589Z] + cat /w/workspace/device-snmp-go/71/archives/cost.csv [Pipeline] lock [2023-04-18T11:25:09.623Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-71-stack-cost] [2023-04-18T11:25:09.631Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-71-stack-cost] did not exist. Created. [2023-04-18T11:25:09.631Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T11:25:09.965Z] /w/workspace/device-snmp-go/71@tmp/durable-c2588706/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T11:25:10.879Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T11:25:10.903Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T11:25:10.951Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T11:25:10.957Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T11:25:10.980Z] $ docker stop --time=1 30086d342ee0458b7b822796c71783de1f519c73c40b800b5b5ebce15a135f34 [2023-04-18T11:25:12.453Z] $ docker rm -f --volumes 30086d342ee0458b7b822796c71783de1f519c73c40b800b5b5ebce15a135f34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-18T11:25:12.877Z] provisioning config files... [2023-04-18T11:25:12.885Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3273418386241561159tmp [Pipeline] { [Pipeline] sh [2023-04-18T11:25:13.185Z] + set +x [2023-04-18T11:25:13.185Z] + + bash -s -- [2023-04-18T11:25:13.185Z] curl -s https://codecov.io/bash [2023-04-18T11:25:13.185Z] [2023-04-18T11:25:13.185Z] _____ _ [2023-04-18T11:25:13.185Z] / ____| | | [2023-04-18T11:25:13.185Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T11:25:13.185Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T11:25:13.185Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T11:25:13.185Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T11:25:13.185Z] Bash-1.0.6 [2023-04-18T11:25:13.185Z] [2023-04-18T11:25:13.185Z] [2023-04-18T11:25:13.185Z] ==> git version 2.25.1 found [2023-04-18T11:25:13.185Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-18T11:25:13.185Z] Release-Date: 2020-01-08 [2023-04-18T11:25:13.185Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-18T11:25:13.185Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T11:25:13.185Z] ==> Jenkins CI detected. [2023-04-18T11:25:13.185Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-04-18T11:25:13.185Z] project root: . [2023-04-18T11:25:13.185Z] --> token set from env [2023-04-18T11:25:13.185Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T11:25:13.185Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T11:25:13.185Z] ==> Python coveragepy not found [2023-04-18T11:25:13.185Z] ==> Searching for coverage reports in: [2023-04-18T11:25:13.185Z] + . [2023-04-18T11:25:13.185Z] -> Found 1 reports [2023-04-18T11:25:13.185Z] ==> Detecting git/mercurial file structure [2023-04-18T11:25:13.445Z] ==> Reading reports [2023-04-18T11:25:13.445Z] + ./coverage.out bytes=8837 [2023-04-18T11:25:13.445Z] ==> Appending adjustments [2023-04-18T11:25:13.445Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T11:25:13.445Z] + Found adjustments [2023-04-18T11:25:13.445Z] ==> Gzipping contents [2023-04-18T11:25:13.445Z] 4.0K /tmp/codecov.nJIwvk.gz [2023-04-18T11:25:13.445Z] ==> Uploading reports [2023-04-18T11:25:13.445Z] url: https://codecov.io [2023-04-18T11:25:13.445Z] query: branch=main&commit=9516c9f86bfab3f780b93b970f8360439339a3f4&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T11:25:13.445Z] -> Pinging Codecov [2023-04-18T11:25:13.445Z] 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=9516c9f86bfab3f780b93b970f8360439339a3f4&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T11:25:13.703Z] -> Uploading to [2023-04-18T11:25:13.703Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/6C56EA5C29638FB4528AC87E60AF5AE0/9516c9f86bfab3f780b93b970f8360439339a3f4/8d22c22e-7c50-4ec9-bfc8-ba70f628129e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T112513Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23f4592b29b53ed74d352fe001bee8a55f11f563ed21ab9328c43b4d7915dcf4 [2023-04-18T11:25:13.703Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T11:25:13.703Z] Dload Upload Total Spent Left Speed [2023-04-18T11:25:13.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7391 --:--:-- --:--:-- --:--:-- 7357 100 1604 0 0 100 1604 0 6973 --:--:-- --:--:-- --:--:-- 6943 [2023-04-18T11:25:13.703Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/9516c9f86bfab3f780b93b970f8360439339a3f4 [Pipeline] } [2023-04-18T11:25:13.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-18T11:25:13.950Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-18T11:25:13.966Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:25:14.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T11:25:14.261Z] [2023-04-18T11:25:14.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:25:14.557Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T11:25:14.557Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-18T11:25:14.557Z] df9b9388f04a: Pulling fs layer [2023-04-18T11:25:14.557Z] 52dc419b0ee2: Pulling fs layer [2023-04-18T11:25:14.557Z] 25bc292e5bac: Pulling fs layer [2023-04-18T11:25:14.557Z] 114826534d7a: Pulling fs layer [2023-04-18T11:25:14.557Z] 4657fd5d0bcf: Pulling fs layer [2023-04-18T11:25:14.557Z] 6ad1cebc031e: Pulling fs layer [2023-04-18T11:25:14.557Z] 8a3aa393b2d8: Pulling fs layer [2023-04-18T11:25:14.557Z] 4657fd5d0bcf: Waiting [2023-04-18T11:25:14.557Z] 114826534d7a: Waiting [2023-04-18T11:25:14.557Z] 6ad1cebc031e: Waiting [2023-04-18T11:25:14.557Z] 8a3aa393b2d8: Waiting [2023-04-18T11:25:14.557Z] 25bc292e5bac: Download complete [2023-04-18T11:25:14.557Z] 52dc419b0ee2: Verifying Checksum [2023-04-18T11:25:14.557Z] 52dc419b0ee2: Download complete [2023-04-18T11:25:14.557Z] 4657fd5d0bcf: Download complete [2023-04-18T11:25:14.557Z] df9b9388f04a: Download complete [2023-04-18T11:25:14.816Z] 6ad1cebc031e: Verifying Checksum [2023-04-18T11:25:14.816Z] 6ad1cebc031e: Download complete [2023-04-18T11:25:14.816Z] df9b9388f04a: Pull complete [2023-04-18T11:25:14.816Z] 52dc419b0ee2: Pull complete [2023-04-18T11:25:15.076Z] 25bc292e5bac: Pull complete [2023-04-18T11:25:15.335Z] 114826534d7a: Download complete [2023-04-18T11:25:15.335Z] 8a3aa393b2d8: Verifying Checksum [2023-04-18T11:25:15.335Z] 8a3aa393b2d8: Download complete [2023-04-18T11:25:18.618Z] 114826534d7a: Pull complete [2023-04-18T11:25:18.618Z] 4657fd5d0bcf: Pull complete [2023-04-18T11:25:18.618Z] 6ad1cebc031e: Pull complete [2023-04-18T11:25:21.149Z] 8a3aa393b2d8: Pull complete [2023-04-18T11:25:21.149Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-18T11:25:21.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T11:25:21.149Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:25:21.236Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:25:21.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-18T11:25:25.655Z] $ docker top 2a9f3ffeb5a0c78d29697c0c4a604e0135af05574580455d2ff6575435d532f2 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-18T11:25:25.719Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-04-18T11:25:25.996Z] + set -o pipefail [2023-04-18T11:25:25.996Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-04-18T11:25:31.263Z] [2023-04-18T11:25:31.263Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-04-18T11:25:31.263Z] [2023-04-18T11:25:31.263Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/f7768c88-8529-4a40-95a4-a264f50c8785 [2023-04-18T11:25:31.263Z] [2023-04-18T11:25:31.263Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-18T11:25:31.263Z] [2023-04-18T11:25:31.263Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-18T11:25:31.263Z] [2023-04-18T11:25:31.263Z] [2023-04-18T11:25:31.263Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-18T11:25:31.263Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-18T11:25:31.263Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-18T11:25:31.277Z] $ docker stop --time=1 2a9f3ffeb5a0c78d29697c0c4a604e0135af05574580455d2ff6575435d532f2 [2023-04-18T11:25:34.579Z] $ docker rm -f --volumes 2a9f3ffeb5a0c78d29697c0c4a604e0135af05574580455d2ff6575435d532f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T11:25:35.253Z] + git log --format=format:%s -1 9516c9f86bfab3f780b93b970f8360439339a3f4 [Pipeline] sh [2023-04-18T11:25:35.542Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T11:25:35.542Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:25:35.834Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:25:35.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:25:35.902Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:25:35.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T11:25:36.346Z] $ docker top a9a11cd4cab427564e89abd6039f616f4f1d7d4c3119cb563af565d6dd84014f -eo pid,comm [2023-04-18T11:25:36.389Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-18T11:25:36.389Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T11:25:36.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:25:36.428Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:25:36.541Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:25:36.547Z] $ docker exec a9a11cd4cab427564e89abd6039f616f4f1d7d4c3119cb563af565d6dd84014f ssh-agent [2023-04-18T11:25:36.661Z] SSH_AUTH_SOCK=/tmp/ssh-uNSXUg0sXMPj/agent.31 [2023-04-18T11:25:36.661Z] SSH_AGENT_PID=37 [2023-04-18T11:25:36.666Z] Running ssh-add (command line suppressed) [2023-04-18T11:25:36.773Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16775892623309159710.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16775892623309159710.key) [2023-04-18T11:25:36.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:25:37.078Z] + git semver tag [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,248 [run_tag] DEBUG tag force:False [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,248 [check_head_tag] DEBUG check head tag [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,249 [execute] INFO git cat-file --batch-check [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,253 [execute] INFO git cat-file --batch [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,271 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,271 [execute] INFO git tag -a v3.0.0-dev.14 -m v3.0.0-dev.14 [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,271 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.14', '-m', 'v3.0.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-18T11:25:37.337Z] 2023-04-18 11:25:37,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-18T11:25:37.337Z] 3.0.0-dev.14 [Pipeline] } [2023-04-18T11:25:37.350Z] $ docker exec --env ******** --env ******** a9a11cd4cab427564e89abd6039f616f4f1d7d4c3119cb563af565d6dd84014f ssh-agent -k [2023-04-18T11:25:37.450Z] unset SSH_AUTH_SOCK; [2023-04-18T11:25:37.451Z] unset SSH_AGENT_PID; [2023-04-18T11:25:37.451Z] echo Agent pid 37 killed; [2023-04-18T11:25:37.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T11:25:37.767Z] + git semver [Pipeline] } [2023-04-18T11:25:38.039Z] $ docker stop --time=1 a9a11cd4cab427564e89abd6039f616f4f1d7d4c3119cb563af565d6dd84014f [2023-04-18T11:25:39.324Z] $ docker rm -f --volumes a9a11cd4cab427564e89abd6039f616f4f1d7d4c3119cb563af565d6dd84014f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:25:39.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T11:25:39.701Z] [2023-04-18T11:25:39.701Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:25:39.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T11:25:39.993Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-18T11:25:39.993Z] ab5ef0e58194: Pulling fs layer [2023-04-18T11:25:39.993Z] 9712f1f96733: Pulling fs layer [2023-04-18T11:25:39.993Z] 63f879dbbcfc: Pulling fs layer [2023-04-18T11:25:39.993Z] 0d9ebad4ef96: Pulling fs layer [2023-04-18T11:25:39.993Z] e9a5061849ea: Pulling fs layer [2023-04-18T11:25:39.993Z] d747dcd14b5f: Pulling fs layer [2023-04-18T11:25:39.993Z] 2de7ff778b66: Pulling fs layer [2023-04-18T11:25:39.993Z] 0d9ebad4ef96: Waiting [2023-04-18T11:25:39.993Z] e9a5061849ea: Waiting [2023-04-18T11:25:39.993Z] d747dcd14b5f: Waiting [2023-04-18T11:25:39.993Z] 2de7ff778b66: Waiting [2023-04-18T11:25:39.993Z] 9712f1f96733: Download complete [2023-04-18T11:25:40.251Z] 63f879dbbcfc: Verifying Checksum [2023-04-18T11:25:40.251Z] 63f879dbbcfc: Download complete [2023-04-18T11:25:40.251Z] e9a5061849ea: Verifying Checksum [2023-04-18T11:25:40.251Z] e9a5061849ea: Download complete [2023-04-18T11:25:40.251Z] d747dcd14b5f: Verifying Checksum [2023-04-18T11:25:40.251Z] d747dcd14b5f: Download complete [2023-04-18T11:25:40.509Z] 2de7ff778b66: Verifying Checksum [2023-04-18T11:25:40.509Z] 2de7ff778b66: Download complete [2023-04-18T11:25:40.509Z] ab5ef0e58194: Download complete [2023-04-18T11:25:40.509Z] 0d9ebad4ef96: Verifying Checksum [2023-04-18T11:25:40.509Z] 0d9ebad4ef96: Download complete [2023-04-18T11:25:43.037Z] ab5ef0e58194: Pull complete [2023-04-18T11:25:43.038Z] 9712f1f96733: Pull complete [2023-04-18T11:25:43.603Z] 63f879dbbcfc: Pull complete [2023-04-18T11:25:46.905Z] 0d9ebad4ef96: Pull complete [2023-04-18T11:25:47.164Z] e9a5061849ea: Pull complete [2023-04-18T11:25:47.421Z] d747dcd14b5f: Pull complete [2023-04-18T11:25:48.355Z] 2de7ff778b66: Pull complete [2023-04-18T11:25:48.355Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-18T11:25:48.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T11:25:48.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:25:48.427Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:25:48.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-18T11:25:53.789Z] $ docker top b9b0d2fa9a1af3deba2691dba2dbb66e319c31d7f139f0cc7b9d536f7ad4c94b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:25:53.858Z] provisioning config files... [2023-04-18T11:25:53.864Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7516238849436964820tmp [2023-04-18T11:25:53.874Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15148212164192103694tmp [2023-04-18T11:25:53.885Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4042243477799296060tmp [Pipeline] { [Pipeline] echo [2023-04-18T11:25:53.899Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:25:54.185Z] ---> sigul-configuration.sh [2023-04-18T11:25:54.185Z] gpg: directory `/root/.gnupg' created [2023-04-18T11:25:54.185Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-18T11:25:54.185Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-18T11:25:54.185Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-18T11:25:54.185Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-18T11:25:54.185Z] gpg: CAST5 encrypted data [2023-04-18T11:25:54.185Z] gpg: encrypted with 1 passphrase [2023-04-18T11:25:54.185Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-18T11:25:54.478Z] + mkdir /home/jenkins [2023-04-18T11:25:54.478Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-18T11:25:54.765Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-04-18T11:25:54.773Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:25:55.056Z] ---> sigul-install.sh [2023-04-18T11:25:55.057Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-18T11:25:55.342Z] + git tag --list [2023-04-18T11:25:55.342Z] 1.0.0 [2023-04-18T11:25:55.342Z] v0.0.0 [2023-04-18T11:25:55.342Z] v1.1.0 [2023-04-18T11:25:55.342Z] v1.1.1 [2023-04-18T11:25:55.342Z] v1.2.2 [2023-04-18T11:25:55.342Z] v1.3.0 [2023-04-18T11:25:55.342Z] v1.3.1 [2023-04-18T11:25:55.342Z] v2.0.0 [2023-04-18T11:25:55.342Z] v2.1.0 [2023-04-18T11:25:55.342Z] v2.1.1 [2023-04-18T11:25:55.342Z] v2.1.1-dev.2 [2023-04-18T11:25:55.342Z] v2.1.1-dev.3 [2023-04-18T11:25:55.342Z] v2.2.0 [2023-04-18T11:25:55.342Z] v2.2.1-dev.1 [2023-04-18T11:25:55.342Z] v2.2.1-dev.2 [2023-04-18T11:25:55.342Z] v2.2.1-dev.3 [2023-04-18T11:25:55.342Z] v2.2.1-dev.4 [2023-04-18T11:25:55.342Z] v2.2.1-dev.5 [2023-04-18T11:25:55.342Z] v2.2.1-dev.6 [2023-04-18T11:25:55.342Z] v2.2.1-dev.7 [2023-04-18T11:25:55.342Z] v2.3.0 [2023-04-18T11:25:55.342Z] v2.3.0-dev.10 [2023-04-18T11:25:55.342Z] v2.3.0-dev.11 [2023-04-18T11:25:55.342Z] v2.3.0-dev.12 [2023-04-18T11:25:55.342Z] v2.3.0-dev.13 [2023-04-18T11:25:55.342Z] v2.3.0-dev.14 [2023-04-18T11:25:55.342Z] v2.3.0-dev.15 [2023-04-18T11:25:55.342Z] v2.3.0-dev.16 [2023-04-18T11:25:55.342Z] v2.3.0-dev.17 [2023-04-18T11:25:55.342Z] v2.3.0-dev.18 [2023-04-18T11:25:55.342Z] v2.3.0-dev.19 [2023-04-18T11:25:55.342Z] v2.3.0-dev.20 [2023-04-18T11:25:55.342Z] v2.3.0-dev.21 [2023-04-18T11:25:55.342Z] v2.3.0-dev.22 [2023-04-18T11:25:55.342Z] v2.3.0-dev.23 [2023-04-18T11:25:55.342Z] v2.3.0-dev.24 [2023-04-18T11:25:55.342Z] v2.3.0-dev.7 [2023-04-18T11:25:55.342Z] v2.3.0-dev.8 [2023-04-18T11:25:55.342Z] v2.3.0-dev.9 [2023-04-18T11:25:55.342Z] v3.0.0-dev.1 [2023-04-18T11:25:55.342Z] v3.0.0-dev.10 [2023-04-18T11:25:55.342Z] v3.0.0-dev.11 [2023-04-18T11:25:55.342Z] v3.0.0-dev.12 [2023-04-18T11:25:55.342Z] v3.0.0-dev.13 [2023-04-18T11:25:55.342Z] v3.0.0-dev.14 [2023-04-18T11:25:55.342Z] v3.0.0-dev.2 [2023-04-18T11:25:55.342Z] v3.0.0-dev.3 [2023-04-18T11:25:55.342Z] v3.0.0-dev.4 [2023-04-18T11:25:55.342Z] v3.0.0-dev.5 [2023-04-18T11:25:55.342Z] v3.0.0-dev.6 [2023-04-18T11:25:55.342Z] v3.0.0-dev.7 [2023-04-18T11:25:55.342Z] v3.0.0-dev.8 [2023-04-18T11:25:55.342Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-18T11:25:55.629Z] + lftools sign git-tag v3.0.0-dev.14 [2023-04-18T11:25:56.198Z] Signing Git tag with Sigul... [2023-04-18T11:25:56.199Z] Signing v3.0.0-dev.14 [Pipeline] echo [2023-04-18T11:25:56.465Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:25:56.752Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-18T11:25:56.758Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-18T11:25:56.780Z] $ docker stop --time=1 b9b0d2fa9a1af3deba2691dba2dbb66e319c31d7f139f0cc7b9d536f7ad4c94b [2023-04-18T11:25:58.046Z] $ docker rm -f --volumes b9b0d2fa9a1af3deba2691dba2dbb66e319c31d7f139f0cc7b9d536f7ad4c94b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-18T11:25:58.449Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T11:25:58.449Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:25:58.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:25:58.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:25:58.816Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:25:58.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T11:25:59.175Z] $ docker top 7bbc34c3e11c4d88c676f59ecd51a1ed40abce04c3f46256b824a255baa4b369 -eo pid,comm [2023-04-18T11:25:59.216Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-18T11:25:59.216Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T11:25:59.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:25:59.252Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:25:59.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:25:59.369Z] $ docker exec 7bbc34c3e11c4d88c676f59ecd51a1ed40abce04c3f46256b824a255baa4b369 ssh-agent [2023-04-18T11:25:59.473Z] SSH_AUTH_SOCK=/tmp/ssh-7Fh5Ie2yGbtD/agent.32 [2023-04-18T11:25:59.473Z] SSH_AGENT_PID=38 [2023-04-18T11:25:59.478Z] Running ssh-add (command line suppressed) [2023-04-18T11:25:59.580Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13061967629167326529.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13061967629167326529.key) [2023-04-18T11:25:59.589Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:25:59.872Z] + git semver bump pre [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,069 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,069 [bump_version] DEBUG bumping version:3.0.0-dev.14 on axis:pre with prefix:dev [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,069 [bump_version] DEBUG bumped version:3.0.0-dev.15 [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,069 [write_version] DEBUG write version:3.0.0-dev.15 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,069 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,070 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,071 [execute] INFO git cat-file --batch-check [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,076 [execute] INFO git cat-file --batch [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T11:26:00.131Z] 2023-04-18 11:26:00,081 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-18T11:26:00.131Z] 3.0.0-dev.15 [Pipeline] } [2023-04-18T11:26:00.142Z] $ docker exec --env ******** --env ******** 7bbc34c3e11c4d88c676f59ecd51a1ed40abce04c3f46256b824a255baa4b369 ssh-agent -k [2023-04-18T11:26:00.246Z] unset SSH_AUTH_SOCK; [2023-04-18T11:26:00.246Z] unset SSH_AGENT_PID; [2023-04-18T11:26:00.246Z] echo Agent pid 38 killed; [2023-04-18T11:26:00.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T11:26:00.553Z] + git semver [Pipeline] } [2023-04-18T11:26:00.826Z] $ docker stop --time=1 7bbc34c3e11c4d88c676f59ecd51a1ed40abce04c3f46256b824a255baa4b369 [2023-04-18T11:26:02.083Z] $ docker rm -f --volumes 7bbc34c3e11c4d88c676f59ecd51a1ed40abce04c3f46256b824a255baa4b369 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T11:26:02.417Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T11:26:02.417Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:26:02.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:26:02.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:26:02.779Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:26:02.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T11:26:03.125Z] $ docker top 52fbf6afec8e48ec2a33b560488640be5f1bb255ef17cf13070bb96bf41318dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T11:26:03.214Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:26:03.214Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:26:03.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:26:03.329Z] $ docker exec 52fbf6afec8e48ec2a33b560488640be5f1bb255ef17cf13070bb96bf41318dc ssh-agent [2023-04-18T11:26:03.494Z] SSH_AUTH_SOCK=/tmp/ssh-i02vKGfsHbrt/agent.32 [2023-04-18T11:26:03.494Z] SSH_AGENT_PID=38 [2023-04-18T11:26:03.500Z] Running ssh-add (command line suppressed) [2023-04-18T11:26:03.605Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11702761783151370363.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11702761783151370363.key) [2023-04-18T11:26:03.614Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:26:03.900Z] + git semver push [2023-04-18T11:26:04.158Z] 2023-04-18 11:26:04,075 [run_push] DEBUG push [2023-04-18T11:26:04.158Z] 2023-04-18 11:26:04,076 [execute] INFO git cat-file --batch-check [2023-04-18T11:26:04.158Z] 2023-04-18 11:26:04,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T11:26:04.158Z] 2023-04-18 11:26:04,079 [execute] INFO git rev-list 7bb60c6bbe2ac15ed00bee582fdf437760eaaa84 -- [2023-04-18T11:26:04.158Z] 2023-04-18 11:26:04,080 [execute] DEBUG Popen(['git', 'rev-list', '7bb60c6bbe2ac15ed00bee582fdf437760eaaa84', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T11:26:04.158Z] 2023-04-18 11:26:04,089 [execute] INFO git fetch -v origin [2023-04-18T11:26:04.158Z] 2023-04-18 11:26:04,089 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-18T11:26:04.724Z] 2023-04-18 11:26:04,604 [run_push] DEBUG no remote changes detected [2023-04-18T11:26:04.724Z] 2023-04-18 11:26:04,604 [execute] INFO git push origin semver [2023-04-18T11:26:04.724Z] 2023-04-18 11:26:04,605 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T11:26:05.660Z] 2023-04-18 11:26:05,441 [run_push] DEBUG push all version tags [2023-04-18T11:26:05.660Z] 2023-04-18 11:26:05,442 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-18T11:26:05.660Z] 2023-04-18 11:26:05,442 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-18T11:26:06.327Z] 2023-04-18 11:26:06,295 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-18T11:26:06.327Z] 3.0.0-dev.15 [Pipeline] } [2023-04-18T11:26:06.368Z] $ docker exec --env ******** --env ******** 52fbf6afec8e48ec2a33b560488640be5f1bb255ef17cf13070bb96bf41318dc ssh-agent -k [2023-04-18T11:26:06.459Z] unset SSH_AUTH_SOCK; [2023-04-18T11:26:06.459Z] unset SSH_AGENT_PID; [2023-04-18T11:26:06.459Z] echo Agent pid 38 killed; [2023-04-18T11:26:06.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T11:26:06.790Z] + git semver [Pipeline] } [2023-04-18T11:26:07.064Z] $ docker stop --time=1 52fbf6afec8e48ec2a33b560488640be5f1bb255ef17cf13070bb96bf41318dc [2023-04-18T11:26:08.304Z] $ docker rm -f --volumes 52fbf6afec8e48ec2a33b560488640be5f1bb255ef17cf13070bb96bf41318dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-18T11:26:08.859Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-04-18T11:26:08.859Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-18T11:26:08.859Z] total 16 [2023-04-18T11:26:08.859Z] drwxr-xr-x 3 root root 4096 Apr 18 11:16 . [2023-04-18T11:26:08.859Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 11:25 .. [2023-04-18T11:26:08.859Z] drwxr-xr-x 2 root root 4096 Apr 18 11:16 cost [2023-04-18T11:26:08.859Z] -rw-r--r-- 1 root root 85 Apr 18 11:16 cost.csv [2023-04-18T11:26:08.859Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-18T11:26:08.859Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-18T11:26:08.859Z] total 16 [2023-04-18T11:26:08.859Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 11:16 . [2023-04-18T11:26:08.859Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 11:25 .. [2023-04-18T11:26:08.859Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 11:16 cost [2023-04-18T11:26:08.859Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 18 11:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:26:09.153Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:26:10.013Z] ---> package-listing.sh [2023-04-18T11:26:10.013Z] ++ facter osfamily [2023-04-18T11:26:10.013Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T11:26:10.273Z] + OS_FAMILY=debian [2023-04-18T11:26:10.273Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-04-18T11:26:10.273Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T11:26:10.273Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T11:26:10.273Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T11:26:10.273Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T11:26:10.273Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-18T11:26:10.273Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T11:26:10.273Z] + case "${OS_FAMILY}" in [2023-04-18T11:26:10.273Z] + dpkg -l [2023-04-18T11:26:10.273Z] + grep '^ii' [2023-04-18T11:26:10.273Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T11:26:10.273Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T11:26:10.273Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T11:26:10.273Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-18T11:26:10.273Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-04-18T11:26:10.273Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2023-04-18T11:26:10.284Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T11:26:10.561Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:26:11.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T11:26:11.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:26:11.195Z] prd-ubuntu20.04-docker-8c-8g-8906 does not seem to be running inside a container [2023-04-18T11:26:11.230Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T11:26:11.443Z] $ docker top bd6323aa321f52e0e880fcdb779354ba2f7804b32195ae24be61bdb29047b3c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:26:11.785Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T11:26:12.069Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T11:26:12.354Z] + ls /var/log/sa-host [2023-04-18T11:26:12.354Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:26:12.525Z] provisioning config files... [2023-04-18T11:26:12.534Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12191088464479730462tmp [Pipeline] { [Pipeline] echo [2023-04-18T11:26:12.547Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:26:12.831Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T11:26:12.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:26:13.170Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T11:26:13.178Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:26:13.462Z] ---> sudo-logs.sh [2023-04-18T11:26:13.462Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T11:26:13.487Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:26:13.770Z] ---> job-cost.sh [2023-04-18T11:26:13.771Z] lf-activate-venv: SKIPPING [2023-04-18T11:26:13.771Z] DEBUG: total: 0.2199999988079071 [2023-04-18T11:26:13.771Z] INFO: Retrieving Stack Cost... [2023-04-18T11:26:14.030Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T11:26:14.597Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T11:26:14.608Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:26:14.890Z] ---> logs-deploy.sh [2023-04-18T11:26:14.890Z] lf-activate-venv: SKIPPING [2023-04-18T11:26:14.890Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/71 [2023-04-18T11:26:14.890Z] INFO: archiving workspace using pattern(s): [2023-04-18T11:26:15.825Z] Archives upload complete. [2023-04-18T11:26:15.825Z] INFO: archiving logs to Nexus