Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1e145ee1301df0b97f405486925368d7c560441a 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-ssh11171832803759639763.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh2650423373632043282.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1534293785075448463.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh14816858659256920778.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-ssh12073708722775208946.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6020 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 1e145ee1301df0b97f405486925368d7c560441a (main) Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#317)" > 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 1e145ee1301df0b97f405486925368d7c560441a # timeout=10 > git rev-list --no-walk e8a92f41847651f05b50cd748b4aa01e803b308d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T22:01:42.531Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T22:01:42.573Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T22:01:42.590Z] ========================================================= [2023-09-12T22:01:42.591Z] EdgeX Global Pipelines Version Info [2023-09-12T22:01:42.591Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:01:43.301Z] ------------------- [2023-09-12T22:01:43.301Z] stable info: [2023-09-12T22:01:43.301Z] ------------------- [2023-09-12T22:01:43.301Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T22:01:43.301Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:01:43.301Z] Message: update stable to v1.0.254 [2023-09-12T22:01:43.873Z] ------------------- [2023-09-12T22:01:43.873Z] experimental info: [2023-09-12T22:01:43.873Z] ------------------- [2023-09-12T22:01:43.873Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T22:01:43.873Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T22:01:43.873Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T22:01:44.060Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-09-12T22:01:44.074Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-09-12T22:01:44.091Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T22:01:44.110Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T22:01:44.129Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T22:01:44.146Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T22:01:44.167Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T22:01:44.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T22:01:44.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T22:01:44.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T22:01:44.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T22:01:44.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-09-12T22:01:44.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T22:01:44.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T22:01:44.306Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:01:44.318Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T22:01:44.330Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:01:44.343Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T22:01:44.355Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T22:01:44.370Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T22:01:44.381Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T22:01:44.391Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T22:01:44.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T22:01:44.419Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T22:01:44.439Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T22:01:44.459Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T22:01:44.473Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T22:01:44.489Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-12T22:01:44.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-12T22:01:44.524Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-12T22:01:44.545Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e145ee1301df0b97f405486925368d7c560441a [Pipeline] echo [2023-09-12T22:01:44.563Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e145ee [Pipeline] echo [2023-09-12T22:01:44.579Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:01:44.626Z] provisioning config files... [2023-09-12T22:01:44.640Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13776666768842360551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:01:44.944Z] ---> docker-login.sh [2023-09-12T22:01:44.944Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:01:44.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:01:45.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:01:45.204Z] Configure a credential helper to remove this warning. See [2023-09-12T22:01:45.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:01:45.204Z] [2023-09-12T22:01:45.204Z] Login Succeeded [2023-09-12T22:01:45.204Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:01:45.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:01:45.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:01:45.204Z] Configure a credential helper to remove this warning. See [2023-09-12T22:01:45.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:01:45.204Z] [2023-09-12T22:01:45.204Z] Login Succeeded [2023-09-12T22:01:45.204Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:01:45.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:01:45.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:01:45.464Z] Configure a credential helper to remove this warning. See [2023-09-12T22:01:45.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:01:45.464Z] [2023-09-12T22:01:45.464Z] Login Succeeded [2023-09-12T22:01:45.464Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:01:45.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:01:45.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:01:45.464Z] Configure a credential helper to remove this warning. See [2023-09-12T22:01:45.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:01:45.464Z] [2023-09-12T22:01:45.464Z] Login Succeeded [2023-09-12T22:01:45.464Z] docker.io [2023-09-12T22:01:45.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:01:45.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:01:45.725Z] Configure a credential helper to remove this warning. See [2023-09-12T22:01:45.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:01:45.725Z] [2023-09-12T22:01:45.725Z] Login Succeeded [2023-09-12T22:01:45.725Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:01:45.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T22:01:46.076Z] + git rev-list -1 --merges 1e145ee1301df0b97f405486925368d7c560441a~1..1e145ee1301df0b97f405486925368d7c560441a [Pipeline] echo [2023-09-12T22:01:46.134Z] -----------> git rev-list -1 --merges 1e145ee1301df0b97f405486925368d7c560441a~1..1e145ee1301df0b97f405486925368d7c560441a 1e145ee1301df0b97f405486925368d7c560441a [false] [Pipeline] sh [2023-09-12T22:01:46.419Z] + git log --format=format:%s -1 1e145ee1301df0b97f405486925368d7c560441a [Pipeline] echo [2023-09-12T22:01:46.434Z] ========================================================= [2023-09-12T22:01:46.434Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T22:01:46.434Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:01:46.754Z] + git log --format=format:%s -1 1e145ee1301df0b97f405486925368d7c560441a [Pipeline] echo [2023-09-12T22:01:46.791Z] [semverPrep] GIT_COMMIT: 1e145ee1301df0b97f405486925368d7c560441a, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#317) [Pipeline] echo [2023-09-12T22:01:46.800Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T22:01:47.150Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:01:47.150Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T22:01:47.150Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T22:01:47.150Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T22:01:47.150Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T22:01:47.150Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T22:01:47.150Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:01:47.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:01:47.505Z] [2023-09-12T22:01:47.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:01:47.820Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:01:47.820Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T22:01:47.820Z] b85a868b505f: Pulling fs layer [2023-09-12T22:01:47.820Z] e2be974225ed: Pulling fs layer [2023-09-12T22:01:47.820Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T22:01:47.820Z] 988bab9f4d93: Pulling fs layer [2023-09-12T22:01:47.820Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T22:01:47.820Z] eaf3925da568: Pulling fs layer [2023-09-12T22:01:47.820Z] bab4dde63d76: Pulling fs layer [2023-09-12T22:01:47.820Z] bde34c3a00c8: Pulling fs layer [2023-09-12T22:01:47.820Z] 988bab9f4d93: Waiting [2023-09-12T22:01:47.820Z] eaf3925da568: Waiting [2023-09-12T22:01:47.820Z] 1469e6f7b9e6: Waiting [2023-09-12T22:01:47.820Z] bab4dde63d76: Waiting [2023-09-12T22:01:47.820Z] bde34c3a00c8: Waiting [2023-09-12T22:01:47.820Z] b352a97aabf1: Pulling fs layer [2023-09-12T22:01:47.820Z] 4872d77fe225: Pulling fs layer [2023-09-12T22:01:47.820Z] b352a97aabf1: Waiting [2023-09-12T22:01:47.820Z] 4872d77fe225: Waiting [2023-09-12T22:01:47.820Z] 5851b861e8e6: Pulling fs layer [2023-09-12T22:01:47.820Z] 5851b861e8e6: Waiting [2023-09-12T22:01:47.820Z] e2be974225ed: Verifying Checksum [2023-09-12T22:01:47.820Z] e2be974225ed: Download complete [2023-09-12T22:01:47.820Z] 988bab9f4d93: Verifying Checksum [2023-09-12T22:01:47.820Z] 988bab9f4d93: Download complete [2023-09-12T22:01:47.820Z] 1469e6f7b9e6: Download complete [2023-09-12T22:01:47.820Z] eaf3925da568: Download complete [2023-09-12T22:01:48.091Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T22:01:48.091Z] 339a4e72a1f5: Download complete [2023-09-12T22:01:48.091Z] bde34c3a00c8: Download complete [2023-09-12T22:01:48.091Z] b352a97aabf1: Download complete [2023-09-12T22:01:48.091Z] 4872d77fe225: Download complete [2023-09-12T22:01:48.091Z] 5851b861e8e6: Download complete [2023-09-12T22:01:48.091Z] b85a868b505f: Verifying Checksum [2023-09-12T22:01:48.091Z] b85a868b505f: Download complete [2023-09-12T22:01:48.351Z] bab4dde63d76: Verifying Checksum [2023-09-12T22:01:48.351Z] bab4dde63d76: Download complete [2023-09-12T22:01:49.285Z] b85a868b505f: Pull complete [2023-09-12T22:01:49.544Z] e2be974225ed: Pull complete [2023-09-12T22:01:49.805Z] 339a4e72a1f5: Pull complete [2023-09-12T22:01:50.064Z] 988bab9f4d93: Pull complete [2023-09-12T22:01:50.325Z] 1469e6f7b9e6: Pull complete [2023-09-12T22:01:50.325Z] eaf3925da568: Pull complete [2023-09-12T22:01:52.227Z] bab4dde63d76: Pull complete [2023-09-12T22:01:52.227Z] bde34c3a00c8: Pull complete [2023-09-12T22:01:52.227Z] b352a97aabf1: Pull complete [2023-09-12T22:01:52.227Z] 4872d77fe225: Pull complete [2023-09-12T22:01:52.227Z] 5851b861e8e6: Pull complete [2023-09-12T22:01:52.227Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T22:01:52.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:01:52.227Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:01:52.324Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:01:52.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T22:01:55.901Z] $ docker top 2aa854e651ec675ca3d45b2af3e4ea338881b457fe4631e65c4ebf7b9a2a1f30 -eo pid,comm [2023-09-12T22:01:55.970Z] 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-09-12T22:01:55.970Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:01:56.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:01:56.003Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:01:56.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:01:56.091Z] $ docker exec 2aa854e651ec675ca3d45b2af3e4ea338881b457fe4631e65c4ebf7b9a2a1f30 ssh-agent [2023-09-12T22:01:56.222Z] SSH_AUTH_SOCK=/tmp/ssh-tmty1TTGxvTH/agent.31 [2023-09-12T22:01:56.222Z] SSH_AGENT_PID=37 [2023-09-12T22:01:56.228Z] Running ssh-add (command line suppressed) [2023-09-12T22:01:56.315Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4825161740539881533.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4825161740539881533.key) [2023-09-12T22:01:56.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:01:56.631Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T22:01:56.622Z] $ docker exec --env ******** --env ******** 2aa854e651ec675ca3d45b2af3e4ea338881b457fe4631e65c4ebf7b9a2a1f30 ssh-agent -k [2023-09-12T22:01:56.721Z] unset SSH_AUTH_SOCK; [2023-09-12T22:01:56.722Z] unset SSH_AGENT_PID; [2023-09-12T22:01:56.722Z] echo Agent pid 37 killed; [2023-09-12T22:01:56.752Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T22:01:56.775Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:01:56.775Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:01:56.885Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:01:56.868Z] $ docker exec 2aa854e651ec675ca3d45b2af3e4ea338881b457fe4631e65c4ebf7b9a2a1f30 ssh-agent [2023-09-12T22:01:56.990Z] SSH_AUTH_SOCK=/tmp/ssh-JnjysThscLqE/agent.69 [2023-09-12T22:01:56.990Z] SSH_AGENT_PID=75 [2023-09-12T22:01:56.996Z] Running ssh-add (command line suppressed) [2023-09-12T22:01:57.076Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1888174023629247410.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1888174023629247410.key) [2023-09-12T22:01:57.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:01:57.400Z] + git semver init [2023-09-12T22:01:57.661Z] 2023-09-12 22:01:57,561 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T22:01:57.661Z] 2023-09-12 22:01:57,563 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-09-12T22:01:57.661Z] 2023-09-12 22:01:57,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-09-12T22:01:57.661Z] 2023-09-12 22:01:57,565 [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-09-12T22:01:58.599Z] 2023-09-12 22:01:58,378 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-09-12T22:01:58.599Z] 2023-09-12 22:01:58,378 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-09-12T22:01:58.599Z] 2023-09-12 22:01:58,378 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-12T22:01:58.599Z] 2023-09-12 22:01:58,379 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-12T22:01:58.599Z] 3.1.0-dev.3 [Pipeline] } [2023-09-12T22:01:58.587Z] $ docker exec --env ******** --env ******** 2aa854e651ec675ca3d45b2af3e4ea338881b457fe4631e65c4ebf7b9a2a1f30 ssh-agent -k [2023-09-12T22:01:58.676Z] unset SSH_AUTH_SOCK; [2023-09-12T22:01:58.676Z] unset SSH_AGENT_PID; [2023-09-12T22:01:58.676Z] echo Agent pid 75 killed; [2023-09-12T22:01:58.707Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:01:59.005Z] + git semver [Pipeline] } [2023-09-12T22:01:59.257Z] $ docker stop --time=1 2aa854e651ec675ca3d45b2af3e4ea338881b457fe4631e65c4ebf7b9a2a1f30 [2023-09-12T22:02:00.510Z] $ docker rm -f --volumes 2aa854e651ec675ca3d45b2af3e4ea338881b457fe4631e65c4ebf7b9a2a1f30 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:02:00.870Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T22:02:01.063Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T22:02:01.066Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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-09-12T22:02:01.187Z] provisioning config files... [2023-09-12T22:02:01.196Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5597492832608257131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:02:01.493Z] ---> docker-login.sh [2023-09-12T22:02:01.493Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:02:01.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:01.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:01.493Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:01.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:01.493Z] [2023-09-12T22:02:01.493Z] Login Succeeded [2023-09-12T22:02:01.493Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:02:01.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:01.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:01.493Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:01.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:01.493Z] [2023-09-12T22:02:01.493Z] Login Succeeded [2023-09-12T22:02:01.493Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:02:01.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:01.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:01.753Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:01.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:01.753Z] [2023-09-12T22:02:01.753Z] Login Succeeded [2023-09-12T22:02:01.753Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:02:01.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:01.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:01.753Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:01.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:01.753Z] [2023-09-12T22:02:01.753Z] Login Succeeded [2023-09-12T22:02:01.753Z] docker.io [2023-09-12T22:02:02.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:02:02.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:02:02.012Z] Configure a credential helper to remove this warning. See [2023-09-12T22:02:02.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:02:02.012Z] [2023-09-12T22:02:02.012Z] Login Succeeded [2023-09-12T22:02:02.012Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:02:02.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:02:02.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:02:02.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:02:02.092Z] ========================================================= [2023-09-12T22:02:02.092Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T22:02:02.092Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:02:02.391Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T22:02:02.391Z] Sending build context to Docker daemon 5.77MB [2023-09-12T22:02:02.391Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:02:02.391Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:02:02.391Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T22:02:02.391Z] 7264a8db6415: Pulling fs layer [2023-09-12T22:02:02.391Z] c4d48a809fc2: Pulling fs layer [2023-09-12T22:02:02.391Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T22:02:02.391Z] ad3a456e5733: Pulling fs layer [2023-09-12T22:02:02.391Z] 9e4f439ed901: Pulling fs layer [2023-09-12T22:02:02.391Z] feaf6a47b606: Pulling fs layer [2023-09-12T22:02:02.391Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T22:02:02.391Z] 8ac70367396e: Pulling fs layer [2023-09-12T22:02:02.391Z] 6db16350a2e2: Pulling fs layer [2023-09-12T22:02:02.391Z] 9250d5d63582: Pulling fs layer [2023-09-12T22:02:02.391Z] 5e8b037d7d82: Waiting [2023-09-12T22:02:02.391Z] 8ac70367396e: Waiting [2023-09-12T22:02:02.392Z] 6db16350a2e2: Waiting [2023-09-12T22:02:02.392Z] 9250d5d63582: Waiting [2023-09-12T22:02:02.392Z] 9e4f439ed901: Waiting [2023-09-12T22:02:02.392Z] feaf6a47b606: Waiting [2023-09-12T22:02:02.392Z] ad3a456e5733: Waiting [2023-09-12T22:02:02.392Z] c4d48a809fc2: Download complete [2023-09-12T22:02:02.392Z] ad3a456e5733: Download complete [2023-09-12T22:02:02.653Z] 9e4f439ed901: Verifying Checksum [2023-09-12T22:02:02.653Z] 9e4f439ed901: Download complete [2023-09-12T22:02:02.653Z] 7264a8db6415: Verifying Checksum [2023-09-12T22:02:02.653Z] 7264a8db6415: Download complete [2023-09-12T22:02:02.653Z] feaf6a47b606: Verifying Checksum [2023-09-12T22:02:02.653Z] feaf6a47b606: Download complete [2023-09-12T22:02:02.653Z] 7264a8db6415: Pull complete [2023-09-12T22:02:02.914Z] 8ac70367396e: Verifying Checksum [2023-09-12T22:02:02.914Z] 8ac70367396e: Download complete [2023-09-12T22:02:02.914Z] c4d48a809fc2: Pull complete [2023-09-12T22:02:02.914Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T22:02:03.173Z] 6db16350a2e2: Verifying Checksum [2023-09-12T22:02:03.173Z] 6db16350a2e2: Download complete [2023-09-12T22:02:03.173Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T22:02:03.173Z] 5e8b037d7d82: Download complete [2023-09-12T22:02:03.430Z] 9250d5d63582: Verifying Checksum [2023-09-12T22:02:03.430Z] 9250d5d63582: Download complete [2023-09-12T22:02:05.960Z] 4f1c88b9dad5: Pull complete [2023-09-12T22:02:05.960Z] ad3a456e5733: Pull complete [2023-09-12T22:02:05.960Z] 9e4f439ed901: Pull complete [2023-09-12T22:02:05.960Z] feaf6a47b606: Pull complete [2023-09-12T22:02:08.513Z] 5e8b037d7d82: Pull complete [2023-09-12T22:02:08.779Z] 8ac70367396e: Pull complete [2023-09-12T22:02:09.035Z] 6db16350a2e2: Pull complete [2023-09-12T22:02:09.603Z] 9250d5d63582: Pull complete [2023-09-12T22:02:09.603Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T22:02:09.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T22:02:09.603Z] ---> fa269f55d9b9 [2023-09-12T22:02:09.603Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:02:14.898Z] ---> Running in b7569dcbc2ea [2023-09-12T22:02:14.898Z] Removing intermediate container b7569dcbc2ea [2023-09-12T22:02:14.898Z] ---> 4e3d4fa72aea [2023-09-12T22:02:14.898Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:02:14.898Z] ---> Running in b8c752cd7ad8 [2023-09-12T22:02:14.898Z] Removing intermediate container b8c752cd7ad8 [2023-09-12T22:02:14.898Z] ---> c267908d0137 [2023-09-12T22:02:14.898Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:02:14.898Z] ---> Running in e39b554fc715 [2023-09-12T22:02:14.898Z] Removing intermediate container e39b554fc715 [2023-09-12T22:02:14.898Z] ---> 3a31626d9af7 [2023-09-12T22:02:14.898Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:02:14.898Z] ---> Running in 95a7fad5c736 [2023-09-12T22:02:14.898Z] Removing intermediate container 95a7fad5c736 [2023-09-12T22:02:14.898Z] ---> a8dce192a6f2 [2023-09-12T22:02:14.898Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:02:14.898Z] ---> Running in 77e1a6a2735f [2023-09-12T22:02:15.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:02:15.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:02:15.673Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:02:15.673Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:02:15.673Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:02:15.673Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:02:15.673Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:02:15.673Z] OK: 270 MiB in 60 packages [2023-09-12T22:02:16.154Z] Still waiting to schedule task [2023-09-12T22:02:16.154Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-12T22:02:16.243Z] Removing intermediate container 77e1a6a2735f [2023-09-12T22:02:16.243Z] ---> 2c00be3edcbc [2023-09-12T22:02:16.243Z] Step 8/12 : WORKDIR /device-snmp-go [2023-09-12T22:02:16.243Z] ---> Running in a91eb2a90ae7 [2023-09-12T22:02:16.243Z] Removing intermediate container a91eb2a90ae7 [2023-09-12T22:02:16.243Z] ---> 3587cff4b870 [2023-09-12T22:02:16.243Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T22:02:16.501Z] ---> ee2812df2d6a [2023-09-12T22:02:16.501Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:02:16.501Z] ---> Running in 50eba96a9e18 [2023-09-12T22:03:12.766Z] Removing intermediate container 50eba96a9e18 [2023-09-12T22:03:12.766Z] ---> ef47cae8df4c [2023-09-12T22:03:12.766Z] Step 11/12 : COPY . . [2023-09-12T22:03:12.766Z] ---> aed376d37048 [2023-09-12T22:03:12.766Z] Step 12/12 : RUN ${MAKE} [2023-09-12T22:03:12.766Z] ---> Running in 2441f616d1c6 [2023-09-12T22:03:12.766Z] noop [2023-09-12T22:03:12.766Z] Removing intermediate container 2441f616d1c6 [2023-09-12T22:03:12.766Z] ---> 6a5f6ea65d78 [2023-09-12T22:03:12.766Z] Successfully built 6a5f6ea65d78 [2023-09-12T22:03:12.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:03:13.080Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:03:13.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:03:13.150Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:03:13.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T22:03:13.515Z] $ docker top eec64512b94db10d210d5315988cbbcc516928cb30adbbddbd44d61f788817a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:03:13.850Z] + go version [2023-09-12T22:03:13.851Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T22:03:13.863Z] $ docker stop --time=1 eec64512b94db10d210d5315988cbbcc516928cb30adbbddbd44d61f788817a4 [2023-09-12T22:03:15.163Z] $ docker rm -f --volumes eec64512b94db10d210d5315988cbbcc516928cb30adbbddbd44d61f788817a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:03:15.565Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T22:03:15.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:03:15.636Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:03:15.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T22:03:16.001Z] $ docker top 1a0a0e2d6171b07533b6e4645a38bfa4c37c256063180728c82e2cefa74a2c26 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:03:16.345Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:03:16.642Z] + make test [2023-09-12T22:03:16.642Z] go test ./... -coverprofile=coverage.out [2023-09-12T22:03:18.029Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-09-12T22:03:28.059Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-09-12T22:03:28.059Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2023-09-12T22:03:34.619Z] go vet ./... [2023-09-12T22:03:37.984Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:03:37.984Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:03:37.984Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:03:37.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:03:38.014Z] $ docker stop --time=1 1a0a0e2d6171b07533b6e4645a38bfa4c37c256063180728c82e2cefa74a2c26 [2023-09-12T22:03:44.487Z] $ docker rm -f --volumes 1a0a0e2d6171b07533b6e4645a38bfa4c37c256063180728c82e2cefa74a2c26 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:03:45.038Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:03:45.128Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T22:03:45.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:03:45.884Z] + ls -al . [2023-09-12T22:03:45.884Z] total 176 [2023-09-12T22:03:45.884Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 22:03 . [2023-09-12T22:03:45.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:01 .. [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 12 22:01 .dockerignore [2023-09-12T22:03:45.884Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:03 .git [2023-09-12T22:03:45.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:01 .github [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 12 22:01 .gitignore [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:01 .golangci.yml [2023-09-12T22:03:45.884Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:01 .semver [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 10025 Sep 12 22:01 Attribution.txt [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 10534 Sep 12 22:01 CHANGELOG.md [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 1462 Sep 12 22:01 Dockerfile [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:01 GOVERNANCE.md [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 12 22:01 Jenkinsfile [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:01 LICENSE [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 2240 Sep 12 22:01 Makefile [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:01 OWNERS.md [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 10559 Sep 12 22:01 README.md [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:02 VERSION [2023-09-12T22:03:45.884Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:01 bin [2023-09-12T22:03:45.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:01 cmd [2023-09-12T22:03:45.884Z] -rw-r--r-- 1 jenkins jenkins 8837 Sep 12 22:03 coverage.out [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 3710 Sep 12 22:01 go.mod [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 33759 Sep 12 22:01 go.sum [2023-09-12T22:03:45.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:01 internal [2023-09-12T22:03:45.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:01 snap [2023-09-12T22:03:45.884Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 12 22:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:03:46.216Z] + 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=1e145ee1301df0b97f405486925368d7c560441a --label arch=amd64 --label version=3.1.0-dev.3 . [2023-09-12T22:03:46.216Z] Sending build context to Docker daemon 5.779MB [2023-09-12T22:03:46.216Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:03:46.216Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-12T22:03:46.216Z] ---> 6a5f6ea65d78 [2023-09-12T22:03:46.216Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:03:46.476Z] ---> Running in 207b7bca29fb [2023-09-12T22:03:46.477Z] Removing intermediate container 207b7bca29fb [2023-09-12T22:03:46.477Z] ---> c679e4272b8c [2023-09-12T22:03:46.477Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:03:46.477Z] ---> Running in bd6a7c7f115d [2023-09-12T22:03:46.736Z] Removing intermediate container bd6a7c7f115d [2023-09-12T22:03:46.736Z] ---> 977c310a67a6 [2023-09-12T22:03:46.736Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:03:46.736Z] ---> Running in 9cee6422c1c3 [2023-09-12T22:03:46.736Z] Removing intermediate container 9cee6422c1c3 [2023-09-12T22:03:46.736Z] ---> 86e66addd053 [2023-09-12T22:03:46.736Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:03:46.736Z] ---> Running in 7e517d2c6f97 [2023-09-12T22:03:46.736Z] Removing intermediate container 7e517d2c6f97 [2023-09-12T22:03:46.736Z] ---> d6a0507bfa4a [2023-09-12T22:03:46.736Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:03:46.995Z] ---> Running in 7fd19d8b7310 [2023-09-12T22:03:47.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:03:47.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:03:47.514Z] OK: 270 MiB in 60 packages [2023-09-12T22:03:48.082Z] Removing intermediate container 7fd19d8b7310 [2023-09-12T22:03:48.082Z] ---> d7181be13894 [2023-09-12T22:03:48.082Z] Step 8/24 : WORKDIR /device-snmp-go [2023-09-12T22:03:48.082Z] ---> Running in abe008535551 [2023-09-12T22:03:48.082Z] Removing intermediate container abe008535551 [2023-09-12T22:03:48.082Z] ---> e9af9b567ae0 [2023-09-12T22:03:48.082Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-12T22:03:48.340Z] ---> ddc3435c8a19 [2023-09-12T22:03:48.340Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:03:48.340Z] ---> Running in 710969abb79c [2023-09-12T22:03:48.908Z] Removing intermediate container 710969abb79c [2023-09-12T22:03:48.908Z] ---> c46b8af3b927 [2023-09-12T22:03:48.908Z] Step 11/24 : COPY . . [2023-09-12T22:03:49.554Z] ---> 320eaf5845b4 [2023-09-12T22:03:49.554Z] Step 12/24 : RUN ${MAKE} [2023-09-12T22:03:49.554Z] ---> Running in 86402c119da2 [2023-09-12T22:03:49.813Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-09-12T22:04:10.013Z] Removing intermediate container 86402c119da2 [2023-09-12T22:04:10.013Z] ---> b062452196c2 [2023-09-12T22:04:10.013Z] Step 13/24 : FROM alpine:3.18 [2023-09-12T22:04:10.273Z] 3.18: Pulling from library/alpine [2023-09-12T22:04:10.533Z] 7264a8db6415: Already exists [2023-09-12T22:04:10.533Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:04:10.533Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:04:10.533Z] ---> 7e01a0d0a1dc [2023-09-12T22:04:10.533Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:04:10.793Z] ---> Running in fd0c7a079c26 [2023-09-12T22:04:11.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T22:04:11.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T22:04:11.315Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:04:11.315Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:04:11.315Z] OK: 7 MiB in 16 packages [2023-09-12T22:04:11.577Z] Removing intermediate container fd0c7a079c26 [2023-09-12T22:04:11.577Z] ---> f7429a760e3b [2023-09-12T22:04:11.577Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-09-12T22:04:12.962Z] ---> e97d0db7b435 [2023-09-12T22:04:12.962Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-09-12T22:04:12.962Z] ---> 1c779a973170 [2023-09-12T22:04:12.962Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-09-12T22:04:12.962Z] ---> 9a30652908bd [2023-09-12T22:04:12.962Z] Step 18/24 : EXPOSE 59993 [2023-09-12T22:04:12.962Z] ---> Running in 1644391db31c [2023-09-12T22:04:13.222Z] Removing intermediate container 1644391db31c [2023-09-12T22:04:13.223Z] ---> d1617b09baaa [2023-09-12T22:04:13.223Z] Step 19/24 : EXPOSE 161 [2023-09-12T22:04:13.223Z] ---> Running in 79d76c73e0ee [2023-09-12T22:04:13.223Z] Removing intermediate container 79d76c73e0ee [2023-09-12T22:04:13.223Z] ---> 9ec339bf63a4 [2023-09-12T22:04:13.223Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-09-12T22:04:13.223Z] ---> Running in 1a6cb3308b6c [2023-09-12T22:04:13.223Z] Removing intermediate container 1a6cb3308b6c [2023-09-12T22:04:13.223Z] ---> 69ef4add2642 [2023-09-12T22:04:13.223Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T22:04:13.223Z] ---> Running in 301db3eea533 [2023-09-12T22:04:13.489Z] Removing intermediate container 301db3eea533 [2023-09-12T22:04:13.489Z] ---> e4a323d5691b [2023-09-12T22:04:13.489Z] Step 22/24 : LABEL arch=amd64 [2023-09-12T22:04:13.489Z] ---> Running in c5846a5cf7d4 [2023-09-12T22:04:13.489Z] Removing intermediate container c5846a5cf7d4 [2023-09-12T22:04:13.489Z] ---> 646ddccc3b0b [2023-09-12T22:04:13.489Z] Step 23/24 : LABEL git_sha=1e145ee1301df0b97f405486925368d7c560441a [2023-09-12T22:04:13.489Z] ---> Running in 77ba11f8bfd5 [2023-09-12T22:04:13.489Z] Removing intermediate container 77ba11f8bfd5 [2023-09-12T22:04:13.489Z] ---> 3723464a7607 [2023-09-12T22:04:13.489Z] Step 24/24 : LABEL version=3.1.0-dev.3 [2023-09-12T22:04:13.750Z] ---> Running in 25f5beb399e5 [2023-09-12T22:04:13.750Z] Removing intermediate container 25f5beb399e5 [2023-09-12T22:04:13.750Z] ---> 5a3b345c2869 [2023-09-12T22:04:13.750Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:04:13.750Z] Successfully built 5a3b345c2869 [2023-09-12T22:04:13.750Z] 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-09-12T22:04:13.867Z] provisioning config files... [2023-09-12T22:04:13.876Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15279199006247382761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:04:14.172Z] ---> docker-login.sh [2023-09-12T22:04:14.172Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:04:14.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:14.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:14.172Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:14.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:14.172Z] [2023-09-12T22:04:14.172Z] Login Succeeded [2023-09-12T22:04:14.172Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:04:14.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:14.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:14.172Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:14.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:14.172Z] [2023-09-12T22:04:14.172Z] Login Succeeded [2023-09-12T22:04:14.172Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:04:14.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:14.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:14.432Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:14.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:14.432Z] [2023-09-12T22:04:14.432Z] Login Succeeded [2023-09-12T22:04:14.432Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:04:14.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:14.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:14.432Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:14.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:14.432Z] [2023-09-12T22:04:14.432Z] Login Succeeded [2023-09-12T22:04:14.432Z] docker.io [2023-09-12T22:04:14.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:14.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:14.692Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:14.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:14.692Z] [2023-09-12T22:04:14.692Z] Login Succeeded [2023-09-12T22:04:14.692Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:04:14.699Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:04:14.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:04:14.759Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-09-12T22:04:14.759Z] 1e145ee1301df0b97f405486925368d7c560441a [2023-09-12T22:04:14.759Z] latest [2023-09-12T22:04:14.759Z] 3.1.0-dev.3 [2023-09-12T22:04:14.759Z] 1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3 [2023-09-12T22:04:14.759Z] main [2023-09-12T22:04:14.759Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:15.085Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1e145ee1301df0b97f405486925368d7c560441a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:15.395Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1e145ee1301df0b97f405486925368d7c560441a [2023-09-12T22:04:15.395Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-12T22:04:15.395Z] 65f4c7797e61: Preparing [2023-09-12T22:04:15.395Z] b65954c18948: Preparing [2023-09-12T22:04:15.395Z] 25074c411e5c: Preparing [2023-09-12T22:04:15.395Z] c13c8582a222: Preparing [2023-09-12T22:04:15.395Z] 4693057ce236: Preparing [2023-09-12T22:04:15.395Z] 4693057ce236: Layer already exists [2023-09-12T22:04:15.395Z] c13c8582a222: Pushed [2023-09-12T22:04:15.395Z] b65954c18948: Pushed [2023-09-12T22:04:15.395Z] 65f4c7797e61: Pushed [2023-09-12T22:04:17.923Z] 25074c411e5c: Pushed [2023-09-12T22:04:18.182Z] 1e145ee1301df0b97f405486925368d7c560441a: digest: sha256:a526bbcab2c278f7a7bcdfe8f82a3c46f62dcb328d8a600a92da909b5c6424d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:18.487Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:18.794Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-09-12T22:04:18.794Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-12T22:04:18.794Z] 65f4c7797e61: Preparing [2023-09-12T22:04:18.794Z] b65954c18948: Preparing [2023-09-12T22:04:18.794Z] 25074c411e5c: Preparing [2023-09-12T22:04:18.794Z] c13c8582a222: Preparing [2023-09-12T22:04:18.794Z] 4693057ce236: Preparing [2023-09-12T22:04:18.794Z] 25074c411e5c: Layer already exists [2023-09-12T22:04:18.794Z] b65954c18948: Layer already exists [2023-09-12T22:04:18.794Z] 65f4c7797e61: Layer already exists [2023-09-12T22:04:18.794Z] c13c8582a222: Layer already exists [2023-09-12T22:04:18.794Z] 4693057ce236: Layer already exists [2023-09-12T22:04:18.794Z] latest: digest: sha256:a526bbcab2c278f7a7bcdfe8f82a3c46f62dcb328d8a600a92da909b5c6424d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:19.099Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:19.409Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.3 [2023-09-12T22:04:19.409Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-12T22:04:19.409Z] 65f4c7797e61: Preparing [2023-09-12T22:04:19.409Z] b65954c18948: Preparing [2023-09-12T22:04:19.409Z] 25074c411e5c: Preparing [2023-09-12T22:04:19.409Z] c13c8582a222: Preparing [2023-09-12T22:04:19.409Z] 4693057ce236: Preparing [2023-09-12T22:04:19.409Z] 65f4c7797e61: Layer already exists [2023-09-12T22:04:19.409Z] 25074c411e5c: Layer already exists [2023-09-12T22:04:19.409Z] c13c8582a222: Layer already exists [2023-09-12T22:04:19.409Z] b65954c18948: Layer already exists [2023-09-12T22:04:19.409Z] 4693057ce236: Layer already exists [2023-09-12T22:04:19.409Z] 3.1.0-dev.3: digest: sha256:a526bbcab2c278f7a7bcdfe8f82a3c46f62dcb328d8a600a92da909b5c6424d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:19.713Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:20.022Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3 [2023-09-12T22:04:20.022Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-12T22:04:20.022Z] 65f4c7797e61: Preparing [2023-09-12T22:04:20.022Z] b65954c18948: Preparing [2023-09-12T22:04:20.022Z] 25074c411e5c: Preparing [2023-09-12T22:04:20.022Z] c13c8582a222: Preparing [2023-09-12T22:04:20.022Z] 4693057ce236: Preparing [2023-09-12T22:04:20.022Z] 65f4c7797e61: Layer already exists [2023-09-12T22:04:20.022Z] c13c8582a222: Layer already exists [2023-09-12T22:04:20.022Z] 25074c411e5c: Layer already exists [2023-09-12T22:04:20.022Z] b65954c18948: Layer already exists [2023-09-12T22:04:20.022Z] 4693057ce236: Layer already exists [2023-09-12T22:04:20.022Z] 1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3: digest: sha256:a526bbcab2c278f7a7bcdfe8f82a3c46f62dcb328d8a600a92da909b5c6424d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:20.339Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:20.647Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-09-12T22:04:20.647Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-12T22:04:20.647Z] 65f4c7797e61: Preparing [2023-09-12T22:04:20.647Z] b65954c18948: Preparing [2023-09-12T22:04:20.647Z] 25074c411e5c: Preparing [2023-09-12T22:04:20.647Z] c13c8582a222: Preparing [2023-09-12T22:04:20.647Z] 4693057ce236: Preparing [2023-09-12T22:04:20.647Z] 4693057ce236: Layer already exists [2023-09-12T22:04:20.647Z] 65f4c7797e61: Layer already exists [2023-09-12T22:04:20.647Z] b65954c18948: Layer already exists [2023-09-12T22:04:20.647Z] 25074c411e5c: Layer already exists [2023-09-12T22:04:20.647Z] c13c8582a222: Layer already exists [2023-09-12T22:04:20.647Z] main: digest: sha256:a526bbcab2c278f7a7bcdfe8f82a3c46f62dcb328d8a600a92da909b5c6424d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:04:20.688Z] ===================================================== [Pipeline] echo [2023-09-12T22:04:20.700Z] taggedImages: [2023-09-12T22:04:20.700Z] - nexus3.edgexfoundry.org:10004/device-snmp:1e145ee1301df0b97f405486925368d7c560441a [2023-09-12T22:04:20.700Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-09-12T22:04:20.700Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.3 [2023-09-12T22:04:20.700Z] - nexus3.edgexfoundry.org:10004/device-snmp:1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3 [2023-09-12T22:04:20.700Z] - 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-09-12T22:04:21.086Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:04:21.086Z] [2023-09-12T22:04:21.086Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:21.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:04:21.398Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T22:04:21.398Z] 5eb5b503b376: Pulling fs layer [2023-09-12T22:04:21.398Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T22:04:21.398Z] ec43610c2a17: Pulling fs layer [2023-09-12T22:04:21.398Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T22:04:21.398Z] 33b1e0a273af: Pulling fs layer [2023-09-12T22:04:21.398Z] 3a2ae6a8a46f: Waiting [2023-09-12T22:04:21.398Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T22:04:21.398Z] 2f39f015ded8: Pulling fs layer [2023-09-12T22:04:21.398Z] 5d3b04190fa2: Waiting [2023-09-12T22:04:21.398Z] 33b1e0a273af: Waiting [2023-09-12T22:04:21.398Z] 2f39f015ded8: Waiting [2023-09-12T22:04:21.398Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T22:04:21.398Z] 5c69ac0246d0: Download complete [2023-09-12T22:04:21.398Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T22:04:21.398Z] 3a2ae6a8a46f: Download complete [2023-09-12T22:04:21.398Z] 33b1e0a273af: Verifying Checksum [2023-09-12T22:04:21.398Z] 33b1e0a273af: Download complete [2023-09-12T22:04:21.398Z] ec43610c2a17: Verifying Checksum [2023-09-12T22:04:21.398Z] ec43610c2a17: Download complete [2023-09-12T22:04:21.398Z] 5d3b04190fa2: Download complete [2023-09-12T22:04:21.656Z] 5eb5b503b376: Verifying Checksum [2023-09-12T22:04:21.656Z] 5eb5b503b376: Download complete [2023-09-12T22:04:22.228Z] 2f39f015ded8: Download complete [2023-09-12T22:04:23.163Z] 5eb5b503b376: Pull complete [2023-09-12T22:04:23.163Z] 5c69ac0246d0: Pull complete [2023-09-12T22:04:23.729Z] ec43610c2a17: Pull complete [2023-09-12T22:04:23.729Z] 3a2ae6a8a46f: Pull complete [2023-09-12T22:04:23.986Z] 33b1e0a273af: Pull complete [2023-09-12T22:04:23.986Z] 5d3b04190fa2: Pull complete [2023-09-12T22:04:24.398Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6025 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-09-12T22:04:24.409Z] Running in /w/workspace/device-snmp-go/89 [Pipeline] { [Pipeline] checkout [2023-09-12T22:04:24.444Z] Selected Git installation does not exist. Using Default [2023-09-12T22:04:24.444Z] The recommended git tool is: NONE [2023-09-12T22:04:28.184Z] 2f39f015ded8: Pull complete [2023-09-12T22:04:28.184Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T22:04:28.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:04:28.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:04:28.257Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:04:28.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T22:04:30.596Z] using credential edgex-jenkins-ssh [2023-09-12T22:04:30.615Z] Cloning the remote Git repository [2023-09-12T22:04:30.673Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-09-12T22:04:30.794Z] > git init /w/workspace/device-snmp-go/89 # timeout=10 [2023-09-12T22:04:30.981Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-09-12T22:04:30.983Z] > git --version # timeout=10 [2023-09-12T22:04:31.007Z] > git --version # 'git version 2.25.1' [2023-09-12T22:04:31.010Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T22:04:31.214Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:04:32.327Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-09-12T22:04:32.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T22:04:33.458Z] Avoid second fetch [2023-09-12T22:04:33.458Z] Checking out Revision 1e145ee1301df0b97f405486925368d7c560441a (main) [2023-09-12T22:04:33.938Z] $ docker top e9e45c33cc1f3bedde1a3cefce762d6086b27791a2ac1e78e978dcd13d3ce0f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:04:34.181Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#317)" [2023-09-12T22:04:34.318Z] ---> job-cost.sh [2023-09-12T22:04:34.318Z] lf-activate-venv: SKIPPING [2023-09-12T22:04:34.318Z] INFO: No Stack... [2023-09-12T22:04:34.435Z] [2023-09-12T22:04:34.435Z] GitHub has been notified of this commit’s build result [2023-09-12T22:04:34.435Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:04:34.577Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:04:33.476Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T22:04:33.561Z] > git checkout -f 1e145ee1301df0b97f405486925368d7c560441a # timeout=10 [2023-09-12T22:04:35.014Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T22:04:35.014Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:04:35.014Z] Dload Upload Total Spent Left Speed [2023-09-12T22:04:35.014Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [2023-09-12T22:04:35.147Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-09-12T22:04:35.429Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-09-12T22:04:35.429Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T22:04:35.451Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-89-stack-cost] [2023-09-12T22:04:35.457Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-89-stack-cost] did not exist. Created. [2023-09-12T22:04:35.457Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:04:35.709Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T22:04:35.761Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T22:04:35.844Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:04:35.854Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:04:35.880Z] $ docker stop --time=1 e9e45c33cc1f3bedde1a3cefce762d6086b27791a2ac1e78e978dcd13d3ce0f1 [2023-09-12T22:04:36.083Z] + sudo tee /etc/docker/daemon.new [2023-09-12T22:04:36.083Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T22:04:36.083Z] { [2023-09-12T22:04:36.083Z] "registry-mirrors": [ [2023-09-12T22:04:36.083Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T22:04:36.083Z] ], [2023-09-12T22:04:36.084Z] "bip": "10.250.0.254/24", [2023-09-12T22:04:36.084Z] "hosts": [ [2023-09-12T22:04:36.084Z] "tcp://0.0.0.0:5555", [2023-09-12T22:04:36.084Z] "unix:///var/run/docker.sock" [2023-09-12T22:04:36.084Z] ], [2023-09-12T22:04:36.084Z] "mtu": 1458, [2023-09-12T22:04:36.084Z] "selinux-enabled": true, [2023-09-12T22:04:36.084Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T22:04:36.084Z] } [2023-09-12T22:04:37.037Z] $ docker rm -f --volumes e9e45c33cc1f3bedde1a3cefce762d6086b27791a2ac1e78e978dcd13d3ce0f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T22:04:37.422Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T22:04:37.782Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:04:56.109Z] provisioning config files... [2023-09-12T22:04:56.142Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/89@tmp/config8833165971805190860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:04:56.512Z] ---> docker-login.sh [2023-09-12T22:04:56.512Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:04:57.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:57.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:57.374Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:57.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:57.374Z] [2023-09-12T22:04:57.374Z] Login Succeeded [2023-09-12T22:04:57.374Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:04:57.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:57.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:57.652Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:57.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:57.652Z] [2023-09-12T22:04:57.652Z] Login Succeeded [2023-09-12T22:04:57.652Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:04:57.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:58.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:58.193Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:58.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:58.193Z] [2023-09-12T22:04:58.193Z] Login Succeeded [2023-09-12T22:04:58.193Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:04:58.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:58.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:58.467Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:58.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:58.467Z] [2023-09-12T22:04:58.467Z] Login Succeeded [2023-09-12T22:04:58.467Z] docker.io [2023-09-12T22:04:58.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:04:59.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:04:59.003Z] Configure a credential helper to remove this warning. See [2023-09-12T22:04:59.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:04:59.003Z] [2023-09-12T22:04:59.003Z] Login Succeeded [2023-09-12T22:04:59.003Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:04:59.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T22:04:59.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:04:59.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:04:59.329Z] ========================================================= [2023-09-12T22:04:59.329Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T22:04:59.329Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:04:59.687Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T22:04:59.965Z] Sending build context to Docker daemon 2.97MB [2023-09-12T22:04:59.965Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:04:59.965Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T22:05:00.241Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T22:05:00.241Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T22:05:00.241Z] 5d54e960e981: Pulling fs layer [2023-09-12T22:05:00.241Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T22:05:00.241Z] f0e02332f6b5: Pulling fs layer [2023-09-12T22:05:00.241Z] 66412af1f25a: Pulling fs layer [2023-09-12T22:05:00.241Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T22:05:00.241Z] 9a37bb91b891: Pulling fs layer [2023-09-12T22:05:00.241Z] a29adfc67d43: Pulling fs layer [2023-09-12T22:05:00.241Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T22:05:00.241Z] f0e02332f6b5: Waiting [2023-09-12T22:05:00.241Z] 66412af1f25a: Waiting [2023-09-12T22:05:00.241Z] 1baf3a5c0e64: Waiting [2023-09-12T22:05:00.241Z] 9a37bb91b891: Waiting [2023-09-12T22:05:00.241Z] a29adfc67d43: Waiting [2023-09-12T22:05:00.241Z] d5de9f91c1a4: Waiting [2023-09-12T22:05:00.241Z] 5d54e960e981: Verifying Checksum [2023-09-12T22:05:00.241Z] 5d54e960e981: Download complete [2023-09-12T22:05:00.241Z] f0e02332f6b5: Verifying Checksum [2023-09-12T22:05:00.241Z] f0e02332f6b5: Download complete [2023-09-12T22:05:00.241Z] 66412af1f25a: Verifying Checksum [2023-09-12T22:05:00.241Z] 66412af1f25a: Download complete [2023-09-12T22:05:00.241Z] 9fda8d8052c6: Verifying Checksum [2023-09-12T22:05:00.241Z] 9fda8d8052c6: Download complete [2023-09-12T22:05:00.837Z] 9a37bb91b891: Verifying Checksum [2023-09-12T22:05:00.837Z] 9a37bb91b891: Download complete [2023-09-12T22:05:01.440Z] 9fda8d8052c6: Pull complete [2023-09-12T22:05:01.440Z] a29adfc67d43: Verifying Checksum [2023-09-12T22:05:01.440Z] a29adfc67d43: Download complete [2023-09-12T22:05:02.434Z] 5d54e960e981: Pull complete [2023-09-12T22:05:02.705Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T22:05:02.705Z] d5de9f91c1a4: Download complete [2023-09-12T22:05:02.705Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T22:05:02.705Z] c4a7e357bf2a: Download complete [2023-09-12T22:05:03.674Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T22:05:03.674Z] 1baf3a5c0e64: Download complete [2023-09-12T22:05:16.028Z] c4a7e357bf2a: Pull complete [2023-09-12T22:05:16.028Z] f0e02332f6b5: Pull complete [2023-09-12T22:05:16.028Z] 66412af1f25a: Pull complete [2023-09-12T22:05:21.389Z] 1baf3a5c0e64: Pull complete [2023-09-12T22:05:22.825Z] 9a37bb91b891: Pull complete [2023-09-12T22:05:24.241Z] a29adfc67d43: Pull complete [2023-09-12T22:05:25.667Z] d5de9f91c1a4: Pull complete [2023-09-12T22:05:25.667Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T22:05:25.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T22:05:25.667Z] ---> 746ca1b523b5 [2023-09-12T22:05:25.667Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:05:28.313Z] ---> Running in f56e72c4bb56 [2023-09-12T22:05:28.313Z] Removing intermediate container f56e72c4bb56 [2023-09-12T22:05:28.313Z] ---> a922c1d87211 [2023-09-12T22:05:28.313Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:05:28.662Z] ---> Running in 49f4ed39b16e [2023-09-12T22:05:28.942Z] Removing intermediate container 49f4ed39b16e [2023-09-12T22:05:28.942Z] ---> 3df7d3e83a50 [2023-09-12T22:05:28.942Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:05:28.942Z] ---> Running in 396746372dd4 [2023-09-12T22:05:29.236Z] Removing intermediate container 396746372dd4 [2023-09-12T22:05:29.236Z] ---> 84da12b33cee [2023-09-12T22:05:29.236Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:05:29.515Z] ---> Running in 914f43d5fb5f [2023-09-12T22:05:29.794Z] Removing intermediate container 914f43d5fb5f [2023-09-12T22:05:29.794Z] ---> 4c7c72a56627 [2023-09-12T22:05:29.794Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:05:29.794Z] ---> Running in ec9b90eafb9f [2023-09-12T22:05:31.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:05:31.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:05:32.933Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T22:05:32.933Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T22:05:32.933Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T22:05:33.205Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T22:05:33.205Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:05:33.205Z] OK: 272 MiB in 60 packages [2023-09-12T22:05:35.167Z] Removing intermediate container ec9b90eafb9f [2023-09-12T22:05:35.167Z] ---> 1bd518a64d94 [2023-09-12T22:05:35.167Z] Step 8/12 : WORKDIR /device-snmp-go [2023-09-12T22:05:35.167Z] ---> Running in b89c83824e79 [2023-09-12T22:05:35.438Z] Removing intermediate container b89c83824e79 [2023-09-12T22:05:35.438Z] ---> 65ef5436ab2f [2023-09-12T22:05:35.438Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T22:05:36.036Z] ---> bd8876ae52e2 [2023-09-12T22:05:36.036Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:05:36.036Z] ---> Running in 06fc3963317e [2023-09-12T22:06:43.951Z] Removing intermediate container 06fc3963317e [2023-09-12T22:06:43.951Z] ---> 6f6a18920dcc [2023-09-12T22:06:43.951Z] Step 11/12 : COPY . . [2023-09-12T22:06:44.543Z] ---> bf1d6c7ccbea [2023-09-12T22:06:44.543Z] Step 12/12 : RUN ${MAKE} [2023-09-12T22:06:44.813Z] ---> Running in f83c8e85506b [2023-09-12T22:06:45.775Z] noop [2023-09-12T22:06:46.360Z] Removing intermediate container f83c8e85506b [2023-09-12T22:06:46.360Z] ---> 331624ac9230 [2023-09-12T22:06:46.360Z] Successfully built 331624ac9230 [2023-09-12T22:06:46.360Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:06:46.715Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:06:46.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:06:46.947Z] prd-ubuntu20.04-docker-arm64-4c-16g-6025 does not seem to be running inside a container [2023-09-12T22:06:47.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/89 -v /w/workspace/device-snmp-go/89:/w/workspace/device-snmp-go/89:rw,z -v /w/workspace/device-snmp-go/89@tmp:/w/workspace/device-snmp-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T22:06:48.257Z] $ docker top 80e77239b2b68140f92a0f09587b96778bd9f40f20620352f773045e3632fc90 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:06:49.095Z] + go version [2023-09-12T22:06:49.095Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T22:06:49.136Z] $ docker stop --time=1 80e77239b2b68140f92a0f09587b96778bd9f40f20620352f773045e3632fc90 [2023-09-12T22:06:50.809Z] $ docker rm -f --volumes 80e77239b2b68140f92a0f09587b96778bd9f40f20620352f773045e3632fc90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:06:51.348Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T22:06:51.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:06:51.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-6025 does not seem to be running inside a container [2023-09-12T22:06:51.801Z] $ 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/89 -v /w/workspace/device-snmp-go/89:/w/workspace/device-snmp-go/89:rw,z -v /w/workspace/device-snmp-go/89@tmp:/w/workspace/device-snmp-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T22:06:53.129Z] $ docker top a794a3ba41fe56f279884e799bdd88506b95f5aaf40e8fdfd0843e5d47702a7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:06:53.986Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/89 [Pipeline] fileExists [Pipeline] sh [2023-09-12T22:06:54.665Z] + make test [2023-09-12T22:06:54.665Z] go test ./... -coverprofile=coverage.out [2023-09-12T22:07:00.022Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-09-12T22:08:51.705Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-09-12T22:08:51.705Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2023-09-12T22:08:51.705Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T22:08:51.705Z] go vet ./... [2023-09-12T22:09:24.635Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T22:09:24.635Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T22:09:24.635Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T22:09:24.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T22:09:24.688Z] $ docker stop --time=1 a794a3ba41fe56f279884e799bdd88506b95f5aaf40e8fdfd0843e5d47702a7b [2023-09-12T22:09:26.739Z] $ docker rm -f --volumes a794a3ba41fe56f279884e799bdd88506b95f5aaf40e8fdfd0843e5d47702a7b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:09:28.050Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T22:09:28.068Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T22:09:28.620Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T22:09:29.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T22:09:29.372Z] + ls -al . [2023-09-12T22:09:29.372Z] total 172 [2023-09-12T22:09:29.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:06 . [2023-09-12T22:09:29.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:04 .. [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 12 22:04 .dockerignore [2023-09-12T22:09:29.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 22:04 .git [2023-09-12T22:09:29.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:04 .github [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 12 22:04 .gitignore [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 22:04 .golangci.yml [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 10025 Sep 12 22:04 Attribution.txt [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 10534 Sep 12 22:04 CHANGELOG.md [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 1462 Sep 12 22:04 Dockerfile [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 22:04 GOVERNANCE.md [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 12 22:04 Jenkinsfile [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 22:04 LICENSE [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 2240 Sep 12 22:04 Makefile [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 22:04 OWNERS.md [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 10559 Sep 12 22:04 README.md [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 12 22:02 VERSION [2023-09-12T22:09:29.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 22:04 bin [2023-09-12T22:09:29.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:04 cmd [2023-09-12T22:09:29.372Z] -rw-r--r-- 1 jenkins jenkins 8837 Sep 12 22:08 coverage.out [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 3710 Sep 12 22:04 go.mod [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 33759 Sep 12 22:04 go.sum [2023-09-12T22:09:29.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 22:04 internal [2023-09-12T22:09:29.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 22:04 snap [2023-09-12T22:09:29.372Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 12 22:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:09:29.734Z] + 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=1e145ee1301df0b97f405486925368d7c560441a --label arch=arm64 --label version=3.1.0-dev.3 . [2023-09-12T22:09:30.008Z] Sending build context to Docker daemon 2.98MB [2023-09-12T22:09:30.008Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T22:09:30.008Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-12T22:09:30.008Z] ---> 331624ac9230 [2023-09-12T22:09:30.008Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-12T22:09:30.279Z] ---> Running in 32fa2fbb36f3 [2023-09-12T22:09:30.553Z] Removing intermediate container 32fa2fbb36f3 [2023-09-12T22:09:30.553Z] ---> 52b9931f22d9 [2023-09-12T22:09:30.553Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T22:09:30.823Z] ---> Running in e1928a953a9e [2023-09-12T22:09:31.094Z] Removing intermediate container e1928a953a9e [2023-09-12T22:09:31.094Z] ---> 5ed37c90a8d1 [2023-09-12T22:09:31.094Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T22:09:31.094Z] ---> Running in d27113b72301 [2023-09-12T22:09:31.678Z] Removing intermediate container d27113b72301 [2023-09-12T22:09:31.678Z] ---> 3ac6dc488f10 [2023-09-12T22:09:31.678Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T22:09:31.678Z] ---> Running in 8d483c46d5bd [2023-09-12T22:09:32.276Z] Removing intermediate container 8d483c46d5bd [2023-09-12T22:09:32.276Z] ---> c3bcfe4dcf41 [2023-09-12T22:09:32.276Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T22:09:32.276Z] ---> Running in 0faae34274ce [2023-09-12T22:09:33.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:09:33.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:09:35.913Z] OK: 272 MiB in 60 packages [2023-09-12T22:09:37.333Z] Removing intermediate container 0faae34274ce [2023-09-12T22:09:37.333Z] ---> a3198039d784 [2023-09-12T22:09:37.333Z] Step 8/24 : WORKDIR /device-snmp-go [2023-09-12T22:09:37.333Z] ---> Running in 5cb5b61596ce [2023-09-12T22:09:37.606Z] Removing intermediate container 5cb5b61596ce [2023-09-12T22:09:37.606Z] ---> 14351cd56573 [2023-09-12T22:09:37.606Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-12T22:09:38.195Z] ---> 91609a11c43e [2023-09-12T22:09:38.195Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T22:09:38.195Z] ---> Running in 3500f331e2a2 [2023-09-12T22:09:40.800Z] Removing intermediate container 3500f331e2a2 [2023-09-12T22:09:40.800Z] ---> ac318bb62bf9 [2023-09-12T22:09:40.800Z] Step 11/24 : COPY . . [2023-09-12T22:09:41.779Z] ---> 75cd9b9f7e79 [2023-09-12T22:09:41.779Z] Step 12/24 : RUN ${MAKE} [2023-09-12T22:09:41.779Z] ---> Running in 756065151c4a [2023-09-12T22:09:43.210Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-09-12T22:12:20.801Z] Removing intermediate container 756065151c4a [2023-09-12T22:12:20.801Z] ---> b625eead770d [2023-09-12T22:12:20.801Z] Step 13/24 : FROM alpine:3.18 [2023-09-12T22:12:20.801Z] 3.18: Pulling from library/alpine [2023-09-12T22:12:20.801Z] 9fda8d8052c6: Already exists [2023-09-12T22:12:20.801Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T22:12:20.801Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T22:12:20.801Z] ---> f6648c04cd6c [2023-09-12T22:12:20.801Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-09-12T22:12:20.801Z] ---> Running in 3ed9e9f58291 [2023-09-12T22:12:20.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T22:12:20.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T22:12:20.801Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T22:12:20.801Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T22:12:20.801Z] OK: 8 MiB in 16 packages [2023-09-12T22:12:20.801Z] Removing intermediate container 3ed9e9f58291 [2023-09-12T22:12:20.801Z] ---> ed0438f8c02a [2023-09-12T22:12:20.801Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-09-12T22:12:20.801Z] ---> 1cb5a591a7da [2023-09-12T22:12:20.801Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-09-12T22:12:20.801Z] ---> df94a2f5c7bb [2023-09-12T22:12:20.801Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-09-12T22:12:20.801Z] ---> 6a7137b2e28d [2023-09-12T22:12:20.801Z] Step 18/24 : EXPOSE 59993 [2023-09-12T22:12:20.801Z] ---> Running in f09f379117e3 [2023-09-12T22:12:20.801Z] Removing intermediate container f09f379117e3 [2023-09-12T22:12:20.801Z] ---> ce6acd3456d2 [2023-09-12T22:12:20.801Z] Step 19/24 : EXPOSE 161 [2023-09-12T22:12:20.801Z] ---> Running in a206e7ec9a4b [2023-09-12T22:12:20.801Z] Removing intermediate container a206e7ec9a4b [2023-09-12T22:12:20.801Z] ---> 8ca994b552a3 [2023-09-12T22:12:20.801Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-09-12T22:12:20.801Z] ---> Running in 77b8de50a424 [2023-09-12T22:12:20.801Z] Removing intermediate container 77b8de50a424 [2023-09-12T22:12:20.801Z] ---> 4c8707838b86 [2023-09-12T22:12:20.801Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T22:12:20.801Z] ---> Running in df3b9300f354 [2023-09-12T22:12:20.801Z] Removing intermediate container df3b9300f354 [2023-09-12T22:12:20.801Z] ---> d6b8f25aefc1 [2023-09-12T22:12:20.801Z] Step 22/24 : LABEL arch=arm64 [2023-09-12T22:12:20.801Z] ---> Running in 181892c98ca3 [2023-09-12T22:12:20.801Z] Removing intermediate container 181892c98ca3 [2023-09-12T22:12:20.801Z] ---> 390588dcc391 [2023-09-12T22:12:20.801Z] Step 23/24 : LABEL git_sha=1e145ee1301df0b97f405486925368d7c560441a [2023-09-12T22:12:20.801Z] ---> Running in 01afcacfb123 [2023-09-12T22:12:20.801Z] Removing intermediate container 01afcacfb123 [2023-09-12T22:12:20.801Z] ---> 9493718bb329 [2023-09-12T22:12:20.801Z] Step 24/24 : LABEL version=3.1.0-dev.3 [2023-09-12T22:12:20.801Z] ---> Running in 2ed5552a08f5 [2023-09-12T22:12:20.801Z] Removing intermediate container 2ed5552a08f5 [2023-09-12T22:12:20.801Z] ---> 865df133c960 [2023-09-12T22:12:20.801Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T22:12:20.801Z] Successfully built 865df133c960 [2023-09-12T22:12:20.801Z] 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-09-12T22:12:20.898Z] provisioning config files... [2023-09-12T22:12:20.915Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/89@tmp/config17934326711392685240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:12:21.257Z] ---> docker-login.sh [2023-09-12T22:12:21.257Z] nexus3.edgexfoundry.org:10001 [2023-09-12T22:12:21.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:12:21.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:12:21.526Z] Configure a credential helper to remove this warning. See [2023-09-12T22:12:21.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:12:21.526Z] [2023-09-12T22:12:21.526Z] Login Succeeded [2023-09-12T22:12:21.526Z] nexus3.edgexfoundry.org:10002 [2023-09-12T22:12:21.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:12:21.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:12:21.794Z] Configure a credential helper to remove this warning. See [2023-09-12T22:12:21.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:12:21.794Z] [2023-09-12T22:12:21.794Z] Login Succeeded [2023-09-12T22:12:22.062Z] nexus3.edgexfoundry.org:10003 [2023-09-12T22:12:22.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:12:22.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:12:22.332Z] Configure a credential helper to remove this warning. See [2023-09-12T22:12:22.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:12:22.332Z] [2023-09-12T22:12:22.332Z] Login Succeeded [2023-09-12T22:12:22.332Z] nexus3.edgexfoundry.org:10004 [2023-09-12T22:12:22.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:12:22.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:12:22.868Z] Configure a credential helper to remove this warning. See [2023-09-12T22:12:22.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:12:22.868Z] [2023-09-12T22:12:22.868Z] Login Succeeded [2023-09-12T22:12:22.868Z] docker.io [2023-09-12T22:12:23.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T22:12:23.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T22:12:23.404Z] Configure a credential helper to remove this warning. See [2023-09-12T22:12:23.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T22:12:23.404Z] [2023-09-12T22:12:23.404Z] Login Succeeded [2023-09-12T22:12:23.404Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T22:12:23.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:12:23.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T22:12:23.462Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-09-12T22:12:23.463Z] 1e145ee1301df0b97f405486925368d7c560441a [2023-09-12T22:12:23.463Z] latest [2023-09-12T22:12:23.463Z] 3.1.0-dev.3 [2023-09-12T22:12:23.463Z] 1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3 [2023-09-12T22:12:23.463Z] main [2023-09-12T22:12:23.463Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:23.807Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e145ee1301df0b97f405486925368d7c560441a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:24.176Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e145ee1301df0b97f405486925368d7c560441a [2023-09-12T22:12:24.176Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-12T22:12:24.176Z] 5950470da7d0: Preparing [2023-09-12T22:12:24.176Z] a9b321d47cd1: Preparing [2023-09-12T22:12:24.176Z] ed99fbb3668f: Preparing [2023-09-12T22:12:24.176Z] 69eb22615789: Preparing [2023-09-12T22:12:24.176Z] b2191e2be29d: Preparing [2023-09-12T22:12:24.176Z] b2191e2be29d: Layer already exists [2023-09-12T22:12:24.445Z] 5950470da7d0: Pushed [2023-09-12T22:12:24.445Z] a9b321d47cd1: Pushed [2023-09-12T22:12:24.445Z] 69eb22615789: Pushed [2023-09-12T22:12:29.873Z] ed99fbb3668f: Pushed [2023-09-12T22:12:29.873Z] 1e145ee1301df0b97f405486925368d7c560441a: digest: sha256:f80ff422c439af8760fda26dc3963b56a237df457c50d282222fa64f62b3ae57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:30.252Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:30.605Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-09-12T22:12:30.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-12T22:12:30.605Z] 5950470da7d0: Preparing [2023-09-12T22:12:30.605Z] a9b321d47cd1: Preparing [2023-09-12T22:12:30.605Z] ed99fbb3668f: Preparing [2023-09-12T22:12:30.605Z] 69eb22615789: Preparing [2023-09-12T22:12:30.605Z] b2191e2be29d: Preparing [2023-09-12T22:12:30.605Z] b2191e2be29d: Layer already exists [2023-09-12T22:12:30.605Z] a9b321d47cd1: Layer already exists [2023-09-12T22:12:30.605Z] ed99fbb3668f: Layer already exists [2023-09-12T22:12:30.605Z] 5950470da7d0: Layer already exists [2023-09-12T22:12:30.605Z] 69eb22615789: Layer already exists [2023-09-12T22:12:30.873Z] latest: digest: sha256:f80ff422c439af8760fda26dc3963b56a237df457c50d282222fa64f62b3ae57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:31.232Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:31.590Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.3 [2023-09-12T22:12:31.590Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-12T22:12:31.590Z] 5950470da7d0: Preparing [2023-09-12T22:12:31.590Z] a9b321d47cd1: Preparing [2023-09-12T22:12:31.590Z] ed99fbb3668f: Preparing [2023-09-12T22:12:31.590Z] 69eb22615789: Preparing [2023-09-12T22:12:31.590Z] b2191e2be29d: Preparing [2023-09-12T22:12:31.590Z] ed99fbb3668f: Layer already exists [2023-09-12T22:12:31.590Z] b2191e2be29d: Layer already exists [2023-09-12T22:12:31.590Z] a9b321d47cd1: Layer already exists [2023-09-12T22:12:31.590Z] 69eb22615789: Layer already exists [2023-09-12T22:12:31.590Z] 5950470da7d0: Layer already exists [2023-09-12T22:12:31.590Z] 3.1.0-dev.3: digest: sha256:f80ff422c439af8760fda26dc3963b56a237df457c50d282222fa64f62b3ae57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:32.221Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:32.567Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3 [2023-09-12T22:12:32.568Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-12T22:12:32.568Z] 5950470da7d0: Preparing [2023-09-12T22:12:32.568Z] a9b321d47cd1: Preparing [2023-09-12T22:12:32.568Z] ed99fbb3668f: Preparing [2023-09-12T22:12:32.568Z] 69eb22615789: Preparing [2023-09-12T22:12:32.568Z] b2191e2be29d: Preparing [2023-09-12T22:12:32.568Z] a9b321d47cd1: Layer already exists [2023-09-12T22:12:32.568Z] 69eb22615789: Layer already exists [2023-09-12T22:12:32.568Z] ed99fbb3668f: Layer already exists [2023-09-12T22:12:32.568Z] b2191e2be29d: Layer already exists [2023-09-12T22:12:32.568Z] 5950470da7d0: Layer already exists [2023-09-12T22:12:32.568Z] 1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3: digest: sha256:f80ff422c439af8760fda26dc3963b56a237df457c50d282222fa64f62b3ae57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:33.189Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:33.553Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-09-12T22:12:33.553Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-12T22:12:33.553Z] 5950470da7d0: Preparing [2023-09-12T22:12:33.553Z] a9b321d47cd1: Preparing [2023-09-12T22:12:33.553Z] ed99fbb3668f: Preparing [2023-09-12T22:12:33.553Z] 69eb22615789: Preparing [2023-09-12T22:12:33.553Z] b2191e2be29d: Preparing [2023-09-12T22:12:33.553Z] b2191e2be29d: Layer already exists [2023-09-12T22:12:33.553Z] 69eb22615789: Layer already exists [2023-09-12T22:12:33.553Z] ed99fbb3668f: Layer already exists [2023-09-12T22:12:33.553Z] a9b321d47cd1: Layer already exists [2023-09-12T22:12:33.553Z] 5950470da7d0: Layer already exists [2023-09-12T22:12:33.821Z] main: digest: sha256:f80ff422c439af8760fda26dc3963b56a237df457c50d282222fa64f62b3ae57 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T22:12:33.885Z] ===================================================== [Pipeline] echo [2023-09-12T22:12:33.895Z] taggedImages: [2023-09-12T22:12:33.895Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e145ee1301df0b97f405486925368d7c560441a [2023-09-12T22:12:33.895Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-09-12T22:12:33.895Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.3 [2023-09-12T22:12:33.895Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:1e145ee1301df0b97f405486925368d7c560441a-3.1.0-dev.3 [2023-09-12T22:12:33.895Z] - 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-09-12T22:12:34.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:12:34.270Z] [2023-09-12T22:12:34.270Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:12:34.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:12:34.885Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T22:12:34.885Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T22:12:34.885Z] 04944245beec: Pulling fs layer [2023-09-12T22:12:34.885Z] 699f458cf7ca: Pulling fs layer [2023-09-12T22:12:34.885Z] 765212b225bb: Pulling fs layer [2023-09-12T22:12:34.885Z] f23df028b6ca: Pulling fs layer [2023-09-12T22:12:34.885Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T22:12:34.885Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T22:12:34.885Z] f23df028b6ca: Waiting [2023-09-12T22:12:34.885Z] 765212b225bb: Waiting [2023-09-12T22:12:34.885Z] d65c8cfc05b1: Waiting [2023-09-12T22:12:34.885Z] 2437ff75d9bd: Waiting [2023-09-12T22:12:34.885Z] 04944245beec: Verifying Checksum [2023-09-12T22:12:34.885Z] 04944245beec: Download complete [2023-09-12T22:12:34.885Z] 765212b225bb: Verifying Checksum [2023-09-12T22:12:34.886Z] 765212b225bb: Download complete [2023-09-12T22:12:34.886Z] f23df028b6ca: Download complete [2023-09-12T22:12:34.886Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T22:12:34.886Z] d65c8cfc05b1: Download complete [2023-09-12T22:12:35.160Z] 699f458cf7ca: Verifying Checksum [2023-09-12T22:12:35.160Z] 699f458cf7ca: Download complete [2023-09-12T22:12:35.430Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T22:12:35.430Z] 8998bd30e6a1: Download complete [2023-09-12T22:12:37.629Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T22:12:37.629Z] 2437ff75d9bd: Download complete [2023-09-12T22:12:39.580Z] 8998bd30e6a1: Pull complete [2023-09-12T22:12:39.847Z] 04944245beec: Pull complete [2023-09-12T22:12:41.261Z] 699f458cf7ca: Pull complete [2023-09-12T22:12:41.261Z] 765212b225bb: Pull complete [2023-09-12T22:12:42.223Z] f23df028b6ca: Pull complete [2023-09-12T22:12:42.223Z] d65c8cfc05b1: Pull complete [2023-09-12T22:12:57.252Z] 2437ff75d9bd: Pull complete [2023-09-12T22:12:57.252Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T22:12:57.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:12:57.252Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:12:57.463Z] prd-ubuntu20.04-docker-arm64-4c-16g-6025 does not seem to be running inside a container [2023-09-12T22:12:57.570Z] $ 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/89 -v /w/workspace/device-snmp-go/89:/w/workspace/device-snmp-go/89:rw,z -v /w/workspace/device-snmp-go/89@tmp:/w/workspace/device-snmp-go/89@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T22:13:01.106Z] $ docker top 82475f90c0adefb7f68d3c6ade4fe09bced1dfe7c75fde5cbada02e8fa570ba1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:01.932Z] ---> job-cost.sh [2023-09-12T22:13:01.932Z] lf-activate-venv: SKIPPING [2023-09-12T22:13:01.932Z] INFO: No Stack... [2023-09-12T22:13:02.199Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T22:13:03.161Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:13:03.810Z] + cat /w/workspace/device-snmp-go/89/archives/cost.csv [2023-09-12T22:13:03.810Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T22:13:03.886Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-89-stack-cost] [2023-09-12T22:13:03.892Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-89-stack-cost] did not exist. Created. [2023-09-12T22:13:03.892Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-89-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:13:04.553Z] /w/workspace/device-snmp-go/89@tmp/durable-0d46feca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T22:13:05.211Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T22:13:05.227Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T22:13:05.286Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:13:05.299Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-89-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:13:05.349Z] $ docker stop --time=1 82475f90c0adefb7f68d3c6ade4fe09bced1dfe7c75fde5cbada02e8fa570ba1 [2023-09-12T22:13:06.908Z] $ docker rm -f --volumes 82475f90c0adefb7f68d3c6ade4fe09bced1dfe7c75fde5cbada02e8fa570ba1 [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-09-12T22:13:07.307Z] provisioning config files... [2023-09-12T22:13:07.314Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6406741606228476115tmp [Pipeline] { [Pipeline] sh [2023-09-12T22:13:07.609Z] + set +x [2023-09-12T22:13:07.609Z] + curl -s https://codecov.io/bash [2023-09-12T22:13:07.609Z] + bash -s -- [2023-09-12T22:13:07.609Z] [2023-09-12T22:13:07.609Z] _____ _ [2023-09-12T22:13:07.609Z] / ____| | | [2023-09-12T22:13:07.609Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T22:13:07.609Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T22:13:07.609Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T22:13:07.609Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T22:13:07.609Z] Bash-1.0.6 [2023-09-12T22:13:07.609Z] [2023-09-12T22:13:07.609Z] [2023-09-12T22:13:07.609Z] ==> git version 2.25.1 found [2023-09-12T22:13:07.609Z] ==> 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-09-12T22:13:07.609Z] Release-Date: 2020-01-08 [2023-09-12T22:13:07.609Z] 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-09-12T22:13:07.609Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T22:13:07.609Z] ==> Jenkins CI detected. [2023-09-12T22:13:07.609Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-09-12T22:13:07.609Z] project root: . [2023-09-12T22:13:07.609Z] --> token set from env [2023-09-12T22:13:07.609Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T22:13:07.609Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T22:13:07.609Z] ==> Python coveragepy not found [2023-09-12T22:13:07.609Z] ==> Searching for coverage reports in: [2023-09-12T22:13:07.609Z] + . [2023-09-12T22:13:07.609Z] -> Found 1 reports [2023-09-12T22:13:07.609Z] ==> Detecting git/mercurial file structure [2023-09-12T22:13:07.609Z] ==> Reading reports [2023-09-12T22:13:07.609Z] + ./coverage.out bytes=8837 [2023-09-12T22:13:07.609Z] ==> Appending adjustments [2023-09-12T22:13:07.609Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T22:13:07.868Z] + Found adjustments [2023-09-12T22:13:07.868Z] ==> Gzipping contents [2023-09-12T22:13:07.868Z] 4.0K /tmp/codecov.O3AIca.gz [2023-09-12T22:13:07.868Z] ==> Uploading reports [2023-09-12T22:13:07.868Z] url: https://codecov.io [2023-09-12T22:13:07.868Z] query: branch=main&commit=1e145ee1301df0b97f405486925368d7c560441a&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:13:07.868Z] -> Pinging Codecov [2023-09-12T22:13:07.868Z] 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=1e145ee1301df0b97f405486925368d7c560441a&build=89&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F89%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T22:13:07.868Z] -> Uploading to [2023-09-12T22:13:07.868Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/6C56EA5C29638FB4528AC87E60AF5AE0/1e145ee1301df0b97f405486925368d7c560441a/9421b381-4871-4267-b94a-c722a3b8873c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T221307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bcb97c2d0e638c5d78f12a04772bfef9052dec13dd28b6436d572cf050969dc1 [2023-09-12T22:13:07.868Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:13:07.868Z] Dload Upload Total Spent Left Speed [2023-09-12T22:13:08.126Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8310 --:--:-- --:--:-- --:--:-- 8268 [2023-09-12T22:13:08.126Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/1e145ee1301df0b97f405486925368d7c560441a [Pipeline] } [2023-09-12T22:13:08.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-12T22:13:08.265Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-12T22:13:08.279Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:08.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:13:08.571Z] [2023-09-12T22:13:08.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:08.868Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:13:08.868Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-12T22:13:08.868Z] df9b9388f04a: Pulling fs layer [2023-09-12T22:13:08.868Z] 52dc419b0ee2: Pulling fs layer [2023-09-12T22:13:08.868Z] 25bc292e5bac: Pulling fs layer [2023-09-12T22:13:08.868Z] 114826534d7a: Pulling fs layer [2023-09-12T22:13:08.868Z] 4657fd5d0bcf: Pulling fs layer [2023-09-12T22:13:08.868Z] 6ad1cebc031e: Pulling fs layer [2023-09-12T22:13:08.868Z] 8a3aa393b2d8: Pulling fs layer [2023-09-12T22:13:08.868Z] 6ad1cebc031e: Waiting [2023-09-12T22:13:08.868Z] 8a3aa393b2d8: Waiting [2023-09-12T22:13:08.868Z] 4657fd5d0bcf: Waiting [2023-09-12T22:13:08.868Z] 114826534d7a: Waiting [2023-09-12T22:13:08.868Z] 25bc292e5bac: Verifying Checksum [2023-09-12T22:13:08.868Z] 25bc292e5bac: Download complete [2023-09-12T22:13:08.868Z] 52dc419b0ee2: Verifying Checksum [2023-09-12T22:13:08.868Z] 52dc419b0ee2: Download complete [2023-09-12T22:13:08.868Z] 4657fd5d0bcf: Download complete [2023-09-12T22:13:08.868Z] df9b9388f04a: Verifying Checksum [2023-09-12T22:13:08.868Z] df9b9388f04a: Download complete [2023-09-12T22:13:09.128Z] df9b9388f04a: Pull complete [2023-09-12T22:13:09.128Z] 6ad1cebc031e: Verifying Checksum [2023-09-12T22:13:09.128Z] 6ad1cebc031e: Download complete [2023-09-12T22:13:09.128Z] 52dc419b0ee2: Pull complete [2023-09-12T22:13:09.386Z] 25bc292e5bac: Pull complete [2023-09-12T22:13:09.644Z] 114826534d7a: Verifying Checksum [2023-09-12T22:13:09.644Z] 114826534d7a: Download complete [2023-09-12T22:13:09.902Z] 8a3aa393b2d8: Verifying Checksum [2023-09-12T22:13:09.902Z] 8a3aa393b2d8: Download complete [2023-09-12T22:13:13.184Z] 114826534d7a: Pull complete [2023-09-12T22:13:13.184Z] 4657fd5d0bcf: Pull complete [2023-09-12T22:13:13.184Z] 6ad1cebc031e: Pull complete [2023-09-12T22:13:15.714Z] 8a3aa393b2d8: Pull complete [2023-09-12T22:13:15.714Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-12T22:13:15.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T22:13:15.714Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:15.798Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:13:15.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-12T22:13:20.755Z] $ docker top 6026185f75ff20a4817527eaafcf5d521307019432b6b351fc78c53491cac79f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-12T22:13:20.835Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-09-12T22:13:21.113Z] + set -o pipefail [2023-09-12T22:13:21.113Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-09-12T22:13:26.383Z] [2023-09-12T22:13:26.383Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-09-12T22:13:26.383Z] [2023-09-12T22:13:26.383Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/21861286-5731-45cc-bfbf-5340016488f4 [2023-09-12T22:13:26.383Z] [2023-09-12T22:13:26.383Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-12T22:13:26.383Z] [2023-09-12T22:13:26.383Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-12T22:13:26.383Z] [2023-09-12T22:13:26.383Z] [2023-09-12T22:13:26.383Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-12T22:13:26.383Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-12T22:13:26.383Z] More details here: https://snyk.co/ue1NS [2023-09-12T22:13:26.383Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-12T22:13:26.383Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-12T22:13:26.380Z] $ docker stop --time=1 6026185f75ff20a4817527eaafcf5d521307019432b6b351fc78c53491cac79f [2023-09-12T22:13:30.291Z] $ docker rm -f --volumes 6026185f75ff20a4817527eaafcf5d521307019432b6b351fc78c53491cac79f [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-09-12T22:13:30.998Z] + git log --format=format:%s -1 1e145ee1301df0b97f405486925368d7c560441a [Pipeline] sh [2023-09-12T22:13:31.290Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:13:31.290Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:31.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:13:31.589Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:31.652Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:13:31.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T22:13:32.077Z] $ docker top e5a14426152ad8b5e4ebb0e3cb81634de79efeb128be3cf3742960de7e9d64cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:13:32.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:13:32.179Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:13:32.294Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:13:32.282Z] $ docker exec e5a14426152ad8b5e4ebb0e3cb81634de79efeb128be3cf3742960de7e9d64cb ssh-agent [2023-09-12T22:13:32.406Z] SSH_AUTH_SOCK=/tmp/ssh-EqrFVUagwFRt/agent.30 [2023-09-12T22:13:32.406Z] SSH_AGENT_PID=36 [2023-09-12T22:13:32.411Z] Running ssh-add (command line suppressed) [2023-09-12T22:13:32.499Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16072348428423326379.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16072348428423326379.key) [2023-09-12T22:13:32.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:13:32.818Z] + git semver tag [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:32,990 [run_tag] DEBUG tag force:False [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:32,990 [check_head_tag] DEBUG check head tag [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:32,991 [execute] INFO git cat-file --batch-check [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:32,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:32,995 [execute] INFO git cat-file --batch [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:32,995 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:33,005 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:33,006 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:33,006 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:13:33.077Z] 2023-09-12 22:13:33,012 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-12T22:13:33.077Z] 3.1.0-dev.3 [Pipeline] } [2023-09-12T22:13:33.071Z] $ docker exec --env ******** --env ******** e5a14426152ad8b5e4ebb0e3cb81634de79efeb128be3cf3742960de7e9d64cb ssh-agent -k [2023-09-12T22:13:33.172Z] unset SSH_AUTH_SOCK; [2023-09-12T22:13:33.172Z] unset SSH_AGENT_PID; [2023-09-12T22:13:33.173Z] echo Agent pid 36 killed; [2023-09-12T22:13:33.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:13:33.499Z] + git semver [Pipeline] } [2023-09-12T22:13:33.755Z] $ docker stop --time=1 e5a14426152ad8b5e4ebb0e3cb81634de79efeb128be3cf3742960de7e9d64cb [2023-09-12T22:13:35.017Z] $ docker rm -f --volumes e5a14426152ad8b5e4ebb0e3cb81634de79efeb128be3cf3742960de7e9d64cb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:35.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:13:35.408Z] [2023-09-12T22:13:35.408Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:35.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:13:35.706Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-12T22:13:35.706Z] ab5ef0e58194: Pulling fs layer [2023-09-12T22:13:35.706Z] 9712f1f96733: Pulling fs layer [2023-09-12T22:13:35.706Z] 63f879dbbcfc: Pulling fs layer [2023-09-12T22:13:35.706Z] 0d9ebad4ef96: Pulling fs layer [2023-09-12T22:13:35.706Z] e9a5061849ea: Pulling fs layer [2023-09-12T22:13:35.706Z] d747dcd14b5f: Pulling fs layer [2023-09-12T22:13:35.706Z] 2de7ff778b66: Pulling fs layer [2023-09-12T22:13:35.706Z] 0d9ebad4ef96: Waiting [2023-09-12T22:13:35.706Z] e9a5061849ea: Waiting [2023-09-12T22:13:35.706Z] d747dcd14b5f: Waiting [2023-09-12T22:13:35.706Z] 2de7ff778b66: Waiting [2023-09-12T22:13:35.706Z] 9712f1f96733: Verifying Checksum [2023-09-12T22:13:35.706Z] 9712f1f96733: Download complete [2023-09-12T22:13:35.972Z] 63f879dbbcfc: Verifying Checksum [2023-09-12T22:13:35.972Z] 63f879dbbcfc: Download complete [2023-09-12T22:13:36.233Z] e9a5061849ea: Verifying Checksum [2023-09-12T22:13:36.233Z] e9a5061849ea: Download complete [2023-09-12T22:13:36.233Z] d747dcd14b5f: Download complete [2023-09-12T22:13:36.233Z] 0d9ebad4ef96: Verifying Checksum [2023-09-12T22:13:36.233Z] 0d9ebad4ef96: Download complete [2023-09-12T22:13:36.233Z] ab5ef0e58194: Verifying Checksum [2023-09-12T22:13:36.233Z] ab5ef0e58194: Download complete [2023-09-12T22:13:36.233Z] 2de7ff778b66: Verifying Checksum [2023-09-12T22:13:36.233Z] 2de7ff778b66: Download complete [2023-09-12T22:13:38.765Z] ab5ef0e58194: Pull complete [2023-09-12T22:13:38.765Z] 9712f1f96733: Pull complete [2023-09-12T22:13:39.702Z] 63f879dbbcfc: Pull complete [2023-09-12T22:13:43.885Z] 0d9ebad4ef96: Pull complete [2023-09-12T22:13:43.885Z] e9a5061849ea: Pull complete [2023-09-12T22:13:43.885Z] d747dcd14b5f: Pull complete [2023-09-12T22:13:44.821Z] 2de7ff778b66: Pull complete [2023-09-12T22:13:44.821Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-12T22:13:44.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T22:13:44.821Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:44.912Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:13:44.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-12T22:13:50.443Z] $ docker top 83ffefac2648dccf9cef258860f908d06b69f1d2ad2c80d75a84a80a49ccde22 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:13:50.515Z] provisioning config files... [2023-09-12T22:13:50.521Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5962602683848830643tmp [2023-09-12T22:13:50.530Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5973631195264165287tmp [2023-09-12T22:13:50.538Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6784893259184848669tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:13:50.553Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:50.833Z] ---> sigul-configuration.sh [2023-09-12T22:13:50.833Z] gpg: directory `/root/.gnupg' created [2023-09-12T22:13:50.833Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-12T22:13:50.833Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-12T22:13:50.833Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-12T22:13:50.833Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-12T22:13:50.833Z] gpg: CAST5 encrypted data [2023-09-12T22:13:50.833Z] gpg: encrypted with 1 passphrase [2023-09-12T22:13:50.833Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-12T22:13:51.112Z] + mkdir /home/jenkins [2023-09-12T22:13:51.112Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-12T22:13:51.391Z] + 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-09-12T22:13:51.399Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:51.682Z] ---> sigul-install.sh [2023-09-12T22:13:51.682Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-12T22:13:51.966Z] + git tag --list [2023-09-12T22:13:51.966Z] 1.0.0 [2023-09-12T22:13:51.966Z] v0.0.0 [2023-09-12T22:13:51.966Z] v1.1.0 [2023-09-12T22:13:51.966Z] v1.1.1 [2023-09-12T22:13:51.966Z] v1.2.2 [2023-09-12T22:13:51.966Z] v1.3.0 [2023-09-12T22:13:51.966Z] v1.3.1 [2023-09-12T22:13:51.966Z] v2.0.0 [2023-09-12T22:13:51.966Z] v2.1.0 [2023-09-12T22:13:51.966Z] v2.1.1 [2023-09-12T22:13:51.966Z] v2.2.0 [2023-09-12T22:13:51.966Z] v2.3.0 [2023-09-12T22:13:51.966Z] v3.0 [2023-09-12T22:13:51.966Z] v3.0.0 [2023-09-12T22:13:51.966Z] v3.1.0-dev.1 [2023-09-12T22:13:51.966Z] v3.1.0-dev.2 [2023-09-12T22:13:51.966Z] v3.1.0-dev.3 [Pipeline] sh [2023-09-12T22:13:52.252Z] + lftools sign git-tag v3.1.0-dev.3 [2023-09-12T22:13:52.822Z] Signing Git tag with Sigul... [2023-09-12T22:13:52.822Z] Signing v3.1.0-dev.3 [Pipeline] echo [2023-09-12T22:13:53.091Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:13:53.374Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-12T22:13:53.381Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-12T22:13:53.385Z] $ docker stop --time=1 83ffefac2648dccf9cef258860f908d06b69f1d2ad2c80d75a84a80a49ccde22 [2023-09-12T22:13:54.703Z] $ docker rm -f --volumes 83ffefac2648dccf9cef258860f908d06b69f1d2ad2c80d75a84a80a49ccde22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-12T22:13:55.131Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:13:55.131Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:55.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:13:55.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:55.506Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:13:55.519Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T22:13:55.832Z] $ docker top e20fa07442775554b190323e3fff079372ac99dd8dd51e836ec4f3f2c6d8e4aa -eo pid,comm [2023-09-12T22:13:55.893Z] 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-09-12T22:13:55.893Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:13:55.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:13:55.933Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:13:56.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:13:56.044Z] $ docker exec e20fa07442775554b190323e3fff079372ac99dd8dd51e836ec4f3f2c6d8e4aa ssh-agent [2023-09-12T22:13:56.164Z] SSH_AUTH_SOCK=/tmp/ssh-dSqcRD3QEEhT/agent.32 [2023-09-12T22:13:56.164Z] SSH_AGENT_PID=37 [2023-09-12T22:13:56.169Z] Running ssh-add (command line suppressed) [2023-09-12T22:13:56.258Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16644772917675840244.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16644772917675840244.key) [2023-09-12T22:13:56.289Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:13:56.578Z] + git semver bump pre [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,739 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,739 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,739 [bump_version] DEBUG bumped version:3.1.0-dev.4 [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,739 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,739 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,739 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,741 [execute] INFO git cat-file --batch-check [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,746 [execute] INFO git cat-file --batch [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:13:56.836Z] 2023-09-12 22:13:56,751 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-12T22:13:56.836Z] 3.1.0-dev.4 [Pipeline] } [2023-09-12T22:13:56.830Z] $ docker exec --env ******** --env ******** e20fa07442775554b190323e3fff079372ac99dd8dd51e836ec4f3f2c6d8e4aa ssh-agent -k [2023-09-12T22:13:56.930Z] unset SSH_AUTH_SOCK; [2023-09-12T22:13:56.931Z] unset SSH_AGENT_PID; [2023-09-12T22:13:56.931Z] echo Agent pid 37 killed; [2023-09-12T22:13:56.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:13:57.251Z] + git semver [Pipeline] } [2023-09-12T22:13:57.513Z] $ docker stop --time=1 e20fa07442775554b190323e3fff079372ac99dd8dd51e836ec4f3f2c6d8e4aa [2023-09-12T22:13:58.804Z] $ docker rm -f --volumes e20fa07442775554b190323e3fff079372ac99dd8dd51e836ec4f3f2c6d8e4aa [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:13:59.147Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:13:59.147Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:13:59.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:13:59.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:13:59.514Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:13:59.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T22:13:59.862Z] $ docker top fc07b2762f20a17b670e506fc664698c18a3c39c460e0cf90d8a99d78ac09b07 -eo pid,comm [2023-09-12T22:13:59.922Z] 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-09-12T22:13:59.922Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:13:59.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:13:59.965Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:14:00.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:14:00.065Z] $ docker exec fc07b2762f20a17b670e506fc664698c18a3c39c460e0cf90d8a99d78ac09b07 ssh-agent [2023-09-12T22:14:00.178Z] SSH_AUTH_SOCK=/tmp/ssh-SOGs4LeAx3UB/agent.32 [2023-09-12T22:14:00.178Z] SSH_AGENT_PID=38 [2023-09-12T22:14:00.182Z] Running ssh-add (command line suppressed) [2023-09-12T22:14:00.263Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15277189663976789699.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_15277189663976789699.key) [2023-09-12T22:14:00.295Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:14:00.579Z] + git semver push [2023-09-12T22:14:00.837Z] 2023-09-12 22:14:00,725 [run_push] DEBUG push [2023-09-12T22:14:00.837Z] 2023-09-12 22:14:00,726 [execute] INFO git cat-file --batch-check [2023-09-12T22:14:00.837Z] 2023-09-12 22:14:00,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:14:00.837Z] 2023-09-12 22:14:00,729 [execute] INFO git rev-list 8fc664080df25f24ff13aba197167fc71f818acf -- [2023-09-12T22:14:00.837Z] 2023-09-12 22:14:00,730 [execute] DEBUG Popen(['git', 'rev-list', '8fc664080df25f24ff13aba197167fc71f818acf', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:14:00.837Z] 2023-09-12 22:14:00,735 [execute] INFO git fetch -v origin [2023-09-12T22:14:00.837Z] 2023-09-12 22:14:00,735 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-12T22:14:01.404Z] 2023-09-12 22:14:01,201 [run_push] DEBUG no remote changes detected [2023-09-12T22:14:01.404Z] 2023-09-12 22:14:01,201 [execute] INFO git push origin semver [2023-09-12T22:14:01.404Z] 2023-09-12 22:14:01,202 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:14:01.976Z] 2023-09-12 22:14:01,943 [run_push] DEBUG push all version tags [2023-09-12T22:14:01.976Z] 2023-09-12 22:14:01,944 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-12T22:14:01.976Z] 2023-09-12 22:14:01,944 [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-09-12T22:14:02.914Z] 2023-09-12 22:14:02,709 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-12T22:14:02.914Z] 3.1.0-dev.4 [Pipeline] } [2023-09-12T22:14:02.909Z] $ docker exec --env ******** --env ******** fc07b2762f20a17b670e506fc664698c18a3c39c460e0cf90d8a99d78ac09b07 ssh-agent -k [2023-09-12T22:14:03.017Z] unset SSH_AUTH_SOCK; [2023-09-12T22:14:03.017Z] unset SSH_AGENT_PID; [2023-09-12T22:14:03.017Z] echo Agent pid 38 killed; [2023-09-12T22:14:03.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:14:03.353Z] + git semver [Pipeline] } [2023-09-12T22:14:03.610Z] $ docker stop --time=1 fc07b2762f20a17b670e506fc664698c18a3c39c460e0cf90d8a99d78ac09b07 [2023-09-12T22:14:04.889Z] $ docker rm -f --volumes fc07b2762f20a17b670e506fc664698c18a3c39c460e0cf90d8a99d78ac09b07 [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-09-12T22:14:05.558Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-09-12T22:14:05.558Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-09-12T22:14:05.558Z] total 16 [2023-09-12T22:14:05.558Z] drwxr-xr-x 3 root root 4096 Sep 12 22:04 . [2023-09-12T22:14:05.558Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:13 .. [2023-09-12T22:14:05.558Z] drwxr-xr-x 2 root root 4096 Sep 12 22:04 cost [2023-09-12T22:14:05.558Z] -rw-r--r-- 1 root root 85 Sep 12 22:04 cost.csv [2023-09-12T22:14:05.558Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-09-12T22:14:05.558Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-09-12T22:14:05.558Z] total 16 [2023-09-12T22:14:05.558Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 22:04 . [2023-09-12T22:14:05.558Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:13 .. [2023-09-12T22:14:05.558Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 22:04 cost [2023-09-12T22:14:05.558Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 12 22:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:14:05.902Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:14:06.767Z] ---> package-listing.sh [2023-09-12T22:14:06.767Z] ++ facter osfamily [2023-09-12T22:14:06.767Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T22:14:07.024Z] + OS_FAMILY=debian [2023-09-12T22:14:07.024Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-09-12T22:14:07.024Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T22:14:07.024Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T22:14:07.024Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T22:14:07.024Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T22:14:07.024Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-09-12T22:14:07.024Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T22:14:07.024Z] + case "${OS_FAMILY}" in [2023-09-12T22:14:07.024Z] + dpkg -l [2023-09-12T22:14:07.024Z] + grep '^ii' [2023-09-12T22:14:07.024Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T22:14:07.024Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T22:14:07.024Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T22:14:07.024Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-09-12T22:14:07.024Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-09-12T22:14:07.024Z] + 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-09-12T22:14:07.033Z] 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-09-12T22:14:07.307Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:14:07.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:14:07.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:14:07.933Z] prd-ubuntu20.04-docker-8c-8g-6020 does not seem to be running inside a container [2023-09-12T22:14:07.943Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T22:14:08.205Z] $ docker top 7369acf403013b661d4fb95216305273c37766a60e14b2519496d434885be547 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:14:08.561Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T22:14:08.840Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T22:14:09.123Z] + ls /var/log/sa-host [2023-09-12T22:14:09.123Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:14:09.198Z] provisioning config files... [2023-09-12T22:14:09.207Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1501381373392646904tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:14:09.221Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:14:09.499Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T22:14:09.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:14:09.840Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T22:14:09.847Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:14:10.125Z] ---> sudo-logs.sh [2023-09-12T22:14:10.125Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T22:14:10.152Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:14:10.433Z] ---> job-cost.sh [2023-09-12T22:14:10.433Z] lf-activate-venv: SKIPPING [2023-09-12T22:14:10.433Z] DEBUG: total: 0.2199999988079071 [2023-09-12T22:14:10.433Z] INFO: Retrieving Stack Cost... [2023-09-12T22:14:10.999Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:14:11.257Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T22:14:11.269Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:14:11.548Z] ---> logs-deploy.sh [2023-09-12T22:14:11.548Z] lf-activate-venv: SKIPPING [2023-09-12T22:14:11.548Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/89 [2023-09-12T22:14:11.548Z] INFO: archiving workspace using pattern(s): [2023-09-12T22:14:12.483Z] Archives upload complete. [2023-09-12T22:14:12.483Z] INFO: archiving logs to Nexus