Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 785293254a1924c41af634214641cbf6fd758ce7 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-ssh16992794421122952964.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh15643548802291018697.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2999953060897944100.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6090980417768699405.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-ssh17049773714373203963.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15205’ Running on prd-ubuntu20.04-docker-8c-8g-15207 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 785293254a1924c41af634214641cbf6fd758ce7 (main) > 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 785293254a1924c41af634214641cbf6fd758ce7 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#306)" > git rev-list --no-walk 5f2ef55c6af0710ebcf317647d1504c436684c74 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-11T14:11:39.694Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-11T14:11:39.739Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-11T14:11:39.751Z] ========================================================= [2023-05-11T14:11:39.751Z] EdgeX Global Pipelines Version Info [2023-05-11T14:11:39.751Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:11:40.469Z] ------------------- [2023-05-11T14:11:40.469Z] stable info: [2023-05-11T14:11:40.469Z] ------------------- [2023-05-11T14:11:40.469Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-11T14:11:40.469Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T14:11:40.469Z] Message: update stable to v1.0.249 [2023-05-11T14:11:41.039Z] ------------------- [2023-05-11T14:11:41.039Z] experimental info: [2023-05-11T14:11:41.039Z] ------------------- [2023-05-11T14:11:41.039Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-11T14:11:41.039Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T14:11:41.039Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-11T14:11:41.224Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-11T14:11:41.238Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-11T14:11:41.253Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-11T14:11:41.268Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-11T14:11:41.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-11T14:11:41.297Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-11T14:11:41.315Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-11T14:11:41.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-11T14:11:41.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-11T14:11:41.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-11T14:11:41.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-11T14:11:41.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-11T14:11:41.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-11T14:11:41.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-11T14:11:41.435Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T14:11:41.452Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T14:11:41.464Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T14:11:41.476Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T14:11:41.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-11T14:11:41.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-11T14:11:41.511Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-11T14:11:41.533Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-11T14:11:41.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-11T14:11:41.570Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-11T14:11:41.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-11T14:11:41.597Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-11T14:11:41.611Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-11T14:11:41.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-11T14:11:41.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-11T14:11:41.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-11T14:11:41.671Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 785293254a1924c41af634214641cbf6fd758ce7 [Pipeline] echo [2023-05-11T14:11:41.689Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7852932 [Pipeline] echo [2023-05-11T14:11:41.707Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T14:11:41.752Z] provisioning config files... [2023-05-11T14:11:41.767Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6718179512872676835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:11:42.070Z] ---> docker-login.sh [2023-05-11T14:11:42.070Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:11:42.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:42.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:42.331Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:42.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:42.331Z] [2023-05-11T14:11:42.331Z] Login Succeeded [2023-05-11T14:11:42.331Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:11:42.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:42.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:42.331Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:42.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:42.331Z] [2023-05-11T14:11:42.331Z] Login Succeeded [2023-05-11T14:11:42.331Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:11:42.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:42.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:42.590Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:42.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:42.590Z] [2023-05-11T14:11:42.590Z] Login Succeeded [2023-05-11T14:11:42.590Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:11:42.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:42.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:42.590Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:42.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:42.590Z] [2023-05-11T14:11:42.590Z] Login Succeeded [2023-05-11T14:11:42.590Z] docker.io [2023-05-11T14:11:42.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:42.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:42.852Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:42.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:42.852Z] [2023-05-11T14:11:42.852Z] Login Succeeded [2023-05-11T14:11:42.852Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:11:42.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-11T14:11:43.237Z] + git rev-list -1 --merges 785293254a1924c41af634214641cbf6fd758ce7~1..785293254a1924c41af634214641cbf6fd758ce7 [Pipeline] echo [2023-05-11T14:11:43.291Z] -----------> git rev-list -1 --merges 785293254a1924c41af634214641cbf6fd758ce7~1..785293254a1924c41af634214641cbf6fd758ce7 785293254a1924c41af634214641cbf6fd758ce7 [false] [Pipeline] sh [2023-05-11T14:11:43.583Z] + git log --format=format:%s -1 785293254a1924c41af634214641cbf6fd758ce7 [Pipeline] echo [2023-05-11T14:11:43.597Z] ========================================================= [2023-05-11T14:11:43.597Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-11T14:11:43.597Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T14:11:43.915Z] + git log --format=format:%s -1 785293254a1924c41af634214641cbf6fd758ce7 [Pipeline] echo [2023-05-11T14:11:43.926Z] [semverPrep] GIT_COMMIT: 785293254a1924c41af634214641cbf6fd758ce7, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#306) [Pipeline] echo [2023-05-11T14:11:43.936Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-11T14:11:44.284Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T14:11:44.284Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-11T14:11:44.284Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-11T14:11:44.284Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-11T14:11:44.284Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-05-11T14:11:44.284Z] -a /etc/ssh/ssh_known_hosts [2023-05-11T14:11:44.284Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:11:44.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:11:44.635Z] [2023-05-11T14:11:44.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:11:44.939Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:11:44.939Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-11T14:11:44.939Z] b85a868b505f: Pulling fs layer [2023-05-11T14:11:44.939Z] e2be974225ed: Pulling fs layer [2023-05-11T14:11:44.939Z] 339a4e72a1f5: Pulling fs layer [2023-05-11T14:11:44.939Z] 988bab9f4d93: Pulling fs layer [2023-05-11T14:11:44.939Z] 1469e6f7b9e6: Pulling fs layer [2023-05-11T14:11:44.939Z] eaf3925da568: Pulling fs layer [2023-05-11T14:11:44.939Z] bab4dde63d76: Pulling fs layer [2023-05-11T14:11:44.939Z] bde34c3a00c8: Pulling fs layer [2023-05-11T14:11:44.939Z] b352a97aabf1: Pulling fs layer [2023-05-11T14:11:44.939Z] 4872d77fe225: Pulling fs layer [2023-05-11T14:11:44.939Z] 5851b861e8e6: Pulling fs layer [2023-05-11T14:11:44.939Z] eaf3925da568: Waiting [2023-05-11T14:11:44.939Z] bab4dde63d76: Waiting [2023-05-11T14:11:44.939Z] 5851b861e8e6: Waiting [2023-05-11T14:11:44.939Z] b352a97aabf1: Waiting [2023-05-11T14:11:44.939Z] 988bab9f4d93: Waiting [2023-05-11T14:11:44.939Z] 1469e6f7b9e6: Waiting [2023-05-11T14:11:44.939Z] bde34c3a00c8: Waiting [2023-05-11T14:11:44.939Z] 4872d77fe225: Waiting [2023-05-11T14:11:44.939Z] e2be974225ed: Verifying Checksum [2023-05-11T14:11:44.939Z] e2be974225ed: Download complete [2023-05-11T14:11:44.939Z] 988bab9f4d93: Verifying Checksum [2023-05-11T14:11:44.939Z] 988bab9f4d93: Download complete [2023-05-11T14:11:44.939Z] 1469e6f7b9e6: Verifying Checksum [2023-05-11T14:11:44.939Z] 1469e6f7b9e6: Download complete [2023-05-11T14:11:44.939Z] 339a4e72a1f5: Verifying Checksum [2023-05-11T14:11:44.939Z] 339a4e72a1f5: Download complete [2023-05-11T14:11:44.939Z] eaf3925da568: Verifying Checksum [2023-05-11T14:11:44.939Z] eaf3925da568: Download complete [2023-05-11T14:11:45.199Z] bde34c3a00c8: Verifying Checksum [2023-05-11T14:11:45.199Z] bde34c3a00c8: Download complete [2023-05-11T14:11:45.199Z] b352a97aabf1: Download complete [2023-05-11T14:11:45.199Z] 4872d77fe225: Download complete [2023-05-11T14:11:45.199Z] 5851b861e8e6: Verifying Checksum [2023-05-11T14:11:45.199Z] 5851b861e8e6: Download complete [2023-05-11T14:11:45.199Z] b85a868b505f: Verifying Checksum [2023-05-11T14:11:45.199Z] b85a868b505f: Download complete [2023-05-11T14:11:45.458Z] bab4dde63d76: Verifying Checksum [2023-05-11T14:11:45.458Z] bab4dde63d76: Download complete [2023-05-11T14:11:46.401Z] b85a868b505f: Pull complete [2023-05-11T14:11:46.401Z] e2be974225ed: Pull complete [2023-05-11T14:11:46.973Z] 339a4e72a1f5: Pull complete [2023-05-11T14:11:46.973Z] 988bab9f4d93: Pull complete [2023-05-11T14:11:47.233Z] 1469e6f7b9e6: Pull complete [2023-05-11T14:11:47.233Z] eaf3925da568: Pull complete [2023-05-11T14:11:48.607Z] bab4dde63d76: Pull complete [2023-05-11T14:11:48.866Z] bde34c3a00c8: Pull complete [2023-05-11T14:11:48.866Z] b352a97aabf1: Pull complete [2023-05-11T14:11:48.866Z] 4872d77fe225: Pull complete [2023-05-11T14:11:49.126Z] 5851b861e8e6: Pull complete [2023-05-11T14:11:49.126Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-11T14:11:49.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:11:49.126Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:11:49.235Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:11:49.266Z] $ 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-05-11T14:11:50.334Z] $ docker top e91352f7be0eae8fce7af40e7138de78ce165f006b2f70b9b117fed08bb1ac22 -eo pid,comm [2023-05-11T14:11:50.385Z] 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-05-11T14:11:50.385Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T14:11:50.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:11:50.428Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:11:50.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:11:50.558Z] $ docker exec e91352f7be0eae8fce7af40e7138de78ce165f006b2f70b9b117fed08bb1ac22 ssh-agent [2023-05-11T14:11:50.674Z] SSH_AUTH_SOCK=/tmp/ssh-IYnpPZKjbXIY/agent.32 [2023-05-11T14:11:50.675Z] SSH_AGENT_PID=38 [2023-05-11T14:11:50.681Z] Running ssh-add (command line suppressed) [2023-05-11T14:11:50.782Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17304826286717293278.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17304826286717293278.key) [2023-05-11T14:11:50.793Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:11:51.094Z] + git tag --points-at HEAD [Pipeline] } [2023-05-11T14:11:51.109Z] $ docker exec --env ******** --env ******** e91352f7be0eae8fce7af40e7138de78ce165f006b2f70b9b117fed08bb1ac22 ssh-agent -k [2023-05-11T14:11:51.199Z] unset SSH_AUTH_SOCK; [2023-05-11T14:11:51.199Z] unset SSH_AGENT_PID; [2023-05-11T14:11:51.200Z] echo Agent pid 38 killed; [2023-05-11T14:11:51.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-11T14:11:51.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:11:51.232Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:11:51.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:11:51.370Z] $ docker exec e91352f7be0eae8fce7af40e7138de78ce165f006b2f70b9b117fed08bb1ac22 ssh-agent [2023-05-11T14:11:51.469Z] SSH_AUTH_SOCK=/tmp/ssh-xL20MedPDNeq/agent.71 [2023-05-11T14:11:51.469Z] SSH_AGENT_PID=77 [2023-05-11T14:11:51.474Z] Running ssh-add (command line suppressed) [2023-05-11T14:11:51.571Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13307334696315896904.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13307334696315896904.key) [2023-05-11T14:11:51.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:11:51.933Z] + git semver init [2023-05-11T14:11:52.193Z] 2023-05-11 14:11:52,060 [run_init] DEBUG init version:0.0.0 force:False [2023-05-11T14:11:52.193Z] 2023-05-11 14:11:52,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-11T14:11:52.193Z] 2023-05-11 14:11:52,061 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-11T14:11:52.193Z] 2023-05-11 14:11:52,061 [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-05-11T14:11:53.154Z] 2023-05-11 14:11:52,793 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-05-11T14:11:53.154Z] 2023-05-11 14:11:52,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-05-11T14:11:53.154Z] 2023-05-11 14:11:52,794 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-11T14:11:53.154Z] 2023-05-11 14:11:52,794 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-11T14:11:53.154Z] 3.0.0-dev.22 [Pipeline] } [2023-05-11T14:11:53.171Z] $ docker exec --env ******** --env ******** e91352f7be0eae8fce7af40e7138de78ce165f006b2f70b9b117fed08bb1ac22 ssh-agent -k [2023-05-11T14:11:53.264Z] unset SSH_AUTH_SOCK; [2023-05-11T14:11:53.264Z] unset SSH_AGENT_PID; [2023-05-11T14:11:53.264Z] echo Agent pid 77 killed; [2023-05-11T14:11:53.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T14:11:53.605Z] + git semver [Pipeline] } [2023-05-11T14:11:53.893Z] $ docker stop --time=1 e91352f7be0eae8fce7af40e7138de78ce165f006b2f70b9b117fed08bb1ac22 [2023-05-11T14:11:55.168Z] $ docker rm -f --volumes e91352f7be0eae8fce7af40e7138de78ce165f006b2f70b9b117fed08bb1ac22 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T14:11:55.537Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-11T14:11:55.815Z] Stashed 1 file(s) [Pipeline] echo [2023-05-11T14:11:55.818Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T14:11:55.953Z] provisioning config files... [2023-05-11T14:11:55.965Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1866131035878517344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:11:56.273Z] ---> docker-login.sh [2023-05-11T14:11:56.273Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:11:56.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:56.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:56.273Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:56.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:56.273Z] [2023-05-11T14:11:56.273Z] Login Succeeded [2023-05-11T14:11:56.273Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:11:56.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:56.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:56.273Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:56.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:56.273Z] [2023-05-11T14:11:56.273Z] Login Succeeded [2023-05-11T14:11:56.273Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:11:56.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:56.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:56.539Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:56.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:56.539Z] [2023-05-11T14:11:56.539Z] Login Succeeded [2023-05-11T14:11:56.539Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:11:56.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:56.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:56.539Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:56.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:56.539Z] [2023-05-11T14:11:56.539Z] Login Succeeded [2023-05-11T14:11:56.539Z] docker.io [2023-05-11T14:11:56.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:11:56.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:11:56.804Z] Configure a credential helper to remove this warning. See [2023-05-11T14:11:56.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:11:56.804Z] [2023-05-11T14:11:56.804Z] Login Succeeded [2023-05-11T14:11:56.804Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:11:56.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T14:11:56.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:11:56.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:11:56.896Z] ========================================================= [2023-05-11T14:11:56.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-11T14:11:56.896Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:11:57.212Z] + 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-05-11T14:11:57.212Z] Sending build context to Docker daemon 5.818MB [2023-05-11T14:11:57.212Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T14:11:57.212Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-11T14:11:57.212Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-11T14:11:57.212Z] f56be85fc22e: Pulling fs layer [2023-05-11T14:11:57.212Z] 85791d961cd3: Pulling fs layer [2023-05-11T14:11:57.212Z] d694b5ae8c79: Pulling fs layer [2023-05-11T14:11:57.212Z] 9f32a84ed3da: Pulling fs layer [2023-05-11T14:11:57.212Z] 4d19c01a9841: Pulling fs layer [2023-05-11T14:11:57.212Z] 9325e15d5711: Pulling fs layer [2023-05-11T14:11:57.212Z] 556b6ee489ea: Pulling fs layer [2023-05-11T14:11:57.212Z] c5a4b2cf53e6: Pulling fs layer [2023-05-11T14:11:57.212Z] c5a4b2cf53e6: Waiting [2023-05-11T14:11:57.212Z] 9f32a84ed3da: Waiting [2023-05-11T14:11:57.212Z] 556b6ee489ea: Waiting [2023-05-11T14:11:57.212Z] 4d19c01a9841: Waiting [2023-05-11T14:11:57.212Z] 9325e15d5711: Waiting [2023-05-11T14:11:57.472Z] 85791d961cd3: Verifying Checksum [2023-05-11T14:11:57.472Z] 85791d961cd3: Download complete [2023-05-11T14:11:57.472Z] 9f32a84ed3da: Download complete [2023-05-11T14:11:57.472Z] 4d19c01a9841: Download complete [2023-05-11T14:11:57.473Z] f56be85fc22e: Verifying Checksum [2023-05-11T14:11:57.473Z] f56be85fc22e: Download complete [2023-05-11T14:11:57.473Z] 9325e15d5711: Verifying Checksum [2023-05-11T14:11:57.473Z] 9325e15d5711: Download complete [2023-05-11T14:11:57.731Z] f56be85fc22e: Pull complete [2023-05-11T14:11:57.731Z] 85791d961cd3: Pull complete [2023-05-11T14:11:58.303Z] d694b5ae8c79: Verifying Checksum [2023-05-11T14:11:58.303Z] d694b5ae8c79: Download complete [2023-05-11T14:11:58.562Z] c5a4b2cf53e6: Verifying Checksum [2023-05-11T14:11:58.562Z] c5a4b2cf53e6: Download complete [2023-05-11T14:11:58.820Z] 556b6ee489ea: Download complete [2023-05-11T14:12:01.357Z] d694b5ae8c79: Pull complete [2023-05-11T14:12:01.357Z] 9f32a84ed3da: Pull complete [2023-05-11T14:12:01.357Z] 4d19c01a9841: Pull complete [2023-05-11T14:12:01.357Z] 9325e15d5711: Pull complete [2023-05-11T14:12:05.442Z] 556b6ee489ea: Pull complete [2023-05-11T14:12:05.442Z] c5a4b2cf53e6: Pull complete [2023-05-11T14:12:05.442Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-11T14:12:05.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-11T14:12:05.442Z] ---> c4be618373d6 [2023-05-11T14:12:05.442Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-11T14:12:05.710Z] ---> Running in a645be167167 [2023-05-11T14:12:05.710Z] Removing intermediate container a645be167167 [2023-05-11T14:12:05.710Z] ---> baabfdef213e [2023-05-11T14:12:05.710Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T14:12:05.710Z] ---> Running in c557a4517387 [2023-05-11T14:12:05.972Z] Removing intermediate container c557a4517387 [2023-05-11T14:12:05.972Z] ---> 430bd34641f1 [2023-05-11T14:12:05.972Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-11T14:12:05.972Z] ---> Running in bfe92cf9b33f [2023-05-11T14:12:05.972Z] Removing intermediate container bfe92cf9b33f [2023-05-11T14:12:05.972Z] ---> ebe93b9d5218 [2023-05-11T14:12:05.972Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T14:12:05.972Z] ---> Running in 1a558fdb78ee [2023-05-11T14:12:05.972Z] Removing intermediate container 1a558fdb78ee [2023-05-11T14:12:05.972Z] ---> eaea1e7597cd [2023-05-11T14:12:05.972Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T14:12:05.972Z] ---> Running in 958ac0868084 [2023-05-11T14:12:06.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T14:12:06.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T14:12:06.543Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-11T14:12:06.817Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-11T14:12:06.817Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-11T14:12:06.817Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-11T14:12:06.817Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T14:12:06.817Z] OK: 269 MiB in 57 packages [2023-05-11T14:12:07.094Z] Removing intermediate container 958ac0868084 [2023-05-11T14:12:07.094Z] ---> 6771d95f1f53 [2023-05-11T14:12:07.094Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-11T14:12:07.094Z] ---> Running in 66093dfa30a5 [2023-05-11T14:12:07.094Z] Removing intermediate container 66093dfa30a5 [2023-05-11T14:12:07.094Z] ---> 2b6336a99ac2 [2023-05-11T14:12:07.094Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-11T14:12:07.360Z] ---> f35e15d07251 [2023-05-11T14:12:07.360Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T14:12:07.360Z] ---> Running in d2bda9e920f9 [2023-05-11T14:12:10.910Z] Still waiting to schedule task [2023-05-11T14:12:10.910Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15206’ [2023-05-11T14:12:34.286Z] Removing intermediate container d2bda9e920f9 [2023-05-11T14:12:34.286Z] ---> 7f51b54d6ad6 [2023-05-11T14:12:34.286Z] Step 11/12 : COPY . . [2023-05-11T14:12:34.286Z] ---> 8462d48a7c09 [2023-05-11T14:12:34.286Z] Step 12/12 : RUN ${MAKE} [2023-05-11T14:12:34.286Z] ---> Running in fea7d0386203 [2023-05-11T14:12:34.286Z] noop [2023-05-11T14:12:34.286Z] Removing intermediate container fea7d0386203 [2023-05-11T14:12:34.286Z] ---> 3024895a28f9 [2023-05-11T14:12:34.286Z] Successfully built 3024895a28f9 [2023-05-11T14:12:34.286Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:12:34.599Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T14:12:34.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:12:34.670Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:12:34.703Z] $ 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-05-11T14:12:35.085Z] $ docker top ca1b3b378cfb4349837a47e251da46046d3459dd52a5dd6f91395343675a7c68 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:12:35.417Z] + go version [2023-05-11T14:12:35.417Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-11T14:12:35.427Z] $ docker stop --time=1 ca1b3b378cfb4349837a47e251da46046d3459dd52a5dd6f91395343675a7c68 [2023-05-11T14:12:36.719Z] $ docker rm -f --volumes ca1b3b378cfb4349837a47e251da46046d3459dd52a5dd6f91395343675a7c68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:12:37.120Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T14:12:37.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:12:37.191Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:12:37.219Z] $ 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-05-11T14:12:37.544Z] $ docker top fdc6e1cd895d0a0c42b1087dd06802f215405b61e2dde1252593846fac93a8f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:12:37.887Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-11T14:12:38.181Z] + make test [2023-05-11T14:12:38.181Z] go test ./... -coverprofile=coverage.out [2023-05-11T14:12:43.451Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-11T14:12:53.416Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-11T14:12:53.416Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2023-05-11T14:12:58.985Z] go vet ./... [2023-05-11T14:13:03.232Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T14:13:03.232Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T14:13:03.232Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T14:13:03.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T14:13:03.261Z] $ docker stop --time=1 fdc6e1cd895d0a0c42b1087dd06802f215405b61e2dde1252593846fac93a8f5 [2023-05-11T14:13:06.911Z] $ docker rm -f --volumes fdc6e1cd895d0a0c42b1087dd06802f215405b61e2dde1252593846fac93a8f5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T14:13:07.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T14:13:07.449Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-11T14:13:07.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T14:13:08.207Z] + ls -al . [2023-05-11T14:13:08.208Z] total 172 [2023-05-11T14:13:08.208Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 14:12 . [2023-05-11T14:13:08.208Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:11 .. [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 6 May 11 14:11 .dockerignore [2023-05-11T14:13:08.208Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:11 .git [2023-05-11T14:13:08.208Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:11 .github [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 328 May 11 14:11 .gitignore [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 14:11 .golangci.yml [2023-05-11T14:13:08.208Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 14:11 .semver [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 11 14:11 Attribution.txt [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 11 14:11 CHANGELOG.md [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 11 14:11 Dockerfile [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 14:11 GOVERNANCE.md [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 656 May 11 14:11 Jenkinsfile [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:11 LICENSE [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 11 14:11 Makefile [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 14:11 OWNERS.md [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 11 14:11 README.md [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 14:11 VERSION [2023-05-11T14:13:08.208Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:11 bin [2023-05-11T14:13:08.208Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:11 cmd [2023-05-11T14:13:08.208Z] -rw-r--r-- 1 jenkins jenkins 8837 May 11 14:12 coverage.out [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 11 14:11 go.mod [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 11 14:11 go.sum [2023-05-11T14:13:08.208Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:11 internal [2023-05-11T14:13:08.208Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:11 snap [2023-05-11T14:13:08.208Z] -rw-rw-r-- 1 jenkins jenkins 228 May 11 14:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:08.511Z] + 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=785293254a1924c41af634214641cbf6fd758ce7 --label arch=amd64 --label version=3.0.0-dev.22 . [2023-05-11T14:13:08.511Z] Sending build context to Docker daemon 5.828MB [2023-05-11T14:13:08.511Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T14:13:08.511Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-11T14:13:08.511Z] ---> 3024895a28f9 [2023-05-11T14:13:08.511Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-11T14:13:08.769Z] ---> Running in a626f419a00c [2023-05-11T14:13:08.769Z] Removing intermediate container a626f419a00c [2023-05-11T14:13:08.769Z] ---> 3e641eb451ef [2023-05-11T14:13:08.769Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T14:13:08.769Z] ---> Running in ae5ccee24161 [2023-05-11T14:13:09.028Z] Removing intermediate container ae5ccee24161 [2023-05-11T14:13:09.028Z] ---> e6f02c17aa6a [2023-05-11T14:13:09.028Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-11T14:13:09.028Z] ---> Running in 56e8424da8a2 [2023-05-11T14:13:09.028Z] Removing intermediate container 56e8424da8a2 [2023-05-11T14:13:09.028Z] ---> 930af63a173b [2023-05-11T14:13:09.028Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T14:13:09.028Z] ---> Running in f4456c20e234 [2023-05-11T14:13:09.028Z] Removing intermediate container f4456c20e234 [2023-05-11T14:13:09.028Z] ---> df2afca72cdd [2023-05-11T14:13:09.028Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T14:13:09.286Z] ---> Running in 1d922b0a5d72 [2023-05-11T14:13:09.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T14:13:09.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T14:13:09.805Z] OK: 269 MiB in 57 packages [2023-05-11T14:13:10.372Z] Removing intermediate container 1d922b0a5d72 [2023-05-11T14:13:10.372Z] ---> e37f4781feb4 [2023-05-11T14:13:10.372Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-11T14:13:10.372Z] ---> Running in bd3d06644ac7 [2023-05-11T14:13:10.372Z] Removing intermediate container bd3d06644ac7 [2023-05-11T14:13:10.372Z] ---> d59811db81d1 [2023-05-11T14:13:10.372Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-11T14:13:10.372Z] ---> c6e00593a69f [2023-05-11T14:13:10.372Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T14:13:10.372Z] ---> Running in 1f4e14401992 [2023-05-11T14:13:11.342Z] Removing intermediate container 1f4e14401992 [2023-05-11T14:13:11.342Z] ---> ab47822f4f0f [2023-05-11T14:13:11.342Z] Step 11/24 : COPY . . [2023-05-11T14:13:11.601Z] ---> 3df0efe36fbc [2023-05-11T14:13:11.601Z] Step 12/24 : RUN ${MAKE} [2023-05-11T14:13:11.601Z] ---> Running in cd54f2e58aaf [2023-05-11T14:13:11.860Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-11T14:13:34.238Z] Removing intermediate container cd54f2e58aaf [2023-05-11T14:13:34.238Z] ---> 3994d3826f5f [2023-05-11T14:13:34.238Z] Step 13/24 : FROM alpine:3.17 [2023-05-11T14:13:34.238Z] 3.17: Pulling from library/alpine [2023-05-11T14:13:34.238Z] f56be85fc22e: Already exists [2023-05-11T14:13:34.238Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T14:13:34.238Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T14:13:34.238Z] ---> 9ed4aefc74f6 [2023-05-11T14:13:34.238Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-11T14:13:34.238Z] ---> Running in 81d091d8a613 [2023-05-11T14:13:34.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T14:13:34.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T14:13:34.238Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-11T14:13:34.238Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T14:13:34.238Z] OK: 7 MiB in 16 packages [2023-05-11T14:13:34.238Z] Removing intermediate container 81d091d8a613 [2023-05-11T14:13:34.238Z] ---> b11fe6f08f6c [2023-05-11T14:13:34.238Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-11T14:13:35.225Z] ---> 5e8d06d4b770 [2023-05-11T14:13:35.225Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-11T14:13:35.225Z] ---> af72bd13b17e [2023-05-11T14:13:35.225Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-11T14:13:35.485Z] ---> 2d1705fc658c [2023-05-11T14:13:35.485Z] Step 18/24 : EXPOSE 59993 [2023-05-11T14:13:35.485Z] ---> Running in e431ac671e49 [2023-05-11T14:13:35.485Z] Removing intermediate container e431ac671e49 [2023-05-11T14:13:35.485Z] ---> b2cc13ad2aa1 [2023-05-11T14:13:35.485Z] Step 19/24 : EXPOSE 161 [2023-05-11T14:13:35.485Z] ---> Running in 2ec1f2ec6d29 [2023-05-11T14:13:35.747Z] Removing intermediate container 2ec1f2ec6d29 [2023-05-11T14:13:35.747Z] ---> 1f1cce58cb49 [2023-05-11T14:13:35.747Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-11T14:13:35.747Z] ---> Running in d5ab51baef58 [2023-05-11T14:13:35.747Z] Removing intermediate container d5ab51baef58 [2023-05-11T14:13:35.747Z] ---> d61d09035e2b [2023-05-11T14:13:35.747Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-11T14:13:35.747Z] ---> Running in dcf8b3008175 [2023-05-11T14:13:36.005Z] Removing intermediate container dcf8b3008175 [2023-05-11T14:13:36.005Z] ---> 72119b2f764a [2023-05-11T14:13:36.005Z] Step 22/24 : LABEL arch=amd64 [2023-05-11T14:13:36.005Z] ---> Running in feb2fd0e83db [2023-05-11T14:13:36.005Z] Removing intermediate container feb2fd0e83db [2023-05-11T14:13:36.005Z] ---> e62496dbb556 [2023-05-11T14:13:36.005Z] Step 23/24 : LABEL git_sha=785293254a1924c41af634214641cbf6fd758ce7 [2023-05-11T14:13:36.005Z] ---> Running in c30d74f99503 [2023-05-11T14:13:36.005Z] Removing intermediate container c30d74f99503 [2023-05-11T14:13:36.005Z] ---> 7cf507beed73 [2023-05-11T14:13:36.005Z] Step 24/24 : LABEL version=3.0.0-dev.22 [2023-05-11T14:13:36.265Z] ---> Running in 3f9d392fdffa [2023-05-11T14:13:36.265Z] Removing intermediate container 3f9d392fdffa [2023-05-11T14:13:36.265Z] ---> 6469c3fd7765 [2023-05-11T14:13:36.265Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T14:13:36.265Z] Successfully built 6469c3fd7765 [2023-05-11T14:13:36.265Z] 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-05-11T14:13:36.349Z] provisioning config files... [2023-05-11T14:13:36.357Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13951557548798322506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:13:36.670Z] ---> docker-login.sh [2023-05-11T14:13:36.671Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:13:36.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:36.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:36.671Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:36.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:36.671Z] [2023-05-11T14:13:36.671Z] Login Succeeded [2023-05-11T14:13:36.671Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:13:36.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:36.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:36.671Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:36.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:36.671Z] [2023-05-11T14:13:36.671Z] Login Succeeded [2023-05-11T14:13:36.671Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:13:36.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:36.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:36.931Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:36.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:36.931Z] [2023-05-11T14:13:36.931Z] Login Succeeded [2023-05-11T14:13:36.931Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:13:36.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:36.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:36.931Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:36.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:36.931Z] [2023-05-11T14:13:36.931Z] Login Succeeded [2023-05-11T14:13:36.931Z] docker.io [2023-05-11T14:13:36.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:37.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:37.192Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:37.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:37.192Z] [2023-05-11T14:13:37.192Z] Login Succeeded [2023-05-11T14:13:37.192Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:13:37.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-11T14:13:37.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:13:37.260Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-05-11T14:13:37.260Z] 785293254a1924c41af634214641cbf6fd758ce7 [2023-05-11T14:13:37.260Z] latest [2023-05-11T14:13:37.260Z] 3.0.0-dev.22 [2023-05-11T14:13:37.260Z] 785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22 [2023-05-11T14:13:37.260Z] main [2023-05-11T14:13:37.260Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:37.594Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:785293254a1924c41af634214641cbf6fd758ce7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:37.911Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:785293254a1924c41af634214641cbf6fd758ce7 [2023-05-11T14:13:37.911Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-11T14:13:37.911Z] 606bc3d1fa58: Preparing [2023-05-11T14:13:37.911Z] ec4aff628730: Preparing [2023-05-11T14:13:37.911Z] a21e0be3266b: Preparing [2023-05-11T14:13:37.911Z] ed739ef8e6e5: Preparing [2023-05-11T14:13:37.911Z] f1417ff83b31: Preparing [2023-05-11T14:13:37.911Z] f1417ff83b31: Layer already exists [2023-05-11T14:13:37.911Z] 606bc3d1fa58: Pushed [2023-05-11T14:13:37.911Z] ec4aff628730: Pushed [2023-05-11T14:13:37.911Z] ed739ef8e6e5: Pushed [2023-05-11T14:13:40.441Z] a21e0be3266b: Pushed [2023-05-11T14:13:40.441Z] 785293254a1924c41af634214641cbf6fd758ce7: digest: sha256:269ea326fe8feb23a753aa0c08f5a82bf7bef6495f958674957c7207f2804b7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:40.754Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:41.064Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-11T14:13:41.064Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-11T14:13:41.064Z] 606bc3d1fa58: Preparing [2023-05-11T14:13:41.064Z] ec4aff628730: Preparing [2023-05-11T14:13:41.064Z] a21e0be3266b: Preparing [2023-05-11T14:13:41.064Z] ed739ef8e6e5: Preparing [2023-05-11T14:13:41.064Z] f1417ff83b31: Preparing [2023-05-11T14:13:41.064Z] ed739ef8e6e5: Layer already exists [2023-05-11T14:13:41.064Z] ec4aff628730: Layer already exists [2023-05-11T14:13:41.064Z] f1417ff83b31: Layer already exists [2023-05-11T14:13:41.064Z] a21e0be3266b: Layer already exists [2023-05-11T14:13:41.064Z] 606bc3d1fa58: Layer already exists [2023-05-11T14:13:41.064Z] latest: digest: sha256:269ea326fe8feb23a753aa0c08f5a82bf7bef6495f958674957c7207f2804b7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:41.387Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:41.707Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.22 [2023-05-11T14:13:41.707Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-11T14:13:41.707Z] 606bc3d1fa58: Preparing [2023-05-11T14:13:41.707Z] ec4aff628730: Preparing [2023-05-11T14:13:41.707Z] a21e0be3266b: Preparing [2023-05-11T14:13:41.707Z] ed739ef8e6e5: Preparing [2023-05-11T14:13:41.708Z] f1417ff83b31: Preparing [2023-05-11T14:13:41.708Z] ed739ef8e6e5: Layer already exists [2023-05-11T14:13:41.708Z] f1417ff83b31: Layer already exists [2023-05-11T14:13:41.708Z] ec4aff628730: Layer already exists [2023-05-11T14:13:41.708Z] a21e0be3266b: Layer already exists [2023-05-11T14:13:41.708Z] 606bc3d1fa58: Layer already exists [2023-05-11T14:13:41.708Z] 3.0.0-dev.22: digest: sha256:269ea326fe8feb23a753aa0c08f5a82bf7bef6495f958674957c7207f2804b7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:42.028Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:42.335Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22 [2023-05-11T14:13:42.335Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-11T14:13:42.335Z] 606bc3d1fa58: Preparing [2023-05-11T14:13:42.335Z] ec4aff628730: Preparing [2023-05-11T14:13:42.335Z] a21e0be3266b: Preparing [2023-05-11T14:13:42.335Z] ed739ef8e6e5: Preparing [2023-05-11T14:13:42.335Z] f1417ff83b31: Preparing [2023-05-11T14:13:42.335Z] ed739ef8e6e5: Layer already exists [2023-05-11T14:13:42.335Z] ec4aff628730: Layer already exists [2023-05-11T14:13:42.335Z] 606bc3d1fa58: Layer already exists [2023-05-11T14:13:42.335Z] f1417ff83b31: Layer already exists [2023-05-11T14:13:42.335Z] a21e0be3266b: Layer already exists [2023-05-11T14:13:42.335Z] 785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22: digest: sha256:269ea326fe8feb23a753aa0c08f5a82bf7bef6495f958674957c7207f2804b7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:42.667Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:42.985Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-05-11T14:13:42.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-11T14:13:42.985Z] 606bc3d1fa58: Preparing [2023-05-11T14:13:42.985Z] ec4aff628730: Preparing [2023-05-11T14:13:42.985Z] a21e0be3266b: Preparing [2023-05-11T14:13:42.985Z] ed739ef8e6e5: Preparing [2023-05-11T14:13:42.985Z] f1417ff83b31: Preparing [2023-05-11T14:13:42.985Z] a21e0be3266b: Layer already exists [2023-05-11T14:13:42.985Z] f1417ff83b31: Layer already exists [2023-05-11T14:13:42.985Z] ec4aff628730: Layer already exists [2023-05-11T14:13:42.985Z] 606bc3d1fa58: Layer already exists [2023-05-11T14:13:42.985Z] ed739ef8e6e5: Layer already exists [2023-05-11T14:13:42.985Z] main: digest: sha256:269ea326fe8feb23a753aa0c08f5a82bf7bef6495f958674957c7207f2804b7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-11T14:13:43.029Z] ===================================================== [Pipeline] echo [2023-05-11T14:13:43.037Z] taggedImages: [2023-05-11T14:13:43.037Z] - nexus3.edgexfoundry.org:10004/device-snmp:785293254a1924c41af634214641cbf6fd758ce7 [2023-05-11T14:13:43.037Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-11T14:13:43.037Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.22 [2023-05-11T14:13:43.037Z] - nexus3.edgexfoundry.org:10004/device-snmp:785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22 [2023-05-11T14:13:43.037Z] - 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-05-11T14:13:43.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T14:13:43.414Z] [2023-05-11T14:13:43.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:43.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T14:13:43.720Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-11T14:13:43.720Z] 5eb5b503b376: Pulling fs layer [2023-05-11T14:13:43.720Z] 5c69ac0246d0: Pulling fs layer [2023-05-11T14:13:43.720Z] ec43610c2a17: Pulling fs layer [2023-05-11T14:13:43.720Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-11T14:13:43.720Z] 33b1e0a273af: Pulling fs layer [2023-05-11T14:13:43.720Z] 5d3b04190fa2: Pulling fs layer [2023-05-11T14:13:43.720Z] 2f39f015ded8: Pulling fs layer [2023-05-11T14:13:43.720Z] 33b1e0a273af: Waiting [2023-05-11T14:13:43.720Z] 5d3b04190fa2: Waiting [2023-05-11T14:13:43.720Z] 2f39f015ded8: Waiting [2023-05-11T14:13:43.720Z] 3a2ae6a8a46f: Waiting [2023-05-11T14:13:43.720Z] 5c69ac0246d0: Verifying Checksum [2023-05-11T14:13:43.720Z] 5c69ac0246d0: Download complete [2023-05-11T14:13:43.720Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-11T14:13:43.720Z] 3a2ae6a8a46f: Download complete [2023-05-11T14:13:43.720Z] 33b1e0a273af: Verifying Checksum [2023-05-11T14:13:43.720Z] 33b1e0a273af: Download complete [2023-05-11T14:13:43.720Z] 5d3b04190fa2: Verifying Checksum [2023-05-11T14:13:43.720Z] 5d3b04190fa2: Download complete [2023-05-11T14:13:43.720Z] ec43610c2a17: Verifying Checksum [2023-05-11T14:13:43.720Z] ec43610c2a17: Download complete [2023-05-11T14:13:43.976Z] 5eb5b503b376: Verifying Checksum [2023-05-11T14:13:43.976Z] 5eb5b503b376: Download complete [2023-05-11T14:13:45.351Z] 5eb5b503b376: Pull complete [2023-05-11T14:13:45.351Z] 5c69ac0246d0: Pull complete [2023-05-11T14:13:45.611Z] ec43610c2a17: Pull complete [2023-05-11T14:13:45.611Z] 3a2ae6a8a46f: Pull complete [2023-05-11T14:13:45.869Z] 33b1e0a273af: Pull complete [2023-05-11T14:13:46.129Z] 5d3b04190fa2: Pull complete [2023-05-11T14:13:50.311Z] 2f39f015ded8: Pull complete [2023-05-11T14:13:50.311Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-11T14:13:50.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T14:13:50.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:13:50.392Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:13:50.424Z] $ 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-05-11T14:13:55.199Z] $ docker top 0a27aff8771d4dbcd0084ec4ff80b1e2ec16fa5dd25de3a36ecce06b6f52d36c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:13:55.582Z] ---> job-cost.sh [2023-05-11T14:13:55.582Z] lf-activate-venv: SKIPPING [2023-05-11T14:13:55.582Z] INFO: No Stack... [2023-05-11T14:13:55.840Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T14:13:56.449Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T14:13:56.737Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-05-11T14:13:56.737Z] + cut -d, -f6 [Pipeline] lock [2023-05-11T14:13:56.748Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-79-stack-cost] [2023-05-11T14:13:56.756Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-79-stack-cost] did not exist. Created. [2023-05-11T14:13:56.756Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T14:13:57.055Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-11T14:13:57.086Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T14:13:57.094Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T14:13:57.115Z] $ docker stop --time=1 0a27aff8771d4dbcd0084ec4ff80b1e2ec16fa5dd25de3a36ecce06b6f52d36c [2023-05-11T14:13:58.270Z] $ docker rm -f --volumes 0a27aff8771d4dbcd0084ec4ff80b1e2ec16fa5dd25de3a36ecce06b6f52d36c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-11T14:14:47.528Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15211 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-05-11T14:14:47.539Z] Running in /w/workspace/device-snmp-go/79 [Pipeline] { [Pipeline] checkout [2023-05-11T14:14:47.573Z] Selected Git installation does not exist. Using Default [2023-05-11T14:14:47.573Z] The recommended git tool is: NONE [2023-05-11T14:14:56.782Z] using credential edgex-jenkins-ssh [2023-05-11T14:14:56.804Z] Cloning the remote Git repository [2023-05-11T14:14:56.866Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-11T14:14:56.985Z] > git init /w/workspace/device-snmp-go/79 # timeout=10 [2023-05-11T14:14:57.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-11T14:14:57.174Z] > git --version # timeout=10 [2023-05-11T14:14:57.198Z] > git --version # 'git version 2.25.1' [2023-05-11T14:14:57.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T14:14:57.391Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T14:14:58.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-11T14:14:58.535Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T14:14:59.683Z] Avoid second fetch [2023-05-11T14:14:59.684Z] Checking out Revision 785293254a1924c41af634214641cbf6fd758ce7 (main) [2023-05-11T14:15:00.407Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#306)" [2023-05-11T14:14:59.708Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T14:14:59.794Z] > git checkout -f 785293254a1924c41af634214641cbf6fd758ce7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T14:15:01.541Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-11T14:15:01.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T14:15:01.541Z] Dload Upload Total Spent Left Speed [2023-05-11T14:15:01.541Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-05-11T14:15:02.227Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-11T14:15:02.582Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-11T14:15:02.582Z] + sudo tee /etc/docker/daemon.new [2023-05-11T14:15:02.582Z] { [2023-05-11T14:15:02.582Z] "registry-mirrors": [ [2023-05-11T14:15:02.582Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-11T14:15:02.582Z] ], [2023-05-11T14:15:02.582Z] "bip": "10.250.0.254/24", [2023-05-11T14:15:02.582Z] "hosts": [ [2023-05-11T14:15:02.582Z] "tcp://0.0.0.0:5555", [2023-05-11T14:15:02.582Z] "unix:///var/run/docker.sock" [2023-05-11T14:15:02.582Z] ], [2023-05-11T14:15:02.582Z] "mtu": 1458, [2023-05-11T14:15:02.582Z] "selinux-enabled": true, [2023-05-11T14:15:02.582Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-11T14:15:02.582Z] } [Pipeline] sh [2023-05-11T14:15:02.927Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-11T14:15:03.280Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T14:15:21.606Z] provisioning config files... [2023-05-11T14:15:21.645Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/79@tmp/config13230366531414955695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:15:22.027Z] ---> docker-login.sh [2023-05-11T14:15:22.028Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:15:22.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:22.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:22.627Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:22.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:22.627Z] [2023-05-11T14:15:22.627Z] Login Succeeded [2023-05-11T14:15:22.627Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:15:22.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:23.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:23.175Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:23.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:23.175Z] [2023-05-11T14:15:23.175Z] Login Succeeded [2023-05-11T14:15:23.175Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:15:23.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:23.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:23.449Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:23.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:23.449Z] [2023-05-11T14:15:23.449Z] Login Succeeded [2023-05-11T14:15:23.449Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:15:23.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:24.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:24.002Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:24.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:24.002Z] [2023-05-11T14:15:24.002Z] Login Succeeded [2023-05-11T14:15:24.002Z] docker.io [2023-05-11T14:15:24.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:24.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:24.547Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:24.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:24.547Z] [2023-05-11T14:15:24.547Z] Login Succeeded [2023-05-11T14:15:24.547Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:15:24.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T14:15:24.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:15:24.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:15:24.973Z] ========================================================= [2023-05-11T14:15:24.973Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-11T14:15:24.973Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:25.343Z] + 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-05-11T14:15:25.623Z] Sending build context to Docker daemon 3.017MB [2023-05-11T14:15:25.623Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T14:15:25.623Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-11T14:15:25.904Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-11T14:15:25.904Z] c41833b44d91: Pulling fs layer [2023-05-11T14:15:25.904Z] ed15518f5707: Pulling fs layer [2023-05-11T14:15:25.904Z] feae8fd75edb: Pulling fs layer [2023-05-11T14:15:25.904Z] 242c74f7c9fa: Pulling fs layer [2023-05-11T14:15:25.904Z] 3cdef696dda3: Pulling fs layer [2023-05-11T14:15:25.904Z] 2ced38df9373: Pulling fs layer [2023-05-11T14:15:25.904Z] 58f1dce35555: Pulling fs layer [2023-05-11T14:15:25.904Z] 3cdef696dda3: Waiting [2023-05-11T14:15:25.904Z] 2ced38df9373: Waiting [2023-05-11T14:15:25.904Z] 58f1dce35555: Waiting [2023-05-11T14:15:25.904Z] 242c74f7c9fa: Waiting [2023-05-11T14:15:25.904Z] ed15518f5707: Verifying Checksum [2023-05-11T14:15:25.904Z] ed15518f5707: Download complete [2023-05-11T14:15:25.904Z] 242c74f7c9fa: Verifying Checksum [2023-05-11T14:15:25.904Z] 242c74f7c9fa: Download complete [2023-05-11T14:15:25.904Z] 3cdef696dda3: Verifying Checksum [2023-05-11T14:15:25.904Z] 3cdef696dda3: Download complete [2023-05-11T14:15:25.904Z] c41833b44d91: Verifying Checksum [2023-05-11T14:15:25.904Z] c41833b44d91: Download complete [2023-05-11T14:15:27.368Z] c41833b44d91: Pull complete [2023-05-11T14:15:27.654Z] 58f1dce35555: Verifying Checksum [2023-05-11T14:15:27.654Z] 58f1dce35555: Download complete [2023-05-11T14:15:27.932Z] ed15518f5707: Pull complete [2023-05-11T14:15:28.923Z] feae8fd75edb: Verifying Checksum [2023-05-11T14:15:28.923Z] feae8fd75edb: Download complete [2023-05-11T14:15:28.923Z] 2ced38df9373: Verifying Checksum [2023-05-11T14:15:28.923Z] 2ced38df9373: Download complete [2023-05-11T14:15:41.295Z] feae8fd75edb: Pull complete [2023-05-11T14:15:41.295Z] 242c74f7c9fa: Pull complete [2023-05-11T14:15:41.295Z] 3cdef696dda3: Pull complete [2023-05-11T14:15:49.577Z] 2ced38df9373: Pull complete [2023-05-11T14:15:51.560Z] 58f1dce35555: Pull complete [2023-05-11T14:15:51.560Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-11T14:15:51.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-11T14:15:51.834Z] ---> fadd8f120f05 [2023-05-11T14:15:51.834Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-11T14:15:53.815Z] ---> Running in 52bc3961109f [2023-05-11T14:15:54.095Z] Removing intermediate container 52bc3961109f [2023-05-11T14:15:54.095Z] ---> c157f20d2632 [2023-05-11T14:15:54.095Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T14:15:54.369Z] ---> Running in 948b7b868ac4 [2023-05-11T14:15:54.754Z] Removing intermediate container 948b7b868ac4 [2023-05-11T14:15:54.754Z] ---> 31c2f1841f1a [2023-05-11T14:15:54.754Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-11T14:15:54.754Z] ---> Running in 5cc138409396 [2023-05-11T14:15:55.369Z] Removing intermediate container 5cc138409396 [2023-05-11T14:15:55.369Z] ---> 427d9a174d71 [2023-05-11T14:15:55.369Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T14:15:55.369Z] ---> Running in 2c71ff7d3abd [2023-05-11T14:15:55.996Z] Removing intermediate container 2c71ff7d3abd [2023-05-11T14:15:55.996Z] ---> b84ba8f588d0 [2023-05-11T14:15:55.996Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T14:15:55.996Z] ---> Running in d577b132bcaa [2023-05-11T14:15:57.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T14:15:58.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T14:15:59.467Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-11T14:15:59.467Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-11T14:15:59.467Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-11T14:15:59.467Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-11T14:15:59.467Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T14:15:59.467Z] OK: 268 MiB in 57 packages [2023-05-11T14:16:00.903Z] Removing intermediate container d577b132bcaa [2023-05-11T14:16:00.903Z] ---> af519ec30a0f [2023-05-11T14:16:00.903Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-11T14:16:00.903Z] ---> Running in d2e17103bfb4 [2023-05-11T14:16:01.177Z] Removing intermediate container d2e17103bfb4 [2023-05-11T14:16:01.177Z] ---> bd860bd4292d [2023-05-11T14:16:01.177Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-11T14:16:01.784Z] ---> 4559f9ee74bf [2023-05-11T14:16:01.784Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T14:16:01.784Z] ---> Running in 7bee02fad42e [2023-05-11T14:17:38.538Z] Removing intermediate container 7bee02fad42e [2023-05-11T14:17:38.538Z] ---> 88df5ac7e24a [2023-05-11T14:17:38.538Z] Step 11/12 : COPY . . [2023-05-11T14:17:38.538Z] ---> 15658686b792 [2023-05-11T14:17:38.538Z] Step 12/12 : RUN ${MAKE} [2023-05-11T14:17:38.538Z] ---> Running in 2624f833fdd8 [2023-05-11T14:17:38.538Z] noop [2023-05-11T14:17:38.538Z] Removing intermediate container 2624f833fdd8 [2023-05-11T14:17:38.538Z] ---> b1b7ba31c7b6 [2023-05-11T14:17:38.538Z] Successfully built b1b7ba31c7b6 [2023-05-11T14:17:38.538Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:17:38.911Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T14:17:38.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:17:39.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-15211 does not seem to be running inside a container [2023-05-11T14:17:39.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/79 -v /w/workspace/device-snmp-go/79:/w/workspace/device-snmp-go/79:rw,z -v /w/workspace/device-snmp-go/79@tmp:/w/workspace/device-snmp-go/79@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-05-11T14:17:40.602Z] $ docker top d4dcdd1a3cdbe92feff475e6a3f3ed91e9c22c7de312e435a1afece0e664b172 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:17:41.489Z] + go version [2023-05-11T14:17:41.489Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-11T14:17:41.521Z] $ docker stop --time=1 d4dcdd1a3cdbe92feff475e6a3f3ed91e9c22c7de312e435a1afece0e664b172 [2023-05-11T14:17:43.213Z] $ docker rm -f --volumes d4dcdd1a3cdbe92feff475e6a3f3ed91e9c22c7de312e435a1afece0e664b172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:17:43.789Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T14:17:43.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:17:44.011Z] prd-ubuntu20.04-docker-arm64-4c-16g-15211 does not seem to be running inside a container [2023-05-11T14:17:44.099Z] $ 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/79 -v /w/workspace/device-snmp-go/79:/w/workspace/device-snmp-go/79:rw,z -v /w/workspace/device-snmp-go/79@tmp:/w/workspace/device-snmp-go/79@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-05-11T14:17:45.410Z] $ docker top c787b67d5441752aea1c8e7d123baabbe529b724fbcca5f4eaa50aa12d2b8e20 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:17:46.297Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/79 [Pipeline] fileExists [Pipeline] sh [2023-05-11T14:17:47.000Z] + make test [2023-05-11T14:17:47.000Z] go test ./... -coverprofile=coverage.out [2023-05-11T14:18:25.945Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-11T14:20:47.728Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-11T14:20:47.728Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements [2023-05-11T14:20:47.728Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-11T14:20:47.728Z] go vet ./... [2023-05-11T14:21:20.011Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T14:21:20.011Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T14:21:20.011Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T14:21:20.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T14:21:20.047Z] $ docker stop --time=1 c787b67d5441752aea1c8e7d123baabbe529b724fbcca5f4eaa50aa12d2b8e20 [2023-05-11T14:21:22.057Z] $ docker rm -f --volumes c787b67d5441752aea1c8e7d123baabbe529b724fbcca5f4eaa50aa12d2b8e20 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T14:21:23.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T14:21:23.397Z] Warning: overwriting stash ‘coverage-report’ [2023-05-11T14:21:23.983Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T14:21:24.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T14:21:24.721Z] + ls -al . [2023-05-11T14:21:24.721Z] total 168 [2023-05-11T14:21:24.721Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:17 . [2023-05-11T14:21:24.721Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:14 .. [2023-05-11T14:21:24.721Z] -rw-rw-r-- 1 jenkins jenkins 6 May 11 14:14 .dockerignore [2023-05-11T14:21:24.721Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:14 .git [2023-05-11T14:21:24.721Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:14 .github [2023-05-11T14:21:24.721Z] -rw-rw-r-- 1 jenkins jenkins 328 May 11 14:14 .gitignore [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 14:14 .golangci.yml [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 11 14:14 Attribution.txt [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 11 14:14 CHANGELOG.md [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 11 14:14 Dockerfile [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 14:14 GOVERNANCE.md [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 656 May 11 14:14 Jenkinsfile [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:14 LICENSE [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 11 14:14 Makefile [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 14:14 OWNERS.md [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 11 14:14 README.md [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 14:11 VERSION [2023-05-11T14:21:24.722Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:14 bin [2023-05-11T14:21:24.722Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:14 cmd [2023-05-11T14:21:24.722Z] -rw-r--r-- 1 jenkins jenkins 8837 May 11 14:20 coverage.out [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 11 14:14 go.mod [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 11 14:14 go.sum [2023-05-11T14:21:24.722Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:14 internal [2023-05-11T14:21:24.722Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:14 snap [2023-05-11T14:21:24.722Z] -rw-rw-r-- 1 jenkins jenkins 228 May 11 14:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:21:25.082Z] + 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=785293254a1924c41af634214641cbf6fd758ce7 --label arch=arm64 --label version=3.0.0-dev.22 . [2023-05-11T14:21:25.355Z] Sending build context to Docker daemon 3.026MB [2023-05-11T14:21:25.355Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T14:21:25.355Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-11T14:21:25.355Z] ---> b1b7ba31c7b6 [2023-05-11T14:21:25.355Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-11T14:21:25.631Z] ---> Running in 34e8dcc14bc0 [2023-05-11T14:21:25.902Z] Removing intermediate container 34e8dcc14bc0 [2023-05-11T14:21:25.902Z] ---> 8c67d5036caf [2023-05-11T14:21:25.902Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T14:21:26.172Z] ---> Running in 2fa6af320fd8 [2023-05-11T14:21:26.452Z] Removing intermediate container 2fa6af320fd8 [2023-05-11T14:21:26.452Z] ---> 5401dd8070ac [2023-05-11T14:21:26.452Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-11T14:21:26.723Z] ---> Running in 1b3a6587b577 [2023-05-11T14:21:26.995Z] Removing intermediate container 1b3a6587b577 [2023-05-11T14:21:26.995Z] ---> 4ff5e8f877df [2023-05-11T14:21:26.995Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-11T14:21:26.995Z] ---> Running in 0e7ca056f3b7 [2023-05-11T14:21:27.266Z] Removing intermediate container 0e7ca056f3b7 [2023-05-11T14:21:27.266Z] ---> 572bb9822e7d [2023-05-11T14:21:27.266Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-11T14:21:27.538Z] ---> Running in 2fe0633ebbf6 [2023-05-11T14:21:28.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T14:21:29.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T14:21:30.913Z] OK: 268 MiB in 57 packages [2023-05-11T14:21:31.883Z] Removing intermediate container 2fe0633ebbf6 [2023-05-11T14:21:31.883Z] ---> 2bb8b05a7747 [2023-05-11T14:21:31.883Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-11T14:21:31.883Z] ---> Running in 149821fcabce [2023-05-11T14:21:32.153Z] Removing intermediate container 149821fcabce [2023-05-11T14:21:32.153Z] ---> 0f6c6a6e38df [2023-05-11T14:21:32.153Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-11T14:21:32.745Z] ---> 485639b9c2a7 [2023-05-11T14:21:32.745Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T14:21:33.017Z] ---> Running in 8eb63c24a5e3 [2023-05-11T14:21:37.296Z] Removing intermediate container 8eb63c24a5e3 [2023-05-11T14:21:37.296Z] ---> 6bc0ddf0a27c [2023-05-11T14:21:37.296Z] Step 11/24 : COPY . . [2023-05-11T14:21:38.265Z] ---> 45be991beb2b [2023-05-11T14:21:38.265Z] Step 12/24 : RUN ${MAKE} [2023-05-11T14:21:38.265Z] ---> Running in 0bb96428d85f [2023-05-11T14:21:39.238Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-11T14:24:16.034Z] Removing intermediate container 0bb96428d85f [2023-05-11T14:24:16.034Z] ---> 67ddcea6ee6e [2023-05-11T14:24:16.034Z] Step 13/24 : FROM alpine:3.17 [2023-05-11T14:24:16.034Z] 3.17: Pulling from library/alpine [2023-05-11T14:24:16.034Z] c41833b44d91: Already exists [2023-05-11T14:24:16.034Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T14:24:16.034Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T14:24:16.034Z] ---> 51e60588ff2c [2023-05-11T14:24:16.034Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-11T14:24:16.034Z] ---> Running in 1134a574d0ba [2023-05-11T14:24:16.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T14:24:16.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T14:24:16.034Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-11T14:24:16.034Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T14:24:16.034Z] OK: 8 MiB in 16 packages [2023-05-11T14:24:16.034Z] Removing intermediate container 1134a574d0ba [2023-05-11T14:24:16.034Z] ---> a1999ec511a0 [2023-05-11T14:24:16.034Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-11T14:24:16.034Z] ---> e0a92e38d33f [2023-05-11T14:24:16.034Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-11T14:24:16.303Z] ---> f3d2974017af [2023-05-11T14:24:16.303Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-11T14:24:16.899Z] ---> b4a15a495266 [2023-05-11T14:24:16.899Z] Step 18/24 : EXPOSE 59993 [2023-05-11T14:24:16.899Z] ---> Running in 3ae64cc7d890 [2023-05-11T14:24:17.167Z] Removing intermediate container 3ae64cc7d890 [2023-05-11T14:24:17.167Z] ---> 142a1074d5a7 [2023-05-11T14:24:17.167Z] Step 19/24 : EXPOSE 161 [2023-05-11T14:24:17.439Z] ---> Running in ee30e20ea4c7 [2023-05-11T14:24:17.705Z] Removing intermediate container ee30e20ea4c7 [2023-05-11T14:24:17.705Z] ---> 85328fe8046f [2023-05-11T14:24:17.705Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-11T14:24:17.705Z] ---> Running in 8ce9fa200130 [2023-05-11T14:24:17.974Z] Removing intermediate container 8ce9fa200130 [2023-05-11T14:24:17.974Z] ---> 5d302a1e766a [2023-05-11T14:24:17.974Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-11T14:24:17.974Z] ---> Running in 19480b20e6bb [2023-05-11T14:24:18.567Z] Removing intermediate container 19480b20e6bb [2023-05-11T14:24:18.567Z] ---> e7b055d98491 [2023-05-11T14:24:18.567Z] Step 22/24 : LABEL arch=arm64 [2023-05-11T14:24:18.567Z] ---> Running in 8f3805334759 [2023-05-11T14:24:18.840Z] Removing intermediate container 8f3805334759 [2023-05-11T14:24:18.840Z] ---> 58de3f127945 [2023-05-11T14:24:18.840Z] Step 23/24 : LABEL git_sha=785293254a1924c41af634214641cbf6fd758ce7 [2023-05-11T14:24:19.115Z] ---> Running in ac1072798bc9 [2023-05-11T14:24:19.384Z] Removing intermediate container ac1072798bc9 [2023-05-11T14:24:19.385Z] ---> 54867e8827a9 [2023-05-11T14:24:19.385Z] Step 24/24 : LABEL version=3.0.0-dev.22 [2023-05-11T14:24:19.385Z] ---> Running in e4fa5f4d5d65 [2023-05-11T14:24:19.653Z] Removing intermediate container e4fa5f4d5d65 [2023-05-11T14:24:19.653Z] ---> f71b2699ef35 [2023-05-11T14:24:19.653Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T14:24:19.653Z] Successfully built f71b2699ef35 [2023-05-11T14:24:19.653Z] 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-05-11T14:24:19.782Z] provisioning config files... [2023-05-11T14:24:19.798Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/79@tmp/config3302526834369881282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:24:20.142Z] ---> docker-login.sh [2023-05-11T14:24:20.142Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:24:20.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:24:20.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:24:20.412Z] Configure a credential helper to remove this warning. See [2023-05-11T14:24:20.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:24:20.412Z] [2023-05-11T14:24:20.412Z] Login Succeeded [2023-05-11T14:24:20.412Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:24:20.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:24:20.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:24:20.948Z] Configure a credential helper to remove this warning. See [2023-05-11T14:24:20.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:24:20.948Z] [2023-05-11T14:24:20.948Z] Login Succeeded [2023-05-11T14:24:20.948Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:24:21.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:24:21.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:24:21.216Z] Configure a credential helper to remove this warning. See [2023-05-11T14:24:21.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:24:21.216Z] [2023-05-11T14:24:21.216Z] Login Succeeded [2023-05-11T14:24:21.216Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:24:21.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:24:21.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:24:21.484Z] Configure a credential helper to remove this warning. See [2023-05-11T14:24:21.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:24:21.484Z] [2023-05-11T14:24:21.484Z] Login Succeeded [2023-05-11T14:24:21.484Z] docker.io [2023-05-11T14:24:21.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:24:22.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:24:22.020Z] Configure a credential helper to remove this warning. See [2023-05-11T14:24:22.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:24:22.021Z] [2023-05-11T14:24:22.021Z] Login Succeeded [2023-05-11T14:24:22.289Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:24:22.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-11T14:24:22.392Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:24:22.418Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-05-11T14:24:22.418Z] 785293254a1924c41af634214641cbf6fd758ce7 [2023-05-11T14:24:22.418Z] latest [2023-05-11T14:24:22.418Z] 3.0.0-dev.22 [2023-05-11T14:24:22.418Z] 785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22 [2023-05-11T14:24:22.418Z] main [2023-05-11T14:24:22.418Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:22.779Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:785293254a1924c41af634214641cbf6fd758ce7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:23.160Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:785293254a1924c41af634214641cbf6fd758ce7 [2023-05-11T14:24:23.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-11T14:24:23.160Z] ba84db225251: Preparing [2023-05-11T14:24:23.160Z] c62652208938: Preparing [2023-05-11T14:24:23.160Z] 6f99a9fcbc6f: Preparing [2023-05-11T14:24:23.160Z] 84f11567f2eb: Preparing [2023-05-11T14:24:23.160Z] 26cbea5cba74: Preparing [2023-05-11T14:24:23.160Z] 26cbea5cba74: Layer already exists [2023-05-11T14:24:23.441Z] 84f11567f2eb: Pushed [2023-05-11T14:24:23.441Z] ba84db225251: Pushed [2023-05-11T14:24:23.441Z] c62652208938: Pushed [2023-05-11T14:24:30.128Z] 6f99a9fcbc6f: Pushed [2023-05-11T14:24:30.128Z] 785293254a1924c41af634214641cbf6fd758ce7: digest: sha256:ad503334f569f43fab2dce17b446714bc28b1028af9a78d521d9358be8f7da2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:30.488Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:30.839Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-11T14:24:30.839Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-11T14:24:30.839Z] ba84db225251: Preparing [2023-05-11T14:24:30.839Z] c62652208938: Preparing [2023-05-11T14:24:30.839Z] 6f99a9fcbc6f: Preparing [2023-05-11T14:24:30.839Z] 84f11567f2eb: Preparing [2023-05-11T14:24:30.839Z] 26cbea5cba74: Preparing [2023-05-11T14:24:30.839Z] 26cbea5cba74: Layer already exists [2023-05-11T14:24:30.839Z] c62652208938: Layer already exists [2023-05-11T14:24:30.839Z] 6f99a9fcbc6f: Layer already exists [2023-05-11T14:24:30.839Z] ba84db225251: Layer already exists [2023-05-11T14:24:30.839Z] 84f11567f2eb: Layer already exists [2023-05-11T14:24:31.108Z] latest: digest: sha256:ad503334f569f43fab2dce17b446714bc28b1028af9a78d521d9358be8f7da2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:31.472Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:31.819Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.22 [2023-05-11T14:24:31.819Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-11T14:24:31.819Z] ba84db225251: Preparing [2023-05-11T14:24:31.819Z] c62652208938: Preparing [2023-05-11T14:24:31.819Z] 6f99a9fcbc6f: Preparing [2023-05-11T14:24:31.819Z] 84f11567f2eb: Preparing [2023-05-11T14:24:31.819Z] 26cbea5cba74: Preparing [2023-05-11T14:24:31.819Z] c62652208938: Layer already exists [2023-05-11T14:24:31.819Z] 26cbea5cba74: Layer already exists [2023-05-11T14:24:31.819Z] 84f11567f2eb: Layer already exists [2023-05-11T14:24:31.819Z] ba84db225251: Layer already exists [2023-05-11T14:24:31.819Z] 6f99a9fcbc6f: Layer already exists [2023-05-11T14:24:31.819Z] 3.0.0-dev.22: digest: sha256:ad503334f569f43fab2dce17b446714bc28b1028af9a78d521d9358be8f7da2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:32.442Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:35.383Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22 [2023-05-11T14:24:35.383Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-11T14:24:35.383Z] ba84db225251: Preparing [2023-05-11T14:24:35.383Z] c62652208938: Preparing [2023-05-11T14:24:35.383Z] 6f99a9fcbc6f: Preparing [2023-05-11T14:24:35.383Z] 84f11567f2eb: Preparing [2023-05-11T14:24:35.383Z] 26cbea5cba74: Preparing [2023-05-11T14:24:35.383Z] 26cbea5cba74: Layer already exists [2023-05-11T14:24:35.383Z] 6f99a9fcbc6f: Layer already exists [2023-05-11T14:24:35.383Z] c62652208938: Layer already exists [2023-05-11T14:24:35.383Z] 84f11567f2eb: Layer already exists [2023-05-11T14:24:35.383Z] ba84db225251: Layer already exists [2023-05-11T14:24:35.383Z] 785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22: digest: sha256:ad503334f569f43fab2dce17b446714bc28b1028af9a78d521d9358be8f7da2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:36.023Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:36.369Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-05-11T14:24:36.369Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-11T14:24:36.369Z] ba84db225251: Preparing [2023-05-11T14:24:36.369Z] c62652208938: Preparing [2023-05-11T14:24:36.369Z] 6f99a9fcbc6f: Preparing [2023-05-11T14:24:36.369Z] 84f11567f2eb: Preparing [2023-05-11T14:24:36.369Z] 26cbea5cba74: Preparing [2023-05-11T14:24:36.369Z] 6f99a9fcbc6f: Layer already exists [2023-05-11T14:24:36.369Z] ba84db225251: Layer already exists [2023-05-11T14:24:36.369Z] 26cbea5cba74: Layer already exists [2023-05-11T14:24:36.369Z] 84f11567f2eb: Layer already exists [2023-05-11T14:24:36.369Z] c62652208938: Layer already exists [2023-05-11T14:24:36.638Z] main: digest: sha256:ad503334f569f43fab2dce17b446714bc28b1028af9a78d521d9358be8f7da2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-11T14:24:36.687Z] ===================================================== [Pipeline] echo [2023-05-11T14:24:36.694Z] taggedImages: [2023-05-11T14:24:36.694Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:785293254a1924c41af634214641cbf6fd758ce7 [2023-05-11T14:24:36.694Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-11T14:24:36.694Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.22 [2023-05-11T14:24:36.694Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:785293254a1924c41af634214641cbf6fd758ce7-3.0.0-dev.22 [2023-05-11T14:24:36.694Z] - 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-05-11T14:24:37.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T14:24:37.079Z] [2023-05-11T14:24:37.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:24:37.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T14:24:37.436Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-11T14:24:37.436Z] 8998bd30e6a1: Pulling fs layer [2023-05-11T14:24:37.436Z] 04944245beec: Pulling fs layer [2023-05-11T14:24:37.436Z] 699f458cf7ca: Pulling fs layer [2023-05-11T14:24:37.436Z] 765212b225bb: Pulling fs layer [2023-05-11T14:24:37.436Z] f23df028b6ca: Pulling fs layer [2023-05-11T14:24:37.436Z] d65c8cfc05b1: Pulling fs layer [2023-05-11T14:24:37.436Z] 2437ff75d9bd: Pulling fs layer [2023-05-11T14:24:37.436Z] f23df028b6ca: Waiting [2023-05-11T14:24:37.436Z] 765212b225bb: Waiting [2023-05-11T14:24:37.436Z] d65c8cfc05b1: Waiting [2023-05-11T14:24:37.436Z] 2437ff75d9bd: Waiting [2023-05-11T14:24:37.706Z] 04944245beec: Verifying Checksum [2023-05-11T14:24:37.706Z] 04944245beec: Download complete [2023-05-11T14:24:37.706Z] 765212b225bb: Verifying Checksum [2023-05-11T14:24:37.706Z] 765212b225bb: Download complete [2023-05-11T14:24:37.977Z] f23df028b6ca: Download complete [2023-05-11T14:24:37.977Z] d65c8cfc05b1: Verifying Checksum [2023-05-11T14:24:37.977Z] d65c8cfc05b1: Download complete [2023-05-11T14:24:37.977Z] 699f458cf7ca: Verifying Checksum [2023-05-11T14:24:37.977Z] 699f458cf7ca: Download complete [2023-05-11T14:24:38.565Z] 8998bd30e6a1: Verifying Checksum [2023-05-11T14:24:38.565Z] 8998bd30e6a1: Download complete [2023-05-11T14:24:40.520Z] 2437ff75d9bd: Verifying Checksum [2023-05-11T14:24:40.520Z] 2437ff75d9bd: Download complete [2023-05-11T14:24:42.473Z] 8998bd30e6a1: Pull complete [2023-05-11T14:24:43.062Z] 04944245beec: Pull complete [2023-05-11T14:24:44.478Z] 699f458cf7ca: Pull complete [2023-05-11T14:24:44.746Z] 765212b225bb: Pull complete [2023-05-11T14:24:48.205Z] f23df028b6ca: Pull complete [2023-05-11T14:24:48.205Z] d65c8cfc05b1: Pull complete [2023-05-11T14:25:03.230Z] 2437ff75d9bd: Pull complete [2023-05-11T14:25:03.230Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-11T14:25:03.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T14:25:03.230Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:25:03.442Z] prd-ubuntu20.04-docker-arm64-4c-16g-15211 does not seem to be running inside a container [2023-05-11T14:25:03.523Z] $ 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/79 -v /w/workspace/device-snmp-go/79:/w/workspace/device-snmp-go/79:rw,z -v /w/workspace/device-snmp-go/79@tmp:/w/workspace/device-snmp-go/79@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-05-11T14:25:06.381Z] $ docker top ab0d551a5a2418fb326e47a3db0aafb486ec440fdaa1e4953f7d341a9eddf3b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:25:07.249Z] ---> job-cost.sh [2023-05-11T14:25:07.250Z] lf-activate-venv: SKIPPING [2023-05-11T14:25:07.250Z] INFO: No Stack... [2023-05-11T14:25:07.834Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-11T14:25:08.795Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T14:25:09.440Z] + cat /w/workspace/device-snmp-go/79/archives/cost.csv [2023-05-11T14:25:09.440Z] + cut -d, -f6 [Pipeline] lock [2023-05-11T14:25:09.521Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-79-stack-cost] [2023-05-11T14:25:09.529Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-79-stack-cost] did not exist. Created. [2023-05-11T14:25:09.529Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T14:25:10.199Z] /w/workspace/device-snmp-go/79@tmp/durable-aacf6bfb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-11T14:25:10.862Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-11T14:25:10.891Z] Warning: overwriting stash ‘stack-cost’ [2023-05-11T14:25:10.944Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T14:25:10.951Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T14:25:10.974Z] $ docker stop --time=1 ab0d551a5a2418fb326e47a3db0aafb486ec440fdaa1e4953f7d341a9eddf3b9 [2023-05-11T14:25:12.524Z] $ docker rm -f --volumes ab0d551a5a2418fb326e47a3db0aafb486ec440fdaa1e4953f7d341a9eddf3b9 [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-05-11T14:25:14.043Z] provisioning config files... [2023-05-11T14:25:14.051Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11318185659115544975tmp [Pipeline] { [Pipeline] sh [2023-05-11T14:25:14.344Z] + set +x [2023-05-11T14:25:14.344Z] + curl -s https://codecov.io/bash [2023-05-11T14:25:14.344Z] + bash -s -- [2023-05-11T14:25:14.344Z] [2023-05-11T14:25:14.344Z] _____ _ [2023-05-11T14:25:14.344Z] / ____| | | [2023-05-11T14:25:14.344Z] | | ___ __| | ___ ___ _____ __ [2023-05-11T14:25:14.344Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-11T14:25:14.344Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-11T14:25:14.344Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-11T14:25:14.344Z] Bash-1.0.6 [2023-05-11T14:25:14.344Z] [2023-05-11T14:25:14.344Z] [2023-05-11T14:25:14.344Z] ==> git version 2.25.1 found [2023-05-11T14:25:14.344Z] ==> 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-05-11T14:25:14.344Z] Release-Date: 2020-01-08 [2023-05-11T14:25:14.344Z] 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-05-11T14:25:14.344Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-11T14:25:14.344Z] ==> Jenkins CI detected. [2023-05-11T14:25:14.344Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-05-11T14:25:14.344Z] project root: . [2023-05-11T14:25:14.344Z] --> token set from env [2023-05-11T14:25:14.344Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-11T14:25:14.344Z] ==> Running gcov in . (disable via -X gcov) [2023-05-11T14:25:14.344Z] ==> Python coveragepy not found [2023-05-11T14:25:14.344Z] ==> Searching for coverage reports in: [2023-05-11T14:25:14.344Z] + . [2023-05-11T14:25:14.344Z] -> Found 1 reports [2023-05-11T14:25:14.344Z] ==> Detecting git/mercurial file structure [2023-05-11T14:25:14.344Z] ==> Reading reports [2023-05-11T14:25:14.344Z] + ./coverage.out bytes=8837 [2023-05-11T14:25:14.344Z] ==> Appending adjustments [2023-05-11T14:25:14.344Z] https://docs.codecov.io/docs/fixing-reports [2023-05-11T14:25:14.603Z] + Found adjustments [2023-05-11T14:25:14.603Z] ==> Gzipping contents [2023-05-11T14:25:14.603Z] 4.0K /tmp/codecov.UDpt5k.gz [2023-05-11T14:25:14.603Z] ==> Uploading reports [2023-05-11T14:25:14.603Z] url: https://codecov.io [2023-05-11T14:25:14.603Z] query: branch=main&commit=785293254a1924c41af634214641cbf6fd758ce7&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-11T14:25:14.603Z] -> Pinging Codecov [2023-05-11T14:25:14.603Z] 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=785293254a1924c41af634214641cbf6fd758ce7&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-11T14:25:14.863Z] -> Uploading to [2023-05-11T14:25:14.863Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-11/6C56EA5C29638FB4528AC87E60AF5AE0/785293254a1924c41af634214641cbf6fd758ce7/977311dd-765c-41e5-af17-c1098c5da5ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T142514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=903d80eb4ca757402e9a071132e602addc84457b45e93b7c2440a36ea9e5a4a4 [2023-05-11T14:25:14.863Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T14:25:14.863Z] Dload Upload Total Spent Left Speed [2023-05-11T14:25:14.863Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7711 --:--:-- --:--:-- --:--:-- 7711 [2023-05-11T14:25:14.863Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/785293254a1924c41af634214641cbf6fd758ce7 [Pipeline] } [2023-05-11T14:25:14.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-11T14:25:14.989Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-11T14:25:14.998Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:15.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-11T14:25:15.290Z] [2023-05-11T14:25:15.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:15.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-11T14:25:15.587Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-11T14:25:15.587Z] df9b9388f04a: Pulling fs layer [2023-05-11T14:25:15.587Z] 52dc419b0ee2: Pulling fs layer [2023-05-11T14:25:15.587Z] 25bc292e5bac: Pulling fs layer [2023-05-11T14:25:15.587Z] 114826534d7a: Pulling fs layer [2023-05-11T14:25:15.587Z] 4657fd5d0bcf: Pulling fs layer [2023-05-11T14:25:15.587Z] 6ad1cebc031e: Pulling fs layer [2023-05-11T14:25:15.587Z] 8a3aa393b2d8: Pulling fs layer [2023-05-11T14:25:15.587Z] 4657fd5d0bcf: Waiting [2023-05-11T14:25:15.587Z] 6ad1cebc031e: Waiting [2023-05-11T14:25:15.587Z] 8a3aa393b2d8: Waiting [2023-05-11T14:25:15.587Z] 114826534d7a: Waiting [2023-05-11T14:25:15.587Z] 25bc292e5bac: Verifying Checksum [2023-05-11T14:25:15.587Z] 25bc292e5bac: Download complete [2023-05-11T14:25:15.587Z] 52dc419b0ee2: Verifying Checksum [2023-05-11T14:25:15.587Z] 52dc419b0ee2: Download complete [2023-05-11T14:25:15.587Z] 4657fd5d0bcf: Verifying Checksum [2023-05-11T14:25:15.587Z] 4657fd5d0bcf: Download complete [2023-05-11T14:25:15.587Z] df9b9388f04a: Download complete [2023-05-11T14:25:15.846Z] 6ad1cebc031e: Verifying Checksum [2023-05-11T14:25:15.846Z] 6ad1cebc031e: Download complete [2023-05-11T14:25:15.846Z] df9b9388f04a: Pull complete [2023-05-11T14:25:15.846Z] 52dc419b0ee2: Pull complete [2023-05-11T14:25:15.846Z] 25bc292e5bac: Pull complete [2023-05-11T14:25:16.417Z] 114826534d7a: Verifying Checksum [2023-05-11T14:25:16.417Z] 114826534d7a: Download complete [2023-05-11T14:25:16.417Z] 8a3aa393b2d8: Verifying Checksum [2023-05-11T14:25:16.417Z] 8a3aa393b2d8: Download complete [2023-05-11T14:25:19.705Z] 114826534d7a: Pull complete [2023-05-11T14:25:19.705Z] 4657fd5d0bcf: Pull complete [2023-05-11T14:25:20.273Z] 6ad1cebc031e: Pull complete [2023-05-11T14:25:22.801Z] 8a3aa393b2d8: Pull complete [2023-05-11T14:25:22.801Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-11T14:25:22.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-11T14:25:22.801Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:25:22.896Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:25:22.926Z] $ 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-05-11T14:25:28.468Z] $ docker top de3c4f75829780e2532ee5ec63459829baebe894de5f8e3e086eae9b93e3df1a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-11T14:25:28.540Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-05-11T14:25:28.821Z] + set -o pipefail [2023-05-11T14:25:28.821Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-05-11T14:25:34.109Z] [2023-05-11T14:25:34.109Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-05-11T14:25:34.109Z] [2023-05-11T14:25:34.109Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/fea7f720-bcec-451c-a2fe-f738bce4fe47 [2023-05-11T14:25:34.109Z] [2023-05-11T14:25:34.109Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-11T14:25:34.109Z] [2023-05-11T14:25:34.109Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-11T14:25:34.109Z] [2023-05-11T14:25:34.109Z] [2023-05-11T14:25:34.109Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-11T14:25:34.109Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-11T14:25:34.109Z] More details here: https://snyk.co/ue1NS [2023-05-11T14:25:34.109Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-11T14:25:34.109Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-11T14:25:34.113Z] $ docker stop --time=1 de3c4f75829780e2532ee5ec63459829baebe894de5f8e3e086eae9b93e3df1a [2023-05-11T14:25:38.574Z] $ docker rm -f --volumes de3c4f75829780e2532ee5ec63459829baebe894de5f8e3e086eae9b93e3df1a [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-05-11T14:25:39.267Z] + git log --format=format:%s -1 785293254a1924c41af634214641cbf6fd758ce7 [Pipeline] sh [2023-05-11T14:25:39.558Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T14:25:39.558Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:39.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:25:39.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:25:39.936Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:25:39.963Z] $ 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-05-11T14:25:40.466Z] $ docker top d86687f5a7050a9e1a3bb41bbfed277e24e1b48f600821f2bd8d62d94c802811 -eo pid,comm [2023-05-11T14:25:40.524Z] 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-05-11T14:25:40.524Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T14:25:40.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:25:40.561Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:25:40.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:25:40.668Z] $ docker exec d86687f5a7050a9e1a3bb41bbfed277e24e1b48f600821f2bd8d62d94c802811 ssh-agent [2023-05-11T14:25:40.778Z] SSH_AUTH_SOCK=/tmp/ssh-xWOI4BFaSTJk/agent.32 [2023-05-11T14:25:40.778Z] SSH_AGENT_PID=38 [2023-05-11T14:25:40.784Z] Running ssh-add (command line suppressed) [2023-05-11T14:25:40.880Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5011473462145579959.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5011473462145579959.key) [2023-05-11T14:25:40.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:25:41.191Z] + git semver tag [2023-05-11T14:25:41.450Z] 2023-05-11 14:25:41,370 [run_tag] DEBUG tag force:False [2023-05-11T14:25:41.451Z] 2023-05-11 14:25:41,370 [check_head_tag] DEBUG check head tag [2023-05-11T14:25:41.451Z] 2023-05-11 14:25:41,372 [execute] INFO git cat-file --batch-check [2023-05-11T14:25:41.451Z] 2023-05-11 14:25:41,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-11T14:25:41.451Z] 2023-05-11 14:25:41,376 [execute] INFO git cat-file --batch [2023-05-11T14:25:41.451Z] 2023-05-11 14:25:41,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-11T14:25:41.451Z] 2023-05-11 14:25:41,395 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-11T14:25:41.451Z] 2023-05-11 14:25:41,395 [execute] INFO git tag -a v3.0.0-dev.22 -m v3.0.0-dev.22 [2023-05-11T14:25:41.451Z] 2023-05-11 14:25:41,395 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.22', '-m', 'v3.0.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-11T14:25:41.451Z] 2023-05-11 14:25:41,399 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-11T14:25:41.451Z] 3.0.0-dev.22 [Pipeline] } [2023-05-11T14:25:41.453Z] $ docker exec --env ******** --env ******** d86687f5a7050a9e1a3bb41bbfed277e24e1b48f600821f2bd8d62d94c802811 ssh-agent -k [2023-05-11T14:25:41.548Z] unset SSH_AUTH_SOCK; [2023-05-11T14:25:41.548Z] unset SSH_AGENT_PID; [2023-05-11T14:25:41.548Z] echo Agent pid 38 killed; [2023-05-11T14:25:41.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T14:25:41.880Z] + git semver [Pipeline] } [2023-05-11T14:25:42.146Z] $ docker stop --time=1 d86687f5a7050a9e1a3bb41bbfed277e24e1b48f600821f2bd8d62d94c802811 [2023-05-11T14:25:43.405Z] $ docker rm -f --volumes d86687f5a7050a9e1a3bb41bbfed277e24e1b48f600821f2bd8d62d94c802811 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:43.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-11T14:25:43.805Z] [2023-05-11T14:25:43.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:44.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-11T14:25:44.098Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-11T14:25:44.098Z] ab5ef0e58194: Pulling fs layer [2023-05-11T14:25:44.098Z] 9712f1f96733: Pulling fs layer [2023-05-11T14:25:44.098Z] 63f879dbbcfc: Pulling fs layer [2023-05-11T14:25:44.098Z] 0d9ebad4ef96: Pulling fs layer [2023-05-11T14:25:44.098Z] e9a5061849ea: Pulling fs layer [2023-05-11T14:25:44.098Z] d747dcd14b5f: Pulling fs layer [2023-05-11T14:25:44.098Z] 2de7ff778b66: Pulling fs layer [2023-05-11T14:25:44.098Z] 0d9ebad4ef96: Waiting [2023-05-11T14:25:44.098Z] e9a5061849ea: Waiting [2023-05-11T14:25:44.098Z] d747dcd14b5f: Waiting [2023-05-11T14:25:44.098Z] 2de7ff778b66: Waiting [2023-05-11T14:25:44.098Z] 9712f1f96733: Download complete [2023-05-11T14:25:44.358Z] 63f879dbbcfc: Verifying Checksum [2023-05-11T14:25:44.358Z] 63f879dbbcfc: Download complete [2023-05-11T14:25:44.616Z] 0d9ebad4ef96: Verifying Checksum [2023-05-11T14:25:44.616Z] 0d9ebad4ef96: Download complete [2023-05-11T14:25:44.616Z] e9a5061849ea: Verifying Checksum [2023-05-11T14:25:44.616Z] e9a5061849ea: Download complete [2023-05-11T14:25:44.616Z] d747dcd14b5f: Download complete [2023-05-11T14:25:44.616Z] ab5ef0e58194: Verifying Checksum [2023-05-11T14:25:44.616Z] ab5ef0e58194: Download complete [2023-05-11T14:25:44.873Z] 2de7ff778b66: Verifying Checksum [2023-05-11T14:25:44.873Z] 2de7ff778b66: Download complete [2023-05-11T14:25:48.213Z] ab5ef0e58194: Pull complete [2023-05-11T14:25:48.213Z] 9712f1f96733: Pull complete [2023-05-11T14:25:48.781Z] 63f879dbbcfc: Pull complete [2023-05-11T14:25:53.166Z] 0d9ebad4ef96: Pull complete [2023-05-11T14:25:53.166Z] e9a5061849ea: Pull complete [2023-05-11T14:25:53.166Z] d747dcd14b5f: Pull complete [2023-05-11T14:25:54.541Z] 2de7ff778b66: Pull complete [2023-05-11T14:25:54.541Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-11T14:25:54.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-11T14:25:54.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:25:54.635Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:25:54.660Z] $ 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-05-11T14:26:09.719Z] $ docker top 8387243dd1bda1048c76fb7ace188c893eb95de1d58cc6121b64f38b62c853b1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-11T14:26:09.796Z] provisioning config files... [2023-05-11T14:26:09.822Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3165474003984819899tmp [2023-05-11T14:26:09.833Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14739564500591427677tmp [2023-05-11T14:26:09.843Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13009399647535757080tmp [Pipeline] { [Pipeline] echo [2023-05-11T14:26:09.860Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:10.148Z] ---> sigul-configuration.sh [2023-05-11T14:26:10.148Z] gpg: directory `/root/.gnupg' created [2023-05-11T14:26:10.148Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-11T14:26:10.148Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-11T14:26:10.148Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-11T14:26:10.148Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-11T14:26:10.148Z] gpg: CAST5 encrypted data [2023-05-11T14:26:10.148Z] gpg: encrypted with 1 passphrase [2023-05-11T14:26:10.148Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-11T14:26:10.475Z] + mkdir /home/jenkins [2023-05-11T14:26:10.475Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-11T14:26:10.767Z] + 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-05-11T14:26:10.776Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:11.065Z] ---> sigul-install.sh [2023-05-11T14:26:11.066Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-11T14:26:11.356Z] + git tag --list [2023-05-11T14:26:11.356Z] 1.0.0 [2023-05-11T14:26:11.356Z] v0.0.0 [2023-05-11T14:26:11.356Z] v1.1.0 [2023-05-11T14:26:11.356Z] v1.1.1 [2023-05-11T14:26:11.356Z] v1.2.2 [2023-05-11T14:26:11.356Z] v1.3.0 [2023-05-11T14:26:11.356Z] v1.3.1 [2023-05-11T14:26:11.356Z] v2.0.0 [2023-05-11T14:26:11.356Z] v2.1.0 [2023-05-11T14:26:11.356Z] v2.1.1 [2023-05-11T14:26:11.356Z] v2.1.1-dev.2 [2023-05-11T14:26:11.356Z] v2.1.1-dev.3 [2023-05-11T14:26:11.356Z] v2.2.0 [2023-05-11T14:26:11.356Z] v2.2.1-dev.1 [2023-05-11T14:26:11.356Z] v2.2.1-dev.2 [2023-05-11T14:26:11.356Z] v2.2.1-dev.3 [2023-05-11T14:26:11.356Z] v2.2.1-dev.4 [2023-05-11T14:26:11.356Z] v2.2.1-dev.5 [2023-05-11T14:26:11.356Z] v2.2.1-dev.6 [2023-05-11T14:26:11.356Z] v2.2.1-dev.7 [2023-05-11T14:26:11.356Z] v2.3.0 [2023-05-11T14:26:11.356Z] v2.3.0-dev.10 [2023-05-11T14:26:11.356Z] v2.3.0-dev.11 [2023-05-11T14:26:11.356Z] v2.3.0-dev.12 [2023-05-11T14:26:11.356Z] v2.3.0-dev.13 [2023-05-11T14:26:11.356Z] v2.3.0-dev.14 [2023-05-11T14:26:11.356Z] v2.3.0-dev.15 [2023-05-11T14:26:11.356Z] v2.3.0-dev.16 [2023-05-11T14:26:11.356Z] v2.3.0-dev.17 [2023-05-11T14:26:11.356Z] v2.3.0-dev.18 [2023-05-11T14:26:11.356Z] v2.3.0-dev.19 [2023-05-11T14:26:11.356Z] v2.3.0-dev.20 [2023-05-11T14:26:11.356Z] v2.3.0-dev.21 [2023-05-11T14:26:11.356Z] v2.3.0-dev.22 [2023-05-11T14:26:11.356Z] v2.3.0-dev.23 [2023-05-11T14:26:11.356Z] v2.3.0-dev.24 [2023-05-11T14:26:11.356Z] v2.3.0-dev.7 [2023-05-11T14:26:11.356Z] v2.3.0-dev.8 [2023-05-11T14:26:11.356Z] v2.3.0-dev.9 [2023-05-11T14:26:11.356Z] v3.0.0-dev.1 [2023-05-11T14:26:11.356Z] v3.0.0-dev.10 [2023-05-11T14:26:11.356Z] v3.0.0-dev.11 [2023-05-11T14:26:11.356Z] v3.0.0-dev.12 [2023-05-11T14:26:11.356Z] v3.0.0-dev.13 [2023-05-11T14:26:11.356Z] v3.0.0-dev.14 [2023-05-11T14:26:11.356Z] v3.0.0-dev.15 [2023-05-11T14:26:11.356Z] v3.0.0-dev.16 [2023-05-11T14:26:11.356Z] v3.0.0-dev.17 [2023-05-11T14:26:11.356Z] v3.0.0-dev.18 [2023-05-11T14:26:11.356Z] v3.0.0-dev.19 [2023-05-11T14:26:11.356Z] v3.0.0-dev.2 [2023-05-11T14:26:11.356Z] v3.0.0-dev.20 [2023-05-11T14:26:11.356Z] v3.0.0-dev.21 [2023-05-11T14:26:11.356Z] v3.0.0-dev.22 [2023-05-11T14:26:11.356Z] v3.0.0-dev.3 [2023-05-11T14:26:11.356Z] v3.0.0-dev.4 [2023-05-11T14:26:11.356Z] v3.0.0-dev.5 [2023-05-11T14:26:11.356Z] v3.0.0-dev.6 [2023-05-11T14:26:11.356Z] v3.0.0-dev.7 [2023-05-11T14:26:11.356Z] v3.0.0-dev.8 [2023-05-11T14:26:11.356Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-11T14:26:11.663Z] + lftools sign git-tag v3.0.0-dev.22 [2023-05-11T14:26:12.230Z] Signing Git tag with Sigul... [2023-05-11T14:26:12.230Z] Signing v3.0.0-dev.22 [Pipeline] echo [2023-05-11T14:26:12.504Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:12.790Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-11T14:26:12.796Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-11T14:26:12.807Z] $ docker stop --time=1 8387243dd1bda1048c76fb7ace188c893eb95de1d58cc6121b64f38b62c853b1 [2023-05-11T14:26:15.588Z] $ docker rm -f --volumes 8387243dd1bda1048c76fb7ace188c893eb95de1d58cc6121b64f38b62c853b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-11T14:26:16.030Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T14:26:16.030Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:26:16.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:26:16.331Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:26:16.396Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:26:16.422Z] $ 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-05-11T14:26:18.047Z] $ docker top 4a6c5d12ac7b48f0bc0ca8c4795e1e3f3ddf5ac8abb6c32bd4b264b430583802 -eo pid,comm [2023-05-11T14:26:18.108Z] 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-05-11T14:26:18.108Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T14:26:18.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:26:18.145Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:26:18.262Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:26:18.258Z] $ docker exec 4a6c5d12ac7b48f0bc0ca8c4795e1e3f3ddf5ac8abb6c32bd4b264b430583802 ssh-agent [2023-05-11T14:26:18.378Z] SSH_AUTH_SOCK=/tmp/ssh-ogfDO05I7m7G/agent.32 [2023-05-11T14:26:18.378Z] SSH_AGENT_PID=38 [2023-05-11T14:26:18.383Z] Running ssh-add (command line suppressed) [2023-05-11T14:26:18.480Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14543950056836265411.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14543950056836265411.key) [2023-05-11T14:26:18.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:26:18.787Z] + git semver bump pre [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,971 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,971 [bump_version] DEBUG bumping version:3.0.0-dev.22 on axis:pre with prefix:dev [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,971 [bump_version] DEBUG bumped version:3.0.0-dev.23 [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,971 [write_version] DEBUG write version:3.0.0-dev.23 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,971 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,971 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,973 [execute] INFO git cat-file --batch-check [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,979 [execute] INFO git cat-file --batch [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,979 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T14:26:19.047Z] 2023-05-11 14:26:18,984 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-11T14:26:19.047Z] 3.0.0-dev.23 [Pipeline] } [2023-05-11T14:26:19.050Z] $ docker exec --env ******** --env ******** 4a6c5d12ac7b48f0bc0ca8c4795e1e3f3ddf5ac8abb6c32bd4b264b430583802 ssh-agent -k [2023-05-11T14:26:19.157Z] unset SSH_AUTH_SOCK; [2023-05-11T14:26:19.157Z] unset SSH_AGENT_PID; [2023-05-11T14:26:19.158Z] echo Agent pid 38 killed; [2023-05-11T14:26:19.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T14:26:19.485Z] + git semver [Pipeline] } [2023-05-11T14:26:20.065Z] $ docker stop --time=1 4a6c5d12ac7b48f0bc0ca8c4795e1e3f3ddf5ac8abb6c32bd4b264b430583802 [2023-05-11T14:26:21.862Z] $ docker rm -f --volumes 4a6c5d12ac7b48f0bc0ca8c4795e1e3f3ddf5ac8abb6c32bd4b264b430583802 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T14:26:22.296Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T14:26:22.296Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:26:22.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:26:22.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:26:22.663Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:26:22.689Z] $ 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-05-11T14:26:23.174Z] $ docker top 5a2e50d04a4965b86539681f963ae8493c6f0ed02f7ac22f1d68113ba7ef6b8d -eo pid,comm [2023-05-11T14:26:23.231Z] 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-05-11T14:26:23.231Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T14:26:23.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:26:23.263Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:26:23.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:26:23.378Z] $ docker exec 5a2e50d04a4965b86539681f963ae8493c6f0ed02f7ac22f1d68113ba7ef6b8d ssh-agent [2023-05-11T14:26:23.501Z] SSH_AUTH_SOCK=/tmp/ssh-qp16C19zmien/agent.33 [2023-05-11T14:26:23.501Z] SSH_AGENT_PID=39 [2023-05-11T14:26:23.506Z] Running ssh-add (command line suppressed) [2023-05-11T14:26:23.597Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4345984322183365128.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4345984322183365128.key) [2023-05-11T14:26:23.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:26:23.904Z] + git semver push [2023-05-11T14:26:24.163Z] 2023-05-11 14:26:24,087 [run_push] DEBUG push [2023-05-11T14:26:24.163Z] 2023-05-11 14:26:24,088 [execute] INFO git cat-file --batch-check [2023-05-11T14:26:24.163Z] 2023-05-11 14:26:24,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T14:26:24.163Z] 2023-05-11 14:26:24,092 [execute] INFO git rev-list 6d769cc150015b0cb0171e7184520bbc322ed073 -- [2023-05-11T14:26:24.163Z] 2023-05-11 14:26:24,092 [execute] DEBUG Popen(['git', 'rev-list', '6d769cc150015b0cb0171e7184520bbc322ed073', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-11T14:26:24.163Z] 2023-05-11 14:26:24,098 [execute] INFO git fetch -v origin [2023-05-11T14:26:24.163Z] 2023-05-11 14:26:24,099 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-11T14:26:24.732Z] 2023-05-11 14:26:24,561 [run_push] DEBUG no remote changes detected [2023-05-11T14:26:24.732Z] 2023-05-11 14:26:24,561 [execute] INFO git push origin semver [2023-05-11T14:26:24.732Z] 2023-05-11 14:26:24,562 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-11T14:26:25.671Z] 2023-05-11 14:26:25,331 [run_push] DEBUG push all version tags [2023-05-11T14:26:25.671Z] 2023-05-11 14:26:25,331 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-11T14:26:25.671Z] 2023-05-11 14:26:25,332 [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-05-11T14:26:26.240Z] 2023-05-11 14:26:26,138 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-11T14:26:26.240Z] 3.0.0-dev.23 [Pipeline] } [2023-05-11T14:26:26.242Z] $ docker exec --env ******** --env ******** 5a2e50d04a4965b86539681f963ae8493c6f0ed02f7ac22f1d68113ba7ef6b8d ssh-agent -k [2023-05-11T14:26:26.338Z] unset SSH_AUTH_SOCK; [2023-05-11T14:26:26.339Z] unset SSH_AGENT_PID; [2023-05-11T14:26:26.339Z] echo Agent pid 39 killed; [2023-05-11T14:26:26.356Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T14:26:26.668Z] + git semver [Pipeline] } [2023-05-11T14:26:27.007Z] $ docker stop --time=1 5a2e50d04a4965b86539681f963ae8493c6f0ed02f7ac22f1d68113ba7ef6b8d [2023-05-11T14:26:28.678Z] $ docker rm -f --volumes 5a2e50d04a4965b86539681f963ae8493c6f0ed02f7ac22f1d68113ba7ef6b8d [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-05-11T14:26:29.252Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-05-11T14:26:29.252Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-11T14:26:29.252Z] total 16 [2023-05-11T14:26:29.252Z] drwxr-xr-x 3 root root 4096 May 11 14:13 . [2023-05-11T14:26:29.252Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 14:26 .. [2023-05-11T14:26:29.252Z] drwxr-xr-x 2 root root 4096 May 11 14:13 cost [2023-05-11T14:26:29.252Z] -rw-r--r-- 1 root root 85 May 11 14:13 cost.csv [2023-05-11T14:26:29.252Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-11T14:26:29.252Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-11T14:26:29.252Z] total 16 [2023-05-11T14:26:29.252Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 14:13 . [2023-05-11T14:26:29.253Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 14:26 .. [2023-05-11T14:26:29.253Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 14:13 cost [2023-05-11T14:26:29.253Z] -rw-r--r-- 1 jenkins jenkins 85 May 11 14:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:29.544Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:30.402Z] ---> package-listing.sh [2023-05-11T14:26:30.402Z] ++ facter osfamily [2023-05-11T14:26:30.402Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-11T14:26:30.662Z] + OS_FAMILY=debian [2023-05-11T14:26:30.662Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-05-11T14:26:30.662Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-11T14:26:30.662Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-11T14:26:30.662Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-11T14:26:30.662Z] + PACKAGES=/tmp/packages_start.txt [2023-05-11T14:26:30.662Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-11T14:26:30.662Z] + PACKAGES=/tmp/packages_end.txt [2023-05-11T14:26:30.662Z] + case "${OS_FAMILY}" in [2023-05-11T14:26:30.662Z] + dpkg -l [2023-05-11T14:26:30.662Z] + grep '^ii' [2023-05-11T14:26:30.662Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-11T14:26:30.662Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-11T14:26:30.662Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-11T14:26:30.662Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-11T14:26:30.662Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-05-11T14:26:30.662Z] + 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-05-11T14:26:30.673Z] 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-05-11T14:26:30.950Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:26:31.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T14:26:31.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:26:31.576Z] prd-ubuntu20.04-docker-8c-8g-15207 does not seem to be running inside a container [2023-05-11T14:26:31.604Z] $ 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-05-11T14:26:31.835Z] $ docker top 99aa48a7c67e7a63116ba1b9e378708af7518e8151c0b2e8cc9bbdd74075aa4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:26:32.180Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-11T14:26:32.467Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-11T14:26:32.821Z] + ls /var/log/sa-host [2023-05-11T14:26:32.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T14:26:32.907Z] provisioning config files... [2023-05-11T14:26:33.008Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7235535920061628325tmp [Pipeline] { [Pipeline] echo [2023-05-11T14:26:33.052Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:33.362Z] ---> create-netrc.sh [Pipeline] } [2023-05-11T14:26:33.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:33.708Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-11T14:26:33.717Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:34.001Z] ---> sudo-logs.sh [2023-05-11T14:26:34.001Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-11T14:26:34.032Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:34.318Z] ---> job-cost.sh [2023-05-11T14:26:34.319Z] lf-activate-venv: SKIPPING [2023-05-11T14:26:34.319Z] DEBUG: total: 0.2199999988079071 [2023-05-11T14:26:34.319Z] INFO: Retrieving Stack Cost... [2023-05-11T14:26:34.578Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T14:26:35.147Z] INFO: Archiving Costs [Pipeline] echo [2023-05-11T14:26:35.157Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:35.442Z] ---> logs-deploy.sh [2023-05-11T14:26:35.442Z] lf-activate-venv: SKIPPING [2023-05-11T14:26:35.442Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/79 [2023-05-11T14:26:35.442Z] INFO: archiving workspace using pattern(s): [2023-05-11T14:26:36.379Z] Archives upload complete. [2023-05-11T14:26:36.379Z] INFO: archiving logs to Nexus