Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 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-ssh745412206655490314.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-ssh5758840610889275187.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-ssh14752419835063416849.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-ssh13763820706083686019.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-ssh12754559114121746288.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 Running on prd-ubuntu20.04-docker-8c-8g-16007 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 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 (main) Commit message: "Merge pull request #309 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.92" > 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 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 # timeout=10 > git rev-list --no-walk df6e8d119828d9b47111ad06f42c4d5d8cb031c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-18T09:29:04.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-18T09:29:04.646Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-18T09:29:04.667Z] ========================================================= [2023-05-18T09:29:04.667Z] EdgeX Global Pipelines Version Info [2023-05-18T09:29:04.667Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:29:05.390Z] ------------------- [2023-05-18T09:29:05.390Z] stable info: [2023-05-18T09:29:05.390Z] ------------------- [2023-05-18T09:29:05.390Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-18T09:29:05.390Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-18T09:29:05.390Z] Message: update stable to v1.0.249 [2023-05-18T09:29:05.962Z] ------------------- [2023-05-18T09:29:05.962Z] experimental info: [2023-05-18T09:29:05.962Z] ------------------- [2023-05-18T09:29:05.962Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-18T09:29:05.962Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-18T09:29:05.962Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-18T09:29:06.148Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-18T09:29:06.160Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-18T09:29:06.175Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-18T09:29:06.187Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-18T09:29:06.204Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-18T09:29:06.226Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-18T09:29:06.241Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-18T09:29:06.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-18T09:29:06.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-18T09:29:06.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-18T09:29:06.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-18T09:29:06.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-18T09:29:06.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-18T09:29:06.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-18T09:29:06.364Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-18T09:29:06.377Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-18T09:29:06.389Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-18T09:29:06.405Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-18T09:29:06.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-18T09:29:06.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-18T09:29:06.448Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-18T09:29:06.466Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-18T09:29:06.482Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-18T09:29:06.498Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-18T09:29:06.517Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-18T09:29:06.532Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-18T09:29:06.543Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-18T09:29:06.555Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-18T09:29:06.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-18T09:29:06.592Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-18T09:29:06.608Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [Pipeline] echo [2023-05-18T09:29:06.625Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e6dc0b [Pipeline] echo [2023-05-18T09:29:06.643Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-18T09:29:06.691Z] provisioning config files... [2023-05-18T09:29:06.714Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8741038677868257843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:29:07.022Z] ---> docker-login.sh [2023-05-18T09:29:07.022Z] nexus3.edgexfoundry.org:10001 [2023-05-18T09:29:07.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:07.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:07.286Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:07.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:07.286Z] [2023-05-18T09:29:07.286Z] Login Succeeded [2023-05-18T09:29:07.286Z] nexus3.edgexfoundry.org:10002 [2023-05-18T09:29:07.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:07.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:07.548Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:07.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:07.548Z] [2023-05-18T09:29:07.548Z] Login Succeeded [2023-05-18T09:29:07.548Z] nexus3.edgexfoundry.org:10003 [2023-05-18T09:29:07.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:07.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:07.548Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:07.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:07.548Z] [2023-05-18T09:29:07.548Z] Login Succeeded [2023-05-18T09:29:07.548Z] nexus3.edgexfoundry.org:10004 [2023-05-18T09:29:07.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:07.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:07.810Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:07.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:07.810Z] [2023-05-18T09:29:07.810Z] Login Succeeded [2023-05-18T09:29:07.810Z] docker.io [2023-05-18T09:29:07.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:08.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:08.071Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:08.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:08.071Z] [2023-05-18T09:29:08.071Z] Login Succeeded [2023-05-18T09:29:08.071Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T09:29:08.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-18T09:29:08.478Z] + git rev-list -1 --merges 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5~1..1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [Pipeline] echo [2023-05-18T09:29:08.522Z] -----------> git rev-list -1 --merges 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5~1..1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [2023-05-18T09:29:08.522Z] 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [false] [Pipeline] sh [2023-05-18T09:29:08.812Z] + git log --format=format:%s -1 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [Pipeline] echo [2023-05-18T09:29:08.826Z] ========================================================= [2023-05-18T09:29:08.826Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-18T09:29:08.826Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-18T09:29:09.155Z] + git log --format=format:%s -1 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [Pipeline] echo [2023-05-18T09:29:09.167Z] [semverPrep] GIT_COMMIT: 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5, Commit Message: Merge pull request #309 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.92 [Pipeline] echo [2023-05-18T09:29:09.175Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-18T09:29:09.563Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-18T09:29:09.563Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-18T09:29:09.563Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-18T09:29:09.563Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-18T09:29:09.563Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-18T09:29:09.563Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-18T09:29:09.563Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:29:10.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T09:29:10.019Z] [2023-05-18T09:29:10.019Z] 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-18T09:29:10.330Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T09:29:10.330Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-18T09:29:10.330Z] b85a868b505f: Pulling fs layer [2023-05-18T09:29:10.330Z] e2be974225ed: Pulling fs layer [2023-05-18T09:29:10.330Z] 339a4e72a1f5: Pulling fs layer [2023-05-18T09:29:10.330Z] 988bab9f4d93: Pulling fs layer [2023-05-18T09:29:10.330Z] 1469e6f7b9e6: Pulling fs layer [2023-05-18T09:29:10.330Z] eaf3925da568: Pulling fs layer [2023-05-18T09:29:10.330Z] bab4dde63d76: Pulling fs layer [2023-05-18T09:29:10.330Z] bde34c3a00c8: Pulling fs layer [2023-05-18T09:29:10.330Z] b352a97aabf1: Pulling fs layer [2023-05-18T09:29:10.330Z] 4872d77fe225: Pulling fs layer [2023-05-18T09:29:10.330Z] 5851b861e8e6: Pulling fs layer [2023-05-18T09:29:10.330Z] bab4dde63d76: Waiting [2023-05-18T09:29:10.330Z] 988bab9f4d93: Waiting [2023-05-18T09:29:10.330Z] 1469e6f7b9e6: Waiting [2023-05-18T09:29:10.330Z] bde34c3a00c8: Waiting [2023-05-18T09:29:10.330Z] b352a97aabf1: Waiting [2023-05-18T09:29:10.330Z] 4872d77fe225: Waiting [2023-05-18T09:29:10.330Z] 5851b861e8e6: Waiting [2023-05-18T09:29:10.330Z] eaf3925da568: Waiting [2023-05-18T09:29:10.330Z] e2be974225ed: Verifying Checksum [2023-05-18T09:29:10.330Z] e2be974225ed: Download complete [2023-05-18T09:29:10.330Z] 988bab9f4d93: Verifying Checksum [2023-05-18T09:29:10.330Z] 988bab9f4d93: Download complete [2023-05-18T09:29:10.330Z] 339a4e72a1f5: Verifying Checksum [2023-05-18T09:29:10.330Z] 339a4e72a1f5: Download complete [2023-05-18T09:29:10.330Z] 1469e6f7b9e6: Verifying Checksum [2023-05-18T09:29:10.330Z] 1469e6f7b9e6: Download complete [2023-05-18T09:29:10.330Z] eaf3925da568: Verifying Checksum [2023-05-18T09:29:10.330Z] eaf3925da568: Download complete [2023-05-18T09:29:10.330Z] bde34c3a00c8: Verifying Checksum [2023-05-18T09:29:10.330Z] bde34c3a00c8: Download complete [2023-05-18T09:29:10.608Z] b352a97aabf1: Download complete [2023-05-18T09:29:10.608Z] 4872d77fe225: Verifying Checksum [2023-05-18T09:29:10.608Z] 4872d77fe225: Download complete [2023-05-18T09:29:10.608Z] 5851b861e8e6: Verifying Checksum [2023-05-18T09:29:10.608Z] 5851b861e8e6: Download complete [2023-05-18T09:29:10.608Z] b85a868b505f: Download complete [2023-05-18T09:29:10.878Z] bab4dde63d76: Verifying Checksum [2023-05-18T09:29:10.878Z] bab4dde63d76: Download complete [2023-05-18T09:29:11.825Z] b85a868b505f: Pull complete [2023-05-18T09:29:11.825Z] e2be974225ed: Pull complete [2023-05-18T09:29:12.391Z] 339a4e72a1f5: Pull complete [2023-05-18T09:29:12.391Z] 988bab9f4d93: Pull complete [2023-05-18T09:29:12.649Z] 1469e6f7b9e6: Pull complete [2023-05-18T09:29:12.649Z] eaf3925da568: Pull complete [2023-05-18T09:29:14.554Z] bab4dde63d76: Pull complete [2023-05-18T09:29:14.554Z] bde34c3a00c8: Pull complete [2023-05-18T09:29:14.554Z] b352a97aabf1: Pull complete [2023-05-18T09:29:14.554Z] 4872d77fe225: Pull complete [2023-05-18T09:29:14.813Z] 5851b861e8e6: Pull complete [2023-05-18T09:29:14.813Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-18T09:29:14.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T09:29:14.813Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:29:14.901Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:29:14.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-18T09:29:16.013Z] $ docker top 7f9a0849319c280ae6feff131e8d3cc425c931fadf24b8c19e2fb758a062dc73 -eo pid,comm [2023-05-18T09:29:16.071Z] 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-18T09:29:16.071Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-18T09:29:16.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T09:29:16.111Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T09:29:16.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T09:29:16.223Z] $ docker exec 7f9a0849319c280ae6feff131e8d3cc425c931fadf24b8c19e2fb758a062dc73 ssh-agent [2023-05-18T09:29:16.346Z] SSH_AUTH_SOCK=/tmp/ssh-elPjsOMVdije/agent.32 [2023-05-18T09:29:16.346Z] SSH_AGENT_PID=38 [2023-05-18T09:29:16.354Z] Running ssh-add (command line suppressed) [2023-05-18T09:29:16.464Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16017356087197316477.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16017356087197316477.key) [2023-05-18T09:29:16.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T09:29:16.770Z] + git tag --points-at HEAD [Pipeline] } [2023-05-18T09:29:16.786Z] $ docker exec --env ******** --env ******** 7f9a0849319c280ae6feff131e8d3cc425c931fadf24b8c19e2fb758a062dc73 ssh-agent -k [2023-05-18T09:29:16.885Z] unset SSH_AUTH_SOCK; [2023-05-18T09:29:16.885Z] unset SSH_AGENT_PID; [2023-05-18T09:29:16.886Z] echo Agent pid 38 killed; [2023-05-18T09:29:16.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-18T09:29:16.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T09:29:16.922Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T09:29:17.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T09:29:17.035Z] $ docker exec 7f9a0849319c280ae6feff131e8d3cc425c931fadf24b8c19e2fb758a062dc73 ssh-agent [2023-05-18T09:29:17.144Z] SSH_AUTH_SOCK=/tmp/ssh-id6u1ZWKtkck/agent.71 [2023-05-18T09:29:17.144Z] SSH_AGENT_PID=77 [2023-05-18T09:29:17.149Z] Running ssh-add (command line suppressed) [2023-05-18T09:29:17.243Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12602079768467463.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12602079768467463.key) [2023-05-18T09:29:17.264Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T09:29:17.555Z] + git semver init [2023-05-18T09:29:17.814Z] 2023-05-18 09:29:17,754 [run_init] DEBUG init version:0.0.0 force:False [2023-05-18T09:29:17.814Z] 2023-05-18 09:29:17,755 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-18T09:29:17.814Z] 2023-05-18 09:29:17,755 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-18T09:29:17.814Z] 2023-05-18 09:29:17,755 [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-18T09:29:18.753Z] 2023-05-18 09:29:18,468 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-05-18T09:29:18.753Z] 2023-05-18 09:29:18,469 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-05-18T09:29:18.753Z] 2023-05-18 09:29:18,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-18T09:29:18.753Z] 2023-05-18 09:29:18,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-18T09:29:18.753Z] 3.0.0-dev.24 [Pipeline] } [2023-05-18T09:29:18.760Z] $ docker exec --env ******** --env ******** 7f9a0849319c280ae6feff131e8d3cc425c931fadf24b8c19e2fb758a062dc73 ssh-agent -k [2023-05-18T09:29:18.863Z] unset SSH_AUTH_SOCK; [2023-05-18T09:29:18.863Z] unset SSH_AGENT_PID; [2023-05-18T09:29:18.864Z] echo Agent pid 77 killed; [2023-05-18T09:29:18.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-18T09:29:19.182Z] + git semver [Pipeline] } [2023-05-18T09:29:19.453Z] $ docker stop --time=1 7f9a0849319c280ae6feff131e8d3cc425c931fadf24b8c19e2fb758a062dc73 [2023-05-18T09:29:20.727Z] $ docker rm -f --volumes 7f9a0849319c280ae6feff131e8d3cc425c931fadf24b8c19e2fb758a062dc73 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T09:29:21.075Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-18T09:29:21.296Z] Stashed 1 file(s) [Pipeline] echo [2023-05-18T09:29:21.300Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.24 [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-18T09:29:21.442Z] provisioning config files... [2023-05-18T09:29:21.452Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4959887712817188221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:29:21.749Z] ---> docker-login.sh [2023-05-18T09:29:21.749Z] nexus3.edgexfoundry.org:10001 [2023-05-18T09:29:21.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:21.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:21.749Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:21.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:21.750Z] [2023-05-18T09:29:21.750Z] Login Succeeded [2023-05-18T09:29:21.750Z] nexus3.edgexfoundry.org:10002 [2023-05-18T09:29:21.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:21.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:21.750Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:21.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:21.750Z] [2023-05-18T09:29:21.750Z] Login Succeeded [2023-05-18T09:29:21.750Z] nexus3.edgexfoundry.org:10003 [2023-05-18T09:29:22.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:22.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:22.009Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:22.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:22.009Z] [2023-05-18T09:29:22.009Z] Login Succeeded [2023-05-18T09:29:22.009Z] nexus3.edgexfoundry.org:10004 [2023-05-18T09:29:22.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:22.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:22.009Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:22.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:22.009Z] [2023-05-18T09:29:22.009Z] Login Succeeded [2023-05-18T09:29:22.009Z] docker.io [2023-05-18T09:29:22.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:29:22.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:29:22.270Z] Configure a credential helper to remove this warning. See [2023-05-18T09:29:22.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:29:22.270Z] [2023-05-18T09:29:22.270Z] Login Succeeded [2023-05-18T09:29:22.270Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T09:29:22.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-18T09:29:22.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T09:29:22.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T09:29:22.359Z] ========================================================= [2023-05-18T09:29:22.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-18T09:29:22.360Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:29:22.665Z] + 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-18T09:29:22.665Z] Sending build context to Docker daemon 5.829MB [2023-05-18T09:29:22.665Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T09:29:22.665Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-18T09:29:22.665Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-18T09:29:22.665Z] f56be85fc22e: Pulling fs layer [2023-05-18T09:29:22.665Z] 85791d961cd3: Pulling fs layer [2023-05-18T09:29:22.665Z] d694b5ae8c79: Pulling fs layer [2023-05-18T09:29:22.665Z] 9f32a84ed3da: Pulling fs layer [2023-05-18T09:29:22.665Z] 4d19c01a9841: Pulling fs layer [2023-05-18T09:29:22.665Z] 9325e15d5711: Pulling fs layer [2023-05-18T09:29:22.665Z] 556b6ee489ea: Pulling fs layer [2023-05-18T09:29:22.665Z] c5a4b2cf53e6: Pulling fs layer [2023-05-18T09:29:22.665Z] c5a4b2cf53e6: Waiting [2023-05-18T09:29:22.665Z] 9f32a84ed3da: Waiting [2023-05-18T09:29:22.665Z] 556b6ee489ea: Waiting [2023-05-18T09:29:22.665Z] 9325e15d5711: Waiting [2023-05-18T09:29:22.665Z] 4d19c01a9841: Waiting [2023-05-18T09:29:22.665Z] 85791d961cd3: Verifying Checksum [2023-05-18T09:29:22.665Z] 85791d961cd3: Download complete [2023-05-18T09:29:22.665Z] 9f32a84ed3da: Verifying Checksum [2023-05-18T09:29:22.665Z] 9f32a84ed3da: Download complete [2023-05-18T09:29:22.665Z] 4d19c01a9841: Verifying Checksum [2023-05-18T09:29:22.665Z] 4d19c01a9841: Download complete [2023-05-18T09:29:22.665Z] f56be85fc22e: Verifying Checksum [2023-05-18T09:29:22.665Z] f56be85fc22e: Download complete [2023-05-18T09:29:22.926Z] 9325e15d5711: Verifying Checksum [2023-05-18T09:29:22.926Z] 9325e15d5711: Download complete [2023-05-18T09:29:22.926Z] f56be85fc22e: Pull complete [2023-05-18T09:29:23.186Z] 85791d961cd3: Pull complete [2023-05-18T09:29:23.445Z] d694b5ae8c79: Verifying Checksum [2023-05-18T09:29:23.445Z] d694b5ae8c79: Download complete [2023-05-18T09:29:23.445Z] c5a4b2cf53e6: Verifying Checksum [2023-05-18T09:29:23.445Z] c5a4b2cf53e6: Download complete [2023-05-18T09:29:23.445Z] 556b6ee489ea: Download complete [2023-05-18T09:29:26.730Z] d694b5ae8c79: Pull complete [2023-05-18T09:29:26.730Z] 9f32a84ed3da: Pull complete [2023-05-18T09:29:26.730Z] 4d19c01a9841: Pull complete [2023-05-18T09:29:26.730Z] 9325e15d5711: Pull complete [2023-05-18T09:29:29.262Z] 556b6ee489ea: Pull complete [2023-05-18T09:29:29.832Z] c5a4b2cf53e6: Pull complete [2023-05-18T09:29:29.832Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-18T09:29:29.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-18T09:29:29.832Z] ---> c4be618373d6 [2023-05-18T09:29:29.832Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-18T09:29:31.214Z] ---> Running in 209856c99b00 [2023-05-18T09:29:31.214Z] Removing intermediate container 209856c99b00 [2023-05-18T09:29:31.214Z] ---> 32d8907d4118 [2023-05-18T09:29:31.214Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T09:29:31.214Z] ---> Running in 9ce28065df55 [2023-05-18T09:29:31.214Z] Removing intermediate container 9ce28065df55 [2023-05-18T09:29:31.214Z] ---> 98668d48792f [2023-05-18T09:29:31.214Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-18T09:29:31.214Z] ---> Running in fcee47d73433 [2023-05-18T09:29:31.214Z] Removing intermediate container fcee47d73433 [2023-05-18T09:29:31.214Z] ---> d922f0801205 [2023-05-18T09:29:31.214Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T09:29:31.473Z] ---> Running in c6b160fd1e4a [2023-05-18T09:29:31.473Z] Removing intermediate container c6b160fd1e4a [2023-05-18T09:29:31.473Z] ---> ea14f7da0635 [2023-05-18T09:29:31.473Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T09:29:31.473Z] ---> Running in 4fcd6ad0dc3a [2023-05-18T09:29:31.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-18T09:29:31.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-18T09:29:31.994Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-18T09:29:32.257Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-18T09:29:32.257Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-18T09:29:32.257Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-18T09:29:32.257Z] Executing busybox-1.35.0-r29.trigger [2023-05-18T09:29:32.257Z] OK: 269 MiB in 57 packages [2023-05-18T09:29:32.516Z] Removing intermediate container 4fcd6ad0dc3a [2023-05-18T09:29:32.517Z] ---> d5424102209b [2023-05-18T09:29:32.517Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-18T09:29:32.517Z] ---> Running in 5136df811780 [2023-05-18T09:29:32.517Z] Removing intermediate container 5136df811780 [2023-05-18T09:29:32.517Z] ---> 1d5023f3f027 [2023-05-18T09:29:32.517Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-18T09:29:32.776Z] ---> 3d5be993fb41 [2023-05-18T09:29:32.776Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T09:29:32.776Z] ---> Running in 051d9f70fcee [2023-05-18T09:29:36.414Z] Still waiting to schedule task [2023-05-18T09:29:36.414Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-18T09:29:50.879Z] Removing intermediate container 051d9f70fcee [2023-05-18T09:29:50.879Z] ---> b88a69724793 [2023-05-18T09:29:50.879Z] Step 11/12 : COPY . . [2023-05-18T09:29:50.879Z] ---> 119975df71b0 [2023-05-18T09:29:50.879Z] Step 12/12 : RUN ${MAKE} [2023-05-18T09:29:50.879Z] ---> Running in 7cef4c2a45e6 [2023-05-18T09:29:50.879Z] noop [2023-05-18T09:29:50.879Z] Removing intermediate container 7cef4c2a45e6 [2023-05-18T09:29:50.879Z] ---> d9e616cbefd1 [2023-05-18T09:29:50.879Z] Successfully built d9e616cbefd1 [2023-05-18T09:29:50.879Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:29:51.197Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-18T09:29:51.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:29:51.268Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:29:51.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-18T09:29:51.618Z] $ docker top 737bf1ff5805b113edabf449e1e869162765cef43cc566d7dcb640d10f51f57e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T09:29:51.957Z] + go version [2023-05-18T09:29:51.957Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-18T09:29:51.971Z] $ docker stop --time=1 737bf1ff5805b113edabf449e1e869162765cef43cc566d7dcb640d10f51f57e [2023-05-18T09:29:53.240Z] $ docker rm -f --volumes 737bf1ff5805b113edabf449e1e869162765cef43cc566d7dcb640d10f51f57e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:29:53.655Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-18T09:29:53.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:29:53.723Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:29:53.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-18T09:29:54.082Z] $ docker top bf5bcafe13195a00ffcce01c1ba9d37e218aa83840314bf71f38506b68e4e481 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T09:29:54.431Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-18T09:29:54.730Z] + make test [2023-05-18T09:29:54.730Z] go test ./... -coverprofile=coverage.out [2023-05-18T09:30:00.004Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-18T09:30:08.111Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-18T09:30:08.111Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2023-05-18T09:30:13.374Z] go vet ./... [2023-05-18T09:30:16.656Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-18T09:30:16.656Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-18T09:30:16.656Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-18T09:30:16.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-18T09:30:16.689Z] $ docker stop --time=1 bf5bcafe13195a00ffcce01c1ba9d37e218aa83840314bf71f38506b68e4e481 [2023-05-18T09:30:18.396Z] $ docker rm -f --volumes bf5bcafe13195a00ffcce01c1ba9d37e218aa83840314bf71f38506b68e4e481 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T09:30:18.838Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-18T09:30:18.876Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-18T09:30:19.411Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-18T09:30:19.693Z] + ls -al . [2023-05-18T09:30:19.693Z] total 172 [2023-05-18T09:30:19.693Z] drwxrwxr-x 9 jenkins jenkins 4096 May 18 09:29 . [2023-05-18T09:30:19.693Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 09:29 .. [2023-05-18T09:30:19.693Z] -rw-rw-r-- 1 jenkins jenkins 6 May 18 09:29 .dockerignore [2023-05-18T09:30:19.693Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 09:29 .git [2023-05-18T09:30:19.693Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:29 .github [2023-05-18T09:30:19.693Z] -rw-rw-r-- 1 jenkins jenkins 328 May 18 09:29 .gitignore [2023-05-18T09:30:19.693Z] -rw-rw-r-- 1 jenkins jenkins 41 May 18 09:29 .golangci.yml [2023-05-18T09:30:19.693Z] drwxr-xr-x 3 jenkins jenkins 4096 May 18 09:29 .semver [2023-05-18T09:30:19.693Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 18 09:29 Attribution.txt [2023-05-18T09:30:19.693Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 18 09:29 CHANGELOG.md [2023-05-18T09:30:19.693Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 18 09:29 Dockerfile [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 677 May 18 09:29 GOVERNANCE.md [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 656 May 18 09:29 Jenkinsfile [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 18 09:29 LICENSE [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 18 09:29 Makefile [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 620 May 18 09:29 OWNERS.md [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 18 09:29 README.md [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 12 May 18 09:29 VERSION [2023-05-18T09:30:19.694Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 09:29 bin [2023-05-18T09:30:19.694Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:29 cmd [2023-05-18T09:30:19.694Z] -rw-r--r-- 1 jenkins jenkins 8837 May 18 09:30 coverage.out [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 18 09:29 go.mod [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 18 09:29 go.sum [2023-05-18T09:30:19.694Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:29 internal [2023-05-18T09:30:19.694Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 09:29 snap [2023-05-18T09:30:19.694Z] -rw-rw-r-- 1 jenkins jenkins 228 May 18 09:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:19.999Z] + 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=1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 --label arch=amd64 --label version=3.0.0-dev.24 . [2023-05-18T09:30:19.999Z] Sending build context to Docker daemon 5.839MB [2023-05-18T09:30:19.999Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T09:30:19.999Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-18T09:30:19.999Z] ---> d9e616cbefd1 [2023-05-18T09:30:19.999Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-18T09:30:19.999Z] ---> Running in 481659116b84 [2023-05-18T09:30:19.999Z] Removing intermediate container 481659116b84 [2023-05-18T09:30:19.999Z] ---> 0f9e3171a2f3 [2023-05-18T09:30:19.999Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T09:30:19.999Z] ---> Running in 789ea62571d2 [2023-05-18T09:30:20.258Z] Removing intermediate container 789ea62571d2 [2023-05-18T09:30:20.258Z] ---> b8347ea09db7 [2023-05-18T09:30:20.258Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-18T09:30:20.258Z] ---> Running in 73a38fd4ddae [2023-05-18T09:30:20.258Z] Removing intermediate container 73a38fd4ddae [2023-05-18T09:30:20.258Z] ---> 84d70ccdfb57 [2023-05-18T09:30:20.258Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T09:30:20.258Z] ---> Running in 95c69e1cb089 [2023-05-18T09:30:20.258Z] Removing intermediate container 95c69e1cb089 [2023-05-18T09:30:20.258Z] ---> 0e48907acbd2 [2023-05-18T09:30:20.258Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T09:30:20.258Z] ---> Running in 3f6b92056906 [2023-05-18T09:30:20.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-18T09:30:20.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-18T09:30:20.774Z] OK: 269 MiB in 57 packages [2023-05-18T09:30:21.033Z] Removing intermediate container 3f6b92056906 [2023-05-18T09:30:21.033Z] ---> 48b9cbeaf987 [2023-05-18T09:30:21.033Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-18T09:30:21.293Z] ---> Running in e369339b68b5 [2023-05-18T09:30:21.293Z] Removing intermediate container e369339b68b5 [2023-05-18T09:30:21.293Z] ---> 6d638cbf05fe [2023-05-18T09:30:21.293Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-18T09:30:21.293Z] ---> ae46e99c742b [2023-05-18T09:30:21.293Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T09:30:21.293Z] ---> Running in e8b4846875c1 [2023-05-18T09:30:22.230Z] Removing intermediate container e8b4846875c1 [2023-05-18T09:30:22.230Z] ---> 1b4cf0f85c01 [2023-05-18T09:30:22.230Z] Step 11/24 : COPY . . [2023-05-18T09:30:22.230Z] ---> ce950e577e77 [2023-05-18T09:30:22.230Z] Step 12/24 : RUN ${MAKE} [2023-05-18T09:30:22.230Z] ---> Running in 8b3f4617be15 [2023-05-18T09:30:22.489Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-18T09:30:37.356Z] Removing intermediate container 8b3f4617be15 [2023-05-18T09:30:37.356Z] ---> d1e62c2c244f [2023-05-18T09:30:37.356Z] Step 13/24 : FROM alpine:3.17 [2023-05-18T09:30:37.612Z] 3.17: Pulling from library/alpine [2023-05-18T09:30:37.612Z] f56be85fc22e: Already exists [2023-05-18T09:30:37.872Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-18T09:30:37.872Z] Status: Downloaded newer image for alpine:3.17 [2023-05-18T09:30:37.872Z] ---> 9ed4aefc74f6 [2023-05-18T09:30:37.872Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-18T09:30:37.872Z] ---> Running in b606bfa956be [2023-05-18T09:30:38.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-18T09:30:38.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-18T09:30:38.390Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-18T09:30:38.390Z] Executing busybox-1.35.0-r29.trigger [2023-05-18T09:30:38.390Z] OK: 7 MiB in 16 packages [2023-05-18T09:30:38.650Z] Removing intermediate container b606bfa956be [2023-05-18T09:30:38.650Z] ---> 47e433f37cf8 [2023-05-18T09:30:38.650Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-18T09:30:39.216Z] ---> 1bc80416279b [2023-05-18T09:30:39.216Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-18T09:30:39.216Z] ---> 8a6e3cb76045 [2023-05-18T09:30:39.216Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-18T09:30:39.216Z] ---> ca825b244e71 [2023-05-18T09:30:39.216Z] Step 18/24 : EXPOSE 59993 [2023-05-18T09:30:39.476Z] ---> Running in 7755de28578e [2023-05-18T09:30:39.476Z] Removing intermediate container 7755de28578e [2023-05-18T09:30:39.476Z] ---> f94b1d4b43d2 [2023-05-18T09:30:39.476Z] Step 19/24 : EXPOSE 161 [2023-05-18T09:30:39.476Z] ---> Running in cf91f833c5c3 [2023-05-18T09:30:39.476Z] Removing intermediate container cf91f833c5c3 [2023-05-18T09:30:39.476Z] ---> a61e642f4ecf [2023-05-18T09:30:39.476Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-18T09:30:39.476Z] ---> Running in 2936d7d774b9 [2023-05-18T09:30:39.476Z] Removing intermediate container 2936d7d774b9 [2023-05-18T09:30:39.476Z] ---> 987510fa9ca8 [2023-05-18T09:30:39.476Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-18T09:30:39.735Z] ---> Running in 878e75d6a993 [2023-05-18T09:30:39.735Z] Removing intermediate container 878e75d6a993 [2023-05-18T09:30:39.735Z] ---> 707370a0c706 [2023-05-18T09:30:39.735Z] Step 22/24 : LABEL arch=amd64 [2023-05-18T09:30:39.735Z] ---> Running in 08cd8df060ee [2023-05-18T09:30:39.735Z] Removing intermediate container 08cd8df060ee [2023-05-18T09:30:39.735Z] ---> df63251dc86c [2023-05-18T09:30:39.735Z] Step 23/24 : LABEL git_sha=1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [2023-05-18T09:30:39.735Z] ---> Running in 1034de870b26 [2023-05-18T09:30:39.735Z] Removing intermediate container 1034de870b26 [2023-05-18T09:30:39.735Z] ---> 2aacfa8e11d2 [2023-05-18T09:30:39.735Z] Step 24/24 : LABEL version=3.0.0-dev.24 [2023-05-18T09:30:39.995Z] ---> Running in aa1819d0bd98 [2023-05-18T09:30:39.995Z] Removing intermediate container aa1819d0bd98 [2023-05-18T09:30:39.995Z] ---> 4aa190653eb8 [2023-05-18T09:30:39.995Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-18T09:30:39.995Z] Successfully built 4aa190653eb8 [2023-05-18T09:30:39.995Z] 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-18T09:30:40.100Z] provisioning config files... [2023-05-18T09:30:40.117Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11907015292168422441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:30:40.483Z] ---> docker-login.sh [2023-05-18T09:30:40.483Z] nexus3.edgexfoundry.org:10001 [2023-05-18T09:30:40.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:30:40.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:30:40.483Z] Configure a credential helper to remove this warning. See [2023-05-18T09:30:40.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:30:40.483Z] [2023-05-18T09:30:40.483Z] Login Succeeded [2023-05-18T09:30:40.483Z] nexus3.edgexfoundry.org:10002 [2023-05-18T09:30:40.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:30:40.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:30:40.483Z] Configure a credential helper to remove this warning. See [2023-05-18T09:30:40.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:30:40.483Z] [2023-05-18T09:30:40.483Z] Login Succeeded [2023-05-18T09:30:40.483Z] nexus3.edgexfoundry.org:10003 [2023-05-18T09:30:40.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:30:40.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:30:40.745Z] Configure a credential helper to remove this warning. See [2023-05-18T09:30:40.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:30:40.745Z] [2023-05-18T09:30:40.745Z] Login Succeeded [2023-05-18T09:30:40.745Z] nexus3.edgexfoundry.org:10004 [2023-05-18T09:30:40.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:30:40.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:30:40.745Z] Configure a credential helper to remove this warning. See [2023-05-18T09:30:40.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:30:40.745Z] [2023-05-18T09:30:40.745Z] Login Succeeded [2023-05-18T09:30:40.745Z] docker.io [2023-05-18T09:30:40.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:30:41.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:30:41.004Z] Configure a credential helper to remove this warning. See [2023-05-18T09:30:41.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:30:41.004Z] [2023-05-18T09:30:41.004Z] Login Succeeded [2023-05-18T09:30:41.004Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T09:30:41.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-18T09:30:41.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T09:30:41.059Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-05-18T09:30:41.059Z] 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [2023-05-18T09:30:41.059Z] latest [2023-05-18T09:30:41.059Z] 3.0.0-dev.24 [2023-05-18T09:30:41.059Z] 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24 [2023-05-18T09:30:41.059Z] main [2023-05-18T09:30:41.059Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:41.395Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:41.704Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [2023-05-18T09:30:41.704Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-18T09:30:41.704Z] 6680cbd44a9a: Preparing [2023-05-18T09:30:41.704Z] 6d36221eaff0: Preparing [2023-05-18T09:30:41.704Z] a190d06764e2: Preparing [2023-05-18T09:30:41.704Z] a23b8c98d272: Preparing [2023-05-18T09:30:41.704Z] f1417ff83b31: Preparing [2023-05-18T09:30:41.704Z] f1417ff83b31: Layer already exists [2023-05-18T09:30:41.705Z] 6d36221eaff0: Pushed [2023-05-18T09:30:41.705Z] a23b8c98d272: Pushed [2023-05-18T09:30:41.705Z] 6680cbd44a9a: Pushed [2023-05-18T09:30:44.238Z] a190d06764e2: Pushed [2023-05-18T09:30:44.238Z] 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5: digest: sha256:2166657387cdd2a1b2dac6dd7006e880a643132ea8a4f07d80df4d1557ae4fb3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:44.543Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:44.844Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-18T09:30:44.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-18T09:30:44.844Z] 6680cbd44a9a: Preparing [2023-05-18T09:30:44.844Z] 6d36221eaff0: Preparing [2023-05-18T09:30:44.844Z] a190d06764e2: Preparing [2023-05-18T09:30:44.844Z] a23b8c98d272: Preparing [2023-05-18T09:30:44.844Z] f1417ff83b31: Preparing [2023-05-18T09:30:44.844Z] 6680cbd44a9a: Layer already exists [2023-05-18T09:30:44.844Z] a190d06764e2: Layer already exists [2023-05-18T09:30:44.844Z] f1417ff83b31: Layer already exists [2023-05-18T09:30:44.844Z] a23b8c98d272: Layer already exists [2023-05-18T09:30:44.844Z] 6d36221eaff0: Layer already exists [2023-05-18T09:30:44.844Z] latest: digest: sha256:2166657387cdd2a1b2dac6dd7006e880a643132ea8a4f07d80df4d1557ae4fb3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:45.153Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:45.466Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.24 [2023-05-18T09:30:45.466Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-18T09:30:45.466Z] 6680cbd44a9a: Preparing [2023-05-18T09:30:45.466Z] 6d36221eaff0: Preparing [2023-05-18T09:30:45.466Z] a190d06764e2: Preparing [2023-05-18T09:30:45.466Z] a23b8c98d272: Preparing [2023-05-18T09:30:45.466Z] f1417ff83b31: Preparing [2023-05-18T09:30:45.466Z] a190d06764e2: Layer already exists [2023-05-18T09:30:45.466Z] a23b8c98d272: Layer already exists [2023-05-18T09:30:45.466Z] 6680cbd44a9a: Layer already exists [2023-05-18T09:30:45.466Z] f1417ff83b31: Layer already exists [2023-05-18T09:30:45.466Z] 6d36221eaff0: Layer already exists [2023-05-18T09:30:45.466Z] 3.0.0-dev.24: digest: sha256:2166657387cdd2a1b2dac6dd7006e880a643132ea8a4f07d80df4d1557ae4fb3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:45.789Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:46.099Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24 [2023-05-18T09:30:46.099Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-18T09:30:46.099Z] 6680cbd44a9a: Preparing [2023-05-18T09:30:46.099Z] 6d36221eaff0: Preparing [2023-05-18T09:30:46.099Z] a190d06764e2: Preparing [2023-05-18T09:30:46.099Z] a23b8c98d272: Preparing [2023-05-18T09:30:46.099Z] f1417ff83b31: Preparing [2023-05-18T09:30:46.099Z] a23b8c98d272: Layer already exists [2023-05-18T09:30:46.099Z] 6d36221eaff0: Layer already exists [2023-05-18T09:30:46.099Z] 6680cbd44a9a: Layer already exists [2023-05-18T09:30:46.099Z] a190d06764e2: Layer already exists [2023-05-18T09:30:46.099Z] f1417ff83b31: Layer already exists [2023-05-18T09:30:46.099Z] 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24: digest: sha256:2166657387cdd2a1b2dac6dd7006e880a643132ea8a4f07d80df4d1557ae4fb3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:46.407Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:46.716Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-05-18T09:30:46.716Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-18T09:30:46.716Z] 6680cbd44a9a: Preparing [2023-05-18T09:30:46.716Z] 6d36221eaff0: Preparing [2023-05-18T09:30:46.716Z] a190d06764e2: Preparing [2023-05-18T09:30:46.716Z] a23b8c98d272: Preparing [2023-05-18T09:30:46.716Z] f1417ff83b31: Preparing [2023-05-18T09:30:46.716Z] a23b8c98d272: Layer already exists [2023-05-18T09:30:46.716Z] 6d36221eaff0: Layer already exists [2023-05-18T09:30:46.716Z] a190d06764e2: Layer already exists [2023-05-18T09:30:46.716Z] f1417ff83b31: Layer already exists [2023-05-18T09:30:46.716Z] 6680cbd44a9a: Layer already exists [2023-05-18T09:30:46.716Z] main: digest: sha256:2166657387cdd2a1b2dac6dd7006e880a643132ea8a4f07d80df4d1557ae4fb3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-18T09:30:46.759Z] ===================================================== [Pipeline] echo [2023-05-18T09:30:46.768Z] taggedImages: [2023-05-18T09:30:46.768Z] - nexus3.edgexfoundry.org:10004/device-snmp:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [2023-05-18T09:30:46.768Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-18T09:30:46.768Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.24 [2023-05-18T09:30:46.768Z] - nexus3.edgexfoundry.org:10004/device-snmp:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24 [2023-05-18T09:30:46.768Z] - 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-18T09:30:47.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T09:30:47.166Z] [2023-05-18T09:30:47.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:30:47.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T09:30:47.468Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-18T09:30:47.468Z] 5eb5b503b376: Pulling fs layer [2023-05-18T09:30:47.468Z] 5c69ac0246d0: Pulling fs layer [2023-05-18T09:30:47.468Z] ec43610c2a17: Pulling fs layer [2023-05-18T09:30:47.468Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-18T09:30:47.468Z] 33b1e0a273af: Pulling fs layer [2023-05-18T09:30:47.468Z] 5d3b04190fa2: Pulling fs layer [2023-05-18T09:30:47.468Z] 2f39f015ded8: Pulling fs layer [2023-05-18T09:30:47.468Z] 3a2ae6a8a46f: Waiting [2023-05-18T09:30:47.468Z] 33b1e0a273af: Waiting [2023-05-18T09:30:47.468Z] 5d3b04190fa2: Waiting [2023-05-18T09:30:47.468Z] 2f39f015ded8: Waiting [2023-05-18T09:30:47.468Z] 5c69ac0246d0: Download complete [2023-05-18T09:30:47.468Z] 3a2ae6a8a46f: Download complete [2023-05-18T09:30:47.468Z] 33b1e0a273af: Verifying Checksum [2023-05-18T09:30:47.468Z] 33b1e0a273af: Download complete [2023-05-18T09:30:47.468Z] 5d3b04190fa2: Download complete [2023-05-18T09:30:47.468Z] ec43610c2a17: Verifying Checksum [2023-05-18T09:30:47.468Z] ec43610c2a17: Download complete [2023-05-18T09:30:47.727Z] 5eb5b503b376: Verifying Checksum [2023-05-18T09:30:47.727Z] 5eb5b503b376: Download complete [2023-05-18T09:30:48.295Z] 2f39f015ded8: Download complete [2023-05-18T09:30:48.859Z] 5eb5b503b376: Pull complete [2023-05-18T09:30:48.859Z] 5c69ac0246d0: Pull complete [2023-05-18T09:30:49.118Z] ec43610c2a17: Pull complete [2023-05-18T09:30:49.377Z] 3a2ae6a8a46f: Pull complete [2023-05-18T09:30:49.377Z] 33b1e0a273af: Pull complete [2023-05-18T09:30:49.636Z] 5d3b04190fa2: Pull complete [2023-05-18T09:30:52.915Z] 2f39f015ded8: Pull complete [2023-05-18T09:30:52.915Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-18T09:30:52.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T09:30:52.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:30:53.002Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:30:53.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-18T09:30:53.983Z] $ docker top 0b104b81fd0efdc3737b3a82f6d98ca852f4eaa30a4a4d64769ea55ff7625d96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:30:54.376Z] ---> job-cost.sh [2023-05-18T09:30:54.376Z] lf-activate-venv: SKIPPING [2023-05-18T09:30:54.376Z] INFO: No Stack... [2023-05-18T09:30:54.635Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-18T09:30:55.203Z] INFO: Archiving Costs [Pipeline] sh [2023-05-18T09:30:55.491Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-05-18T09:30:55.491Z] + cut -d, -f6 [Pipeline] lock [2023-05-18T09:30:55.505Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-81-stack-cost] [2023-05-18T09:30:55.514Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-81-stack-cost] did not exist. Created. [2023-05-18T09:30:55.514Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-18T09:30:55.825Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-18T09:30:55.856Z] Stashed 1 file(s) [Pipeline] } [2023-05-18T09:30:55.866Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-18T09:30:55.889Z] $ docker stop --time=1 0b104b81fd0efdc3737b3a82f6d98ca852f4eaa30a4a4d64769ea55ff7625d96 [2023-05-18T09:30:57.038Z] $ docker rm -f --volumes 0b104b81fd0efdc3737b3a82f6d98ca852f4eaa30a4a4d64769ea55ff7625d96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-18T09:31:22.302Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16008 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-05-18T09:31:22.318Z] Running in /w/workspace/device-snmp-go/81 [Pipeline] { [Pipeline] checkout [2023-05-18T09:31:22.357Z] Selected Git installation does not exist. Using Default [2023-05-18T09:31:22.357Z] The recommended git tool is: NONE [2023-05-18T09:31:27.830Z] using credential edgex-jenkins-ssh [2023-05-18T09:31:27.846Z] Cloning the remote Git repository [2023-05-18T09:31:27.894Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-18T09:31:27.999Z] > git init /w/workspace/device-snmp-go/81 # timeout=10 [2023-05-18T09:31:28.154Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-18T09:31:28.155Z] > git --version # timeout=10 [2023-05-18T09:31:28.173Z] > git --version # 'git version 2.25.1' [2023-05-18T09:31:28.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-18T09:31:28.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-18T09:31:29.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-18T09:31:29.358Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-18T09:31:30.257Z] Avoid second fetch [2023-05-18T09:31:30.258Z] Checking out Revision 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 (main) [2023-05-18T09:31:30.859Z] Commit message: "Merge pull request #309 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.92" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-18T09:31:30.275Z] > git config core.sparsecheckout # timeout=10 [2023-05-18T09:31:30.353Z] > git checkout -f 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 # timeout=10 [2023-05-18T09:31:31.705Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-18T09:31:31.705Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-18T09:31:31.705Z] Dload Upload Total Spent Left Speed [2023-05-18T09:31:31.705Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-05-18T09:31:32.345Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-18T09:31:32.689Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-18T09:31:32.689Z] + sudo tee /etc/docker/daemon.new [2023-05-18T09:31:32.689Z] { [2023-05-18T09:31:32.689Z] "registry-mirrors": [ [2023-05-18T09:31:32.689Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-18T09:31:32.689Z] ], [2023-05-18T09:31:32.689Z] "bip": "10.250.0.254/24", [2023-05-18T09:31:32.689Z] "hosts": [ [2023-05-18T09:31:32.689Z] "tcp://0.0.0.0:5555", [2023-05-18T09:31:32.689Z] "unix:///var/run/docker.sock" [2023-05-18T09:31:32.689Z] ], [2023-05-18T09:31:32.689Z] "mtu": 1458, [2023-05-18T09:31:32.689Z] "selinux-enabled": true, [2023-05-18T09:31:32.689Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-18T09:31:32.689Z] } [Pipeline] sh [2023-05-18T09:31:33.031Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-18T09:31:33.372Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-18T09:31:51.666Z] provisioning config files... [2023-05-18T09:31:51.692Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/81@tmp/config8889829693580359490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:31:52.048Z] ---> docker-login.sh [2023-05-18T09:31:52.048Z] nexus3.edgexfoundry.org:10001 [2023-05-18T09:31:52.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:31:52.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:31:52.600Z] Configure a credential helper to remove this warning. See [2023-05-18T09:31:52.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:31:52.600Z] [2023-05-18T09:31:52.600Z] Login Succeeded [2023-05-18T09:31:52.600Z] nexus3.edgexfoundry.org:10002 [2023-05-18T09:31:52.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:31:53.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:31:53.135Z] Configure a credential helper to remove this warning. See [2023-05-18T09:31:53.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:31:53.135Z] [2023-05-18T09:31:53.135Z] Login Succeeded [2023-05-18T09:31:53.135Z] nexus3.edgexfoundry.org:10003 [2023-05-18T09:31:53.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:31:53.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:31:53.405Z] Configure a credential helper to remove this warning. See [2023-05-18T09:31:53.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:31:53.405Z] [2023-05-18T09:31:53.405Z] Login Succeeded [2023-05-18T09:31:53.405Z] nexus3.edgexfoundry.org:10004 [2023-05-18T09:31:53.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:31:53.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:31:53.675Z] Configure a credential helper to remove this warning. See [2023-05-18T09:31:53.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:31:53.675Z] [2023-05-18T09:31:53.675Z] Login Succeeded [2023-05-18T09:31:53.675Z] docker.io [2023-05-18T09:31:53.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:31:54.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:31:54.214Z] Configure a credential helper to remove this warning. See [2023-05-18T09:31:54.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:31:54.214Z] [2023-05-18T09:31:54.214Z] Login Succeeded [2023-05-18T09:31:54.214Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T09:31:54.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-18T09:31:54.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T09:31:54.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T09:31:54.705Z] ========================================================= [2023-05-18T09:31:54.705Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-18T09:31:54.705Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:31:55.063Z] + 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-18T09:31:55.334Z] Sending build context to Docker daemon 3.022MB [2023-05-18T09:31:55.334Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T09:31:55.334Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-18T09:31:55.609Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-18T09:31:55.609Z] c41833b44d91: Pulling fs layer [2023-05-18T09:31:55.609Z] ed15518f5707: Pulling fs layer [2023-05-18T09:31:55.609Z] feae8fd75edb: Pulling fs layer [2023-05-18T09:31:55.609Z] 242c74f7c9fa: Pulling fs layer [2023-05-18T09:31:55.609Z] 3cdef696dda3: Pulling fs layer [2023-05-18T09:31:55.609Z] 2ced38df9373: Pulling fs layer [2023-05-18T09:31:55.609Z] 58f1dce35555: Pulling fs layer [2023-05-18T09:31:55.609Z] 3cdef696dda3: Waiting [2023-05-18T09:31:55.609Z] 2ced38df9373: Waiting [2023-05-18T09:31:55.609Z] 58f1dce35555: Waiting [2023-05-18T09:31:55.609Z] 242c74f7c9fa: Waiting [2023-05-18T09:31:55.609Z] ed15518f5707: Verifying Checksum [2023-05-18T09:31:55.609Z] ed15518f5707: Download complete [2023-05-18T09:31:55.609Z] 242c74f7c9fa: Verifying Checksum [2023-05-18T09:31:55.609Z] 242c74f7c9fa: Download complete [2023-05-18T09:31:55.609Z] 3cdef696dda3: Download complete [2023-05-18T09:31:55.609Z] c41833b44d91: Verifying Checksum [2023-05-18T09:31:55.609Z] c41833b44d91: Download complete [2023-05-18T09:31:56.586Z] c41833b44d91: Pull complete [2023-05-18T09:31:57.172Z] 58f1dce35555: Verifying Checksum [2023-05-18T09:31:57.172Z] 58f1dce35555: Download complete [2023-05-18T09:31:57.172Z] ed15518f5707: Pull complete [2023-05-18T09:31:58.141Z] feae8fd75edb: Verifying Checksum [2023-05-18T09:31:58.141Z] feae8fd75edb: Download complete [2023-05-18T09:31:58.410Z] 2ced38df9373: Verifying Checksum [2023-05-18T09:31:58.410Z] 2ced38df9373: Download complete [2023-05-18T09:32:08.520Z] feae8fd75edb: Pull complete [2023-05-18T09:32:08.793Z] 242c74f7c9fa: Pull complete [2023-05-18T09:32:09.061Z] 3cdef696dda3: Pull complete [2023-05-18T09:32:15.731Z] 2ced38df9373: Pull complete [2023-05-18T09:32:19.159Z] 58f1dce35555: Pull complete [2023-05-18T09:32:19.159Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-18T09:32:19.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-18T09:32:19.159Z] ---> fadd8f120f05 [2023-05-18T09:32:19.159Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-18T09:32:20.614Z] ---> Running in 3305bc262a1a [2023-05-18T09:32:20.883Z] Removing intermediate container 3305bc262a1a [2023-05-18T09:32:20.883Z] ---> 36ff98d51a82 [2023-05-18T09:32:20.883Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T09:32:20.883Z] ---> Running in c80023eba7fc [2023-05-18T09:32:21.151Z] Removing intermediate container c80023eba7fc [2023-05-18T09:32:21.151Z] ---> 50a4f6725aa2 [2023-05-18T09:32:21.151Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-18T09:32:21.419Z] ---> Running in 855191c665d1 [2023-05-18T09:32:21.687Z] Removing intermediate container 855191c665d1 [2023-05-18T09:32:21.687Z] ---> 5ee1cc7d8db8 [2023-05-18T09:32:21.687Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T09:32:21.687Z] ---> Running in 399deffb3545 [2023-05-18T09:32:21.956Z] Removing intermediate container 399deffb3545 [2023-05-18T09:32:21.956Z] ---> 98db78586857 [2023-05-18T09:32:21.956Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T09:32:22.223Z] ---> Running in 3b2ee25e290c [2023-05-18T09:32:23.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-18T09:32:23.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-18T09:32:24.759Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-18T09:32:24.759Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-18T09:32:24.759Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-18T09:32:25.029Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-18T09:32:25.029Z] Executing busybox-1.35.0-r29.trigger [2023-05-18T09:32:25.029Z] OK: 268 MiB in 57 packages [2023-05-18T09:32:25.994Z] Removing intermediate container 3b2ee25e290c [2023-05-18T09:32:25.994Z] ---> 7cb8fe5c6feb [2023-05-18T09:32:25.994Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-18T09:32:26.260Z] ---> Running in c870c2715f71 [2023-05-18T09:32:26.528Z] Removing intermediate container c870c2715f71 [2023-05-18T09:32:26.528Z] ---> 13ba9cebb938 [2023-05-18T09:32:26.528Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-18T09:32:26.796Z] ---> 587f59e23360 [2023-05-18T09:32:26.796Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T09:32:27.067Z] ---> Running in b468bb2c9a62 [2023-05-18T09:33:35.016Z] Removing intermediate container b468bb2c9a62 [2023-05-18T09:33:35.016Z] ---> f25b3d5d8e48 [2023-05-18T09:33:35.016Z] Step 11/12 : COPY . . [2023-05-18T09:33:35.016Z] ---> 2f78a9bc29c1 [2023-05-18T09:33:35.016Z] Step 12/12 : RUN ${MAKE} [2023-05-18T09:33:35.016Z] ---> Running in 675a0982caef [2023-05-18T09:33:35.016Z] noop [2023-05-18T09:33:35.016Z] Removing intermediate container 675a0982caef [2023-05-18T09:33:35.016Z] ---> f9abf69fc091 [2023-05-18T09:33:35.016Z] Successfully built f9abf69fc091 [2023-05-18T09:33:35.016Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:33:35.365Z] + docker inspect -f . ci-base-image-arm64 [2023-05-18T09:33:35.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:33:35.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-16008 does not seem to be running inside a container [2023-05-18T09:33:35.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/81 -v /w/workspace/device-snmp-go/81:/w/workspace/device-snmp-go/81:rw,z -v /w/workspace/device-snmp-go/81@tmp:/w/workspace/device-snmp-go/81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-18T09:33:36.881Z] $ docker top d16ebf8d142fffbfa43284cee41e2380b871215b6b72dc4aafef984fb44414d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T09:33:37.709Z] + go version [2023-05-18T09:33:37.709Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-18T09:33:37.728Z] $ docker stop --time=1 d16ebf8d142fffbfa43284cee41e2380b871215b6b72dc4aafef984fb44414d7 [2023-05-18T09:33:40.316Z] $ docker rm -f --volumes d16ebf8d142fffbfa43284cee41e2380b871215b6b72dc4aafef984fb44414d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:33:40.850Z] + docker inspect -f . ci-base-image-arm64 [2023-05-18T09:33:40.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:33:41.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-16008 does not seem to be running inside a container [2023-05-18T09:33:41.084Z] $ 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/81 -v /w/workspace/device-snmp-go/81:/w/workspace/device-snmp-go/81:rw,z -v /w/workspace/device-snmp-go/81@tmp:/w/workspace/device-snmp-go/81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-18T09:33:42.156Z] $ docker top 78ed92efdbc2202dee1214348a1f23732848bad658b6f57443bc5d61f6e4f5ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T09:33:42.646Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/81 [Pipeline] fileExists [Pipeline] sh [2023-05-18T09:33:42.973Z] + make test [2023-05-18T09:33:43.244Z] go test ./... -coverprofile=coverage.out [2023-05-18T09:34:15.478Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-18T09:36:07.216Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-18T09:36:07.486Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements [2023-05-18T09:36:08.074Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-18T09:36:08.074Z] go vet ./... [2023-05-18T09:36:34.800Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-18T09:36:34.800Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-18T09:36:34.800Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-18T09:36:35.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-18T09:36:35.422Z] $ docker stop --time=1 78ed92efdbc2202dee1214348a1f23732848bad658b6f57443bc5d61f6e4f5ce [2023-05-18T09:36:37.233Z] $ docker rm -f --volumes 78ed92efdbc2202dee1214348a1f23732848bad658b6f57443bc5d61f6e4f5ce [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T09:36:38.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-18T09:36:38.402Z] Warning: overwriting stash ‘coverage-report’ [2023-05-18T09:36:38.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-18T09:36:39.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-18T09:36:39.610Z] + ls -al . [2023-05-18T09:36:39.610Z] total 168 [2023-05-18T09:36:39.610Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 09:33 . [2023-05-18T09:36:39.610Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 09:31 .. [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 6 May 18 09:31 .dockerignore [2023-05-18T09:36:39.610Z] drwxrwxr-x 8 jenkins jenkins 4096 May 18 09:31 .git [2023-05-18T09:36:39.610Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:31 .github [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 328 May 18 09:31 .gitignore [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 41 May 18 09:31 .golangci.yml [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 18 09:31 Attribution.txt [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 18 09:31 CHANGELOG.md [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 18 09:31 Dockerfile [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 677 May 18 09:31 GOVERNANCE.md [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 656 May 18 09:31 Jenkinsfile [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 18 09:31 LICENSE [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 18 09:31 Makefile [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 620 May 18 09:31 OWNERS.md [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 18 09:31 README.md [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 12 May 18 09:29 VERSION [2023-05-18T09:36:39.610Z] drwxrwxr-x 2 jenkins jenkins 4096 May 18 09:31 bin [2023-05-18T09:36:39.610Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:31 cmd [2023-05-18T09:36:39.610Z] -rw-r--r-- 1 jenkins jenkins 8837 May 18 09:36 coverage.out [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 18 09:31 go.mod [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 18 09:31 go.sum [2023-05-18T09:36:39.610Z] drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:31 internal [2023-05-18T09:36:39.610Z] drwxrwxr-x 4 jenkins jenkins 4096 May 18 09:31 snap [2023-05-18T09:36:39.610Z] -rw-rw-r-- 1 jenkins jenkins 228 May 18 09:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:36:39.954Z] + 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=1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 --label arch=arm64 --label version=3.0.0-dev.24 . [2023-05-18T09:36:40.222Z] Sending build context to Docker daemon 3.032MB [2023-05-18T09:36:40.222Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-18T09:36:40.222Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-18T09:36:40.222Z] ---> f9abf69fc091 [2023-05-18T09:36:40.222Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-18T09:36:40.490Z] ---> Running in 25ec797bd0c6 [2023-05-18T09:36:40.758Z] Removing intermediate container 25ec797bd0c6 [2023-05-18T09:36:40.758Z] ---> a905a57cd5ef [2023-05-18T09:36:40.758Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-18T09:36:40.758Z] ---> Running in 69a17fec403b [2023-05-18T09:36:41.026Z] Removing intermediate container 69a17fec403b [2023-05-18T09:36:41.026Z] ---> d3f6ea450e07 [2023-05-18T09:36:41.026Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-18T09:36:41.026Z] ---> Running in 0a0a892811d4 [2023-05-18T09:36:41.294Z] Removing intermediate container 0a0a892811d4 [2023-05-18T09:36:41.294Z] ---> 0eaa404e9329 [2023-05-18T09:36:41.294Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-18T09:36:41.562Z] ---> Running in 3c405c4afae6 [2023-05-18T09:36:41.832Z] Removing intermediate container 3c405c4afae6 [2023-05-18T09:36:41.832Z] ---> 5bf556b6adf2 [2023-05-18T09:36:41.832Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-18T09:36:41.832Z] ---> Running in 16558d6a3b02 [2023-05-18T09:36:42.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-18T09:36:43.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-18T09:36:44.792Z] OK: 268 MiB in 57 packages [2023-05-18T09:36:48.138Z] Removing intermediate container 16558d6a3b02 [2023-05-18T09:36:48.138Z] ---> 56cfbd9d3b39 [2023-05-18T09:36:48.138Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-18T09:36:48.138Z] ---> Running in 81e8b853d62f [2023-05-18T09:36:48.138Z] Removing intermediate container 81e8b853d62f [2023-05-18T09:36:48.138Z] ---> 9d7018dcd776 [2023-05-18T09:36:48.138Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-18T09:36:48.727Z] ---> baac22aacc78 [2023-05-18T09:36:48.727Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-18T09:36:48.727Z] ---> Running in 176b5e1c743c [2023-05-18T09:36:51.311Z] Removing intermediate container 176b5e1c743c [2023-05-18T09:36:51.311Z] ---> 424bbd7ee191 [2023-05-18T09:36:51.311Z] Step 11/24 : COPY . . [2023-05-18T09:36:52.275Z] ---> 88c7974f024b [2023-05-18T09:36:52.275Z] Step 12/24 : RUN ${MAKE} [2023-05-18T09:36:52.275Z] ---> Running in 34e0cc9814e8 [2023-05-18T09:36:53.236Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-18T09:39:14.954Z] Removing intermediate container 34e0cc9814e8 [2023-05-18T09:39:14.954Z] ---> 58d8d22fb010 [2023-05-18T09:39:14.954Z] Step 13/24 : FROM alpine:3.17 [2023-05-18T09:39:14.954Z] 3.17: Pulling from library/alpine [2023-05-18T09:39:14.954Z] c41833b44d91: Already exists [2023-05-18T09:39:14.954Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-18T09:39:14.954Z] Status: Downloaded newer image for alpine:3.17 [2023-05-18T09:39:14.954Z] ---> 51e60588ff2c [2023-05-18T09:39:14.954Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-18T09:39:14.954Z] ---> Running in d1a911c07205 [2023-05-18T09:39:14.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-18T09:39:14.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-18T09:39:14.954Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-18T09:39:14.954Z] Executing busybox-1.35.0-r29.trigger [2023-05-18T09:39:14.954Z] OK: 8 MiB in 16 packages [2023-05-18T09:39:14.954Z] Removing intermediate container d1a911c07205 [2023-05-18T09:39:14.954Z] ---> 7d5a0ee5b81d [2023-05-18T09:39:14.954Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-18T09:39:17.561Z] ---> 657f3775b35f [2023-05-18T09:39:17.561Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-18T09:39:17.831Z] ---> 0ecf9069697c [2023-05-18T09:39:17.831Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-18T09:39:18.420Z] ---> b58c0e23bbf3 [2023-05-18T09:39:18.420Z] Step 18/24 : EXPOSE 59993 [2023-05-18T09:39:18.420Z] ---> Running in 40396b0826d9 [2023-05-18T09:39:18.689Z] Removing intermediate container 40396b0826d9 [2023-05-18T09:39:18.689Z] ---> 124b5ca5e650 [2023-05-18T09:39:18.689Z] Step 19/24 : EXPOSE 161 [2023-05-18T09:39:18.689Z] ---> Running in 8d545b0800d0 [2023-05-18T09:39:18.958Z] Removing intermediate container 8d545b0800d0 [2023-05-18T09:39:18.958Z] ---> 79cbfb041e43 [2023-05-18T09:39:18.958Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-18T09:39:18.958Z] ---> Running in 90b744a4f908 [2023-05-18T09:39:19.228Z] Removing intermediate container 90b744a4f908 [2023-05-18T09:39:19.228Z] ---> 684218a7f275 [2023-05-18T09:39:19.228Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-18T09:39:19.496Z] ---> Running in 1987966cbefa [2023-05-18T09:39:19.765Z] Removing intermediate container 1987966cbefa [2023-05-18T09:39:19.765Z] ---> 00d0e42c9e50 [2023-05-18T09:39:19.765Z] Step 22/24 : LABEL arch=arm64 [2023-05-18T09:39:19.765Z] ---> Running in bac18ade40ef [2023-05-18T09:39:20.037Z] Removing intermediate container bac18ade40ef [2023-05-18T09:39:20.037Z] ---> a429e552e515 [2023-05-18T09:39:20.037Z] Step 23/24 : LABEL git_sha=1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [2023-05-18T09:39:20.037Z] ---> Running in 57edb6dcf46e [2023-05-18T09:39:20.305Z] Removing intermediate container 57edb6dcf46e [2023-05-18T09:39:20.305Z] ---> d9c9d60b3a2f [2023-05-18T09:39:20.305Z] Step 24/24 : LABEL version=3.0.0-dev.24 [2023-05-18T09:39:20.575Z] ---> Running in ab3da29e6b7f [2023-05-18T09:39:20.842Z] Removing intermediate container ab3da29e6b7f [2023-05-18T09:39:20.842Z] ---> 44f29658d6ae [2023-05-18T09:39:20.842Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-18T09:39:20.842Z] Successfully built 44f29658d6ae [2023-05-18T09:39:20.842Z] 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-18T09:39:20.984Z] provisioning config files... [2023-05-18T09:39:20.999Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/81@tmp/config7874629505140072544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:39:21.344Z] ---> docker-login.sh [2023-05-18T09:39:21.344Z] nexus3.edgexfoundry.org:10001 [2023-05-18T09:39:21.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:39:21.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:39:21.612Z] Configure a credential helper to remove this warning. See [2023-05-18T09:39:21.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:39:21.612Z] [2023-05-18T09:39:21.612Z] Login Succeeded [2023-05-18T09:39:21.612Z] nexus3.edgexfoundry.org:10002 [2023-05-18T09:39:21.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:39:21.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:39:21.880Z] Configure a credential helper to remove this warning. See [2023-05-18T09:39:21.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:39:21.880Z] [2023-05-18T09:39:21.880Z] Login Succeeded [2023-05-18T09:39:21.880Z] nexus3.edgexfoundry.org:10003 [2023-05-18T09:39:22.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:39:22.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:39:22.419Z] Configure a credential helper to remove this warning. See [2023-05-18T09:39:22.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:39:22.419Z] [2023-05-18T09:39:22.419Z] Login Succeeded [2023-05-18T09:39:22.419Z] nexus3.edgexfoundry.org:10004 [2023-05-18T09:39:22.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:39:22.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:39:22.687Z] Configure a credential helper to remove this warning. See [2023-05-18T09:39:22.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:39:22.688Z] [2023-05-18T09:39:22.688Z] Login Succeeded [2023-05-18T09:39:22.688Z] docker.io [2023-05-18T09:39:22.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-18T09:39:23.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-18T09:39:23.223Z] Configure a credential helper to remove this warning. See [2023-05-18T09:39:23.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-18T09:39:23.223Z] [2023-05-18T09:39:23.223Z] Login Succeeded [2023-05-18T09:39:23.223Z] ---> docker-login.sh ends [Pipeline] } [2023-05-18T09:39:23.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-18T09:39:23.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-18T09:39:23.287Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-05-18T09:39:23.287Z] 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [2023-05-18T09:39:23.287Z] latest [2023-05-18T09:39:23.287Z] 3.0.0-dev.24 [2023-05-18T09:39:23.287Z] 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24 [2023-05-18T09:39:23.287Z] main [2023-05-18T09:39:23.287Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:39:23.631Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:39:23.977Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [2023-05-18T09:39:23.977Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-18T09:39:23.977Z] e0a1920b65ba: Preparing [2023-05-18T09:39:23.977Z] d336f6a64132: Preparing [2023-05-18T09:39:23.977Z] ef542b550cad: Preparing [2023-05-18T09:39:23.977Z] 17972dbcbebc: Preparing [2023-05-18T09:39:23.977Z] 26cbea5cba74: Preparing [2023-05-18T09:39:23.977Z] 26cbea5cba74: Layer already exists [2023-05-18T09:39:24.248Z] e0a1920b65ba: Pushed [2023-05-18T09:39:24.248Z] d336f6a64132: Pushed [2023-05-18T09:39:24.248Z] 17972dbcbebc: Pushed [2023-05-18T09:39:30.995Z] ef542b550cad: Pushed [2023-05-18T09:39:30.995Z] 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5: digest: sha256:393b5e4d2b9f5a810facc98347d82a2fcd898683521ab29fb88a81b86ecb56af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:39:31.361Z] + 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-18T09:39:31.723Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-18T09:39:31.723Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-18T09:39:31.723Z] e0a1920b65ba: Preparing [2023-05-18T09:39:31.723Z] d336f6a64132: Preparing [2023-05-18T09:39:31.723Z] ef542b550cad: Preparing [2023-05-18T09:39:31.723Z] 17972dbcbebc: Preparing [2023-05-18T09:39:31.723Z] 26cbea5cba74: Preparing [2023-05-18T09:39:31.723Z] ef542b550cad: Layer already exists [2023-05-18T09:39:31.723Z] e0a1920b65ba: Layer already exists [2023-05-18T09:39:31.723Z] 17972dbcbebc: Layer already exists [2023-05-18T09:39:31.723Z] d336f6a64132: Layer already exists [2023-05-18T09:39:31.723Z] 26cbea5cba74: Layer already exists [2023-05-18T09:39:31.991Z] latest: digest: sha256:393b5e4d2b9f5a810facc98347d82a2fcd898683521ab29fb88a81b86ecb56af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:39:32.358Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:39:32.721Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.24 [2023-05-18T09:39:32.722Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-18T09:39:32.722Z] e0a1920b65ba: Preparing [2023-05-18T09:39:32.722Z] d336f6a64132: Preparing [2023-05-18T09:39:32.722Z] ef542b550cad: Preparing [2023-05-18T09:39:32.722Z] 17972dbcbebc: Preparing [2023-05-18T09:39:32.722Z] 26cbea5cba74: Preparing [2023-05-18T09:39:32.722Z] 26cbea5cba74: Layer already exists [2023-05-18T09:39:32.722Z] 17972dbcbebc: Layer already exists [2023-05-18T09:39:32.722Z] ef542b550cad: Layer already exists [2023-05-18T09:39:32.722Z] e0a1920b65ba: Layer already exists [2023-05-18T09:39:32.722Z] d336f6a64132: Layer already exists [2023-05-18T09:39:32.988Z] 3.0.0-dev.24: digest: sha256:393b5e4d2b9f5a810facc98347d82a2fcd898683521ab29fb88a81b86ecb56af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:39:33.352Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:39:33.710Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24 [2023-05-18T09:39:33.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-18T09:39:33.710Z] e0a1920b65ba: Preparing [2023-05-18T09:39:33.710Z] d336f6a64132: Preparing [2023-05-18T09:39:33.710Z] ef542b550cad: Preparing [2023-05-18T09:39:33.710Z] 17972dbcbebc: Preparing [2023-05-18T09:39:33.710Z] 26cbea5cba74: Preparing [2023-05-18T09:39:33.710Z] ef542b550cad: Layer already exists [2023-05-18T09:39:33.710Z] 17972dbcbebc: Layer already exists [2023-05-18T09:39:33.710Z] e0a1920b65ba: Layer already exists [2023-05-18T09:39:33.710Z] 26cbea5cba74: Layer already exists [2023-05-18T09:39:33.710Z] d336f6a64132: Layer already exists [2023-05-18T09:39:33.710Z] 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24: digest: sha256:393b5e4d2b9f5a810facc98347d82a2fcd898683521ab29fb88a81b86ecb56af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:39:34.065Z] + 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-18T09:39:34.425Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-05-18T09:39:34.425Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-18T09:39:34.425Z] e0a1920b65ba: Preparing [2023-05-18T09:39:34.425Z] d336f6a64132: Preparing [2023-05-18T09:39:34.425Z] ef542b550cad: Preparing [2023-05-18T09:39:34.425Z] 17972dbcbebc: Preparing [2023-05-18T09:39:34.425Z] 26cbea5cba74: Preparing [2023-05-18T09:39:34.425Z] e0a1920b65ba: Layer already exists [2023-05-18T09:39:34.425Z] 17972dbcbebc: Layer already exists [2023-05-18T09:39:34.425Z] 26cbea5cba74: Layer already exists [2023-05-18T09:39:34.425Z] ef542b550cad: Layer already exists [2023-05-18T09:39:34.425Z] d336f6a64132: Layer already exists [2023-05-18T09:39:34.693Z] main: digest: sha256:393b5e4d2b9f5a810facc98347d82a2fcd898683521ab29fb88a81b86ecb56af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-18T09:39:34.760Z] ===================================================== [Pipeline] echo [2023-05-18T09:39:34.770Z] taggedImages: [2023-05-18T09:39:34.770Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [2023-05-18T09:39:34.770Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-18T09:39:34.770Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.24 [2023-05-18T09:39:34.770Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5-3.0.0-dev.24 [2023-05-18T09:39:34.770Z] - 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-18T09:39:35.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-18T09:39:35.143Z] [2023-05-18T09:39:35.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:39:35.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-18T09:39:35.477Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-18T09:39:35.477Z] 8998bd30e6a1: Pulling fs layer [2023-05-18T09:39:35.477Z] 04944245beec: Pulling fs layer [2023-05-18T09:39:35.477Z] 699f458cf7ca: Pulling fs layer [2023-05-18T09:39:35.477Z] 765212b225bb: Pulling fs layer [2023-05-18T09:39:35.477Z] f23df028b6ca: Pulling fs layer [2023-05-18T09:39:35.477Z] d65c8cfc05b1: Pulling fs layer [2023-05-18T09:39:35.477Z] 2437ff75d9bd: Pulling fs layer [2023-05-18T09:39:35.477Z] f23df028b6ca: Waiting [2023-05-18T09:39:35.477Z] d65c8cfc05b1: Waiting [2023-05-18T09:39:35.477Z] 2437ff75d9bd: Waiting [2023-05-18T09:39:35.477Z] 765212b225bb: Waiting [2023-05-18T09:39:35.747Z] 04944245beec: Verifying Checksum [2023-05-18T09:39:35.747Z] 04944245beec: Download complete [2023-05-18T09:39:35.747Z] 765212b225bb: Download complete [2023-05-18T09:39:35.747Z] f23df028b6ca: Verifying Checksum [2023-05-18T09:39:35.747Z] f23df028b6ca: Download complete [2023-05-18T09:39:35.747Z] d65c8cfc05b1: Download complete [2023-05-18T09:39:36.017Z] 699f458cf7ca: Verifying Checksum [2023-05-18T09:39:36.017Z] 699f458cf7ca: Download complete [2023-05-18T09:39:36.288Z] 8998bd30e6a1: Download complete [2023-05-18T09:39:38.884Z] 2437ff75d9bd: Verifying Checksum [2023-05-18T09:39:38.884Z] 2437ff75d9bd: Download complete [2023-05-18T09:39:40.292Z] 8998bd30e6a1: Pull complete [2023-05-18T09:39:43.644Z] 04944245beec: Pull complete [2023-05-18T09:39:44.608Z] 699f458cf7ca: Pull complete [2023-05-18T09:39:44.608Z] 765212b225bb: Pull complete [2023-05-18T09:39:45.568Z] f23df028b6ca: Pull complete [2023-05-18T09:39:45.568Z] d65c8cfc05b1: Pull complete [2023-05-18T09:40:00.572Z] 2437ff75d9bd: Pull complete [2023-05-18T09:40:00.572Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-18T09:40:00.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-18T09:40:00.572Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:40:00.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-16008 does not seem to be running inside a container [2023-05-18T09:40:00.850Z] $ 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/81 -v /w/workspace/device-snmp-go/81:/w/workspace/device-snmp-go/81:rw,z -v /w/workspace/device-snmp-go/81@tmp:/w/workspace/device-snmp-go/81@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:arm64 cat [2023-05-18T09:40:03.545Z] $ docker top a31703943087b9d8057b6f5f8426f6930e4508c0d4861c9c655d9ad936832ae1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:40:04.393Z] ---> job-cost.sh [2023-05-18T09:40:04.393Z] lf-activate-venv: SKIPPING [2023-05-18T09:40:04.393Z] INFO: No Stack... [2023-05-18T09:40:04.660Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-18T09:40:05.620Z] INFO: Archiving Costs [Pipeline] sh [2023-05-18T09:40:06.257Z] + cat /w/workspace/device-snmp-go/81/archives/cost.csv [2023-05-18T09:40:06.257Z] + cut -d, -f6 [Pipeline] lock [2023-05-18T09:40:06.327Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-81-stack-cost] [2023-05-18T09:40:06.335Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-81-stack-cost] did not exist. Created. [2023-05-18T09:40:06.336Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-18T09:40:06.678Z] /w/workspace/device-snmp-go/81@tmp/durable-dbcdb772/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-18T09:40:07.599Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-18T09:40:07.622Z] Warning: overwriting stash ‘stack-cost’ [2023-05-18T09:40:07.673Z] Stashed 1 file(s) [Pipeline] } [2023-05-18T09:40:07.681Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-18T09:40:07.700Z] $ docker stop --time=1 a31703943087b9d8057b6f5f8426f6930e4508c0d4861c9c655d9ad936832ae1 [2023-05-18T09:40:09.206Z] $ docker rm -f --volumes a31703943087b9d8057b6f5f8426f6930e4508c0d4861c9c655d9ad936832ae1 [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-18T09:40:09.642Z] provisioning config files... [2023-05-18T09:40:09.668Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11426217681863614740tmp [Pipeline] { [Pipeline] sh [2023-05-18T09:40:09.969Z] + set +x [2023-05-18T09:40:09.969Z] + curl -s https://codecov.io/bash [2023-05-18T09:40:09.969Z] + bash -s -- [2023-05-18T09:40:09.969Z] [2023-05-18T09:40:09.969Z] _____ _ [2023-05-18T09:40:09.969Z] / ____| | | [2023-05-18T09:40:09.969Z] | | ___ __| | ___ ___ _____ __ [2023-05-18T09:40:09.969Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-18T09:40:09.969Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-18T09:40:09.969Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-18T09:40:09.969Z] Bash-1.0.6 [2023-05-18T09:40:09.969Z] [2023-05-18T09:40:09.969Z] [2023-05-18T09:40:09.969Z] ==> git version 2.25.1 found [2023-05-18T09:40:09.969Z] ==> 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-18T09:40:09.969Z] Release-Date: 2020-01-08 [2023-05-18T09:40:09.969Z] 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-18T09:40:09.969Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-18T09:40:09.969Z] ==> Jenkins CI detected. [2023-05-18T09:40:09.969Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-05-18T09:40:09.969Z] project root: . [2023-05-18T09:40:09.969Z] --> token set from env [2023-05-18T09:40:09.969Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-18T09:40:09.969Z] ==> Running gcov in . (disable via -X gcov) [2023-05-18T09:40:09.969Z] ==> Python coveragepy not found [2023-05-18T09:40:09.969Z] ==> Searching for coverage reports in: [2023-05-18T09:40:09.969Z] + . [2023-05-18T09:40:09.969Z] -> Found 1 reports [2023-05-18T09:40:09.969Z] ==> Detecting git/mercurial file structure [2023-05-18T09:40:09.969Z] ==> Reading reports [2023-05-18T09:40:09.969Z] + ./coverage.out bytes=8837 [2023-05-18T09:40:09.969Z] ==> Appending adjustments [2023-05-18T09:40:09.969Z] https://docs.codecov.io/docs/fixing-reports [2023-05-18T09:40:10.227Z] + Found adjustments [2023-05-18T09:40:10.227Z] ==> Gzipping contents [2023-05-18T09:40:10.227Z] 4.0K /tmp/codecov.bo6seF.gz [2023-05-18T09:40:10.227Z] ==> Uploading reports [2023-05-18T09:40:10.227Z] url: https://codecov.io [2023-05-18T09:40:10.228Z] query: branch=main&commit=1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-18T09:40:10.228Z] -> Pinging Codecov [2023-05-18T09:40:10.228Z] 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=1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-18T09:40:10.228Z] -> Uploading to [2023-05-18T09:40:10.228Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-18/6C56EA5C29638FB4528AC87E60AF5AE0/1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5/6bf343c3-a85c-4d72-9596-7e3c670105e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T094010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60b92f5b465683a0ec1ec38a045acd38e9cf33a6271e5d7d66452235ffbb2cb5 [2023-05-18T09:40:10.228Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-18T09:40:10.228Z] Dload Upload Total Spent Left Speed [2023-05-18T09:40:10.486Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7638 --:--:-- --:--:-- --:--:-- 7638 [2023-05-18T09:40:10.487Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [Pipeline] } [2023-05-18T09:40:10.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-18T09:40:10.698Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-18T09:40:10.708Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:40:11.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-18T09:40:11.000Z] [2023-05-18T09:40:11.000Z] 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-18T09:40:11.981Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-18T09:40:11.981Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-18T09:40:11.981Z] df9b9388f04a: Pulling fs layer [2023-05-18T09:40:11.981Z] 52dc419b0ee2: Pulling fs layer [2023-05-18T09:40:11.981Z] 25bc292e5bac: Pulling fs layer [2023-05-18T09:40:11.981Z] 114826534d7a: Pulling fs layer [2023-05-18T09:40:11.981Z] 4657fd5d0bcf: Pulling fs layer [2023-05-18T09:40:11.981Z] 6ad1cebc031e: Pulling fs layer [2023-05-18T09:40:11.981Z] 8a3aa393b2d8: Pulling fs layer [2023-05-18T09:40:11.981Z] 6ad1cebc031e: Waiting [2023-05-18T09:40:11.981Z] 4657fd5d0bcf: Waiting [2023-05-18T09:40:11.981Z] 114826534d7a: Waiting [2023-05-18T09:40:11.981Z] 8a3aa393b2d8: Waiting [2023-05-18T09:40:11.981Z] 25bc292e5bac: Verifying Checksum [2023-05-18T09:40:11.981Z] 25bc292e5bac: Download complete [2023-05-18T09:40:11.981Z] 52dc419b0ee2: Verifying Checksum [2023-05-18T09:40:11.981Z] 52dc419b0ee2: Download complete [2023-05-18T09:40:11.981Z] 4657fd5d0bcf: Verifying Checksum [2023-05-18T09:40:11.981Z] 4657fd5d0bcf: Download complete [2023-05-18T09:40:11.981Z] df9b9388f04a: Download complete [2023-05-18T09:40:12.243Z] df9b9388f04a: Pull complete [2023-05-18T09:40:12.243Z] 6ad1cebc031e: Verifying Checksum [2023-05-18T09:40:12.243Z] 52dc419b0ee2: Pull complete [2023-05-18T09:40:12.243Z] 25bc292e5bac: Pull complete [2023-05-18T09:40:12.814Z] 114826534d7a: Verifying Checksum [2023-05-18T09:40:12.814Z] 114826534d7a: Download complete [2023-05-18T09:40:12.814Z] 8a3aa393b2d8: Verifying Checksum [2023-05-18T09:40:12.814Z] 8a3aa393b2d8: Download complete [2023-05-18T09:40:16.102Z] 114826534d7a: Pull complete [2023-05-18T09:40:16.103Z] 4657fd5d0bcf: Pull complete [2023-05-18T09:40:16.103Z] 6ad1cebc031e: Pull complete [2023-05-18T09:40:18.635Z] 8a3aa393b2d8: Pull complete [2023-05-18T09:40:18.635Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-18T09:40:18.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-18T09:40:18.636Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:40:18.702Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:40:18.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-18T09:40:20.046Z] $ docker top d9dc6d14b4e8faea9f362a8d6638c8e99e60bbefabf265f5d52666b0b91a686d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-18T09:40:20.103Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-05-18T09:40:20.377Z] + set -o pipefail [2023-05-18T09:40:20.377Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-05-18T09:40:25.054Z] [2023-05-18T09:40:25.054Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-05-18T09:40:25.054Z] [2023-05-18T09:40:25.054Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/bfa279fa-a60f-4e37-a314-73190789e665 [2023-05-18T09:40:25.054Z] [2023-05-18T09:40:25.054Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-18T09:40:25.054Z] [2023-05-18T09:40:25.054Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-18T09:40:25.054Z] [2023-05-18T09:40:25.054Z] [2023-05-18T09:40:25.054Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-18T09:40:25.054Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-18T09:40:25.054Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-18T09:40:25.074Z] $ docker stop --time=1 d9dc6d14b4e8faea9f362a8d6638c8e99e60bbefabf265f5d52666b0b91a686d [2023-05-18T09:40:26.736Z] $ docker rm -f --volumes d9dc6d14b4e8faea9f362a8d6638c8e99e60bbefabf265f5d52666b0b91a686d [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-18T09:40:27.381Z] + git log --format=format:%s -1 1e6dc0bba1ffe5e40f73d21aa050c796e5178fc5 [Pipeline] sh [2023-05-18T09:40:27.671Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-18T09:40:27.671Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:40:27.975Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T09:40:27.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:40:28.042Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:40:28.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-18T09:40:28.404Z] $ docker top ec788722a97db623f6f3e23831468768893e28939e602f753b352fda57b9d0df -eo pid,comm [2023-05-18T09:40:28.444Z] 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-18T09:40:28.444Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-18T09:40:28.478Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T09:40:28.478Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T09:40:28.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T09:40:28.589Z] $ docker exec ec788722a97db623f6f3e23831468768893e28939e602f753b352fda57b9d0df ssh-agent [2023-05-18T09:40:28.674Z] SSH_AUTH_SOCK=/tmp/ssh-UDDpYfqJQnE1/agent.32 [2023-05-18T09:40:28.674Z] SSH_AGENT_PID=38 [2023-05-18T09:40:28.679Z] Running ssh-add (command line suppressed) [2023-05-18T09:40:28.783Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9493373862327178853.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9493373862327178853.key) [2023-05-18T09:40:28.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T09:40:29.082Z] + git semver tag [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,245 [run_tag] DEBUG tag force:False [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,245 [check_head_tag] DEBUG check head tag [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,246 [execute] INFO git cat-file --batch-check [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,250 [execute] INFO git cat-file --batch [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,271 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,271 [execute] INFO git tag -a v3.0.0-dev.24 -m v3.0.0-dev.24 [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,271 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.24', '-m', 'v3.0.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-18T09:40:29.342Z] 2023-05-18 09:40:29,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-18T09:40:29.342Z] 3.0.0-dev.24 [Pipeline] } [2023-05-18T09:40:29.359Z] $ docker exec --env ******** --env ******** ec788722a97db623f6f3e23831468768893e28939e602f753b352fda57b9d0df ssh-agent -k [2023-05-18T09:40:29.446Z] unset SSH_AUTH_SOCK; [2023-05-18T09:40:29.447Z] unset SSH_AGENT_PID; [2023-05-18T09:40:29.447Z] echo Agent pid 38 killed; [2023-05-18T09:40:29.449Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-18T09:40:29.757Z] + git semver [Pipeline] } [2023-05-18T09:40:30.037Z] $ docker stop --time=1 ec788722a97db623f6f3e23831468768893e28939e602f753b352fda57b9d0df [2023-05-18T09:40:31.303Z] $ docker rm -f --volumes ec788722a97db623f6f3e23831468768893e28939e602f753b352fda57b9d0df [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:40:31.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-18T09:40:31.670Z] [2023-05-18T09:40:31.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:40:31.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-18T09:40:31.971Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-18T09:40:31.971Z] ab5ef0e58194: Pulling fs layer [2023-05-18T09:40:31.971Z] 9712f1f96733: Pulling fs layer [2023-05-18T09:40:31.971Z] 63f879dbbcfc: Pulling fs layer [2023-05-18T09:40:31.971Z] 0d9ebad4ef96: Pulling fs layer [2023-05-18T09:40:31.971Z] e9a5061849ea: Pulling fs layer [2023-05-18T09:40:31.971Z] 0d9ebad4ef96: Waiting [2023-05-18T09:40:31.971Z] d747dcd14b5f: Pulling fs layer [2023-05-18T09:40:31.971Z] 2de7ff778b66: Pulling fs layer [2023-05-18T09:40:31.971Z] d747dcd14b5f: Waiting [2023-05-18T09:40:31.971Z] 2de7ff778b66: Waiting [2023-05-18T09:40:31.971Z] 9712f1f96733: Verifying Checksum [2023-05-18T09:40:31.971Z] 9712f1f96733: Download complete [2023-05-18T09:40:32.232Z] 63f879dbbcfc: Download complete [2023-05-18T09:40:32.491Z] 0d9ebad4ef96: Verifying Checksum [2023-05-18T09:40:32.492Z] 0d9ebad4ef96: Download complete [2023-05-18T09:40:32.492Z] d747dcd14b5f: Download complete [2023-05-18T09:40:32.492Z] ab5ef0e58194: Verifying Checksum [2023-05-18T09:40:32.492Z] ab5ef0e58194: Download complete [2023-05-18T09:40:32.492Z] e9a5061849ea: Verifying Checksum [2023-05-18T09:40:32.492Z] e9a5061849ea: Download complete [2023-05-18T09:40:32.492Z] 2de7ff778b66: Verifying Checksum [2023-05-18T09:40:32.492Z] 2de7ff778b66: Download complete [2023-05-18T09:40:35.028Z] ab5ef0e58194: Pull complete [2023-05-18T09:40:35.028Z] 9712f1f96733: Pull complete [2023-05-18T09:40:35.596Z] 63f879dbbcfc: Pull complete [2023-05-18T09:40:40.016Z] 0d9ebad4ef96: Pull complete [2023-05-18T09:40:40.016Z] e9a5061849ea: Pull complete [2023-05-18T09:40:40.016Z] d747dcd14b5f: Pull complete [2023-05-18T09:40:40.588Z] 2de7ff778b66: Pull complete [2023-05-18T09:40:40.588Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-18T09:40:40.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-18T09:40:40.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:40:40.676Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:40:40.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-18T09:40:46.977Z] $ docker top 47ce3fa7fabb0ab75f5dd31033bda4e6bce3bfa2598cf310df23f6056f368c8b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-18T09:40:47.035Z] provisioning config files... [2023-05-18T09:40:47.043Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14580852706252665103tmp [2023-05-18T09:40:47.053Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11952364075599897027tmp [2023-05-18T09:40:47.062Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12752971331047573255tmp [Pipeline] { [Pipeline] echo [2023-05-18T09:40:47.077Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:40:47.357Z] ---> sigul-configuration.sh [2023-05-18T09:40:47.357Z] gpg: directory `/root/.gnupg' created [2023-05-18T09:40:47.357Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-18T09:40:47.357Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-18T09:40:47.357Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-18T09:40:47.357Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-18T09:40:47.357Z] gpg: CAST5 encrypted data [2023-05-18T09:40:47.357Z] gpg: encrypted with 1 passphrase [2023-05-18T09:40:47.357Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-18T09:40:47.648Z] + mkdir /home/jenkins [2023-05-18T09:40:47.648Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-18T09:40:47.936Z] + 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-18T09:40:47.946Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:40:48.232Z] ---> sigul-install.sh [2023-05-18T09:40:48.232Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-18T09:40:48.524Z] + git tag --list [2023-05-18T09:40:48.524Z] 1.0.0 [2023-05-18T09:40:48.524Z] v0.0.0 [2023-05-18T09:40:48.524Z] v1.1.0 [2023-05-18T09:40:48.524Z] v1.1.1 [2023-05-18T09:40:48.524Z] v1.2.2 [2023-05-18T09:40:48.524Z] v1.3.0 [2023-05-18T09:40:48.524Z] v1.3.1 [2023-05-18T09:40:48.524Z] v2.0.0 [2023-05-18T09:40:48.524Z] v2.1.0 [2023-05-18T09:40:48.524Z] v2.1.1 [2023-05-18T09:40:48.524Z] v2.1.1-dev.2 [2023-05-18T09:40:48.524Z] v2.1.1-dev.3 [2023-05-18T09:40:48.524Z] v2.2.0 [2023-05-18T09:40:48.524Z] v2.2.1-dev.1 [2023-05-18T09:40:48.524Z] v2.2.1-dev.2 [2023-05-18T09:40:48.524Z] v2.2.1-dev.3 [2023-05-18T09:40:48.524Z] v2.2.1-dev.4 [2023-05-18T09:40:48.524Z] v2.2.1-dev.5 [2023-05-18T09:40:48.524Z] v2.2.1-dev.6 [2023-05-18T09:40:48.524Z] v2.2.1-dev.7 [2023-05-18T09:40:48.524Z] v2.3.0 [2023-05-18T09:40:48.524Z] v2.3.0-dev.10 [2023-05-18T09:40:48.524Z] v2.3.0-dev.11 [2023-05-18T09:40:48.524Z] v2.3.0-dev.12 [2023-05-18T09:40:48.524Z] v2.3.0-dev.13 [2023-05-18T09:40:48.524Z] v2.3.0-dev.14 [2023-05-18T09:40:48.524Z] v2.3.0-dev.15 [2023-05-18T09:40:48.524Z] v2.3.0-dev.16 [2023-05-18T09:40:48.524Z] v2.3.0-dev.17 [2023-05-18T09:40:48.524Z] v2.3.0-dev.18 [2023-05-18T09:40:48.524Z] v2.3.0-dev.19 [2023-05-18T09:40:48.524Z] v2.3.0-dev.20 [2023-05-18T09:40:48.524Z] v2.3.0-dev.21 [2023-05-18T09:40:48.524Z] v2.3.0-dev.22 [2023-05-18T09:40:48.524Z] v2.3.0-dev.23 [2023-05-18T09:40:48.524Z] v2.3.0-dev.24 [2023-05-18T09:40:48.524Z] v2.3.0-dev.7 [2023-05-18T09:40:48.524Z] v2.3.0-dev.8 [2023-05-18T09:40:48.524Z] v2.3.0-dev.9 [2023-05-18T09:40:48.524Z] v3.0.0-dev.1 [2023-05-18T09:40:48.524Z] v3.0.0-dev.10 [2023-05-18T09:40:48.524Z] v3.0.0-dev.11 [2023-05-18T09:40:48.524Z] v3.0.0-dev.12 [2023-05-18T09:40:48.524Z] v3.0.0-dev.13 [2023-05-18T09:40:48.524Z] v3.0.0-dev.14 [2023-05-18T09:40:48.524Z] v3.0.0-dev.15 [2023-05-18T09:40:48.524Z] v3.0.0-dev.16 [2023-05-18T09:40:48.524Z] v3.0.0-dev.17 [2023-05-18T09:40:48.524Z] v3.0.0-dev.18 [2023-05-18T09:40:48.524Z] v3.0.0-dev.19 [2023-05-18T09:40:48.524Z] v3.0.0-dev.2 [2023-05-18T09:40:48.524Z] v3.0.0-dev.20 [2023-05-18T09:40:48.524Z] v3.0.0-dev.21 [2023-05-18T09:40:48.524Z] v3.0.0-dev.22 [2023-05-18T09:40:48.524Z] v3.0.0-dev.23 [2023-05-18T09:40:48.524Z] v3.0.0-dev.24 [2023-05-18T09:40:48.524Z] v3.0.0-dev.3 [2023-05-18T09:40:48.524Z] v3.0.0-dev.4 [2023-05-18T09:40:48.524Z] v3.0.0-dev.5 [2023-05-18T09:40:48.524Z] v3.0.0-dev.6 [2023-05-18T09:40:48.524Z] v3.0.0-dev.7 [2023-05-18T09:40:48.524Z] v3.0.0-dev.8 [2023-05-18T09:40:48.524Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-18T09:40:48.810Z] + lftools sign git-tag v3.0.0-dev.24 [2023-05-18T09:40:49.378Z] Signing Git tag with Sigul... [2023-05-18T09:40:49.378Z] Signing v3.0.0-dev.24 [Pipeline] echo [2023-05-18T09:40:49.647Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:40:49.933Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-18T09:40:49.940Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-18T09:40:49.963Z] $ docker stop --time=1 47ce3fa7fabb0ab75f5dd31033bda4e6bce3bfa2598cf310df23f6056f368c8b [2023-05-18T09:40:51.241Z] $ docker rm -f --volumes 47ce3fa7fabb0ab75f5dd31033bda4e6bce3bfa2598cf310df23f6056f368c8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-18T09:40:51.635Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-18T09:40:51.635Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:40:51.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T09:40:51.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:40:52.011Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:40:52.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-18T09:40:52.370Z] $ docker top 735a99ddf5240eaddf121f20b3b88f3656c5fe9e442b942555abe6756ecad17e -eo pid,comm [2023-05-18T09:40:52.412Z] 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-18T09:40:52.412Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-18T09:40:52.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T09:40:52.448Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T09:40:52.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T09:40:52.571Z] $ docker exec 735a99ddf5240eaddf121f20b3b88f3656c5fe9e442b942555abe6756ecad17e ssh-agent [2023-05-18T09:40:52.666Z] SSH_AUTH_SOCK=/tmp/ssh-eY035b4ZGZMG/agent.33 [2023-05-18T09:40:52.666Z] SSH_AGENT_PID=39 [2023-05-18T09:40:52.671Z] Running ssh-add (command line suppressed) [2023-05-18T09:40:52.791Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8230170969145428772.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8230170969145428772.key) [2023-05-18T09:40:52.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T09:40:53.088Z] + git semver bump pre [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,284 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,284 [bump_version] DEBUG bumping version:3.0.0-dev.24 on axis:pre with prefix:dev [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,284 [bump_version] DEBUG bumped version:3.0.0-dev.25 [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,284 [write_version] DEBUG write version:3.0.0-dev.25 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,284 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,284 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,286 [execute] INFO git cat-file --batch-check [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,286 [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-18T09:40:53.348Z] 2023-05-18 09:40:53,291 [execute] INFO git cat-file --batch [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-18T09:40:53.348Z] 2023-05-18 09:40:53,297 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-18T09:40:53.348Z] 3.0.0-dev.25 [Pipeline] } [2023-05-18T09:40:53.364Z] $ docker exec --env ******** --env ******** 735a99ddf5240eaddf121f20b3b88f3656c5fe9e442b942555abe6756ecad17e ssh-agent -k [2023-05-18T09:40:53.462Z] unset SSH_AUTH_SOCK; [2023-05-18T09:40:53.462Z] unset SSH_AGENT_PID; [2023-05-18T09:40:53.463Z] echo Agent pid 39 killed; [2023-05-18T09:40:53.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-18T09:40:53.768Z] + git semver [Pipeline] } [2023-05-18T09:40:54.044Z] $ docker stop --time=1 735a99ddf5240eaddf121f20b3b88f3656c5fe9e442b942555abe6756ecad17e [2023-05-18T09:40:55.388Z] $ docker rm -f --volumes 735a99ddf5240eaddf121f20b3b88f3656c5fe9e442b942555abe6756ecad17e [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-18T09:40:55.742Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-18T09:40:55.742Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:40:56.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-18T09:40:56.037Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:40:56.103Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:40:56.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-18T09:40:56.468Z] $ docker top c8a144df2ab068b7147f84eb83b524bb1f64bdd451f9644b8c9bdb7cc3f7d05a -eo pid,comm [2023-05-18T09:40:56.504Z] 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-18T09:40:56.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-18T09:40:56.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-18T09:40:56.541Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-18T09:40:56.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-18T09:40:56.653Z] $ docker exec c8a144df2ab068b7147f84eb83b524bb1f64bdd451f9644b8c9bdb7cc3f7d05a ssh-agent [2023-05-18T09:40:56.743Z] SSH_AUTH_SOCK=/tmp/ssh-4rORzsLAqIK2/agent.32 [2023-05-18T09:40:56.743Z] SSH_AGENT_PID=38 [2023-05-18T09:40:56.750Z] Running ssh-add (command line suppressed) [2023-05-18T09:40:56.858Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8915382176564287812.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8915382176564287812.key) [2023-05-18T09:40:56.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-18T09:40:57.156Z] + git semver push [2023-05-18T09:40:57.416Z] 2023-05-18 09:40:57,347 [run_push] DEBUG push [2023-05-18T09:40:57.416Z] 2023-05-18 09:40:57,348 [execute] INFO git cat-file --batch-check [2023-05-18T09:40:57.416Z] 2023-05-18 09:40:57,348 [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-18T09:40:57.416Z] 2023-05-18 09:40:57,352 [execute] INFO git rev-list 4122cc57aed5ebe92885a848048e8375a61604a5 -- [2023-05-18T09:40:57.416Z] 2023-05-18 09:40:57,352 [execute] DEBUG Popen(['git', 'rev-list', '4122cc57aed5ebe92885a848048e8375a61604a5', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-18T09:40:57.416Z] 2023-05-18 09:40:57,360 [execute] INFO git fetch -v origin [2023-05-18T09:40:57.416Z] 2023-05-18 09:40:57,360 [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-18T09:40:57.983Z] 2023-05-18 09:40:57,818 [run_push] DEBUG no remote changes detected [2023-05-18T09:40:57.983Z] 2023-05-18 09:40:57,818 [execute] INFO git push origin semver [2023-05-18T09:40:57.983Z] 2023-05-18 09:40:57,819 [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-18T09:40:58.920Z] 2023-05-18 09:40:58,587 [run_push] DEBUG push all version tags [2023-05-18T09:40:58.920Z] 2023-05-18 09:40:58,587 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-18T09:40:58.920Z] 2023-05-18 09:40:58,588 [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-18T09:40:59.489Z] 2023-05-18 09:40:59,355 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-18T09:40:59.489Z] 3.0.0-dev.25 [Pipeline] } [2023-05-18T09:40:59.503Z] $ docker exec --env ******** --env ******** c8a144df2ab068b7147f84eb83b524bb1f64bdd451f9644b8c9bdb7cc3f7d05a ssh-agent -k [2023-05-18T09:40:59.602Z] unset SSH_AUTH_SOCK; [2023-05-18T09:40:59.603Z] unset SSH_AGENT_PID; [2023-05-18T09:40:59.603Z] echo Agent pid 38 killed; [2023-05-18T09:40:59.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-18T09:40:59.912Z] + git semver [Pipeline] } [2023-05-18T09:41:00.191Z] $ docker stop --time=1 c8a144df2ab068b7147f84eb83b524bb1f64bdd451f9644b8c9bdb7cc3f7d05a [2023-05-18T09:41:01.435Z] $ docker rm -f --volumes c8a144df2ab068b7147f84eb83b524bb1f64bdd451f9644b8c9bdb7cc3f7d05a [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-18T09:41:01.979Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-05-18T09:41:01.979Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-18T09:41:01.979Z] total 16 [2023-05-18T09:41:01.979Z] drwxr-xr-x 3 root root 4096 May 18 09:30 . [2023-05-18T09:41:01.979Z] drwxrwxr-x 10 jenkins jenkins 4096 May 18 09:40 .. [2023-05-18T09:41:01.979Z] drwxr-xr-x 2 root root 4096 May 18 09:30 cost [2023-05-18T09:41:01.979Z] -rw-r--r-- 1 root root 85 May 18 09:30 cost.csv [2023-05-18T09:41:01.979Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-18T09:41:01.979Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-18T09:41:01.979Z] total 16 [2023-05-18T09:41:01.979Z] drwxr-xr-x 3 jenkins jenkins 4096 May 18 09:30 . [2023-05-18T09:41:01.979Z] drwxrwxr-x 10 jenkins jenkins 4096 May 18 09:40 .. [2023-05-18T09:41:01.979Z] drwxr-xr-x 2 jenkins jenkins 4096 May 18 09:30 cost [2023-05-18T09:41:01.979Z] -rw-r--r-- 1 jenkins jenkins 85 May 18 09:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:41:02.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:41:03.121Z] ---> package-listing.sh [2023-05-18T09:41:03.122Z] ++ facter osfamily [2023-05-18T09:41:03.122Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-18T09:41:03.379Z] + OS_FAMILY=debian [2023-05-18T09:41:03.379Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-05-18T09:41:03.379Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-18T09:41:03.379Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-18T09:41:03.379Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-18T09:41:03.379Z] + PACKAGES=/tmp/packages_start.txt [2023-05-18T09:41:03.380Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-18T09:41:03.380Z] + PACKAGES=/tmp/packages_end.txt [2023-05-18T09:41:03.380Z] + case "${OS_FAMILY}" in [2023-05-18T09:41:03.380Z] + dpkg -l [2023-05-18T09:41:03.380Z] + grep '^ii' [2023-05-18T09:41:03.380Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-18T09:41:03.380Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-18T09:41:03.380Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-18T09:41:03.380Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-18T09:41:03.380Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-05-18T09:41:03.380Z] + 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-18T09:41:03.391Z] 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-18T09:41:03.671Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-18T09:41:04.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-18T09:41:04.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-18T09:41:04.297Z] prd-ubuntu20.04-docker-8c-8g-16007 does not seem to be running inside a container [2023-05-18T09:41:04.334Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-18T09:41:04.577Z] $ docker top 8f619e6210b09d5d3ff93d29830e51ed416a3814f18aff0e3e142bd6ffb884d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-18T09:41:05.023Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-18T09:41:05.314Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-18T09:41:05.597Z] + ls /var/log/sa-host [2023-05-18T09:41:05.597Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-18T09:41:05.742Z] provisioning config files... [2023-05-18T09:41:05.753Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6944840457186211710tmp [Pipeline] { [Pipeline] echo [2023-05-18T09:41:05.768Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:41:06.050Z] ---> create-netrc.sh [Pipeline] } [2023-05-18T09:41:06.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:41:06.389Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-18T09:41:06.398Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:41:06.678Z] ---> sudo-logs.sh [2023-05-18T09:41:06.678Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-18T09:41:06.712Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:41:06.994Z] ---> job-cost.sh [2023-05-18T09:41:06.994Z] lf-activate-venv: SKIPPING [2023-05-18T09:41:06.994Z] DEBUG: total: 0.2199999988079071 [2023-05-18T09:41:06.994Z] INFO: Retrieving Stack Cost... [2023-05-18T09:41:07.254Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-18T09:41:07.821Z] INFO: Archiving Costs [Pipeline] echo [2023-05-18T09:41:07.832Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-18T09:41:08.111Z] ---> logs-deploy.sh [2023-05-18T09:41:08.111Z] lf-activate-venv: SKIPPING [2023-05-18T09:41:08.111Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/81 [2023-05-18T09:41:08.111Z] INFO: archiving workspace using pattern(s): [2023-05-18T09:41:09.048Z] Archives upload complete. [2023-05-18T09:41:09.048Z] INFO: archiving logs to Nexus