Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 59e8a49adf84218e27872d7b6b42bd2fec737482 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-ssh15201397847321369073.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-ssh7679053681287358142.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-ssh2019799397602570110.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-ssh3324728737044139557.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-ssh6075293889243508334.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13853 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 59e8a49adf84218e27872d7b6b42bd2fec737482 (main) Commit message: "Merge pull request #302 from jumpingliu/ignore-go-mods" > 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 59e8a49adf84218e27872d7b6b42bd2fec737482 # timeout=10 > git rev-list --no-walk 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-05T06:24:29.731Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-05T06:24:29.786Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-05T06:24:29.804Z] ========================================================= [2023-05-05T06:24:29.804Z] EdgeX Global Pipelines Version Info [2023-05-05T06:24:29.804Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:30.511Z] ------------------- [2023-05-05T06:24:30.511Z] stable info: [2023-05-05T06:24:30.511Z] ------------------- [2023-05-05T06:24:30.511Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-05T06:24:30.511Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:24:30.511Z] Message: update stable to v1.0.249 [2023-05-05T06:24:31.079Z] ------------------- [2023-05-05T06:24:31.079Z] experimental info: [2023-05-05T06:24:31.079Z] ------------------- [2023-05-05T06:24:31.079Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-05T06:24:31.079Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:24:31.079Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-05T06:24:31.246Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-05T06:24:31.260Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-05T06:24:31.271Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-05T06:24:31.286Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-05T06:24:31.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-05T06:24:31.311Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-05T06:24:31.322Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-05T06:24:31.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-05T06:24:31.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-05T06:24:31.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-05T06:24:31.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-05T06:24:31.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-05T06:24:31.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-05T06:24:31.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-05T06:24:31.440Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:24:31.457Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:24:31.472Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:24:31.486Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:24:31.496Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-05T06:24:31.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-05T06:24:31.519Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-05T06:24:31.534Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-05T06:24:31.544Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-05T06:24:31.555Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-05T06:24:31.566Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-05T06:24:31.583Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-05T06:24:31.593Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-05T06:24:31.606Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-05T06:24:31.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-05T06:24:31.630Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-05T06:24:31.641Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 59e8a49adf84218e27872d7b6b42bd2fec737482 [Pipeline] echo [2023-05-05T06:24:31.653Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 59e8a49 [Pipeline] echo [2023-05-05T06:24:31.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:24:31.706Z] provisioning config files... [2023-05-05T06:24:31.721Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17878109644398516282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:32.024Z] ---> docker-login.sh [2023-05-05T06:24:32.024Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:24:32.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:32.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:32.284Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:32.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:32.284Z] [2023-05-05T06:24:32.284Z] Login Succeeded [2023-05-05T06:24:32.284Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:24:32.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:32.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:32.284Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:32.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:32.284Z] [2023-05-05T06:24:32.284Z] Login Succeeded [2023-05-05T06:24:32.284Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:24:32.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:32.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:32.544Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:32.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:32.544Z] [2023-05-05T06:24:32.544Z] Login Succeeded [2023-05-05T06:24:32.544Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:24:32.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:32.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:32.544Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:32.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:32.544Z] [2023-05-05T06:24:32.545Z] Login Succeeded [2023-05-05T06:24:32.545Z] docker.io [2023-05-05T06:24:32.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:32.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:32.804Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:32.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:32.804Z] [2023-05-05T06:24:32.804Z] Login Succeeded [2023-05-05T06:24:32.804Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:24:32.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-05T06:24:33.151Z] + git rev-list -1 --merges 59e8a49adf84218e27872d7b6b42bd2fec737482~1..59e8a49adf84218e27872d7b6b42bd2fec737482 [Pipeline] echo [2023-05-05T06:24:33.197Z] -----------> git rev-list -1 --merges 59e8a49adf84218e27872d7b6b42bd2fec737482~1..59e8a49adf84218e27872d7b6b42bd2fec737482 59e8a49adf84218e27872d7b6b42bd2fec737482 [2023-05-05T06:24:33.197Z] 59e8a49adf84218e27872d7b6b42bd2fec737482 [false] [Pipeline] sh [2023-05-05T06:24:33.480Z] + git log --format=format:%s -1 59e8a49adf84218e27872d7b6b42bd2fec737482 [Pipeline] echo [2023-05-05T06:24:33.494Z] ========================================================= [2023-05-05T06:24:33.494Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-05T06:24:33.494Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:24:33.808Z] + git log --format=format:%s -1 59e8a49adf84218e27872d7b6b42bd2fec737482 [Pipeline] echo [2023-05-05T06:24:33.838Z] [semverPrep] GIT_COMMIT: 59e8a49adf84218e27872d7b6b42bd2fec737482, Commit Message: Merge pull request #302 from jumpingliu/ignore-go-mods [Pipeline] echo [2023-05-05T06:24:33.848Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-05T06:24:34.190Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:24:34.190Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-05T06:24:34.190Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-05T06:24:34.190Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-05T06:24:34.190Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-05T06:24:34.190Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-05T06:24:34.190Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:24:34.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:24:34.547Z] [2023-05-05T06:24:34.547Z] 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-05T06:24:34.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:24:34.852Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-05T06:24:34.852Z] b85a868b505f: Pulling fs layer [2023-05-05T06:24:34.852Z] e2be974225ed: Pulling fs layer [2023-05-05T06:24:34.852Z] 339a4e72a1f5: Pulling fs layer [2023-05-05T06:24:34.852Z] 988bab9f4d93: Pulling fs layer [2023-05-05T06:24:34.852Z] 1469e6f7b9e6: Pulling fs layer [2023-05-05T06:24:34.852Z] eaf3925da568: Pulling fs layer [2023-05-05T06:24:34.852Z] bab4dde63d76: Pulling fs layer [2023-05-05T06:24:34.852Z] bde34c3a00c8: Pulling fs layer [2023-05-05T06:24:34.852Z] b352a97aabf1: Pulling fs layer [2023-05-05T06:24:34.852Z] 4872d77fe225: Pulling fs layer [2023-05-05T06:24:34.852Z] 5851b861e8e6: Pulling fs layer [2023-05-05T06:24:34.852Z] bab4dde63d76: Waiting [2023-05-05T06:24:34.852Z] 988bab9f4d93: Waiting [2023-05-05T06:24:34.852Z] eaf3925da568: Waiting [2023-05-05T06:24:34.852Z] 5851b861e8e6: Waiting [2023-05-05T06:24:34.852Z] b352a97aabf1: Waiting [2023-05-05T06:24:34.852Z] 1469e6f7b9e6: Waiting [2023-05-05T06:24:34.852Z] e2be974225ed: Verifying Checksum [2023-05-05T06:24:34.852Z] e2be974225ed: Download complete [2023-05-05T06:24:34.852Z] 988bab9f4d93: Verifying Checksum [2023-05-05T06:24:34.852Z] 988bab9f4d93: Download complete [2023-05-05T06:24:34.852Z] 339a4e72a1f5: Verifying Checksum [2023-05-05T06:24:34.852Z] 339a4e72a1f5: Download complete [2023-05-05T06:24:34.852Z] 1469e6f7b9e6: Verifying Checksum [2023-05-05T06:24:34.852Z] 1469e6f7b9e6: Download complete [2023-05-05T06:24:34.852Z] eaf3925da568: Download complete [2023-05-05T06:24:35.112Z] bde34c3a00c8: Verifying Checksum [2023-05-05T06:24:35.112Z] bde34c3a00c8: Download complete [2023-05-05T06:24:35.112Z] b352a97aabf1: Verifying Checksum [2023-05-05T06:24:35.112Z] b352a97aabf1: Download complete [2023-05-05T06:24:35.112Z] 4872d77fe225: Download complete [2023-05-05T06:24:35.112Z] 5851b861e8e6: Download complete [2023-05-05T06:24:35.112Z] b85a868b505f: Verifying Checksum [2023-05-05T06:24:35.112Z] b85a868b505f: Download complete [2023-05-05T06:24:35.370Z] bab4dde63d76: Verifying Checksum [2023-05-05T06:24:35.370Z] bab4dde63d76: Download complete [2023-05-05T06:24:36.308Z] b85a868b505f: Pull complete [2023-05-05T06:24:36.567Z] e2be974225ed: Pull complete [2023-05-05T06:24:36.826Z] 339a4e72a1f5: Pull complete [2023-05-05T06:24:37.085Z] 988bab9f4d93: Pull complete [2023-05-05T06:24:37.344Z] 1469e6f7b9e6: Pull complete [2023-05-05T06:24:37.344Z] eaf3925da568: Pull complete [2023-05-05T06:24:39.257Z] bab4dde63d76: Pull complete [2023-05-05T06:24:39.257Z] bde34c3a00c8: Pull complete [2023-05-05T06:24:39.257Z] b352a97aabf1: Pull complete [2023-05-05T06:24:39.257Z] 4872d77fe225: Pull complete [2023-05-05T06:24:39.257Z] 5851b861e8e6: Pull complete [2023-05-05T06:24:39.257Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-05T06:24:39.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:24:39.257Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:24:39.358Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:24:39.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:24:41.543Z] $ docker top 1751c74f71ed94d95a25f7fb602ed16319a4912e2223fc61dc827f6d6b82a818 -eo pid,comm [2023-05-05T06:24:41.593Z] 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-05T06:24:41.593Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:24:41.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:24:41.633Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:24:41.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:24:41.751Z] $ docker exec 1751c74f71ed94d95a25f7fb602ed16319a4912e2223fc61dc827f6d6b82a818 ssh-agent [2023-05-05T06:24:41.849Z] SSH_AUTH_SOCK=/tmp/ssh-Tht9Z06q0tLQ/agent.34 [2023-05-05T06:24:41.849Z] SSH_AGENT_PID=40 [2023-05-05T06:24:41.857Z] Running ssh-add (command line suppressed) [2023-05-05T06:24:41.952Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13660533778930664139.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13660533778930664139.key) [2023-05-05T06:24:41.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:24:42.247Z] + git tag --points-at HEAD [Pipeline] } [2023-05-05T06:24:42.264Z] $ docker exec --env ******** --env ******** 1751c74f71ed94d95a25f7fb602ed16319a4912e2223fc61dc827f6d6b82a818 ssh-agent -k [2023-05-05T06:24:42.357Z] unset SSH_AUTH_SOCK; [2023-05-05T06:24:42.357Z] unset SSH_AGENT_PID; [2023-05-05T06:24:42.358Z] echo Agent pid 40 killed; [2023-05-05T06:24:42.368Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-05T06:24:42.395Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:24:42.395Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:24:42.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:24:42.497Z] $ docker exec 1751c74f71ed94d95a25f7fb602ed16319a4912e2223fc61dc827f6d6b82a818 ssh-agent [2023-05-05T06:24:42.602Z] SSH_AUTH_SOCK=/tmp/ssh-5PbQCEO7jIJ9/agent.73 [2023-05-05T06:24:42.602Z] SSH_AGENT_PID=79 [2023-05-05T06:24:42.606Z] Running ssh-add (command line suppressed) [2023-05-05T06:24:42.698Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7793308771310318497.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7793308771310318497.key) [2023-05-05T06:24:42.711Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:24:43.002Z] + git semver init [2023-05-05T06:24:43.267Z] 2023-05-05 06:24:43,185 [run_init] DEBUG init version:0.0.0 force:False [2023-05-05T06:24:43.267Z] 2023-05-05 06:24:43,186 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-05T06:24:43.268Z] 2023-05-05 06:24:43,186 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-05T06:24:43.268Z] 2023-05-05 06:24:43,186 [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-05T06:24:44.209Z] 2023-05-05 06:24:43,917 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-05-05T06:24:44.209Z] 2023-05-05 06:24:43,917 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-05-05T06:24:44.209Z] 2023-05-05 06:24:43,918 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:24:44.209Z] 2023-05-05 06:24:43,918 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:24:44.209Z] 3.0.0-dev.18 [Pipeline] } [2023-05-05T06:24:44.221Z] $ docker exec --env ******** --env ******** 1751c74f71ed94d95a25f7fb602ed16319a4912e2223fc61dc827f6d6b82a818 ssh-agent -k [2023-05-05T06:24:44.325Z] unset SSH_AUTH_SOCK; [2023-05-05T06:24:44.326Z] unset SSH_AGENT_PID; [2023-05-05T06:24:44.326Z] echo Agent pid 79 killed; [2023-05-05T06:24:44.335Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:24:44.639Z] + git semver [Pipeline] } [2023-05-05T06:24:44.915Z] $ docker stop --time=1 1751c74f71ed94d95a25f7fb602ed16319a4912e2223fc61dc827f6d6b82a818 [2023-05-05T06:24:46.205Z] $ docker rm -f --volumes 1751c74f71ed94d95a25f7fb602ed16319a4912e2223fc61dc827f6d6b82a818 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:24:46.537Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-05T06:24:46.732Z] Stashed 1 file(s) [Pipeline] echo [2023-05-05T06:24:46.735Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.18 [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-05T06:24:46.867Z] provisioning config files... [2023-05-05T06:24:46.876Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15787420939336723978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:47.170Z] ---> docker-login.sh [2023-05-05T06:24:47.170Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:24:47.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:47.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:47.170Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:47.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:47.170Z] [2023-05-05T06:24:47.170Z] Login Succeeded [2023-05-05T06:24:47.170Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:24:47.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:47.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:47.170Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:47.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:47.170Z] [2023-05-05T06:24:47.170Z] Login Succeeded [2023-05-05T06:24:47.170Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:24:47.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:47.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:47.430Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:47.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:47.430Z] [2023-05-05T06:24:47.430Z] Login Succeeded [2023-05-05T06:24:47.430Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:24:47.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:47.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:47.430Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:47.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:47.430Z] [2023-05-05T06:24:47.430Z] Login Succeeded [2023-05-05T06:24:47.430Z] docker.io [2023-05-05T06:24:47.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:24:47.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:24:47.691Z] Configure a credential helper to remove this warning. See [2023-05-05T06:24:47.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:24:47.691Z] [2023-05-05T06:24:47.691Z] Login Succeeded [2023-05-05T06:24:47.691Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:24:47.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:24:47.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:24:47.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:24:47.780Z] ========================================================= [2023-05-05T06:24:47.780Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-05T06:24:47.780Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:24:48.088Z] + 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-05T06:24:48.088Z] Sending build context to Docker daemon 5.797MB [2023-05-05T06:24:48.088Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:24:48.088Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T06:24:48.088Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-05T06:24:48.088Z] f56be85fc22e: Pulling fs layer [2023-05-05T06:24:48.088Z] 85791d961cd3: Pulling fs layer [2023-05-05T06:24:48.088Z] d694b5ae8c79: Pulling fs layer [2023-05-05T06:24:48.088Z] 9f32a84ed3da: Pulling fs layer [2023-05-05T06:24:48.088Z] 4d19c01a9841: Pulling fs layer [2023-05-05T06:24:48.088Z] 9325e15d5711: Pulling fs layer [2023-05-05T06:24:48.088Z] 9f32a84ed3da: Waiting [2023-05-05T06:24:48.088Z] 4d19c01a9841: Waiting [2023-05-05T06:24:48.088Z] 9325e15d5711: Waiting [2023-05-05T06:24:48.088Z] 556b6ee489ea: Pulling fs layer [2023-05-05T06:24:48.088Z] c5a4b2cf53e6: Pulling fs layer [2023-05-05T06:24:48.088Z] 556b6ee489ea: Waiting [2023-05-05T06:24:48.088Z] c5a4b2cf53e6: Waiting [2023-05-05T06:24:48.088Z] 85791d961cd3: Download complete [2023-05-05T06:24:48.088Z] 9f32a84ed3da: Download complete [2023-05-05T06:24:48.088Z] 4d19c01a9841: Verifying Checksum [2023-05-05T06:24:48.088Z] 4d19c01a9841: Download complete [2023-05-05T06:24:48.347Z] f56be85fc22e: Verifying Checksum [2023-05-05T06:24:48.347Z] f56be85fc22e: Download complete [2023-05-05T06:24:48.347Z] 9325e15d5711: Verifying Checksum [2023-05-05T06:24:48.347Z] 9325e15d5711: Download complete [2023-05-05T06:24:48.347Z] f56be85fc22e: Pull complete [2023-05-05T06:24:48.607Z] 85791d961cd3: Pull complete [2023-05-05T06:24:48.607Z] c5a4b2cf53e6: Verifying Checksum [2023-05-05T06:24:48.607Z] c5a4b2cf53e6: Download complete [2023-05-05T06:24:48.865Z] d694b5ae8c79: Verifying Checksum [2023-05-05T06:24:48.865Z] d694b5ae8c79: Download complete [2023-05-05T06:24:49.122Z] 556b6ee489ea: Verifying Checksum [2023-05-05T06:24:49.122Z] 556b6ee489ea: Download complete [2023-05-05T06:24:51.656Z] d694b5ae8c79: Pull complete [2023-05-05T06:24:51.914Z] 9f32a84ed3da: Pull complete [2023-05-05T06:24:51.914Z] 4d19c01a9841: Pull complete [2023-05-05T06:24:51.914Z] 9325e15d5711: Pull complete [2023-05-05T06:24:54.445Z] 556b6ee489ea: Pull complete [2023-05-05T06:24:55.011Z] c5a4b2cf53e6: Pull complete [2023-05-05T06:24:55.011Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-05T06:24:55.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-05T06:24:55.011Z] ---> c4be618373d6 [2023-05-05T06:24:55.011Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:24:58.296Z] ---> Running in dbcc536e74cc [2023-05-05T06:24:58.296Z] Removing intermediate container dbcc536e74cc [2023-05-05T06:24:58.296Z] ---> 9f709491e311 [2023-05-05T06:24:58.296Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:24:58.296Z] ---> Running in 1b283c836a9a [2023-05-05T06:24:58.296Z] Removing intermediate container 1b283c836a9a [2023-05-05T06:24:58.296Z] ---> 91d0c97cf913 [2023-05-05T06:24:58.296Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:24:58.296Z] ---> Running in 28fdee7d4ba8 [2023-05-05T06:24:58.296Z] Removing intermediate container 28fdee7d4ba8 [2023-05-05T06:24:58.296Z] ---> f58f72cd645e [2023-05-05T06:24:58.296Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:24:58.296Z] ---> Running in 6c7491746ef9 [2023-05-05T06:24:58.554Z] Removing intermediate container 6c7491746ef9 [2023-05-05T06:24:58.554Z] ---> 3b6baff50e0b [2023-05-05T06:24:58.554Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:24:58.554Z] ---> Running in 39d188be1e15 [2023-05-05T06:24:58.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:24:59.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:24:59.746Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:24:59.746Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T06:24:59.746Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:25:00.020Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:25:00.020Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:25:00.020Z] OK: 269 MiB in 57 packages [2023-05-05T06:25:00.279Z] Removing intermediate container 39d188be1e15 [2023-05-05T06:25:00.279Z] ---> 5547cab208bf [2023-05-05T06:25:00.279Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-05T06:25:00.279Z] ---> Running in be80ca941636 [2023-05-05T06:25:00.537Z] Removing intermediate container be80ca941636 [2023-05-05T06:25:00.537Z] ---> 4ecaa3fccd2e [2023-05-05T06:25:00.537Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T06:25:00.537Z] ---> bdcfa16ab40d [2023-05-05T06:25:00.537Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:25:00.537Z] ---> Running in 257455cffb8f [2023-05-05T06:25:01.838Z] Still waiting to schedule task [2023-05-05T06:25:01.838Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-05T06:25:30.661Z] Removing intermediate container 257455cffb8f [2023-05-05T06:25:30.661Z] ---> af076e077147 [2023-05-05T06:25:30.661Z] Step 11/12 : COPY . . [2023-05-05T06:25:30.661Z] ---> 720085b7126d [2023-05-05T06:25:30.661Z] Step 12/12 : RUN ${MAKE} [2023-05-05T06:25:30.661Z] ---> Running in ed23dc4e2607 [2023-05-05T06:25:30.661Z] noop [2023-05-05T06:25:30.661Z] Removing intermediate container ed23dc4e2607 [2023-05-05T06:25:30.661Z] ---> 50ffb596c2ba [2023-05-05T06:25:30.661Z] Successfully built 50ffb596c2ba [2023-05-05T06:25:30.661Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:25:31.554Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:25:31.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:25:34.086Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:25:34.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T06:25:35.158Z] $ docker top 7b8f1408afb22933aca3b2912825d68602552395276ff92f198c64f72eb16b6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:25:37.184Z] + go version [2023-05-05T06:25:37.184Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-05T06:25:37.195Z] $ docker stop --time=1 7b8f1408afb22933aca3b2912825d68602552395276ff92f198c64f72eb16b6e [2023-05-05T06:25:38.465Z] $ docker rm -f --volumes 7b8f1408afb22933aca3b2912825d68602552395276ff92f198c64f72eb16b6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:25:38.870Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:25:38.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:25:38.941Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:25:38.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T06:25:39.295Z] $ docker top a7baaae736f71a33f9fb4490757aa5f06d385bcd27f3210500e161d5f796d3d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:25:39.633Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:25:39.933Z] + make test [2023-05-05T06:25:39.933Z] go test ./... -coverprofile=coverage.out [2023-05-05T06:25:44.386Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-05T06:25:52.763Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-05T06:25:52.763Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-05-05T06:25:58.143Z] go vet ./... [2023-05-05T06:26:01.425Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:26:01.425Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:26:01.425Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:26:01.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:26:01.451Z] $ docker stop --time=1 a7baaae736f71a33f9fb4490757aa5f06d385bcd27f3210500e161d5f796d3d8 [2023-05-05T06:26:03.970Z] $ docker rm -f --volumes a7baaae736f71a33f9fb4490757aa5f06d385bcd27f3210500e161d5f796d3d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:26:04.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:26:04.458Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-05T06:26:04.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:26:05.173Z] + ls -al . [2023-05-05T06:26:05.173Z] total 172 [2023-05-05T06:26:05.173Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:25 . [2023-05-05T06:26:05.173Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:24 .. [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 6 May 5 06:24 .dockerignore [2023-05-05T06:26:05.173Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:24 .git [2023-05-05T06:26:05.173Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:24 .github [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 328 May 5 06:24 .gitignore [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:24 .golangci.yml [2023-05-05T06:26:05.173Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:24 .semver [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 5 06:24 Attribution.txt [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 5 06:24 CHANGELOG.md [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 5 06:24 Dockerfile [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:24 GOVERNANCE.md [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 656 May 5 06:24 Jenkinsfile [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:24 LICENSE [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 5 06:24 Makefile [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:24 OWNERS.md [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 5 06:24 README.md [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:24 VERSION [2023-05-05T06:26:05.173Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:24 bin [2023-05-05T06:26:05.173Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:24 cmd [2023-05-05T06:26:05.173Z] -rw-r--r-- 1 jenkins jenkins 8837 May 5 06:25 coverage.out [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 5 06:24 go.mod [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 31441 May 5 06:24 go.sum [2023-05-05T06:26:05.173Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:24 internal [2023-05-05T06:26:05.173Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:24 snap [2023-05-05T06:26:05.173Z] -rw-rw-r-- 1 jenkins jenkins 228 May 5 06:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:05.480Z] + 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=59e8a49adf84218e27872d7b6b42bd2fec737482 --label arch=amd64 --label version=3.0.0-dev.18 . [2023-05-05T06:26:05.480Z] Sending build context to Docker daemon 5.807MB [2023-05-05T06:26:05.480Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:26:05.480Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-05T06:26:05.480Z] ---> 50ffb596c2ba [2023-05-05T06:26:05.480Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:26:06.499Z] ---> Running in 5bb07f1844bc [2023-05-05T06:26:06.499Z] Removing intermediate container 5bb07f1844bc [2023-05-05T06:26:06.499Z] ---> 504ce5f3351f [2023-05-05T06:26:06.499Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:26:06.499Z] ---> Running in 373740f5dffa [2023-05-05T06:26:06.499Z] Removing intermediate container 373740f5dffa [2023-05-05T06:26:06.499Z] ---> 41b5fb5e19c4 [2023-05-05T06:26:06.499Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:26:06.499Z] ---> Running in d000b8737696 [2023-05-05T06:26:06.499Z] Removing intermediate container d000b8737696 [2023-05-05T06:26:06.499Z] ---> 0e4bdd1c1c94 [2023-05-05T06:26:06.499Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:26:06.499Z] ---> Running in 5adf50a6f738 [2023-05-05T06:26:06.499Z] Removing intermediate container 5adf50a6f738 [2023-05-05T06:26:06.499Z] ---> 6e1b24e8b1af [2023-05-05T06:26:06.499Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:26:06.499Z] ---> Running in 918b4de7eb3e [2023-05-05T06:26:06.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:26:06.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:26:07.016Z] OK: 269 MiB in 57 packages [2023-05-05T06:26:07.274Z] Removing intermediate container 918b4de7eb3e [2023-05-05T06:26:07.274Z] ---> 85f689b159b9 [2023-05-05T06:26:07.274Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-05T06:26:07.274Z] ---> Running in 47c184b0a0af [2023-05-05T06:26:07.274Z] Removing intermediate container 47c184b0a0af [2023-05-05T06:26:07.274Z] ---> 5b9be1ef90f7 [2023-05-05T06:26:07.274Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-05T06:26:07.532Z] ---> acedc3ffbb8d [2023-05-05T06:26:07.532Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:26:07.532Z] ---> Running in 04de5181e0b4 [2023-05-05T06:26:08.099Z] Removing intermediate container 04de5181e0b4 [2023-05-05T06:26:08.099Z] ---> b8312fd0d2ab [2023-05-05T06:26:08.099Z] Step 11/24 : COPY . . [2023-05-05T06:26:08.358Z] ---> 7a934eb77df2 [2023-05-05T06:26:08.358Z] Step 12/24 : RUN ${MAKE} [2023-05-05T06:26:08.358Z] ---> Running in 9f8a9930824d [2023-05-05T06:26:08.617Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-05T06:26:30.086Z] Removing intermediate container 9f8a9930824d [2023-05-05T06:26:30.087Z] ---> cd43ee838584 [2023-05-05T06:26:30.087Z] Step 13/24 : FROM alpine:3.17 [2023-05-05T06:26:30.087Z] 3.17: Pulling from library/alpine [2023-05-05T06:26:30.087Z] f56be85fc22e: Already exists [2023-05-05T06:26:30.087Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:26:30.087Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:26:30.087Z] ---> 9ed4aefc74f6 [2023-05-05T06:26:30.087Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:26:30.087Z] ---> Running in 8e7c22ac6c5f [2023-05-05T06:26:30.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:26:30.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:26:30.087Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:26:30.087Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:26:30.087Z] OK: 7 MiB in 16 packages [2023-05-05T06:26:30.343Z] Removing intermediate container 8e7c22ac6c5f [2023-05-05T06:26:30.343Z] ---> df9ceb927d97 [2023-05-05T06:26:30.343Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-05T06:26:31.278Z] ---> 477d77c541a8 [2023-05-05T06:26:31.278Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-05T06:26:31.278Z] ---> 542b8b3f6b29 [2023-05-05T06:26:31.278Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-05T06:26:31.278Z] ---> 809b32fc54e5 [2023-05-05T06:26:31.278Z] Step 18/24 : EXPOSE 59993 [2023-05-05T06:26:31.278Z] ---> Running in d572ae12d5b3 [2023-05-05T06:26:31.536Z] Removing intermediate container d572ae12d5b3 [2023-05-05T06:26:31.536Z] ---> fe677c6c1e34 [2023-05-05T06:26:31.536Z] Step 19/24 : EXPOSE 161 [2023-05-05T06:26:31.536Z] ---> Running in f5eb4f3ab98e [2023-05-05T06:26:31.536Z] Removing intermediate container f5eb4f3ab98e [2023-05-05T06:26:31.536Z] ---> c56be38a4b48 [2023-05-05T06:26:31.536Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-05T06:26:31.536Z] ---> Running in 7d9c33cd87cf [2023-05-05T06:26:31.794Z] Removing intermediate container 7d9c33cd87cf [2023-05-05T06:26:31.794Z] ---> 6bcdcbe7915f [2023-05-05T06:26:31.794Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-05T06:26:31.794Z] ---> Running in 8940d842ce82 [2023-05-05T06:26:31.794Z] Removing intermediate container 8940d842ce82 [2023-05-05T06:26:31.794Z] ---> 2f06f00adcd7 [2023-05-05T06:26:31.794Z] Step 22/24 : LABEL arch=amd64 [2023-05-05T06:26:31.794Z] ---> Running in 8d2c4f29effc [2023-05-05T06:26:31.794Z] Removing intermediate container 8d2c4f29effc [2023-05-05T06:26:31.794Z] ---> 9541a927ee95 [2023-05-05T06:26:31.794Z] Step 23/24 : LABEL git_sha=59e8a49adf84218e27872d7b6b42bd2fec737482 [2023-05-05T06:26:32.053Z] ---> Running in f73fca67dca4 [2023-05-05T06:26:32.053Z] Removing intermediate container f73fca67dca4 [2023-05-05T06:26:32.053Z] ---> cd4f94b0222a [2023-05-05T06:26:32.053Z] Step 24/24 : LABEL version=3.0.0-dev.18 [2023-05-05T06:26:32.053Z] ---> Running in 36fc65e9f646 [2023-05-05T06:26:32.053Z] Removing intermediate container 36fc65e9f646 [2023-05-05T06:26:32.053Z] ---> acf0c88b9401 [2023-05-05T06:26:32.053Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:26:32.053Z] Successfully built acf0c88b9401 [2023-05-05T06:26:32.053Z] 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-05T06:26:32.156Z] provisioning config files... [2023-05-05T06:26:32.165Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5616854414678102790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:26:32.456Z] ---> docker-login.sh [2023-05-05T06:26:32.456Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:26:32.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:32.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:32.456Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:32.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:32.456Z] [2023-05-05T06:26:32.456Z] Login Succeeded [2023-05-05T06:26:32.456Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:26:32.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:32.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:32.457Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:32.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:32.457Z] [2023-05-05T06:26:32.457Z] Login Succeeded [2023-05-05T06:26:32.457Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:26:32.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:32.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:32.715Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:32.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:32.715Z] [2023-05-05T06:26:32.715Z] Login Succeeded [2023-05-05T06:26:32.715Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:26:32.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:32.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:32.715Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:32.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:32.715Z] [2023-05-05T06:26:32.715Z] Login Succeeded [2023-05-05T06:26:32.715Z] docker.io [2023-05-05T06:26:32.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:26:32.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:26:32.975Z] Configure a credential helper to remove this warning. See [2023-05-05T06:26:32.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:26:32.975Z] [2023-05-05T06:26:32.975Z] Login Succeeded [2023-05-05T06:26:32.975Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:26:32.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:26:33.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:26:33.035Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-05-05T06:26:33.035Z] 59e8a49adf84218e27872d7b6b42bd2fec737482 [2023-05-05T06:26:33.035Z] latest [2023-05-05T06:26:33.035Z] 3.0.0-dev.18 [2023-05-05T06:26:33.035Z] 59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18 [2023-05-05T06:26:33.035Z] main [2023-05-05T06:26:33.035Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:33.362Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:59e8a49adf84218e27872d7b6b42bd2fec737482 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:33.671Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:59e8a49adf84218e27872d7b6b42bd2fec737482 [2023-05-05T06:26:33.672Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:26:33.672Z] c17a0de5fdf1: Preparing [2023-05-05T06:26:33.672Z] 726aabf4ad13: Preparing [2023-05-05T06:26:33.672Z] 7c422f0ade2e: Preparing [2023-05-05T06:26:33.672Z] aac71a9caaef: Preparing [2023-05-05T06:26:33.672Z] f1417ff83b31: Preparing [2023-05-05T06:26:33.672Z] f1417ff83b31: Layer already exists [2023-05-05T06:26:33.672Z] c17a0de5fdf1: Pushed [2023-05-05T06:26:33.672Z] 726aabf4ad13: Pushed [2023-05-05T06:26:33.672Z] aac71a9caaef: Pushed [2023-05-05T06:26:36.203Z] 7c422f0ade2e: Pushed [2023-05-05T06:26:36.203Z] 59e8a49adf84218e27872d7b6b42bd2fec737482: digest: sha256:ef3989769d4511797de43bf792fb6b0ab3767fc6976a565137534f87e71ceecd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:36.521Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:36.837Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-05T06:26:36.837Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:26:36.837Z] c17a0de5fdf1: Preparing [2023-05-05T06:26:36.837Z] 726aabf4ad13: Preparing [2023-05-05T06:26:36.837Z] 7c422f0ade2e: Preparing [2023-05-05T06:26:36.837Z] aac71a9caaef: Preparing [2023-05-05T06:26:36.838Z] f1417ff83b31: Preparing [2023-05-05T06:26:36.838Z] f1417ff83b31: Layer already exists [2023-05-05T06:26:36.838Z] c17a0de5fdf1: Layer already exists [2023-05-05T06:26:36.838Z] 726aabf4ad13: Layer already exists [2023-05-05T06:26:36.838Z] 7c422f0ade2e: Layer already exists [2023-05-05T06:26:36.838Z] aac71a9caaef: Layer already exists [2023-05-05T06:26:36.838Z] latest: digest: sha256:ef3989769d4511797de43bf792fb6b0ab3767fc6976a565137534f87e71ceecd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:37.156Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:37.470Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.18 [2023-05-05T06:26:37.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:26:37.471Z] c17a0de5fdf1: Preparing [2023-05-05T06:26:37.471Z] 726aabf4ad13: Preparing [2023-05-05T06:26:37.471Z] 7c422f0ade2e: Preparing [2023-05-05T06:26:37.471Z] aac71a9caaef: Preparing [2023-05-05T06:26:37.471Z] f1417ff83b31: Preparing [2023-05-05T06:26:37.471Z] c17a0de5fdf1: Layer already exists [2023-05-05T06:26:37.471Z] 7c422f0ade2e: Layer already exists [2023-05-05T06:26:37.471Z] 726aabf4ad13: Layer already exists [2023-05-05T06:26:37.471Z] f1417ff83b31: Layer already exists [2023-05-05T06:26:37.471Z] aac71a9caaef: Layer already exists [2023-05-05T06:26:37.471Z] 3.0.0-dev.18: digest: sha256:ef3989769d4511797de43bf792fb6b0ab3767fc6976a565137534f87e71ceecd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:37.798Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:38.117Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18 [2023-05-05T06:26:38.117Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:26:38.117Z] c17a0de5fdf1: Preparing [2023-05-05T06:26:38.117Z] 726aabf4ad13: Preparing [2023-05-05T06:26:38.117Z] 7c422f0ade2e: Preparing [2023-05-05T06:26:38.117Z] aac71a9caaef: Preparing [2023-05-05T06:26:38.117Z] f1417ff83b31: Preparing [2023-05-05T06:26:38.117Z] f1417ff83b31: Layer already exists [2023-05-05T06:26:38.117Z] 7c422f0ade2e: Layer already exists [2023-05-05T06:26:38.117Z] 726aabf4ad13: Layer already exists [2023-05-05T06:26:38.117Z] c17a0de5fdf1: Layer already exists [2023-05-05T06:26:38.117Z] aac71a9caaef: Layer already exists [2023-05-05T06:26:38.117Z] 59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18: digest: sha256:ef3989769d4511797de43bf792fb6b0ab3767fc6976a565137534f87e71ceecd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:38.447Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:38.751Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-05-05T06:26:38.751Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-05T06:26:38.751Z] c17a0de5fdf1: Preparing [2023-05-05T06:26:38.751Z] 726aabf4ad13: Preparing [2023-05-05T06:26:38.751Z] 7c422f0ade2e: Preparing [2023-05-05T06:26:38.751Z] aac71a9caaef: Preparing [2023-05-05T06:26:38.751Z] f1417ff83b31: Preparing [2023-05-05T06:26:38.751Z] f1417ff83b31: Layer already exists [2023-05-05T06:26:38.751Z] 7c422f0ade2e: Layer already exists [2023-05-05T06:26:38.751Z] c17a0de5fdf1: Layer already exists [2023-05-05T06:26:38.751Z] 726aabf4ad13: Layer already exists [2023-05-05T06:26:38.751Z] aac71a9caaef: Layer already exists [2023-05-05T06:26:38.751Z] main: digest: sha256:ef3989769d4511797de43bf792fb6b0ab3767fc6976a565137534f87e71ceecd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:26:38.789Z] ===================================================== [Pipeline] echo [2023-05-05T06:26:38.795Z] taggedImages: [2023-05-05T06:26:38.795Z] - nexus3.edgexfoundry.org:10004/device-snmp:59e8a49adf84218e27872d7b6b42bd2fec737482 [2023-05-05T06:26:38.795Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-05T06:26:38.795Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.18 [2023-05-05T06:26:38.795Z] - nexus3.edgexfoundry.org:10004/device-snmp:59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18 [2023-05-05T06:26:38.795Z] - 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-05T06:26:39.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:26:39.168Z] [2023-05-05T06:26:39.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:26:39.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:26:39.476Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-05T06:26:39.476Z] 5eb5b503b376: Pulling fs layer [2023-05-05T06:26:39.476Z] 5c69ac0246d0: Pulling fs layer [2023-05-05T06:26:39.476Z] ec43610c2a17: Pulling fs layer [2023-05-05T06:26:39.476Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-05T06:26:39.476Z] 33b1e0a273af: Pulling fs layer [2023-05-05T06:26:39.476Z] 5d3b04190fa2: Pulling fs layer [2023-05-05T06:26:39.476Z] 2f39f015ded8: Pulling fs layer [2023-05-05T06:26:39.476Z] 33b1e0a273af: Waiting [2023-05-05T06:26:39.476Z] 5d3b04190fa2: Waiting [2023-05-05T06:26:39.476Z] 2f39f015ded8: Waiting [2023-05-05T06:26:39.476Z] 3a2ae6a8a46f: Waiting [2023-05-05T06:26:39.476Z] 5c69ac0246d0: Download complete [2023-05-05T06:26:39.476Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-05T06:26:39.476Z] 3a2ae6a8a46f: Download complete [2023-05-05T06:26:39.476Z] 33b1e0a273af: Download complete [2023-05-05T06:26:39.476Z] 5d3b04190fa2: Verifying Checksum [2023-05-05T06:26:39.476Z] 5d3b04190fa2: Download complete [2023-05-05T06:26:39.734Z] ec43610c2a17: Verifying Checksum [2023-05-05T06:26:39.734Z] ec43610c2a17: Download complete [2023-05-05T06:26:39.734Z] 5eb5b503b376: Verifying Checksum [2023-05-05T06:26:39.734Z] 5eb5b503b376: Download complete [2023-05-05T06:26:40.299Z] 2f39f015ded8: Download complete [2023-05-05T06:26:40.864Z] 5eb5b503b376: Pull complete [2023-05-05T06:26:41.121Z] 5c69ac0246d0: Pull complete [2023-05-05T06:26:41.699Z] ec43610c2a17: Pull complete [2023-05-05T06:26:41.699Z] 3a2ae6a8a46f: Pull complete [2023-05-05T06:26:41.699Z] 33b1e0a273af: Pull complete [2023-05-05T06:26:41.956Z] 5d3b04190fa2: Pull complete [2023-05-05T06:26:46.151Z] 2f39f015ded8: Pull complete [2023-05-05T06:26:46.151Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-05T06:26:46.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:26:46.151Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:26:46.239Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:26:46.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T06:26:48.969Z] $ docker top fed720c3f0e19353fd539ccdeea2091601805ebabef4d98cbb2b5a0a00e831ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:26:49.337Z] ---> job-cost.sh [2023-05-05T06:26:49.337Z] lf-activate-venv: SKIPPING [2023-05-05T06:26:49.337Z] INFO: No Stack... [2023-05-05T06:26:49.597Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:26:50.166Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:26:50.451Z] + cut -d, -f6 [2023-05-05T06:26:50.451Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [Pipeline] lock [2023-05-05T06:26:50.464Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-75-stack-cost] [2023-05-05T06:26:50.471Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-75-stack-cost] did not exist. Created. [2023-05-05T06:26:50.471Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:26:50.780Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-05T06:26:50.810Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:26:50.816Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:26:50.834Z] $ docker stop --time=1 fed720c3f0e19353fd539ccdeea2091601805ebabef4d98cbb2b5a0a00e831ee [2023-05-05T06:26:52.320Z] $ docker rm -f --volumes fed720c3f0e19353fd539ccdeea2091601805ebabef4d98cbb2b5a0a00e831ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T06:27:46.618Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13856 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-05-05T06:27:46.634Z] Running in /w/workspace/device-snmp-go/75 [Pipeline] { [Pipeline] checkout [2023-05-05T06:27:46.670Z] Selected Git installation does not exist. Using Default [2023-05-05T06:27:46.670Z] The recommended git tool is: NONE [2023-05-05T06:27:53.049Z] using credential edgex-jenkins-ssh [2023-05-05T06:27:53.068Z] Cloning the remote Git repository [2023-05-05T06:27:53.121Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-05T06:27:53.234Z] > git init /w/workspace/device-snmp-go/75 # timeout=10 [2023-05-05T06:27:53.400Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-05T06:27:53.401Z] > git --version # timeout=10 [2023-05-05T06:27:53.425Z] > git --version # 'git version 2.25.1' [2023-05-05T06:27:53.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T06:27:53.607Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:27:54.708Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-05T06:27:54.733Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:27:55.747Z] Avoid second fetch [2023-05-05T06:27:55.748Z] Checking out Revision 59e8a49adf84218e27872d7b6b42bd2fec737482 (main) [2023-05-05T06:27:56.583Z] Commit message: "Merge pull request #302 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:27:55.767Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T06:27:55.830Z] > git checkout -f 59e8a49adf84218e27872d7b6b42bd2fec737482 # timeout=10 [2023-05-05T06:27:57.450Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-05T06:27:57.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:27:57.450Z] Dload Upload Total Spent Left Speed [2023-05-05T06:27:57.450Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-05-05T06:27:58.067Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-05T06:27:58.416Z] + sudo tee /etc/docker/daemon.new [2023-05-05T06:27:58.416Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-05T06:27:58.416Z] { [2023-05-05T06:27:58.416Z] "registry-mirrors": [ [2023-05-05T06:27:58.416Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-05T06:27:58.416Z] ], [2023-05-05T06:27:58.416Z] "bip": "10.250.0.254/24", [2023-05-05T06:27:58.416Z] "hosts": [ [2023-05-05T06:27:58.416Z] "tcp://0.0.0.0:5555", [2023-05-05T06:27:58.416Z] "unix:///var/run/docker.sock" [2023-05-05T06:27:58.416Z] ], [2023-05-05T06:27:58.416Z] "mtu": 1458, [2023-05-05T06:27:58.416Z] "selinux-enabled": true, [2023-05-05T06:27:58.416Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-05T06:27:58.416Z] } [Pipeline] sh [2023-05-05T06:27:58.761Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-05T06:27:59.118Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:28:17.454Z] provisioning config files... [2023-05-05T06:28:17.487Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/75@tmp/config12318562532786463193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:28:17.891Z] ---> docker-login.sh [2023-05-05T06:28:17.891Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:28:18.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:18.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:18.488Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:18.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:18.488Z] [2023-05-05T06:28:18.488Z] Login Succeeded [2023-05-05T06:28:18.488Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:28:18.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:19.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:19.030Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:19.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:19.030Z] [2023-05-05T06:28:19.030Z] Login Succeeded [2023-05-05T06:28:19.030Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:28:19.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:19.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:19.301Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:19.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:19.301Z] [2023-05-05T06:28:19.301Z] Login Succeeded [2023-05-05T06:28:19.301Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:28:19.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:19.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:19.846Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:19.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:19.846Z] [2023-05-05T06:28:19.846Z] Login Succeeded [2023-05-05T06:28:19.846Z] docker.io [2023-05-05T06:28:20.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:28:20.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:28:20.384Z] Configure a credential helper to remove this warning. See [2023-05-05T06:28:20.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:28:20.384Z] [2023-05-05T06:28:20.384Z] Login Succeeded [2023-05-05T06:28:20.384Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:28:20.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:28:20.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:28:20.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:28:20.761Z] ========================================================= [2023-05-05T06:28:20.761Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-05T06:28:20.761Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:28:21.120Z] + 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-05T06:28:21.390Z] Sending build context to Docker daemon 3.003MB [2023-05-05T06:28:21.390Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:28:21.390Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T06:28:21.662Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-05T06:28:21.662Z] c41833b44d91: Pulling fs layer [2023-05-05T06:28:21.662Z] ed15518f5707: Pulling fs layer [2023-05-05T06:28:21.662Z] feae8fd75edb: Pulling fs layer [2023-05-05T06:28:21.662Z] 242c74f7c9fa: Pulling fs layer [2023-05-05T06:28:21.662Z] 3cdef696dda3: Pulling fs layer [2023-05-05T06:28:21.662Z] 2ced38df9373: Pulling fs layer [2023-05-05T06:28:21.662Z] 58f1dce35555: Pulling fs layer [2023-05-05T06:28:21.662Z] 242c74f7c9fa: Waiting [2023-05-05T06:28:21.662Z] 2ced38df9373: Waiting [2023-05-05T06:28:21.662Z] 58f1dce35555: Waiting [2023-05-05T06:28:21.662Z] 3cdef696dda3: Waiting [2023-05-05T06:28:21.662Z] ed15518f5707: Verifying Checksum [2023-05-05T06:28:21.662Z] ed15518f5707: Download complete [2023-05-05T06:28:21.662Z] 242c74f7c9fa: Verifying Checksum [2023-05-05T06:28:21.662Z] 242c74f7c9fa: Download complete [2023-05-05T06:28:21.662Z] 3cdef696dda3: Verifying Checksum [2023-05-05T06:28:21.662Z] 3cdef696dda3: Download complete [2023-05-05T06:28:21.662Z] c41833b44d91: Verifying Checksum [2023-05-05T06:28:23.101Z] c41833b44d91: Pull complete [2023-05-05T06:28:23.101Z] 58f1dce35555: Verifying Checksum [2023-05-05T06:28:23.101Z] 58f1dce35555: Download complete [2023-05-05T06:28:23.694Z] ed15518f5707: Pull complete [2023-05-05T06:28:24.289Z] feae8fd75edb: Verifying Checksum [2023-05-05T06:28:24.289Z] feae8fd75edb: Download complete [2023-05-05T06:28:24.559Z] 2ced38df9373: Verifying Checksum [2023-05-05T06:28:24.560Z] 2ced38df9373: Download complete [2023-05-05T06:28:34.673Z] feae8fd75edb: Pull complete [2023-05-05T06:28:34.943Z] 242c74f7c9fa: Pull complete [2023-05-05T06:28:35.536Z] 3cdef696dda3: Pull complete [2023-05-05T06:28:42.228Z] 2ced38df9373: Pull complete [2023-05-05T06:28:44.213Z] 58f1dce35555: Pull complete [2023-05-05T06:28:44.213Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-05T06:28:44.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-05T06:28:44.213Z] ---> fadd8f120f05 [2023-05-05T06:28:44.213Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:28:46.837Z] ---> Running in 4898438b7ebf [2023-05-05T06:28:46.837Z] Removing intermediate container 4898438b7ebf [2023-05-05T06:28:46.837Z] ---> c78e13d7fcbb [2023-05-05T06:28:46.837Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:28:46.837Z] ---> Running in 48c1ececb10c [2023-05-05T06:28:47.428Z] Removing intermediate container 48c1ececb10c [2023-05-05T06:28:47.428Z] ---> 1ec216699b62 [2023-05-05T06:28:47.428Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:28:47.428Z] ---> Running in c29f240659a7 [2023-05-05T06:28:47.697Z] Removing intermediate container c29f240659a7 [2023-05-05T06:28:47.698Z] ---> ee79015babb1 [2023-05-05T06:28:47.698Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:28:47.698Z] ---> Running in 910b92adcc91 [2023-05-05T06:28:48.294Z] Removing intermediate container 910b92adcc91 [2023-05-05T06:28:48.294Z] ---> 44a37b32ad6c [2023-05-05T06:28:48.294Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:28:48.294Z] ---> Running in a4e3416b031c [2023-05-05T06:28:49.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:28:50.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:28:51.762Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:28:51.762Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T06:28:51.762Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:28:51.762Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:28:51.762Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:28:51.762Z] OK: 268 MiB in 57 packages [2023-05-05T06:28:53.184Z] Removing intermediate container a4e3416b031c [2023-05-05T06:28:53.184Z] ---> ddcda3c103df [2023-05-05T06:28:53.184Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-05T06:28:53.184Z] ---> Running in c715a6cd802a [2023-05-05T06:28:53.458Z] Removing intermediate container c715a6cd802a [2023-05-05T06:28:53.458Z] ---> 5ae948b14b91 [2023-05-05T06:28:53.458Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T06:28:54.055Z] ---> 03fbd1a37ea7 [2023-05-05T06:28:54.055Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:28:54.055Z] ---> Running in d67087ef524b [2023-05-05T06:30:02.016Z] Removing intermediate container d67087ef524b [2023-05-05T06:30:02.016Z] ---> a9b31560f885 [2023-05-05T06:30:02.016Z] Step 11/12 : COPY . . [2023-05-05T06:30:02.016Z] ---> 6dc394f483df [2023-05-05T06:30:02.016Z] Step 12/12 : RUN ${MAKE} [2023-05-05T06:30:02.016Z] ---> Running in c6f43eddcdf0 [2023-05-05T06:30:02.016Z] noop [2023-05-05T06:30:02.016Z] Removing intermediate container c6f43eddcdf0 [2023-05-05T06:30:02.016Z] ---> 08b21876f32d [2023-05-05T06:30:02.016Z] Successfully built 08b21876f32d [2023-05-05T06:30:02.016Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:30:02.391Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:30:02.391Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:30:02.620Z] prd-ubuntu20.04-docker-arm64-4c-16g-13856 does not seem to be running inside a container [2023-05-05T06:30:02.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/75 -v /w/workspace/device-snmp-go/75:/w/workspace/device-snmp-go/75:rw,z -v /w/workspace/device-snmp-go/75@tmp:/w/workspace/device-snmp-go/75@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-05T06:30:04.097Z] $ docker top 4ffdfab43fb2d875113796441467f91f602f73ca6b2ab67a0a5d886e48cef470 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:30:04.990Z] + go version [2023-05-05T06:30:04.990Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-05T06:30:05.013Z] $ docker stop --time=1 4ffdfab43fb2d875113796441467f91f602f73ca6b2ab67a0a5d886e48cef470 [2023-05-05T06:30:06.708Z] $ docker rm -f --volumes 4ffdfab43fb2d875113796441467f91f602f73ca6b2ab67a0a5d886e48cef470 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:30:07.303Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:30:07.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:30:07.511Z] prd-ubuntu20.04-docker-arm64-4c-16g-13856 does not seem to be running inside a container [2023-05-05T06:30:07.592Z] $ 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/75 -v /w/workspace/device-snmp-go/75:/w/workspace/device-snmp-go/75:rw,z -v /w/workspace/device-snmp-go/75@tmp:/w/workspace/device-snmp-go/75@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-05T06:30:08.880Z] $ docker top 0c0c2f5bbec5f9f4498d0e99040d10a8cb25defc7c27f8425c9b41508c4636d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:30:09.766Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/75 [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:30:10.425Z] + make test [2023-05-05T06:30:10.426Z] go test ./... -coverprofile=coverage.out [2023-05-05T06:30:49.356Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-05T06:33:26.224Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-05T06:33:26.224Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.054s coverage: 0.0% of statements [2023-05-05T06:33:26.224Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-05T06:33:26.224Z] go vet ./... [2023-05-05T06:33:48.361Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:33:48.362Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:33:48.362Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:33:48.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:33:48.405Z] $ docker stop --time=1 0c0c2f5bbec5f9f4498d0e99040d10a8cb25defc7c27f8425c9b41508c4636d6 [2023-05-05T06:33:50.416Z] $ docker rm -f --volumes 0c0c2f5bbec5f9f4498d0e99040d10a8cb25defc7c27f8425c9b41508c4636d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:33:51.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:33:51.684Z] Warning: overwriting stash ‘coverage-report’ [2023-05-05T06:33:52.279Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:33:52.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:33:53.001Z] + ls -al . [2023-05-05T06:33:53.001Z] total 168 [2023-05-05T06:33:53.001Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:30 . [2023-05-05T06:33:53.001Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:27 .. [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 6 May 5 06:27 .dockerignore [2023-05-05T06:33:53.001Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:27 .git [2023-05-05T06:33:53.001Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:27 .github [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 328 May 5 06:27 .gitignore [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:27 .golangci.yml [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 5 06:27 Attribution.txt [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 5 06:27 CHANGELOG.md [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 5 06:27 Dockerfile [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:27 GOVERNANCE.md [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 656 May 5 06:27 Jenkinsfile [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:27 LICENSE [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 5 06:27 Makefile [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:27 OWNERS.md [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 5 06:27 README.md [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:24 VERSION [2023-05-05T06:33:53.001Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:27 bin [2023-05-05T06:33:53.001Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:27 cmd [2023-05-05T06:33:53.001Z] -rw-r--r-- 1 jenkins jenkins 8837 May 5 06:33 coverage.out [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 5 06:27 go.mod [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 31441 May 5 06:27 go.sum [2023-05-05T06:33:53.001Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:27 internal [2023-05-05T06:33:53.001Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:27 snap [2023-05-05T06:33:53.001Z] -rw-rw-r-- 1 jenkins jenkins 228 May 5 06:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:33:53.350Z] + 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=59e8a49adf84218e27872d7b6b42bd2fec737482 --label arch=arm64 --label version=3.0.0-dev.18 . [2023-05-05T06:33:53.621Z] Sending build context to Docker daemon 3.013MB [2023-05-05T06:33:53.621Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:33:53.621Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-05T06:33:53.621Z] ---> 08b21876f32d [2023-05-05T06:33:53.621Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:33:53.890Z] ---> Running in c84cd1a8fb9e [2023-05-05T06:33:54.164Z] Removing intermediate container c84cd1a8fb9e [2023-05-05T06:33:54.164Z] ---> 416b3c7e0729 [2023-05-05T06:33:54.164Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:33:54.164Z] ---> Running in 7350b9201df2 [2023-05-05T06:33:58.433Z] Removing intermediate container 7350b9201df2 [2023-05-05T06:33:58.433Z] ---> 0db363caaee0 [2023-05-05T06:33:58.433Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:33:58.434Z] ---> Running in 87855800f154 [2023-05-05T06:33:59.025Z] Removing intermediate container 87855800f154 [2023-05-05T06:33:59.025Z] ---> 6a45bdbc2bcd [2023-05-05T06:33:59.025Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:33:59.025Z] ---> Running in bb39e732bec3 [2023-05-05T06:33:59.618Z] Removing intermediate container bb39e732bec3 [2023-05-05T06:33:59.618Z] ---> 63bd8cca5b13 [2023-05-05T06:33:59.618Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:33:59.618Z] ---> Running in 559c1f99e4a1 [2023-05-05T06:34:01.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:34:01.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:34:03.069Z] OK: 268 MiB in 57 packages [2023-05-05T06:34:03.663Z] Removing intermediate container 559c1f99e4a1 [2023-05-05T06:34:03.663Z] ---> d9682bdba083 [2023-05-05T06:34:03.663Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-05T06:34:03.932Z] ---> Running in e3d58dc5add7 [2023-05-05T06:34:04.199Z] Removing intermediate container e3d58dc5add7 [2023-05-05T06:34:04.199Z] ---> ff24ed774e14 [2023-05-05T06:34:04.199Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-05T06:34:04.785Z] ---> b1e29770f4af [2023-05-05T06:34:04.785Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:34:04.785Z] ---> Running in 8d9ed19b8e40 [2023-05-05T06:34:07.379Z] Removing intermediate container 8d9ed19b8e40 [2023-05-05T06:34:07.379Z] ---> 30c117e65d4a [2023-05-05T06:34:07.379Z] Step 11/24 : COPY . . [2023-05-05T06:34:08.349Z] ---> 78db94f31d42 [2023-05-05T06:34:08.349Z] Step 12/24 : RUN ${MAKE} [2023-05-05T06:34:08.349Z] ---> Running in 693dc306c4ac [2023-05-05T06:34:09.318Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.18" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-05T06:36:46.363Z] Removing intermediate container 693dc306c4ac [2023-05-05T06:36:46.363Z] ---> d9c5fe28da5a [2023-05-05T06:36:46.363Z] Step 13/24 : FROM alpine:3.17 [2023-05-05T06:36:46.363Z] 3.17: Pulling from library/alpine [2023-05-05T06:36:46.363Z] c41833b44d91: Already exists [2023-05-05T06:36:46.363Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:36:46.363Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:36:46.363Z] ---> 51e60588ff2c [2023-05-05T06:36:46.363Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:36:46.363Z] ---> Running in 662047f21a3c [2023-05-05T06:36:46.363Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:36:46.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:36:48.916Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:36:48.916Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:36:48.916Z] OK: 8 MiB in 16 packages [2023-05-05T06:36:49.885Z] Removing intermediate container 662047f21a3c [2023-05-05T06:36:49.885Z] ---> ea90334b4daf [2023-05-05T06:36:49.885Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-05T06:36:51.320Z] ---> 75f2e6a78646 [2023-05-05T06:36:51.320Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-05T06:36:53.277Z] ---> 4cb6f8a3af1a [2023-05-05T06:36:53.277Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-05T06:36:53.863Z] ---> a62bbd3702f7 [2023-05-05T06:36:53.863Z] Step 18/24 : EXPOSE 59993 [2023-05-05T06:36:53.863Z] ---> Running in d41f442ea3c3 [2023-05-05T06:36:54.130Z] Removing intermediate container d41f442ea3c3 [2023-05-05T06:36:54.130Z] ---> 142db3179b01 [2023-05-05T06:36:54.130Z] Step 19/24 : EXPOSE 161 [2023-05-05T06:36:54.400Z] ---> Running in f372d25dbf4f [2023-05-05T06:36:54.668Z] Removing intermediate container f372d25dbf4f [2023-05-05T06:36:54.668Z] ---> ea7e404f162c [2023-05-05T06:36:54.668Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-05T06:36:54.668Z] ---> Running in 26916ebdbda8 [2023-05-05T06:36:54.935Z] Removing intermediate container 26916ebdbda8 [2023-05-05T06:36:54.935Z] ---> a70b790a8631 [2023-05-05T06:36:54.935Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-05T06:36:54.935Z] ---> Running in 09a7225e50b5 [2023-05-05T06:36:55.202Z] Removing intermediate container 09a7225e50b5 [2023-05-05T06:36:55.202Z] ---> fad55f058665 [2023-05-05T06:36:55.202Z] Step 22/24 : LABEL arch=arm64 [2023-05-05T06:36:55.469Z] ---> Running in a81dfbc81150 [2023-05-05T06:36:55.737Z] Removing intermediate container a81dfbc81150 [2023-05-05T06:36:55.737Z] ---> efc722677be4 [2023-05-05T06:36:55.737Z] Step 23/24 : LABEL git_sha=59e8a49adf84218e27872d7b6b42bd2fec737482 [2023-05-05T06:36:55.737Z] ---> Running in 24761bd0535d [2023-05-05T06:36:56.004Z] Removing intermediate container 24761bd0535d [2023-05-05T06:36:56.004Z] ---> 57d188487dda [2023-05-05T06:36:56.004Z] Step 24/24 : LABEL version=3.0.0-dev.18 [2023-05-05T06:36:56.272Z] ---> Running in 1cac2e0596e6 [2023-05-05T06:36:56.541Z] Removing intermediate container 1cac2e0596e6 [2023-05-05T06:36:56.541Z] ---> 7fadbc3f07a7 [2023-05-05T06:36:56.541Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:36:56.541Z] Successfully built 7fadbc3f07a7 [2023-05-05T06:36:56.541Z] 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-05T06:36:56.664Z] provisioning config files... [2023-05-05T06:36:56.682Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/75@tmp/config14461745174951609737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:36:57.079Z] ---> docker-login.sh [2023-05-05T06:36:57.079Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:36:57.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:36:57.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:36:57.348Z] Configure a credential helper to remove this warning. See [2023-05-05T06:36:57.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:36:57.348Z] [2023-05-05T06:36:57.348Z] Login Succeeded [2023-05-05T06:36:57.348Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:36:57.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:36:57.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:36:57.621Z] Configure a credential helper to remove this warning. See [2023-05-05T06:36:57.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:36:57.621Z] [2023-05-05T06:36:57.621Z] Login Succeeded [2023-05-05T06:36:57.621Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:36:58.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:36:58.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:36:58.220Z] Configure a credential helper to remove this warning. See [2023-05-05T06:36:58.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:36:58.220Z] [2023-05-05T06:36:58.220Z] Login Succeeded [2023-05-05T06:36:58.220Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:36:58.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:36:58.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:36:58.492Z] Configure a credential helper to remove this warning. See [2023-05-05T06:36:58.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:36:58.492Z] [2023-05-05T06:36:58.492Z] Login Succeeded [2023-05-05T06:36:58.492Z] docker.io [2023-05-05T06:36:58.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:36:59.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:36:59.040Z] Configure a credential helper to remove this warning. See [2023-05-05T06:36:59.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:36:59.040Z] [2023-05-05T06:36:59.040Z] Login Succeeded [2023-05-05T06:36:59.040Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:36:59.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:36:59.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:36:59.122Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-05-05T06:36:59.122Z] 59e8a49adf84218e27872d7b6b42bd2fec737482 [2023-05-05T06:36:59.122Z] latest [2023-05-05T06:36:59.122Z] 3.0.0-dev.18 [2023-05-05T06:36:59.122Z] 59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18 [2023-05-05T06:36:59.122Z] main [2023-05-05T06:36:59.122Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:36:59.480Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:59e8a49adf84218e27872d7b6b42bd2fec737482 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:36:59.825Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:59e8a49adf84218e27872d7b6b42bd2fec737482 [2023-05-05T06:36:59.825Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:36:59.825Z] 381016320519: Preparing [2023-05-05T06:36:59.825Z] f30385f33514: Preparing [2023-05-05T06:36:59.825Z] 0299587414c4: Preparing [2023-05-05T06:36:59.825Z] 79cc5381fd09: Preparing [2023-05-05T06:36:59.825Z] 26cbea5cba74: Preparing [2023-05-05T06:36:59.825Z] 26cbea5cba74: Layer already exists [2023-05-05T06:37:00.101Z] 79cc5381fd09: Pushed [2023-05-05T06:37:00.101Z] 381016320519: Pushed [2023-05-05T06:37:00.101Z] f30385f33514: Pushed [2023-05-05T06:37:08.317Z] 0299587414c4: Pushed [2023-05-05T06:37:08.317Z] 59e8a49adf84218e27872d7b6b42bd2fec737482: digest: sha256:cf94333a4e2cb8a93e56c4af12da98980da53e4b9f601fd8275799f02927d403 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:37:08.685Z] + 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-05T06:37:09.054Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-05T06:37:09.054Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:37:09.054Z] 381016320519: Preparing [2023-05-05T06:37:09.054Z] f30385f33514: Preparing [2023-05-05T06:37:09.054Z] 0299587414c4: Preparing [2023-05-05T06:37:09.054Z] 79cc5381fd09: Preparing [2023-05-05T06:37:09.054Z] 26cbea5cba74: Preparing [2023-05-05T06:37:09.054Z] 26cbea5cba74: Layer already exists [2023-05-05T06:37:09.054Z] f30385f33514: Layer already exists [2023-05-05T06:37:09.054Z] 381016320519: Layer already exists [2023-05-05T06:37:09.054Z] 0299587414c4: Layer already exists [2023-05-05T06:37:09.054Z] 79cc5381fd09: Layer already exists [2023-05-05T06:37:09.323Z] latest: digest: sha256:cf94333a4e2cb8a93e56c4af12da98980da53e4b9f601fd8275799f02927d403 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:37:09.677Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:37:10.039Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.18 [2023-05-05T06:37:10.039Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:37:10.039Z] 381016320519: Preparing [2023-05-05T06:37:10.039Z] f30385f33514: Preparing [2023-05-05T06:37:10.039Z] 0299587414c4: Preparing [2023-05-05T06:37:10.039Z] 79cc5381fd09: Preparing [2023-05-05T06:37:10.039Z] 26cbea5cba74: Preparing [2023-05-05T06:37:10.039Z] f30385f33514: Layer already exists [2023-05-05T06:37:10.039Z] 26cbea5cba74: Layer already exists [2023-05-05T06:37:10.039Z] 0299587414c4: Layer already exists [2023-05-05T06:37:10.039Z] 381016320519: Layer already exists [2023-05-05T06:37:10.039Z] 79cc5381fd09: Layer already exists [2023-05-05T06:37:10.311Z] 3.0.0-dev.18: digest: sha256:cf94333a4e2cb8a93e56c4af12da98980da53e4b9f601fd8275799f02927d403 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:37:10.673Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:37:11.038Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18 [2023-05-05T06:37:11.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:37:11.038Z] 381016320519: Preparing [2023-05-05T06:37:11.038Z] f30385f33514: Preparing [2023-05-05T06:37:11.038Z] 0299587414c4: Preparing [2023-05-05T06:37:11.038Z] 79cc5381fd09: Preparing [2023-05-05T06:37:11.038Z] 26cbea5cba74: Preparing [2023-05-05T06:37:11.038Z] f30385f33514: Layer already exists [2023-05-05T06:37:11.038Z] 381016320519: Layer already exists [2023-05-05T06:37:11.038Z] 79cc5381fd09: Layer already exists [2023-05-05T06:37:11.038Z] 26cbea5cba74: Layer already exists [2023-05-05T06:37:11.038Z] 0299587414c4: Layer already exists [2023-05-05T06:37:11.307Z] 59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18: digest: sha256:cf94333a4e2cb8a93e56c4af12da98980da53e4b9f601fd8275799f02927d403 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:37:11.678Z] + 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-05T06:37:12.036Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-05-05T06:37:12.037Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-05T06:37:12.037Z] 381016320519: Preparing [2023-05-05T06:37:12.037Z] f30385f33514: Preparing [2023-05-05T06:37:12.037Z] 0299587414c4: Preparing [2023-05-05T06:37:12.037Z] 79cc5381fd09: Preparing [2023-05-05T06:37:12.037Z] 26cbea5cba74: Preparing [2023-05-05T06:37:12.037Z] f30385f33514: Layer already exists [2023-05-05T06:37:12.037Z] 381016320519: Layer already exists [2023-05-05T06:37:12.037Z] 79cc5381fd09: Layer already exists [2023-05-05T06:37:12.037Z] 0299587414c4: Layer already exists [2023-05-05T06:37:12.037Z] 26cbea5cba74: Layer already exists [2023-05-05T06:37:12.310Z] main: digest: sha256:cf94333a4e2cb8a93e56c4af12da98980da53e4b9f601fd8275799f02927d403 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:37:12.369Z] ===================================================== [Pipeline] echo [2023-05-05T06:37:12.378Z] taggedImages: [2023-05-05T06:37:12.378Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:59e8a49adf84218e27872d7b6b42bd2fec737482 [2023-05-05T06:37:12.378Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-05T06:37:12.378Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.18 [2023-05-05T06:37:12.378Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:59e8a49adf84218e27872d7b6b42bd2fec737482-3.0.0-dev.18 [2023-05-05T06:37:12.378Z] - 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-05T06:37:12.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:37:12.754Z] [2023-05-05T06:37:12.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:37:13.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:37:13.373Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-05T06:37:13.373Z] 8998bd30e6a1: Pulling fs layer [2023-05-05T06:37:13.373Z] 04944245beec: Pulling fs layer [2023-05-05T06:37:13.373Z] 699f458cf7ca: Pulling fs layer [2023-05-05T06:37:13.373Z] 765212b225bb: Pulling fs layer [2023-05-05T06:37:13.373Z] f23df028b6ca: Pulling fs layer [2023-05-05T06:37:13.373Z] d65c8cfc05b1: Pulling fs layer [2023-05-05T06:37:13.373Z] 2437ff75d9bd: Pulling fs layer [2023-05-05T06:37:13.373Z] f23df028b6ca: Waiting [2023-05-05T06:37:13.373Z] d65c8cfc05b1: Waiting [2023-05-05T06:37:13.373Z] 2437ff75d9bd: Waiting [2023-05-05T06:37:13.373Z] 765212b225bb: Waiting [2023-05-05T06:37:13.373Z] 04944245beec: Verifying Checksum [2023-05-05T06:37:13.373Z] 04944245beec: Download complete [2023-05-05T06:37:13.373Z] 765212b225bb: Verifying Checksum [2023-05-05T06:37:13.373Z] 765212b225bb: Download complete [2023-05-05T06:37:13.373Z] f23df028b6ca: Verifying Checksum [2023-05-05T06:37:13.373Z] f23df028b6ca: Download complete [2023-05-05T06:37:13.373Z] d65c8cfc05b1: Verifying Checksum [2023-05-05T06:37:13.373Z] d65c8cfc05b1: Download complete [2023-05-05T06:37:13.647Z] 699f458cf7ca: Verifying Checksum [2023-05-05T06:37:13.647Z] 699f458cf7ca: Download complete [2023-05-05T06:37:13.918Z] 8998bd30e6a1: Verifying Checksum [2023-05-05T06:37:13.918Z] 8998bd30e6a1: Download complete [2023-05-05T06:37:16.509Z] 2437ff75d9bd: Verifying Checksum [2023-05-05T06:37:16.509Z] 2437ff75d9bd: Download complete [2023-05-05T06:37:17.925Z] 8998bd30e6a1: Pull complete [2023-05-05T06:37:20.513Z] 04944245beec: Pull complete [2023-05-05T06:37:21.945Z] 699f458cf7ca: Pull complete [2023-05-05T06:37:22.213Z] 765212b225bb: Pull complete [2023-05-05T06:37:22.800Z] f23df028b6ca: Pull complete [2023-05-05T06:37:23.068Z] d65c8cfc05b1: Pull complete [2023-05-05T06:37:38.093Z] 2437ff75d9bd: Pull complete [2023-05-05T06:37:38.093Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-05T06:37:38.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:37:38.093Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:37:38.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-13856 does not seem to be running inside a container [2023-05-05T06:37:38.407Z] $ 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/75 -v /w/workspace/device-snmp-go/75:/w/workspace/device-snmp-go/75:rw,z -v /w/workspace/device-snmp-go/75@tmp:/w/workspace/device-snmp-go/75@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-05T06:37:41.183Z] $ docker top 3f7f4ca883b0d09d878d1fd8d8392a328a8f17553ebc7dffb39a976946b0244d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:37:42.039Z] ---> job-cost.sh [2023-05-05T06:37:42.039Z] lf-activate-venv: SKIPPING [2023-05-05T06:37:42.039Z] INFO: No Stack... [2023-05-05T06:37:42.308Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-05T06:37:43.275Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:37:43.917Z] + + cut -d,cat -f6 /w/workspace/device-snmp-go/75/archives/cost.csv [2023-05-05T06:37:43.917Z] [Pipeline] lock [2023-05-05T06:37:43.993Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-75-stack-cost] [2023-05-05T06:37:43.999Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-75-stack-cost] did not exist. Created. [2023-05-05T06:37:43.999Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:37:44.658Z] /w/workspace/device-snmp-go/75@tmp/durable-3b093c55/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-05T06:37:45.316Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-05T06:37:45.340Z] Warning: overwriting stash ‘stack-cost’ [2023-05-05T06:37:45.391Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:37:45.403Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:37:45.424Z] $ docker stop --time=1 3f7f4ca883b0d09d878d1fd8d8392a328a8f17553ebc7dffb39a976946b0244d [2023-05-05T06:37:46.981Z] $ docker rm -f --volumes 3f7f4ca883b0d09d878d1fd8d8392a328a8f17553ebc7dffb39a976946b0244d [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-05T06:37:47.374Z] provisioning config files... [2023-05-05T06:37:47.382Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2561273249710928106tmp [Pipeline] { [Pipeline] sh [2023-05-05T06:37:47.670Z] + set +x [2023-05-05T06:37:47.670Z] + curl -s https://codecov.io/bash [2023-05-05T06:37:47.670Z] + bash -s -- [2023-05-05T06:37:47.670Z] [2023-05-05T06:37:47.670Z] _____ _ [2023-05-05T06:37:47.670Z] / ____| | | [2023-05-05T06:37:47.670Z] | | ___ __| | ___ ___ _____ __ [2023-05-05T06:37:47.670Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-05T06:37:47.670Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-05T06:37:47.670Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-05T06:37:47.670Z] Bash-1.0.6 [2023-05-05T06:37:47.670Z] [2023-05-05T06:37:47.670Z] [2023-05-05T06:37:47.670Z] ==> git version 2.25.1 found [2023-05-05T06:37:47.670Z] ==> 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-05T06:37:47.670Z] Release-Date: 2020-01-08 [2023-05-05T06:37:47.670Z] 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-05T06:37:47.670Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-05T06:37:47.670Z] ==> Jenkins CI detected. [2023-05-05T06:37:47.670Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-05-05T06:37:47.670Z] project root: . [2023-05-05T06:37:47.670Z] --> token set from env [2023-05-05T06:37:47.670Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-05T06:37:47.670Z] ==> Running gcov in . (disable via -X gcov) [2023-05-05T06:37:47.670Z] ==> Python coveragepy not found [2023-05-05T06:37:47.670Z] ==> Searching for coverage reports in: [2023-05-05T06:37:47.670Z] + . [2023-05-05T06:37:47.670Z] -> Found 1 reports [2023-05-05T06:37:47.670Z] ==> Detecting git/mercurial file structure [2023-05-05T06:37:47.670Z] ==> Reading reports [2023-05-05T06:37:47.670Z] + ./coverage.out bytes=8837 [2023-05-05T06:37:47.670Z] ==> Appending adjustments [2023-05-05T06:37:47.670Z] https://docs.codecov.io/docs/fixing-reports [2023-05-05T06:37:47.933Z] + Found adjustments [2023-05-05T06:37:47.933Z] ==> Gzipping contents [2023-05-05T06:37:47.933Z] 4.0K /tmp/codecov.6Wyw4b.gz [2023-05-05T06:37:47.933Z] ==> Uploading reports [2023-05-05T06:37:47.933Z] url: https://codecov.io [2023-05-05T06:37:47.933Z] query: branch=main&commit=59e8a49adf84218e27872d7b6b42bd2fec737482&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:37:47.933Z] -> Pinging Codecov [2023-05-05T06:37:47.933Z] 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=59e8a49adf84218e27872d7b6b42bd2fec737482&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:37:47.933Z] -> Uploading to [2023-05-05T06:37:47.933Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-05/6C56EA5C29638FB4528AC87E60AF5AE0/59e8a49adf84218e27872d7b6b42bd2fec737482/6069097e-03ce-467d-9fc7-218dce2cee50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T063747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5915d8fe829a2720cd9e61694c76a2c164fccaca338a330d5929ce886a460ffd [2023-05-05T06:37:47.933Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:37:47.933Z] Dload Upload Total Spent Left Speed [2023-05-05T06:37:48.452Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7901 --:--:-- --:--:-- --:--:-- 7862 100 1604 0 0 100 1604 0 5207 --:--:-- --:--:-- --:--:-- 5190 [2023-05-05T06:37:48.452Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/59e8a49adf84218e27872d7b6b42bd2fec737482 [Pipeline] } [2023-05-05T06:37:48.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-05T06:37:48.596Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-05T06:37:48.605Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:37:48.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:37:48.905Z] [2023-05-05T06:37:48.905Z] 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-05T06:37:49.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:37:49.212Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-05T06:37:49.212Z] df9b9388f04a: Pulling fs layer [2023-05-05T06:37:49.212Z] 52dc419b0ee2: Pulling fs layer [2023-05-05T06:37:49.212Z] 25bc292e5bac: Pulling fs layer [2023-05-05T06:37:49.212Z] 114826534d7a: Pulling fs layer [2023-05-05T06:37:49.212Z] 4657fd5d0bcf: Pulling fs layer [2023-05-05T06:37:49.212Z] 6ad1cebc031e: Pulling fs layer [2023-05-05T06:37:49.212Z] 8a3aa393b2d8: Pulling fs layer [2023-05-05T06:37:49.212Z] 4657fd5d0bcf: Waiting [2023-05-05T06:37:49.212Z] 6ad1cebc031e: Waiting [2023-05-05T06:37:49.212Z] 8a3aa393b2d8: Waiting [2023-05-05T06:37:49.212Z] 114826534d7a: Waiting [2023-05-05T06:37:49.212Z] 25bc292e5bac: Download complete [2023-05-05T06:37:49.212Z] 52dc419b0ee2: Download complete [2023-05-05T06:37:49.212Z] 4657fd5d0bcf: Download complete [2023-05-05T06:37:49.212Z] df9b9388f04a: Download complete [2023-05-05T06:37:49.470Z] 6ad1cebc031e: Verifying Checksum [2023-05-05T06:37:49.470Z] 6ad1cebc031e: Download complete [2023-05-05T06:37:49.470Z] df9b9388f04a: Pull complete [2023-05-05T06:37:49.470Z] 52dc419b0ee2: Pull complete [2023-05-05T06:37:49.470Z] 25bc292e5bac: Pull complete [2023-05-05T06:37:50.036Z] 114826534d7a: Verifying Checksum [2023-05-05T06:37:50.036Z] 114826534d7a: Download complete [2023-05-05T06:37:50.036Z] 8a3aa393b2d8: Verifying Checksum [2023-05-05T06:37:50.036Z] 8a3aa393b2d8: Download complete [2023-05-05T06:37:53.315Z] 114826534d7a: Pull complete [2023-05-05T06:37:53.315Z] 4657fd5d0bcf: Pull complete [2023-05-05T06:37:53.883Z] 6ad1cebc031e: Pull complete [2023-05-05T06:37:56.415Z] 8a3aa393b2d8: Pull complete [2023-05-05T06:37:56.415Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-05T06:37:56.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:37:56.415Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:37:56.503Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:37:56.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-05T06:37:59.228Z] $ docker top 9568800ec05662cbada62bc8f295a9d199787a887df6a786f850dfd19168d976 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-05T06:37:59.306Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-05-05T06:37:59.589Z] + set -o pipefail [2023-05-05T06:37:59.589Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-05-05T06:38:03.783Z] [2023-05-05T06:38:03.783Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-05-05T06:38:03.783Z] [2023-05-05T06:38:03.783Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/8500cb0b-5de4-4a75-8ae9-639976ce3de7 [2023-05-05T06:38:03.783Z] [2023-05-05T06:38:03.783Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-05T06:38:03.783Z] [2023-05-05T06:38:03.783Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-05T06:38:03.783Z] [2023-05-05T06:38:03.783Z] [2023-05-05T06:38:03.783Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-05T06:38:03.783Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-05T06:38:03.783Z] More details here: https://snyk.co/ue1NS [2023-05-05T06:38:03.783Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-05T06:38:03.783Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-05T06:38:03.793Z] $ docker stop --time=1 9568800ec05662cbada62bc8f295a9d199787a887df6a786f850dfd19168d976 [2023-05-05T06:38:06.332Z] $ docker rm -f --volumes 9568800ec05662cbada62bc8f295a9d199787a887df6a786f850dfd19168d976 [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-05T06:38:07.120Z] + git log --format=format:%s -1 59e8a49adf84218e27872d7b6b42bd2fec737482 [Pipeline] sh [2023-05-05T06:38:07.407Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:38:07.408Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:38:07.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:38:07.702Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:38:07.769Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:38:07.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:38:08.183Z] $ docker top 9ad04a9b609be883edbafccc58983a91cfa03be06fb1f30c31865ab9f1fe2788 -eo pid,comm [2023-05-05T06:38:08.237Z] 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-05T06:38:08.237Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:38:08.276Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:38:08.276Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:38:08.386Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:38:08.386Z] $ docker exec 9ad04a9b609be883edbafccc58983a91cfa03be06fb1f30c31865ab9f1fe2788 ssh-agent [2023-05-05T06:38:08.485Z] SSH_AUTH_SOCK=/tmp/ssh-bk4OMwOPh3ub/agent.34 [2023-05-05T06:38:08.485Z] SSH_AGENT_PID=40 [2023-05-05T06:38:08.490Z] Running ssh-add (command line suppressed) [2023-05-05T06:38:08.583Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6286376224879484212.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6286376224879484212.key) [2023-05-05T06:38:08.599Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:38:08.882Z] + git semver tag [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,047 [run_tag] DEBUG tag force:False [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,047 [check_head_tag] DEBUG check head tag [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,048 [execute] INFO git cat-file --batch-check [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,052 [execute] INFO git cat-file --batch [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,053 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,071 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,071 [execute] INFO git tag -a v3.0.0-dev.18 -m v3.0.0-dev.18 [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,071 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.18', '-m', 'v3.0.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:38:09.141Z] 2023-05-05 06:38:09,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:38:09.141Z] 3.0.0-dev.18 [Pipeline] } [2023-05-05T06:38:09.147Z] $ docker exec --env ******** --env ******** 9ad04a9b609be883edbafccc58983a91cfa03be06fb1f30c31865ab9f1fe2788 ssh-agent -k [2023-05-05T06:38:09.245Z] unset SSH_AUTH_SOCK; [2023-05-05T06:38:09.246Z] unset SSH_AGENT_PID; [2023-05-05T06:38:09.247Z] echo Agent pid 40 killed; [2023-05-05T06:38:09.259Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:38:09.568Z] + git semver [Pipeline] } [2023-05-05T06:38:09.836Z] $ docker stop --time=1 9ad04a9b609be883edbafccc58983a91cfa03be06fb1f30c31865ab9f1fe2788 [2023-05-05T06:38:11.093Z] $ docker rm -f --volumes 9ad04a9b609be883edbafccc58983a91cfa03be06fb1f30c31865ab9f1fe2788 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:38:11.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:38:11.495Z] [2023-05-05T06:38:11.495Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:38:11.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:38:11.792Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-05T06:38:11.792Z] ab5ef0e58194: Pulling fs layer [2023-05-05T06:38:11.792Z] 9712f1f96733: Pulling fs layer [2023-05-05T06:38:11.792Z] 63f879dbbcfc: Pulling fs layer [2023-05-05T06:38:11.792Z] 0d9ebad4ef96: Pulling fs layer [2023-05-05T06:38:11.792Z] e9a5061849ea: Pulling fs layer [2023-05-05T06:38:11.792Z] d747dcd14b5f: Pulling fs layer [2023-05-05T06:38:11.792Z] 2de7ff778b66: Pulling fs layer [2023-05-05T06:38:11.792Z] 0d9ebad4ef96: Waiting [2023-05-05T06:38:11.792Z] d747dcd14b5f: Waiting [2023-05-05T06:38:11.792Z] e9a5061849ea: Waiting [2023-05-05T06:38:11.792Z] 9712f1f96733: Verifying Checksum [2023-05-05T06:38:11.792Z] 9712f1f96733: Download complete [2023-05-05T06:38:12.054Z] 63f879dbbcfc: Verifying Checksum [2023-05-05T06:38:12.055Z] 63f879dbbcfc: Download complete [2023-05-05T06:38:12.314Z] e9a5061849ea: Verifying Checksum [2023-05-05T06:38:12.314Z] e9a5061849ea: Download complete [2023-05-05T06:38:12.314Z] d747dcd14b5f: Verifying Checksum [2023-05-05T06:38:12.314Z] d747dcd14b5f: Download complete [2023-05-05T06:38:12.314Z] ab5ef0e58194: Verifying Checksum [2023-05-05T06:38:12.314Z] ab5ef0e58194: Download complete [2023-05-05T06:38:12.314Z] 0d9ebad4ef96: Verifying Checksum [2023-05-05T06:38:12.314Z] 0d9ebad4ef96: Download complete [2023-05-05T06:38:12.314Z] 2de7ff778b66: Verifying Checksum [2023-05-05T06:38:12.314Z] 2de7ff778b66: Download complete [2023-05-05T06:38:14.845Z] ab5ef0e58194: Pull complete [2023-05-05T06:38:15.103Z] 9712f1f96733: Pull complete [2023-05-05T06:38:15.667Z] 63f879dbbcfc: Pull complete [2023-05-05T06:38:20.917Z] 0d9ebad4ef96: Pull complete [2023-05-05T06:38:20.918Z] e9a5061849ea: Pull complete [2023-05-05T06:38:20.918Z] d747dcd14b5f: Pull complete [2023-05-05T06:38:22.371Z] 2de7ff778b66: Pull complete [2023-05-05T06:38:22.371Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-05T06:38:22.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:38:22.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:38:22.459Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:38:22.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-05T06:38:25.931Z] $ docker top 75f8b698a9c98079f2b78343aae2ff7fc548cab3b3521427b9d611b87076efca -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:38:26.007Z] provisioning config files... [2023-05-05T06:38:26.015Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8882676935615346990tmp [2023-05-05T06:38:26.025Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17647605670180072760tmp [2023-05-05T06:38:26.034Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12107440137307972172tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:38:26.047Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:38:26.331Z] ---> sigul-configuration.sh [2023-05-05T06:38:26.331Z] gpg: directory `/root/.gnupg' created [2023-05-05T06:38:26.331Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-05T06:38:26.331Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-05T06:38:26.331Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-05T06:38:26.331Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-05T06:38:26.331Z] gpg: CAST5 encrypted data [2023-05-05T06:38:26.331Z] gpg: encrypted with 1 passphrase [2023-05-05T06:38:26.331Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-05T06:38:26.613Z] + mkdir /home/jenkins [2023-05-05T06:38:26.613Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-05T06:38:26.899Z] + 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-05T06:38:26.907Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:38:27.192Z] ---> sigul-install.sh [2023-05-05T06:38:27.192Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-05T06:38:27.485Z] + git tag --list [2023-05-05T06:38:27.485Z] 1.0.0 [2023-05-05T06:38:27.485Z] v0.0.0 [2023-05-05T06:38:27.485Z] v1.1.0 [2023-05-05T06:38:27.485Z] v1.1.1 [2023-05-05T06:38:27.485Z] v1.2.2 [2023-05-05T06:38:27.485Z] v1.3.0 [2023-05-05T06:38:27.485Z] v1.3.1 [2023-05-05T06:38:27.485Z] v2.0.0 [2023-05-05T06:38:27.485Z] v2.1.0 [2023-05-05T06:38:27.485Z] v2.1.1 [2023-05-05T06:38:27.485Z] v2.1.1-dev.2 [2023-05-05T06:38:27.485Z] v2.1.1-dev.3 [2023-05-05T06:38:27.485Z] v2.2.0 [2023-05-05T06:38:27.485Z] v2.2.1-dev.1 [2023-05-05T06:38:27.485Z] v2.2.1-dev.2 [2023-05-05T06:38:27.485Z] v2.2.1-dev.3 [2023-05-05T06:38:27.485Z] v2.2.1-dev.4 [2023-05-05T06:38:27.485Z] v2.2.1-dev.5 [2023-05-05T06:38:27.485Z] v2.2.1-dev.6 [2023-05-05T06:38:27.485Z] v2.2.1-dev.7 [2023-05-05T06:38:27.485Z] v2.3.0 [2023-05-05T06:38:27.485Z] v2.3.0-dev.10 [2023-05-05T06:38:27.485Z] v2.3.0-dev.11 [2023-05-05T06:38:27.485Z] v2.3.0-dev.12 [2023-05-05T06:38:27.485Z] v2.3.0-dev.13 [2023-05-05T06:38:27.485Z] v2.3.0-dev.14 [2023-05-05T06:38:27.485Z] v2.3.0-dev.15 [2023-05-05T06:38:27.485Z] v2.3.0-dev.16 [2023-05-05T06:38:27.485Z] v2.3.0-dev.17 [2023-05-05T06:38:27.485Z] v2.3.0-dev.18 [2023-05-05T06:38:27.485Z] v2.3.0-dev.19 [2023-05-05T06:38:27.485Z] v2.3.0-dev.20 [2023-05-05T06:38:27.485Z] v2.3.0-dev.21 [2023-05-05T06:38:27.485Z] v2.3.0-dev.22 [2023-05-05T06:38:27.485Z] v2.3.0-dev.23 [2023-05-05T06:38:27.485Z] v2.3.0-dev.24 [2023-05-05T06:38:27.485Z] v2.3.0-dev.7 [2023-05-05T06:38:27.485Z] v2.3.0-dev.8 [2023-05-05T06:38:27.485Z] v2.3.0-dev.9 [2023-05-05T06:38:27.485Z] v3.0.0-dev.1 [2023-05-05T06:38:27.485Z] v3.0.0-dev.10 [2023-05-05T06:38:27.485Z] v3.0.0-dev.11 [2023-05-05T06:38:27.485Z] v3.0.0-dev.12 [2023-05-05T06:38:27.485Z] v3.0.0-dev.13 [2023-05-05T06:38:27.485Z] v3.0.0-dev.14 [2023-05-05T06:38:27.485Z] v3.0.0-dev.15 [2023-05-05T06:38:27.485Z] v3.0.0-dev.16 [2023-05-05T06:38:27.485Z] v3.0.0-dev.17 [2023-05-05T06:38:27.485Z] v3.0.0-dev.18 [2023-05-05T06:38:27.485Z] v3.0.0-dev.2 [2023-05-05T06:38:27.485Z] v3.0.0-dev.3 [2023-05-05T06:38:27.485Z] v3.0.0-dev.4 [2023-05-05T06:38:27.485Z] v3.0.0-dev.5 [2023-05-05T06:38:27.485Z] v3.0.0-dev.6 [2023-05-05T06:38:27.485Z] v3.0.0-dev.7 [2023-05-05T06:38:27.485Z] v3.0.0-dev.8 [2023-05-05T06:38:27.485Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-05T06:38:27.774Z] + lftools sign git-tag v3.0.0-dev.18 [2023-05-05T06:38:28.341Z] Signing Git tag with Sigul... [2023-05-05T06:38:28.341Z] Signing v3.0.0-dev.18 [2023-05-05T06:40:19.952Z] ERROR: I/O error: NSPR connection reset [Pipeline] echo [2023-05-05T06:40:19.961Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:20.244Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-05T06:40:20.251Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-05T06:40:20.266Z] $ docker stop --time=1 75f8b698a9c98079f2b78343aae2ff7fc548cab3b3521427b9d611b87076efca [2023-05-05T06:40:21.505Z] $ docker rm -f --volumes 75f8b698a9c98079f2b78343aae2ff7fc548cab3b3521427b9d611b87076efca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-05T06:40:21.908Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:40:21.908Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:40:22.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:40:22.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:40:22.293Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:40:22.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:40:22.630Z] $ docker top c5f60a324101cdcff73955f8e95d6280e34a86094b44b3ba9542660d04f7bc80 -eo pid,comm [2023-05-05T06:40:22.679Z] 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-05T06:40:22.679Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:40:22.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:40:22.715Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:40:22.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:40:22.820Z] $ docker exec c5f60a324101cdcff73955f8e95d6280e34a86094b44b3ba9542660d04f7bc80 ssh-agent [2023-05-05T06:40:22.926Z] SSH_AUTH_SOCK=/tmp/ssh-jxSG1D2Xm8cG/agent.31 [2023-05-05T06:40:22.926Z] SSH_AGENT_PID=37 [2023-05-05T06:40:22.930Z] Running ssh-add (command line suppressed) [2023-05-05T06:40:23.028Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_374464056244246571.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_374464056244246571.key) [2023-05-05T06:40:23.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:40:23.323Z] + git semver bump pre [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,476 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,476 [bump_version] DEBUG bumping version:3.0.0-dev.18 on axis:pre with prefix:dev [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,476 [bump_version] DEBUG bumped version:3.0.0-dev.19 [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,476 [write_version] DEBUG write version:3.0.0-dev.19 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,476 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,476 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,478 [execute] INFO git cat-file --batch-check [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,478 [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-05T06:40:23.581Z] 2023-05-05 06:40:23,483 [execute] INFO git cat-file --batch [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:40:23.581Z] 2023-05-05 06:40:23,490 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:40:23.581Z] 3.0.0-dev.19 [Pipeline] } [2023-05-05T06:40:23.585Z] $ docker exec --env ******** --env ******** c5f60a324101cdcff73955f8e95d6280e34a86094b44b3ba9542660d04f7bc80 ssh-agent -k [2023-05-05T06:40:23.683Z] unset SSH_AUTH_SOCK; [2023-05-05T06:40:23.683Z] unset SSH_AGENT_PID; [2023-05-05T06:40:23.683Z] echo Agent pid 37 killed; [2023-05-05T06:40:23.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:40:24.009Z] + git semver [Pipeline] } [2023-05-05T06:40:24.276Z] $ docker stop --time=1 c5f60a324101cdcff73955f8e95d6280e34a86094b44b3ba9542660d04f7bc80 [2023-05-05T06:40:25.565Z] $ docker rm -f --volumes c5f60a324101cdcff73955f8e95d6280e34a86094b44b3ba9542660d04f7bc80 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:40:25.904Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:40:25.904Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:40:26.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:40:26.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:40:26.273Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:40:26.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:40:26.636Z] $ docker top 40262a7a0506a862bc63a0762ac6bc74cf0dc303c4a92869d4b710a415c5ab8f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:40:26.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:40:26.737Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:40:26.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:40:26.845Z] $ docker exec 40262a7a0506a862bc63a0762ac6bc74cf0dc303c4a92869d4b710a415c5ab8f ssh-agent [2023-05-05T06:40:26.970Z] SSH_AUTH_SOCK=/tmp/ssh-gY9WXllfgtL9/agent.32 [2023-05-05T06:40:26.970Z] SSH_AGENT_PID=38 [2023-05-05T06:40:26.973Z] Running ssh-add (command line suppressed) [2023-05-05T06:40:27.079Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14501231516629330310.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14501231516629330310.key) [2023-05-05T06:40:27.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:40:27.377Z] + git semver push [2023-05-05T06:40:27.636Z] 2023-05-05 06:40:27,559 [run_push] DEBUG push [2023-05-05T06:40:27.636Z] 2023-05-05 06:40:27,559 [execute] INFO git cat-file --batch-check [2023-05-05T06:40:27.636Z] 2023-05-05 06:40:27,560 [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-05T06:40:27.636Z] 2023-05-05 06:40:27,564 [execute] INFO git rev-list 45c7ceb63af846c2996c3f4f960ecb6f2cc074ff -- [2023-05-05T06:40:27.636Z] 2023-05-05 06:40:27,565 [execute] DEBUG Popen(['git', 'rev-list', '45c7ceb63af846c2996c3f4f960ecb6f2cc074ff', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:40:27.636Z] 2023-05-05 06:40:27,574 [execute] INFO git fetch -v origin [2023-05-05T06:40:27.636Z] 2023-05-05 06:40:27,574 [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-05T06:40:28.203Z] 2023-05-05 06:40:28,044 [run_push] DEBUG no remote changes detected [2023-05-05T06:40:28.203Z] 2023-05-05 06:40:28,044 [execute] INFO git push origin semver [2023-05-05T06:40:28.203Z] 2023-05-05 06:40:28,044 [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-05T06:40:29.138Z] 2023-05-05 06:40:28,799 [run_push] DEBUG push all version tags [2023-05-05T06:40:29.138Z] 2023-05-05 06:40:28,800 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-05T06:40:29.138Z] 2023-05-05 06:40:28,801 [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-05T06:40:29.706Z] 2023-05-05 06:40:29,553 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-05T06:40:29.706Z] 3.0.0-dev.19 [Pipeline] } [2023-05-05T06:40:29.712Z] $ docker exec --env ******** --env ******** 40262a7a0506a862bc63a0762ac6bc74cf0dc303c4a92869d4b710a415c5ab8f ssh-agent -k [2023-05-05T06:40:29.821Z] unset SSH_AUTH_SOCK; [2023-05-05T06:40:29.822Z] unset SSH_AGENT_PID; [2023-05-05T06:40:29.822Z] echo Agent pid 38 killed; [2023-05-05T06:40:29.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:40:30.140Z] + git semver [Pipeline] } [2023-05-05T06:40:30.409Z] $ docker stop --time=1 40262a7a0506a862bc63a0762ac6bc74cf0dc303c4a92869d4b710a415c5ab8f [2023-05-05T06:40:31.715Z] $ docker rm -f --volumes 40262a7a0506a862bc63a0762ac6bc74cf0dc303c4a92869d4b710a415c5ab8f [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-05T06:40:32.224Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-05-05T06:40:32.224Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-05T06:40:32.224Z] total 16 [2023-05-05T06:40:32.224Z] drwxr-xr-x 3 root root 4096 May 5 06:26 . [2023-05-05T06:40:32.224Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:38 .. [2023-05-05T06:40:32.224Z] drwxr-xr-x 2 root root 4096 May 5 06:26 cost [2023-05-05T06:40:32.224Z] -rw-r--r-- 1 root root 85 May 5 06:26 cost.csv [2023-05-05T06:40:32.224Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-05T06:40:32.225Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-05T06:40:32.225Z] total 16 [2023-05-05T06:40:32.225Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:26 . [2023-05-05T06:40:32.225Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:38 .. [2023-05-05T06:40:32.225Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:26 cost [2023-05-05T06:40:32.225Z] -rw-r--r-- 1 jenkins jenkins 85 May 5 06:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:32.515Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:33.376Z] ---> package-listing.sh [2023-05-05T06:40:33.376Z] ++ facter osfamily [2023-05-05T06:40:33.376Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-05T06:40:33.635Z] + OS_FAMILY=debian [2023-05-05T06:40:33.635Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-05-05T06:40:33.635Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-05T06:40:33.635Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-05T06:40:33.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-05T06:40:33.635Z] + PACKAGES=/tmp/packages_start.txt [2023-05-05T06:40:33.635Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-05T06:40:33.635Z] + PACKAGES=/tmp/packages_end.txt [2023-05-05T06:40:33.635Z] + case "${OS_FAMILY}" in [2023-05-05T06:40:33.635Z] + dpkg -l [2023-05-05T06:40:33.635Z] + grep '^ii' [2023-05-05T06:40:33.635Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-05T06:40:33.635Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-05T06:40:33.635Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-05T06:40:33.635Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-05T06:40:33.635Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-05-05T06:40:33.635Z] + 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-05T06:40:33.645Z] 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-05T06:40:33.921Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:40:34.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:40:34.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:40:34.343Z] prd-ubuntu20.04-docker-8c-8g-13853 does not seem to be running inside a container [2023-05-05T06:40:34.397Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T06:40:34.624Z] $ docker top d4b189a79550495d486c17ddd7ba8d899ac394c4465442371f00820b36628bf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:40:34.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-05T06:40:35.258Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-05T06:40:35.547Z] + ls /var/log/sa-host [2023-05-05T06:40:35.547Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:40:35.611Z] provisioning config files... [2023-05-05T06:40:35.620Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15719967880076368103tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:40:35.635Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:35.917Z] ---> create-netrc.sh [Pipeline] } [2023-05-05T06:40:35.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:36.240Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-05T06:40:36.249Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:36.532Z] ---> sudo-logs.sh [2023-05-05T06:40:36.532Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-05T06:40:36.562Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:36.846Z] ---> job-cost.sh [2023-05-05T06:40:36.846Z] lf-activate-venv: SKIPPING [2023-05-05T06:40:36.846Z] DEBUG: total: 0.2199999988079071 [2023-05-05T06:40:36.846Z] INFO: Retrieving Stack Cost... [2023-05-05T06:40:37.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:40:37.675Z] INFO: Archiving Costs [Pipeline] echo [2023-05-05T06:40:37.688Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:40:37.972Z] ---> logs-deploy.sh [2023-05-05T06:40:37.972Z] lf-activate-venv: SKIPPING [2023-05-05T06:40:37.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/75 [2023-05-05T06:40:37.972Z] INFO: archiving workspace using pattern(s): [2023-05-05T06:40:38.910Z] Archives upload complete. [2023-05-05T06:40:38.910Z] INFO: archiving logs to Nexus