Started by user Lenny Goodell Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 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-ssh10073092789923024889.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh8112209294821929935.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh16097867506443135237.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh4429568226373122394.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-ssh5470352703547753914.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17384 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 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#330)" > 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 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 > git rev-list --no-walk 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-13T20:44:34.334Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-13T20:44:34.398Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-13T20:44:34.418Z] ========================================================= [2023-11-13T20:44:34.418Z] EdgeX Global Pipelines Version Info [2023-11-13T20:44:34.418Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:44:35.514Z] ------------------- [2023-11-13T20:44:35.515Z] stable info: [2023-11-13T20:44:35.515Z] ------------------- [2023-11-13T20:44:35.515Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-13T20:44:35.515Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-13T20:44:35.515Z] Message: update stable to v1.0.257 [2023-11-13T20:44:36.083Z] ------------------- [2023-11-13T20:44:36.083Z] experimental info: [2023-11-13T20:44:36.083Z] ------------------- [2023-11-13T20:44:36.083Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-13T20:44:36.083Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-13T20:44:36.083Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-13T20:44:36.214Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-11-13T20:44:36.227Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-11-13T20:44:36.243Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-13T20:44:36.260Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-13T20:44:36.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-13T20:44:36.285Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-13T20:44:36.303Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-13T20:44:36.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-13T20:44:36.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-13T20:44:36.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-13T20:44:36.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-13T20:44:36.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-11-13T20:44:36.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-13T20:44:36.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-13T20:44:36.419Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-13T20:44:36.435Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-13T20:44:36.448Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-13T20:44:36.465Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-13T20:44:36.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-13T20:44:36.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-13T20:44:36.516Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-13T20:44:36.530Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-13T20:44:36.542Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-13T20:44:36.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-13T20:44:36.577Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-13T20:44:36.595Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-13T20:44:36.611Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-13T20:44:36.622Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-13T20:44:36.638Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-13T20:44:36.656Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-13T20:44:36.674Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] echo [2023-11-13T20:44:36.695Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e94b9f [Pipeline] echo [2023-11-13T20:44:36.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-13T20:44:36.762Z] provisioning config files... [2023-11-13T20:44:36.777Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16951823735866035199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:44:37.080Z] ---> docker-login.sh [2023-11-13T20:44:37.080Z] nexus3.edgexfoundry.org:10001 [2023-11-13T20:44:38.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:38.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:38.022Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:38.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:38.022Z] [2023-11-13T20:44:38.022Z] Login Succeeded [2023-11-13T20:44:38.022Z] nexus3.edgexfoundry.org:10002 [2023-11-13T20:44:38.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:38.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:38.282Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:38.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:38.282Z] [2023-11-13T20:44:38.282Z] Login Succeeded [2023-11-13T20:44:38.282Z] nexus3.edgexfoundry.org:10003 [2023-11-13T20:44:38.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:38.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:38.282Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:38.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:38.282Z] [2023-11-13T20:44:38.282Z] Login Succeeded [2023-11-13T20:44:38.541Z] nexus3.edgexfoundry.org:10004 [2023-11-13T20:44:38.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:38.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:38.541Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:38.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:38.541Z] [2023-11-13T20:44:38.541Z] Login Succeeded [2023-11-13T20:44:38.541Z] docker.io [2023-11-13T20:44:38.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:38.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:38.802Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:38.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:38.802Z] [2023-11-13T20:44:38.802Z] Login Succeeded [2023-11-13T20:44:38.802Z] ---> docker-login.sh ends [Pipeline] } [2023-11-13T20:44:38.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-13T20:44:39.170Z] + git rev-list -1 --merges 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2~1..7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] echo [2023-11-13T20:44:39.212Z] -----------> git rev-list -1 --merges 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2~1..7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [false] [Pipeline] sh [2023-11-13T20:44:39.499Z] + git log --format=format:%s -1 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] echo [2023-11-13T20:44:39.513Z] ========================================================= [2023-11-13T20:44:39.513Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-13T20:44:39.513Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-13T20:44:39.837Z] + git log --format=format:%s -1 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] echo [2023-11-13T20:44:39.850Z] [semverPrep] GIT_COMMIT: 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#330) [Pipeline] echo [2023-11-13T20:44:39.859Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-13T20:44:40.192Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-13T20:44:40.192Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-13T20:44:40.192Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-13T20:44:40.192Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-13T20:44:40.192Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-13T20:44:40.192Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-13T20:44:40.192Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:44:40.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-13T20:44:40.542Z] [2023-11-13T20:44:40.542Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:44:40.845Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-13T20:44:40.845Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-13T20:44:40.845Z] b85a868b505f: Pulling fs layer [2023-11-13T20:44:40.845Z] e2be974225ed: Pulling fs layer [2023-11-13T20:44:40.845Z] 339a4e72a1f5: Pulling fs layer [2023-11-13T20:44:40.845Z] 988bab9f4d93: Pulling fs layer [2023-11-13T20:44:40.845Z] 1469e6f7b9e6: Pulling fs layer [2023-11-13T20:44:40.845Z] eaf3925da568: Pulling fs layer [2023-11-13T20:44:40.845Z] bab4dde63d76: Pulling fs layer [2023-11-13T20:44:40.845Z] bde34c3a00c8: Pulling fs layer [2023-11-13T20:44:40.845Z] b352a97aabf1: Pulling fs layer [2023-11-13T20:44:40.845Z] 4872d77fe225: Pulling fs layer [2023-11-13T20:44:40.845Z] 5851b861e8e6: Pulling fs layer [2023-11-13T20:44:40.845Z] 1469e6f7b9e6: Waiting [2023-11-13T20:44:40.845Z] 988bab9f4d93: Waiting [2023-11-13T20:44:40.845Z] b352a97aabf1: Waiting [2023-11-13T20:44:40.845Z] eaf3925da568: Waiting [2023-11-13T20:44:40.845Z] 4872d77fe225: Waiting [2023-11-13T20:44:40.845Z] 5851b861e8e6: Waiting [2023-11-13T20:44:40.845Z] bde34c3a00c8: Waiting [2023-11-13T20:44:40.845Z] e2be974225ed: Download complete [2023-11-13T20:44:40.845Z] 988bab9f4d93: Download complete [2023-11-13T20:44:40.845Z] 339a4e72a1f5: Verifying Checksum [2023-11-13T20:44:40.845Z] 339a4e72a1f5: Download complete [2023-11-13T20:44:40.845Z] 1469e6f7b9e6: Verifying Checksum [2023-11-13T20:44:40.845Z] 1469e6f7b9e6: Download complete [2023-11-13T20:44:41.103Z] eaf3925da568: Verifying Checksum [2023-11-13T20:44:41.103Z] eaf3925da568: Download complete [2023-11-13T20:44:41.103Z] bde34c3a00c8: Verifying Checksum [2023-11-13T20:44:41.103Z] bde34c3a00c8: Download complete [2023-11-13T20:44:41.103Z] b352a97aabf1: Verifying Checksum [2023-11-13T20:44:41.103Z] b352a97aabf1: Download complete [2023-11-13T20:44:41.103Z] 4872d77fe225: Verifying Checksum [2023-11-13T20:44:41.103Z] 4872d77fe225: Download complete [2023-11-13T20:44:41.103Z] 5851b861e8e6: Download complete [2023-11-13T20:44:41.103Z] b85a868b505f: Verifying Checksum [2023-11-13T20:44:41.103Z] b85a868b505f: Download complete [2023-11-13T20:44:41.362Z] bab4dde63d76: Verifying Checksum [2023-11-13T20:44:41.362Z] bab4dde63d76: Download complete [2023-11-13T20:44:42.299Z] b85a868b505f: Pull complete [2023-11-13T20:44:42.558Z] e2be974225ed: Pull complete [2023-11-13T20:44:42.817Z] 339a4e72a1f5: Pull complete [2023-11-13T20:44:43.076Z] 988bab9f4d93: Pull complete [2023-11-13T20:44:43.334Z] 1469e6f7b9e6: Pull complete [2023-11-13T20:44:43.334Z] eaf3925da568: Pull complete [2023-11-13T20:44:45.235Z] bab4dde63d76: Pull complete [2023-11-13T20:44:45.235Z] bde34c3a00c8: Pull complete [2023-11-13T20:44:45.235Z] b352a97aabf1: Pull complete [2023-11-13T20:44:45.235Z] 4872d77fe225: Pull complete [2023-11-13T20:44:45.494Z] 5851b861e8e6: Pull complete [2023-11-13T20:44:45.494Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-13T20:44:45.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-13T20:44:45.494Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:44:45.583Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:44:45.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-13T20:44:51.095Z] $ docker top 19e305c356ada683f3d303d40fc524b8146e8f2a964ed8fc41b24ae1a3431254 -eo pid,comm [2023-11-13T20:44:51.166Z] 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-11-13T20:44:51.166Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-13T20:44:51.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-13T20:44:51.196Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-13T20:44:51.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-13T20:44:51.323Z] $ docker exec 19e305c356ada683f3d303d40fc524b8146e8f2a964ed8fc41b24ae1a3431254 ssh-agent [2023-11-13T20:44:51.444Z] SSH_AUTH_SOCK=/tmp/ssh-FwRWtxmcBJA7/agent.15 [2023-11-13T20:44:51.444Z] SSH_AGENT_PID=28 [2023-11-13T20:44:51.451Z] Running ssh-add (command line suppressed) [2023-11-13T20:44:51.569Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4203152806800763426.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4203152806800763426.key) [2023-11-13T20:44:51.583Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-13T20:44:51.871Z] + git tag --points-at HEAD [Pipeline] } [2023-11-13T20:44:51.883Z] $ docker exec --env ******** --env ******** 19e305c356ada683f3d303d40fc524b8146e8f2a964ed8fc41b24ae1a3431254 ssh-agent -k [2023-11-13T20:44:51.974Z] unset SSH_AUTH_SOCK; [2023-11-13T20:44:51.974Z] unset SSH_AGENT_PID; [2023-11-13T20:44:51.975Z] echo Agent pid 28 killed; [2023-11-13T20:44:51.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-13T20:44:52.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-13T20:44:52.010Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-13T20:44:52.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-13T20:44:52.120Z] $ docker exec 19e305c356ada683f3d303d40fc524b8146e8f2a964ed8fc41b24ae1a3431254 ssh-agent [2023-11-13T20:44:52.233Z] SSH_AUTH_SOCK=/tmp/ssh-jkLoH2ooAJ4q/agent.71 [2023-11-13T20:44:52.233Z] SSH_AGENT_PID=77 [2023-11-13T20:44:52.238Z] Running ssh-add (command line suppressed) [2023-11-13T20:44:52.345Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1522799230117342036.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1522799230117342036.key) [2023-11-13T20:44:52.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-13T20:44:52.656Z] + git semver init [2023-11-13T20:44:52.915Z] 2023-11-13 20:44:52,868 [run_init] DEBUG init version:0.0.0 force:False [2023-11-13T20:44:52.915Z] 2023-11-13 20:44:52,870 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-11-13T20:44:52.915Z] 2023-11-13 20:44:52,870 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-11-13T20:44:52.915Z] 2023-11-13 20:44:52,871 [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-11-13T20:44:53.855Z] 2023-11-13 20:44:53,829 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-11-13T20:44:53.855Z] 2023-11-13 20:44:53,830 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-11-13T20:44:53.855Z] 2023-11-13 20:44:53,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-13T20:44:53.855Z] 2023-11-13 20:44:53,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-13T20:44:53.855Z] 3.1.0-dev.12 [Pipeline] } [2023-11-13T20:44:53.865Z] $ docker exec --env ******** --env ******** 19e305c356ada683f3d303d40fc524b8146e8f2a964ed8fc41b24ae1a3431254 ssh-agent -k [2023-11-13T20:44:53.981Z] unset SSH_AUTH_SOCK; [2023-11-13T20:44:53.981Z] unset SSH_AGENT_PID; [2023-11-13T20:44:53.981Z] echo Agent pid 77 killed; [2023-11-13T20:44:53.993Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-13T20:44:54.301Z] + git semver [Pipeline] } [2023-11-13T20:44:54.575Z] $ docker stop --time=1 19e305c356ada683f3d303d40fc524b8146e8f2a964ed8fc41b24ae1a3431254 [2023-11-13T20:44:56.125Z] $ docker rm -f --volumes 19e305c356ada683f3d303d40fc524b8146e8f2a964ed8fc41b24ae1a3431254 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-13T20:44:56.480Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-13T20:44:56.703Z] Stashed 1 file(s) [Pipeline] echo [2023-11-13T20:44:56.706Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [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-11-13T20:44:56.838Z] provisioning config files... [2023-11-13T20:44:56.848Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7931178602323147236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:44:57.142Z] ---> docker-login.sh [2023-11-13T20:44:57.142Z] nexus3.edgexfoundry.org:10001 [2023-11-13T20:44:57.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:57.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:57.142Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:57.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:57.142Z] [2023-11-13T20:44:57.142Z] Login Succeeded [2023-11-13T20:44:57.142Z] nexus3.edgexfoundry.org:10002 [2023-11-13T20:44:57.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:57.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:57.142Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:57.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:57.142Z] [2023-11-13T20:44:57.142Z] Login Succeeded [2023-11-13T20:44:57.142Z] nexus3.edgexfoundry.org:10003 [2023-11-13T20:44:57.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:57.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:57.402Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:57.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:57.402Z] [2023-11-13T20:44:57.402Z] Login Succeeded [2023-11-13T20:44:57.402Z] nexus3.edgexfoundry.org:10004 [2023-11-13T20:44:57.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:57.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:57.402Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:57.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:57.402Z] [2023-11-13T20:44:57.402Z] Login Succeeded [2023-11-13T20:44:57.402Z] docker.io [2023-11-13T20:44:57.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:44:57.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:44:57.661Z] Configure a credential helper to remove this warning. See [2023-11-13T20:44:57.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:44:57.661Z] [2023-11-13T20:44:57.661Z] Login Succeeded [2023-11-13T20:44:57.661Z] ---> docker-login.sh ends [Pipeline] } [2023-11-13T20:44:57.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-13T20:44:57.729Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-13T20:44:57.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-13T20:44:57.746Z] ========================================================= [2023-11-13T20:44:57.746Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-13T20:44:57.746Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:44:58.049Z] + 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-11-13T20:44:58.049Z] Sending build context to Docker daemon 5.759MB [2023-11-13T20:44:58.049Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-13T20:44:58.049Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-13T20:44:58.049Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-13T20:44:58.049Z] 7264a8db6415: Pulling fs layer [2023-11-13T20:44:58.049Z] c4d48a809fc2: Pulling fs layer [2023-11-13T20:44:58.049Z] 4f1c88b9dad5: Pulling fs layer [2023-11-13T20:44:58.049Z] ad3a456e5733: Pulling fs layer [2023-11-13T20:44:58.049Z] 33e27b845d1e: Pulling fs layer [2023-11-13T20:44:58.049Z] c68163c4e522: Pulling fs layer [2023-11-13T20:44:58.049Z] ad3a456e5733: Waiting [2023-11-13T20:44:58.049Z] 33e27b845d1e: Waiting [2023-11-13T20:44:58.049Z] c68163c4e522: Waiting [2023-11-13T20:44:58.049Z] 50da416c3ac9: Pulling fs layer [2023-11-13T20:44:58.049Z] 23d2d4c4bb30: Pulling fs layer [2023-11-13T20:44:58.049Z] 50da416c3ac9: Waiting [2023-11-13T20:44:58.049Z] c4d48a809fc2: Download complete [2023-11-13T20:44:58.049Z] ad3a456e5733: Verifying Checksum [2023-11-13T20:44:58.049Z] ad3a456e5733: Download complete [2023-11-13T20:44:58.049Z] 33e27b845d1e: Verifying Checksum [2023-11-13T20:44:58.049Z] 33e27b845d1e: Download complete [2023-11-13T20:44:58.308Z] 7264a8db6415: Verifying Checksum [2023-11-13T20:44:58.308Z] 7264a8db6415: Download complete [2023-11-13T20:44:58.308Z] c68163c4e522: Verifying Checksum [2023-11-13T20:44:58.308Z] c68163c4e522: Download complete [2023-11-13T20:44:58.308Z] 7264a8db6415: Pull complete [2023-11-13T20:44:58.308Z] 23d2d4c4bb30: Verifying Checksum [2023-11-13T20:44:58.308Z] 23d2d4c4bb30: Download complete [2023-11-13T20:44:58.567Z] c4d48a809fc2: Pull complete [2023-11-13T20:44:58.826Z] 4f1c88b9dad5: Verifying Checksum [2023-11-13T20:44:58.826Z] 4f1c88b9dad5: Download complete [2023-11-13T20:44:59.392Z] 50da416c3ac9: Verifying Checksum [2023-11-13T20:44:59.392Z] 50da416c3ac9: Download complete [2023-11-13T20:45:01.926Z] 4f1c88b9dad5: Pull complete [2023-11-13T20:45:01.926Z] ad3a456e5733: Pull complete [2023-11-13T20:45:01.926Z] 33e27b845d1e: Pull complete [2023-11-13T20:45:01.926Z] c68163c4e522: Pull complete [2023-11-13T20:45:04.457Z] 50da416c3ac9: Pull complete [2023-11-13T20:45:04.715Z] 23d2d4c4bb30: Pull complete [2023-11-13T20:45:04.715Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-13T20:45:04.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-13T20:45:04.715Z] ---> 0786185ac409 [2023-11-13T20:45:04.715Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-13T20:45:11.792Z] Still waiting to schedule task [2023-11-13T20:45:11.793Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17385’ is offline [2023-11-13T20:45:12.839Z] ---> Running in 59630712be60 [2023-11-13T20:45:12.839Z] Removing intermediate container 59630712be60 [2023-11-13T20:45:12.839Z] ---> e83f498fc35b [2023-11-13T20:45:12.839Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-13T20:45:12.839Z] ---> Running in 4707259f737c [2023-11-13T20:45:12.839Z] Removing intermediate container 4707259f737c [2023-11-13T20:45:12.839Z] ---> db9102e9e395 [2023-11-13T20:45:12.839Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-13T20:45:12.839Z] ---> Running in c7cb2732964d [2023-11-13T20:45:12.839Z] Removing intermediate container c7cb2732964d [2023-11-13T20:45:12.839Z] ---> 9cf68d8cf639 [2023-11-13T20:45:12.839Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-13T20:45:12.839Z] ---> Running in 616c4718f6d3 [2023-11-13T20:45:12.839Z] Removing intermediate container 616c4718f6d3 [2023-11-13T20:45:12.840Z] ---> d125cde399b7 [2023-11-13T20:45:12.840Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-13T20:45:12.840Z] ---> Running in ccdb1cfb22fb [2023-11-13T20:45:12.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-13T20:45:13.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-13T20:45:13.358Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-13T20:45:13.358Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-13T20:45:13.358Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-13T20:45:13.693Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-13T20:45:13.693Z] Executing busybox-1.36.1-r2.trigger [2023-11-13T20:45:13.693Z] OK: 268 MiB in 56 packages [2023-11-13T20:45:13.958Z] Removing intermediate container ccdb1cfb22fb [2023-11-13T20:45:13.958Z] ---> bc4179e35c80 [2023-11-13T20:45:13.958Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-13T20:45:14.219Z] ---> Running in 34223e337982 [2023-11-13T20:45:14.219Z] Removing intermediate container 34223e337982 [2023-11-13T20:45:14.219Z] ---> 4bcff24cfd8f [2023-11-13T20:45:14.219Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-13T20:45:14.219Z] ---> 578434918f25 [2023-11-13T20:45:14.219Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-13T20:45:14.219Z] ---> Running in 70f5f2d4ab4d [2023-11-13T20:46:01.007Z] Removing intermediate container 70f5f2d4ab4d [2023-11-13T20:46:01.007Z] ---> 8192f9f75df2 [2023-11-13T20:46:01.007Z] Step 11/12 : COPY . . [2023-11-13T20:46:01.007Z] ---> 4c41d5a11bc4 [2023-11-13T20:46:01.007Z] Step 12/12 : RUN ${MAKE} [2023-11-13T20:46:01.007Z] ---> Running in 4775fafd032a [2023-11-13T20:46:01.007Z] noop [2023-11-13T20:46:01.007Z] Removing intermediate container 4775fafd032a [2023-11-13T20:46:01.007Z] ---> d9c6d9fe6456 [2023-11-13T20:46:01.007Z] Successfully built d9c6d9fe6456 [2023-11-13T20:46:01.007Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:46:01.325Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-13T20:46:01.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:46:01.393Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:46:01.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-13T20:46:01.768Z] $ docker top 3ada1d921efea96bb4260d8b60ab211fe8f94260c5080184164d22226c11b648 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-13T20:46:02.114Z] + go version [2023-11-13T20:46:02.114Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-13T20:46:02.124Z] $ docker stop --time=1 3ada1d921efea96bb4260d8b60ab211fe8f94260c5080184164d22226c11b648 [2023-11-13T20:46:03.424Z] $ docker rm -f --volumes 3ada1d921efea96bb4260d8b60ab211fe8f94260c5080184164d22226c11b648 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:46:03.839Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-13T20:46:03.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:46:03.911Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:46:03.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-13T20:46:04.475Z] $ docker top 6ad61a0b833467be6f421e18308df6febd99a2cd73a3cc7e0f2c712eac1020e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-13T20:46:04.835Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-13T20:46:05.130Z] + make test [2023-11-13T20:46:05.130Z] go test ./... -coverprofile=coverage.out [2023-11-13T20:46:06.502Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-13T20:46:16.652Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-13T20:46:16.652Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-11-13T20:46:23.229Z] go vet ./... [2023-11-13T20:46:25.756Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-13T20:46:25.756Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-13T20:46:25.756Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-13T20:46:25.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-13T20:46:25.780Z] $ docker stop --time=1 6ad61a0b833467be6f421e18308df6febd99a2cd73a3cc7e0f2c712eac1020e1 [2023-11-13T20:46:29.148Z] $ docker rm -f --volumes 6ad61a0b833467be6f421e18308df6febd99a2cd73a3cc7e0f2c712eac1020e1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-13T20:46:29.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-13T20:46:29.647Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-13T20:46:30.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-13T20:46:30.438Z] + ls -al . [2023-11-13T20:46:30.438Z] total 172 [2023-11-13T20:46:30.438Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 20:46 . [2023-11-13T20:46:30.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 20:44 .. [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 13 20:44 .dockerignore [2023-11-13T20:46:30.438Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 20:46 .git [2023-11-13T20:46:30.438Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:44 .github [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 13 20:44 .gitignore [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 13 20:44 .golangci.yml [2023-11-13T20:46:30.438Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 20:44 .semver [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 13 20:44 Attribution.txt [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 13 20:44 CHANGELOG.md [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 1462 Nov 13 20:44 Dockerfile [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 20:44 GOVERNANCE.md [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 13 20:44 Jenkinsfile [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 20:44 LICENSE [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 13 20:44 Makefile [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 13 20:44 OWNERS.md [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 13 20:44 README.md [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 13 20:44 VERSION [2023-11-13T20:46:30.438Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 20:44 bin [2023-11-13T20:46:30.438Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:44 cmd [2023-11-13T20:46:30.438Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 13 20:46 coverage.out [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 3665 Nov 13 20:44 go.mod [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 34728 Nov 13 20:44 go.sum [2023-11-13T20:46:30.438Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:44 internal [2023-11-13T20:46:30.438Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 13 20:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:46:30.736Z] + 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=7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 --label arch=amd64 --label version=3.1.0-dev.12 . [2023-11-13T20:46:30.736Z] Sending build context to Docker daemon 5.769MB [2023-11-13T20:46:30.736Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-13T20:46:30.736Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-13T20:46:30.736Z] ---> d9c6d9fe6456 [2023-11-13T20:46:30.736Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-13T20:46:30.995Z] ---> Running in 346b76d57734 [2023-11-13T20:46:30.995Z] Removing intermediate container 346b76d57734 [2023-11-13T20:46:30.995Z] ---> 861a178d454f [2023-11-13T20:46:30.995Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-13T20:46:30.995Z] ---> Running in 3248af7cb70e [2023-11-13T20:46:30.995Z] Removing intermediate container 3248af7cb70e [2023-11-13T20:46:30.995Z] ---> 8a3f7baaf478 [2023-11-13T20:46:30.995Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-13T20:46:30.995Z] ---> Running in f4fc41401906 [2023-11-13T20:46:30.995Z] Removing intermediate container f4fc41401906 [2023-11-13T20:46:30.995Z] ---> 9d48bf190b9a [2023-11-13T20:46:30.995Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-13T20:46:31.254Z] ---> Running in 46d343d17d67 [2023-11-13T20:46:31.255Z] Removing intermediate container 46d343d17d67 [2023-11-13T20:46:31.255Z] ---> 508061d157f8 [2023-11-13T20:46:31.255Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-13T20:46:31.255Z] ---> Running in 039fab9711dc [2023-11-13T20:46:31.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-13T20:46:32.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-13T20:46:32.341Z] OK: 268 MiB in 56 packages [2023-11-13T20:46:32.910Z] Removing intermediate container 039fab9711dc [2023-11-13T20:46:32.910Z] ---> 491ef74b1288 [2023-11-13T20:46:32.910Z] Step 8/24 : WORKDIR /device-snmp-go [2023-11-13T20:46:32.910Z] ---> Running in c60775941524 [2023-11-13T20:46:33.169Z] Removing intermediate container c60775941524 [2023-11-13T20:46:33.169Z] ---> ddc5120971c5 [2023-11-13T20:46:33.169Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-13T20:46:33.429Z] ---> 3d8f51f0339e [2023-11-13T20:46:33.429Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-13T20:46:33.689Z] ---> Running in fec927b4b612 [2023-11-13T20:46:34.333Z] Removing intermediate container fec927b4b612 [2023-11-13T20:46:34.333Z] ---> 5092588cabf3 [2023-11-13T20:46:34.333Z] Step 11/24 : COPY . . [2023-11-13T20:46:34.596Z] ---> a774b39af077 [2023-11-13T20:46:34.596Z] Step 12/24 : RUN ${MAKE} [2023-11-13T20:46:34.596Z] ---> Running in ef67aae4aea6 [2023-11-13T20:46:34.857Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-11-13T20:47:01.397Z] Removing intermediate container ef67aae4aea6 [2023-11-13T20:47:01.397Z] ---> 54b096dcc6c6 [2023-11-13T20:47:01.397Z] Step 13/24 : FROM alpine:3.18 [2023-11-13T20:47:01.397Z] 3.18: Pulling from library/alpine [2023-11-13T20:47:01.397Z] 96526aa774ef: Pulling fs layer [2023-11-13T20:47:01.397Z] 96526aa774ef: Verifying Checksum [2023-11-13T20:47:01.397Z] 96526aa774ef: Download complete [2023-11-13T20:47:01.397Z] 96526aa774ef: Pull complete [2023-11-13T20:47:01.397Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-13T20:47:01.397Z] Status: Downloaded newer image for alpine:3.18 [2023-11-13T20:47:01.397Z] ---> 8ca4688f4f35 [2023-11-13T20:47:01.397Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-11-13T20:47:01.397Z] ---> Running in 8369e76d46e3 [2023-11-13T20:47:01.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-13T20:47:01.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-13T20:47:01.397Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-13T20:47:01.397Z] Executing busybox-1.36.1-r2.trigger [2023-11-13T20:47:01.397Z] OK: 7 MiB in 16 packages [2023-11-13T20:47:01.397Z] Removing intermediate container 8369e76d46e3 [2023-11-13T20:47:01.397Z] ---> ca138bf7c0a2 [2023-11-13T20:47:01.397Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-11-13T20:47:01.397Z] ---> 5f3287cee055 [2023-11-13T20:47:01.397Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-13T20:47:01.397Z] ---> 8a071f0a2128 [2023-11-13T20:47:01.397Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-13T20:47:01.397Z] ---> 549ed6f606f6 [2023-11-13T20:47:01.397Z] Step 18/24 : EXPOSE 59993 [2023-11-13T20:47:01.397Z] ---> Running in f7bdaa3f19aa [2023-11-13T20:47:01.397Z] Removing intermediate container f7bdaa3f19aa [2023-11-13T20:47:01.397Z] ---> 19a3dac381bc [2023-11-13T20:47:01.397Z] Step 19/24 : EXPOSE 161 [2023-11-13T20:47:01.397Z] ---> Running in 31be29a4dd5b [2023-11-13T20:47:01.397Z] Removing intermediate container 31be29a4dd5b [2023-11-13T20:47:01.397Z] ---> da5207a24559 [2023-11-13T20:47:01.397Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-11-13T20:47:01.397Z] ---> Running in 41e8eb12ddda [2023-11-13T20:47:01.397Z] Removing intermediate container 41e8eb12ddda [2023-11-13T20:47:01.397Z] ---> f80576cbbf6f [2023-11-13T20:47:01.397Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-13T20:47:01.397Z] ---> Running in d3eef2aed590 [2023-11-13T20:47:01.397Z] Removing intermediate container d3eef2aed590 [2023-11-13T20:47:01.397Z] ---> 8eec6c1b5804 [2023-11-13T20:47:01.397Z] Step 22/24 : LABEL arch=amd64 [2023-11-13T20:47:01.397Z] ---> Running in e0df293fbb90 [2023-11-13T20:47:01.656Z] Removing intermediate container e0df293fbb90 [2023-11-13T20:47:01.656Z] ---> 6d45a3b32e11 [2023-11-13T20:47:01.656Z] Step 23/24 : LABEL git_sha=7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [2023-11-13T20:47:01.656Z] ---> Running in f389eda8f791 [2023-11-13T20:47:01.656Z] Removing intermediate container f389eda8f791 [2023-11-13T20:47:01.656Z] ---> db44848b64e2 [2023-11-13T20:47:01.656Z] Step 24/24 : LABEL version=3.1.0-dev.12 [2023-11-13T20:47:01.656Z] ---> Running in 06ed0eaf4709 [2023-11-13T20:47:01.656Z] Removing intermediate container 06ed0eaf4709 [2023-11-13T20:47:01.656Z] ---> 89d61202b17d [2023-11-13T20:47:01.656Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-13T20:47:01.656Z] Successfully built 89d61202b17d [2023-11-13T20:47:01.656Z] 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-11-13T20:47:01.777Z] provisioning config files... [2023-11-13T20:47:01.786Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config617830042834877309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:47:02.082Z] ---> docker-login.sh [2023-11-13T20:47:02.082Z] nexus3.edgexfoundry.org:10001 [2023-11-13T20:47:02.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:47:02.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:47:02.082Z] Configure a credential helper to remove this warning. See [2023-11-13T20:47:02.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:47:02.082Z] [2023-11-13T20:47:02.082Z] Login Succeeded [2023-11-13T20:47:02.082Z] nexus3.edgexfoundry.org:10002 [2023-11-13T20:47:02.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:47:02.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:47:02.082Z] Configure a credential helper to remove this warning. See [2023-11-13T20:47:02.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:47:02.082Z] [2023-11-13T20:47:02.082Z] Login Succeeded [2023-11-13T20:47:02.082Z] nexus3.edgexfoundry.org:10003 [2023-11-13T20:47:02.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:47:02.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:47:02.342Z] Configure a credential helper to remove this warning. See [2023-11-13T20:47:02.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:47:02.342Z] [2023-11-13T20:47:02.342Z] Login Succeeded [2023-11-13T20:47:02.342Z] nexus3.edgexfoundry.org:10004 [2023-11-13T20:47:02.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:47:02.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:47:02.342Z] Configure a credential helper to remove this warning. See [2023-11-13T20:47:02.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:47:02.342Z] [2023-11-13T20:47:02.342Z] Login Succeeded [2023-11-13T20:47:02.342Z] docker.io [2023-11-13T20:47:02.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:47:02.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:47:02.602Z] Configure a credential helper to remove this warning. See [2023-11-13T20:47:02.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:47:02.602Z] [2023-11-13T20:47:02.602Z] Login Succeeded [2023-11-13T20:47:02.602Z] ---> docker-login.sh ends [Pipeline] } [2023-11-13T20:47:02.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-13T20:47:02.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-13T20:47:02.726Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-11-13T20:47:02.726Z] 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [2023-11-13T20:47:02.726Z] latest [2023-11-13T20:47:02.726Z] 3.1.0-dev.12 [2023-11-13T20:47:02.726Z] 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 [2023-11-13T20:47:02.726Z] main [2023-11-13T20:47:02.726Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:03.127Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:03.480Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [2023-11-13T20:47:03.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-13T20:47:03.480Z] 330200d3ab2f: Preparing [2023-11-13T20:47:03.480Z] fb6c3eb8befa: Preparing [2023-11-13T20:47:03.480Z] 9686112ca15f: Preparing [2023-11-13T20:47:03.480Z] 8923d92f6dac: Preparing [2023-11-13T20:47:03.480Z] cc2447e1835a: Preparing [2023-11-13T20:47:03.480Z] 8923d92f6dac: Pushed [2023-11-13T20:47:03.480Z] cc2447e1835a: Layer already exists [2023-11-13T20:47:03.480Z] 330200d3ab2f: Pushed [2023-11-13T20:47:03.480Z] fb6c3eb8befa: Pushed [2023-11-13T20:47:06.017Z] 9686112ca15f: Pushed [2023-11-13T20:47:06.017Z] 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2: digest: sha256:527299bea23a3f2f2b3699a2eef015282384e500bcc35f880a58a7d2b09b0984 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:06.324Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:06.645Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-11-13T20:47:06.645Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-13T20:47:06.645Z] 330200d3ab2f: Preparing [2023-11-13T20:47:06.645Z] fb6c3eb8befa: Preparing [2023-11-13T20:47:06.645Z] 9686112ca15f: Preparing [2023-11-13T20:47:06.645Z] 8923d92f6dac: Preparing [2023-11-13T20:47:06.645Z] cc2447e1835a: Preparing [2023-11-13T20:47:06.645Z] cc2447e1835a: Layer already exists [2023-11-13T20:47:06.645Z] 8923d92f6dac: Layer already exists [2023-11-13T20:47:06.645Z] 9686112ca15f: Layer already exists [2023-11-13T20:47:06.645Z] fb6c3eb8befa: Layer already exists [2023-11-13T20:47:06.645Z] 330200d3ab2f: Layer already exists [2023-11-13T20:47:06.645Z] latest: digest: sha256:527299bea23a3f2f2b3699a2eef015282384e500bcc35f880a58a7d2b09b0984 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:06.961Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:07.267Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.12 [2023-11-13T20:47:07.268Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-13T20:47:07.268Z] 330200d3ab2f: Preparing [2023-11-13T20:47:07.268Z] fb6c3eb8befa: Preparing [2023-11-13T20:47:07.268Z] 9686112ca15f: Preparing [2023-11-13T20:47:07.268Z] 8923d92f6dac: Preparing [2023-11-13T20:47:07.268Z] cc2447e1835a: Preparing [2023-11-13T20:47:07.268Z] 9686112ca15f: Layer already exists [2023-11-13T20:47:07.268Z] fb6c3eb8befa: Layer already exists [2023-11-13T20:47:07.268Z] 8923d92f6dac: Layer already exists [2023-11-13T20:47:07.268Z] cc2447e1835a: Layer already exists [2023-11-13T20:47:07.268Z] 330200d3ab2f: Layer already exists [2023-11-13T20:47:07.268Z] 3.1.0-dev.12: digest: sha256:527299bea23a3f2f2b3699a2eef015282384e500bcc35f880a58a7d2b09b0984 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:07.572Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:07.872Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 [2023-11-13T20:47:07.872Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-13T20:47:07.872Z] 330200d3ab2f: Preparing [2023-11-13T20:47:07.872Z] fb6c3eb8befa: Preparing [2023-11-13T20:47:07.872Z] 9686112ca15f: Preparing [2023-11-13T20:47:07.872Z] 8923d92f6dac: Preparing [2023-11-13T20:47:07.872Z] cc2447e1835a: Preparing [2023-11-13T20:47:07.872Z] cc2447e1835a: Layer already exists [2023-11-13T20:47:07.872Z] fb6c3eb8befa: Layer already exists [2023-11-13T20:47:07.872Z] 9686112ca15f: Layer already exists [2023-11-13T20:47:07.872Z] 330200d3ab2f: Layer already exists [2023-11-13T20:47:07.872Z] 8923d92f6dac: Layer already exists [2023-11-13T20:47:07.872Z] 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12: digest: sha256:527299bea23a3f2f2b3699a2eef015282384e500bcc35f880a58a7d2b09b0984 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:08.186Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:08.494Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-11-13T20:47:08.494Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-11-13T20:47:08.494Z] 330200d3ab2f: Preparing [2023-11-13T20:47:08.494Z] fb6c3eb8befa: Preparing [2023-11-13T20:47:08.494Z] 9686112ca15f: Preparing [2023-11-13T20:47:08.494Z] 8923d92f6dac: Preparing [2023-11-13T20:47:08.494Z] cc2447e1835a: Preparing [2023-11-13T20:47:08.494Z] 330200d3ab2f: Layer already exists [2023-11-13T20:47:08.494Z] cc2447e1835a: Layer already exists [2023-11-13T20:47:08.494Z] fb6c3eb8befa: Layer already exists [2023-11-13T20:47:08.494Z] 9686112ca15f: Layer already exists [2023-11-13T20:47:08.494Z] 8923d92f6dac: Layer already exists [2023-11-13T20:47:08.494Z] main: digest: sha256:527299bea23a3f2f2b3699a2eef015282384e500bcc35f880a58a7d2b09b0984 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-13T20:47:08.541Z] ===================================================== [Pipeline] echo [2023-11-13T20:47:08.552Z] taggedImages: [2023-11-13T20:47:08.552Z] - nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [2023-11-13T20:47:08.552Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-11-13T20:47:08.552Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.12 [2023-11-13T20:47:08.552Z] - nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 [2023-11-13T20:47:08.552Z] - 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-11-13T20:47:08.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-13T20:47:08.911Z] [2023-11-13T20:47:08.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:47:09.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-13T20:47:09.202Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-13T20:47:09.202Z] 5eb5b503b376: Pulling fs layer [2023-11-13T20:47:09.202Z] 5c69ac0246d0: Pulling fs layer [2023-11-13T20:47:09.202Z] ec43610c2a17: Pulling fs layer [2023-11-13T20:47:09.202Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-13T20:47:09.202Z] 33b1e0a273af: Pulling fs layer [2023-11-13T20:47:09.202Z] 5d3b04190fa2: Pulling fs layer [2023-11-13T20:47:09.202Z] 2f39f015ded8: Pulling fs layer [2023-11-13T20:47:09.202Z] 3a2ae6a8a46f: Waiting [2023-11-13T20:47:09.202Z] 33b1e0a273af: Waiting [2023-11-13T20:47:09.202Z] 5d3b04190fa2: Waiting [2023-11-13T20:47:09.202Z] 2f39f015ded8: Waiting [2023-11-13T20:47:09.202Z] 5c69ac0246d0: Download complete [2023-11-13T20:47:09.202Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-13T20:47:09.202Z] 3a2ae6a8a46f: Download complete [2023-11-13T20:47:09.202Z] 33b1e0a273af: Verifying Checksum [2023-11-13T20:47:09.202Z] 33b1e0a273af: Download complete [2023-11-13T20:47:09.202Z] 5d3b04190fa2: Verifying Checksum [2023-11-13T20:47:09.202Z] 5d3b04190fa2: Download complete [2023-11-13T20:47:09.202Z] ec43610c2a17: Verifying Checksum [2023-11-13T20:47:09.202Z] ec43610c2a17: Download complete [2023-11-13T20:47:09.459Z] 5eb5b503b376: Verifying Checksum [2023-11-13T20:47:09.459Z] 5eb5b503b376: Download complete [2023-11-13T20:47:10.023Z] 2f39f015ded8: Verifying Checksum [2023-11-13T20:47:10.023Z] 2f39f015ded8: Download complete [2023-11-13T20:47:10.588Z] 5eb5b503b376: Pull complete [2023-11-13T20:47:10.588Z] 5c69ac0246d0: Pull complete [2023-11-13T20:47:11.155Z] ec43610c2a17: Pull complete [2023-11-13T20:47:11.155Z] 3a2ae6a8a46f: Pull complete [2023-11-13T20:47:11.412Z] 33b1e0a273af: Pull complete [2023-11-13T20:47:11.412Z] 5d3b04190fa2: Pull complete [2023-11-13T20:47:15.592Z] 2f39f015ded8: Pull complete [2023-11-13T20:47:15.592Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-13T20:47:15.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-13T20:47:15.592Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:47:15.666Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:47:15.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-13T20:47:25.594Z] $ docker top 5d4cc217fdf83498f958386c1b6f79201ed78c26a85b148555eae9ac418c315e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:47:25.984Z] ---> job-cost.sh [2023-11-13T20:47:25.984Z] lf-activate-venv: SKIPPING [2023-11-13T20:47:25.984Z] INFO: No Stack... [2023-11-13T20:47:26.241Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-13T20:47:26.500Z] INFO: Archiving Costs [Pipeline] sh [2023-11-13T20:47:26.787Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-11-13T20:47:26.787Z] + cut -d, -f6 [Pipeline] lock [2023-11-13T20:47:26.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-99-stack-cost] [2023-11-13T20:47:26.812Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-99-stack-cost] did not exist. Created. [2023-11-13T20:47:26.812Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-13T20:47:27.107Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-13T20:47:27.136Z] Stashed 1 file(s) [Pipeline] } [2023-11-13T20:47:27.145Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-13T20:47:27.159Z] $ docker stop --time=1 5d4cc217fdf83498f958386c1b6f79201ed78c26a85b148555eae9ac418c315e [2023-11-13T20:47:28.302Z] $ docker rm -f --volumes 5d4cc217fdf83498f958386c1b6f79201ed78c26a85b148555eae9ac418c315e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-13T20:47:34.875Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17386 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-11-13T20:47:34.890Z] Running in /w/workspace/device-snmp-go/99 [Pipeline] { [Pipeline] checkout [2023-11-13T20:47:34.925Z] Selected Git installation does not exist. Using Default [2023-11-13T20:47:34.925Z] The recommended git tool is: NONE [2023-11-13T20:47:41.739Z] using credential edgex-jenkins-ssh [2023-11-13T20:47:41.755Z] Cloning the remote Git repository [2023-11-13T20:47:41.809Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-11-13T20:47:41.913Z] > git init /w/workspace/device-snmp-go/99 # timeout=10 [2023-11-13T20:47:42.063Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-11-13T20:47:42.065Z] > git --version # timeout=10 [2023-11-13T20:47:42.087Z] > git --version # 'git version 2.25.1' [2023-11-13T20:47:42.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-13T20:47:42.252Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-13T20:47:43.373Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-11-13T20:47:43.391Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-13T20:47:44.241Z] Avoid second fetch [2023-11-13T20:47:44.241Z] Checking out Revision 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 (main) [2023-11-13T20:47:44.786Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#330)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-13T20:47:44.262Z] > git config core.sparsecheckout # timeout=10 [2023-11-13T20:47:44.334Z] > git checkout -f 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 [2023-11-13T20:47:45.694Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-13T20:47:45.694Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-13T20:47:45.694Z] Dload Upload Total Spent Left Speed [2023-11-13T20:47:45.694Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 229k 0 --:--:-- --:--:-- --:--:-- 229k [Pipeline] sh [2023-11-13T20:47:46.353Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-13T20:47:46.684Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-13T20:47:46.684Z] + sudo tee /etc/docker/daemon.new [2023-11-13T20:47:46.684Z] { [2023-11-13T20:47:46.684Z] "registry-mirrors": [ [2023-11-13T20:47:46.684Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-13T20:47:46.684Z] ], [2023-11-13T20:47:46.684Z] "bip": "10.250.0.254/24", [2023-11-13T20:47:46.684Z] "hosts": [ [2023-11-13T20:47:46.684Z] "tcp://0.0.0.0:5555", [2023-11-13T20:47:46.684Z] "unix:///var/run/docker.sock" [2023-11-13T20:47:46.684Z] ], [2023-11-13T20:47:46.684Z] "mtu": 1458, [2023-11-13T20:47:46.684Z] "selinux-enabled": true, [2023-11-13T20:47:46.684Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-13T20:47:46.684Z] } [Pipeline] sh [2023-11-13T20:47:47.011Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-13T20:47:47.365Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-13T20:48:05.625Z] provisioning config files... [2023-11-13T20:48:05.650Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/99@tmp/config607136024511813690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:48:06.002Z] ---> docker-login.sh [2023-11-13T20:48:06.002Z] nexus3.edgexfoundry.org:10001 [2023-11-13T20:48:06.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:48:06.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:48:06.546Z] Configure a credential helper to remove this warning. See [2023-11-13T20:48:06.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:48:06.546Z] [2023-11-13T20:48:06.546Z] Login Succeeded [2023-11-13T20:48:06.546Z] nexus3.edgexfoundry.org:10002 [2023-11-13T20:48:06.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:48:07.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:48:07.089Z] Configure a credential helper to remove this warning. See [2023-11-13T20:48:07.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:48:07.089Z] [2023-11-13T20:48:07.089Z] Login Succeeded [2023-11-13T20:48:07.089Z] nexus3.edgexfoundry.org:10003 [2023-11-13T20:48:07.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:48:07.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:48:07.373Z] Configure a credential helper to remove this warning. See [2023-11-13T20:48:07.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:48:07.373Z] [2023-11-13T20:48:07.373Z] Login Succeeded [2023-11-13T20:48:07.373Z] nexus3.edgexfoundry.org:10004 [2023-11-13T20:48:07.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:48:07.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:48:07.648Z] Configure a credential helper to remove this warning. See [2023-11-13T20:48:07.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:48:07.648Z] [2023-11-13T20:48:07.648Z] Login Succeeded [2023-11-13T20:48:07.648Z] docker.io [2023-11-13T20:48:07.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:48:08.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:48:08.190Z] Configure a credential helper to remove this warning. See [2023-11-13T20:48:08.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:48:08.190Z] [2023-11-13T20:48:08.190Z] Login Succeeded [2023-11-13T20:48:08.190Z] ---> docker-login.sh ends [Pipeline] } [2023-11-13T20:48:08.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-13T20:48:08.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-13T20:48:08.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-13T20:48:08.496Z] ========================================================= [2023-11-13T20:48:08.496Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-13T20:48:08.496Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:48:08.840Z] + 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-11-13T20:48:09.110Z] Sending build context to Docker daemon 2.959MB [2023-11-13T20:48:09.110Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-13T20:48:09.110Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-13T20:48:11.064Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-13T20:48:11.064Z] 9fda8d8052c6: Pulling fs layer [2023-11-13T20:48:11.064Z] 5d54e960e981: Pulling fs layer [2023-11-13T20:48:11.064Z] c4a7e357bf2a: Pulling fs layer [2023-11-13T20:48:11.064Z] f0e02332f6b5: Pulling fs layer [2023-11-13T20:48:11.064Z] cefa15bbcfad: Pulling fs layer [2023-11-13T20:48:11.064Z] 17808c966233: Pulling fs layer [2023-11-13T20:48:11.064Z] f4c1fc716caa: Pulling fs layer [2023-11-13T20:48:11.064Z] cefa15bbcfad: Waiting [2023-11-13T20:48:11.064Z] f4c1fc716caa: Waiting [2023-11-13T20:48:11.064Z] 17808c966233: Waiting [2023-11-13T20:48:11.064Z] f0e02332f6b5: Waiting [2023-11-13T20:48:11.064Z] 5d54e960e981: Verifying Checksum [2023-11-13T20:48:11.064Z] 5d54e960e981: Download complete [2023-11-13T20:48:11.064Z] f0e02332f6b5: Verifying Checksum [2023-11-13T20:48:11.064Z] f0e02332f6b5: Download complete [2023-11-13T20:48:11.064Z] cefa15bbcfad: Verifying Checksum [2023-11-13T20:48:11.064Z] cefa15bbcfad: Download complete [2023-11-13T20:48:11.064Z] 9fda8d8052c6: Verifying Checksum [2023-11-13T20:48:11.064Z] 9fda8d8052c6: Download complete [2023-11-13T20:48:11.666Z] f4c1fc716caa: Verifying Checksum [2023-11-13T20:48:11.666Z] f4c1fc716caa: Download complete [2023-11-13T20:48:12.273Z] 9fda8d8052c6: Pull complete [2023-11-13T20:48:12.862Z] 5d54e960e981: Pull complete [2023-11-13T20:48:13.132Z] c4a7e357bf2a: Verifying Checksum [2023-11-13T20:48:13.132Z] c4a7e357bf2a: Download complete [2023-11-13T20:48:14.100Z] 17808c966233: Verifying Checksum [2023-11-13T20:48:14.100Z] 17808c966233: Download complete [2023-11-13T20:48:26.431Z] c4a7e357bf2a: Pull complete [2023-11-13T20:48:26.431Z] f0e02332f6b5: Pull complete [2023-11-13T20:48:26.431Z] cefa15bbcfad: Pull complete [2023-11-13T20:48:36.549Z] 17808c966233: Pull complete [2023-11-13T20:48:40.804Z] f4c1fc716caa: Pull complete [2023-11-13T20:48:40.804Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-13T20:48:40.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-13T20:48:40.804Z] ---> ea914061e18c [2023-11-13T20:48:40.804Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-13T20:48:42.747Z] ---> Running in 6cf335ebd2d9 [2023-11-13T20:48:42.747Z] Removing intermediate container 6cf335ebd2d9 [2023-11-13T20:48:42.747Z] ---> ee4a74d20ee6 [2023-11-13T20:48:42.747Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-13T20:48:43.014Z] ---> Running in b457afcb3a78 [2023-11-13T20:48:43.282Z] Removing intermediate container b457afcb3a78 [2023-11-13T20:48:43.282Z] ---> ab92458853be [2023-11-13T20:48:43.282Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-13T20:48:43.282Z] ---> Running in 77591656478d [2023-11-13T20:48:43.549Z] Removing intermediate container 77591656478d [2023-11-13T20:48:43.549Z] ---> 4d23b3f7f6e8 [2023-11-13T20:48:43.549Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-13T20:48:43.818Z] ---> Running in b9154b7ba857 [2023-11-13T20:48:44.088Z] Removing intermediate container b9154b7ba857 [2023-11-13T20:48:44.088Z] ---> 0e42352f2815 [2023-11-13T20:48:44.088Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-13T20:48:44.088Z] ---> Running in 47c8c39d2477 [2023-11-13T20:48:45.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-13T20:48:45.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-13T20:48:46.762Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-13T20:48:46.762Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-13T20:48:46.762Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-13T20:48:46.762Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-13T20:48:46.762Z] Executing busybox-1.36.1-r2.trigger [2023-11-13T20:48:46.762Z] OK: 270 MiB in 56 packages [2023-11-13T20:48:48.196Z] Removing intermediate container 47c8c39d2477 [2023-11-13T20:48:48.196Z] ---> 30bfc61f1f09 [2023-11-13T20:48:48.196Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-13T20:48:48.196Z] ---> Running in caefee875ed5 [2023-11-13T20:48:48.465Z] Removing intermediate container caefee875ed5 [2023-11-13T20:48:48.465Z] ---> cb577e324edb [2023-11-13T20:48:48.465Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-13T20:48:48.734Z] ---> d4223db3906c [2023-11-13T20:48:48.734Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-13T20:48:49.002Z] ---> Running in 4b299da6ec55 [2023-11-13T20:50:10.650Z] Removing intermediate container 4b299da6ec55 [2023-11-13T20:50:10.650Z] ---> 740a4f83c6a1 [2023-11-13T20:50:10.650Z] Step 11/12 : COPY . . [2023-11-13T20:50:10.650Z] ---> 3f0266ed7a6d [2023-11-13T20:50:10.650Z] Step 12/12 : RUN ${MAKE} [2023-11-13T20:50:10.650Z] ---> Running in 0d9dfb7fa06b [2023-11-13T20:50:10.650Z] noop [2023-11-13T20:50:10.650Z] Removing intermediate container 0d9dfb7fa06b [2023-11-13T20:50:10.650Z] ---> 89a95dbc9a51 [2023-11-13T20:50:10.650Z] Successfully built 89a95dbc9a51 [2023-11-13T20:50:10.650Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:50:11.011Z] + docker inspect -f . ci-base-image-arm64 [2023-11-13T20:50:11.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:50:11.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-17386 does not seem to be running inside a container [2023-11-13T20:50:11.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/99 -v /w/workspace/device-snmp-go/99:/w/workspace/device-snmp-go/99:rw,z -v /w/workspace/device-snmp-go/99@tmp:/w/workspace/device-snmp-go/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-13T20:50:12.565Z] $ docker top f12da4720c415d9b5d5ea39a7452880a5624db83bd338d758dfcb0bd70da988d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-13T20:50:13.414Z] + go version [2023-11-13T20:50:13.414Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-13T20:50:13.433Z] $ docker stop --time=1 f12da4720c415d9b5d5ea39a7452880a5624db83bd338d758dfcb0bd70da988d [2023-11-13T20:50:15.103Z] $ docker rm -f --volumes f12da4720c415d9b5d5ea39a7452880a5624db83bd338d758dfcb0bd70da988d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:50:15.675Z] + docker inspect -f . ci-base-image-arm64 [2023-11-13T20:50:15.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:50:15.873Z] prd-ubuntu20.04-docker-arm64-4c-16g-17386 does not seem to be running inside a container [2023-11-13T20:50:15.945Z] $ 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/99 -v /w/workspace/device-snmp-go/99:/w/workspace/device-snmp-go/99:rw,z -v /w/workspace/device-snmp-go/99@tmp:/w/workspace/device-snmp-go/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-13T20:50:17.213Z] $ docker top be7d90b141f490058ddb575df6031f7b781a896dfe50922fd92425c42c4602cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-13T20:50:18.062Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/99 [Pipeline] fileExists [Pipeline] sh [2023-11-13T20:50:18.713Z] + make test [2023-11-13T20:50:18.713Z] go test ./... -coverprofile=coverage.out [2023-11-13T20:50:25.366Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-13T20:52:02.028Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-13T20:52:02.028Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements [2023-11-13T20:52:02.028Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-13T20:52:02.028Z] go vet ./... [2023-11-13T20:52:34.241Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-13T20:52:34.241Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-13T20:52:34.241Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-13T20:52:34.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-13T20:52:34.277Z] $ docker stop --time=1 be7d90b141f490058ddb575df6031f7b781a896dfe50922fd92425c42c4602cc [2023-11-13T20:52:36.272Z] $ docker rm -f --volumes be7d90b141f490058ddb575df6031f7b781a896dfe50922fd92425c42c4602cc [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-13T20:52:37.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-13T20:52:37.683Z] Warning: overwriting stash ‘coverage-report’ [2023-11-13T20:52:38.242Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-13T20:52:38.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-13T20:52:38.983Z] + ls -al . [2023-11-13T20:52:38.983Z] total 168 [2023-11-13T20:52:38.983Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 13 20:50 . [2023-11-13T20:52:38.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 20:47 .. [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 13 20:47 .dockerignore [2023-11-13T20:52:38.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 20:47 .git [2023-11-13T20:52:38.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:47 .github [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 13 20:47 .gitignore [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 13 20:47 .golangci.yml [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 13 20:47 Attribution.txt [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 13 20:47 CHANGELOG.md [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 1462 Nov 13 20:47 Dockerfile [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 20:47 GOVERNANCE.md [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 13 20:47 Jenkinsfile [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 20:47 LICENSE [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 13 20:47 Makefile [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 13 20:47 OWNERS.md [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 13 20:47 README.md [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 13 20:44 VERSION [2023-11-13T20:52:38.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 20:47 bin [2023-11-13T20:52:38.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:47 cmd [2023-11-13T20:52:38.983Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 13 20:51 coverage.out [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 3665 Nov 13 20:47 go.mod [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 34728 Nov 13 20:47 go.sum [2023-11-13T20:52:38.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:47 internal [2023-11-13T20:52:38.983Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 13 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:52:39.332Z] + 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=7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 --label arch=arm64 --label version=3.1.0-dev.12 . [2023-11-13T20:52:39.602Z] Sending build context to Docker daemon 2.969MB [2023-11-13T20:52:39.602Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-13T20:52:39.602Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-13T20:52:39.602Z] ---> 89a95dbc9a51 [2023-11-13T20:52:39.602Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-13T20:52:41.008Z] ---> Running in d024ae574603 [2023-11-13T20:52:41.280Z] Removing intermediate container d024ae574603 [2023-11-13T20:52:41.280Z] ---> 4809b4f5106f [2023-11-13T20:52:41.280Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-13T20:52:41.547Z] ---> Running in a051b9f7d495 [2023-11-13T20:52:41.813Z] Removing intermediate container a051b9f7d495 [2023-11-13T20:52:41.813Z] ---> 4faf847c9952 [2023-11-13T20:52:41.813Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-13T20:52:41.813Z] ---> Running in e1621cd90865 [2023-11-13T20:52:42.094Z] Removing intermediate container e1621cd90865 [2023-11-13T20:52:42.094Z] ---> 310126a38956 [2023-11-13T20:52:42.094Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-13T20:52:42.366Z] ---> Running in 1a40e3decead [2023-11-13T20:52:42.632Z] Removing intermediate container 1a40e3decead [2023-11-13T20:52:42.632Z] ---> 320ab88d27cf [2023-11-13T20:52:42.632Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-13T20:52:42.632Z] ---> Running in 837d1be84c6b [2023-11-13T20:52:43.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-13T20:52:44.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-13T20:52:45.148Z] OK: 270 MiB in 56 packages [2023-11-13T20:52:47.730Z] Removing intermediate container 837d1be84c6b [2023-11-13T20:52:47.730Z] ---> c99ef6ff2fe7 [2023-11-13T20:52:47.730Z] Step 8/24 : WORKDIR /device-snmp-go [2023-11-13T20:52:47.730Z] ---> Running in 3c929820dfc9 [2023-11-13T20:52:47.996Z] Removing intermediate container 3c929820dfc9 [2023-11-13T20:52:47.996Z] ---> cf16af78ec8b [2023-11-13T20:52:47.996Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-13T20:52:49.945Z] ---> 8e02baa5bcc7 [2023-11-13T20:52:49.945Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-13T20:52:49.945Z] ---> Running in 7441b172d47e [2023-11-13T20:52:56.593Z] Removing intermediate container 7441b172d47e [2023-11-13T20:52:56.593Z] ---> c1e7a05f4501 [2023-11-13T20:52:56.593Z] Step 11/24 : COPY . . [2023-11-13T20:52:59.192Z] ---> 9834c97d44e7 [2023-11-13T20:52:59.192Z] Step 12/24 : RUN ${MAKE} [2023-11-13T20:52:59.192Z] ---> Running in aab2d4a99b3e [2023-11-13T20:53:00.164Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-11-13T20:54:51.947Z] Removing intermediate container aab2d4a99b3e [2023-11-13T20:54:51.947Z] ---> 22868217b6a0 [2023-11-13T20:54:51.947Z] Step 13/24 : FROM alpine:3.18 [2023-11-13T20:54:51.947Z] 3.18: Pulling from library/alpine [2023-11-13T20:54:51.947Z] 579b34f0a95b: Pulling fs layer [2023-11-13T20:54:51.947Z] 579b34f0a95b: Verifying Checksum [2023-11-13T20:54:51.947Z] 579b34f0a95b: Download complete [2023-11-13T20:54:51.947Z] 579b34f0a95b: Pull complete [2023-11-13T20:54:51.947Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-13T20:54:51.947Z] Status: Downloaded newer image for alpine:3.18 [2023-11-13T20:54:51.947Z] ---> 3cc203321400 [2023-11-13T20:54:51.947Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-11-13T20:54:51.947Z] ---> Running in 17106e107fd1 [2023-11-13T20:54:51.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-13T20:54:51.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-13T20:54:52.527Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-13T20:54:52.527Z] Executing busybox-1.36.1-r2.trigger [2023-11-13T20:54:52.527Z] OK: 8 MiB in 16 packages [2023-11-13T20:54:53.484Z] Removing intermediate container 17106e107fd1 [2023-11-13T20:54:53.484Z] ---> 688bedc9a4a2 [2023-11-13T20:54:53.484Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-11-13T20:54:54.889Z] ---> c3547df08929 [2023-11-13T20:54:54.890Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-13T20:54:55.157Z] ---> 78ed10a8ba47 [2023-11-13T20:54:55.157Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-13T20:54:55.738Z] ---> 534dce933836 [2023-11-13T20:54:55.738Z] Step 18/24 : EXPOSE 59993 [2023-11-13T20:54:55.738Z] ---> Running in 48dd63ed4881 [2023-11-13T20:54:56.003Z] Removing intermediate container 48dd63ed4881 [2023-11-13T20:54:56.003Z] ---> db6a4964f40c [2023-11-13T20:54:56.003Z] Step 19/24 : EXPOSE 161 [2023-11-13T20:54:56.271Z] ---> Running in 859b0196d541 [2023-11-13T20:54:56.535Z] Removing intermediate container 859b0196d541 [2023-11-13T20:54:56.535Z] ---> e1e56b0e6e86 [2023-11-13T20:54:56.535Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-11-13T20:54:56.535Z] ---> Running in 3c16bdc74cfb [2023-11-13T20:54:56.799Z] Removing intermediate container 3c16bdc74cfb [2023-11-13T20:54:56.799Z] ---> 2e7e03972e86 [2023-11-13T20:54:56.799Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-13T20:54:56.799Z] ---> Running in 80d30374a640 [2023-11-13T20:54:57.066Z] Removing intermediate container 80d30374a640 [2023-11-13T20:54:57.066Z] ---> 99af0cbaa4cc [2023-11-13T20:54:57.066Z] Step 22/24 : LABEL arch=arm64 [2023-11-13T20:54:57.330Z] ---> Running in a4b60a37f079 [2023-11-13T20:54:57.595Z] Removing intermediate container a4b60a37f079 [2023-11-13T20:54:57.595Z] ---> 9eaa5a771764 [2023-11-13T20:54:57.595Z] Step 23/24 : LABEL git_sha=7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [2023-11-13T20:54:57.595Z] ---> Running in a54e0d5fec2a [2023-11-13T20:54:57.861Z] Removing intermediate container a54e0d5fec2a [2023-11-13T20:54:57.861Z] ---> 904fdd629364 [2023-11-13T20:54:57.861Z] Step 24/24 : LABEL version=3.1.0-dev.12 [2023-11-13T20:54:57.861Z] ---> Running in 1b9fb8196b5f [2023-11-13T20:54:58.131Z] Removing intermediate container 1b9fb8196b5f [2023-11-13T20:54:58.131Z] ---> 24ce4dbdc59f [2023-11-13T20:54:58.131Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-13T20:54:58.131Z] Successfully built 24ce4dbdc59f [2023-11-13T20:54:58.131Z] 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-11-13T20:54:58.490Z] provisioning config files... [2023-11-13T20:54:58.503Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/99@tmp/config18291694294400419887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:54:58.836Z] ---> docker-login.sh [2023-11-13T20:54:58.836Z] nexus3.edgexfoundry.org:10001 [2023-11-13T20:54:58.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:54:59.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:54:59.104Z] Configure a credential helper to remove this warning. See [2023-11-13T20:54:59.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:54:59.104Z] [2023-11-13T20:54:59.104Z] Login Succeeded [2023-11-13T20:54:59.104Z] nexus3.edgexfoundry.org:10002 [2023-11-13T20:54:59.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:54:59.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:54:59.369Z] Configure a credential helper to remove this warning. See [2023-11-13T20:54:59.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:54:59.369Z] [2023-11-13T20:54:59.369Z] Login Succeeded [2023-11-13T20:54:59.369Z] nexus3.edgexfoundry.org:10003 [2023-11-13T20:54:59.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:54:59.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:54:59.901Z] Configure a credential helper to remove this warning. See [2023-11-13T20:54:59.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:54:59.901Z] [2023-11-13T20:54:59.901Z] Login Succeeded [2023-11-13T20:54:59.901Z] nexus3.edgexfoundry.org:10004 [2023-11-13T20:55:00.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:55:00.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:55:00.168Z] Configure a credential helper to remove this warning. See [2023-11-13T20:55:00.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:55:00.168Z] [2023-11-13T20:55:00.168Z] Login Succeeded [2023-11-13T20:55:00.168Z] docker.io [2023-11-13T20:55:00.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-13T20:55:00.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-13T20:55:00.703Z] Configure a credential helper to remove this warning. See [2023-11-13T20:55:00.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-13T20:55:00.703Z] [2023-11-13T20:55:00.703Z] Login Succeeded [2023-11-13T20:55:00.703Z] ---> docker-login.sh ends [Pipeline] } [2023-11-13T20:55:00.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-13T20:55:00.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-13T20:55:00.827Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-11-13T20:55:00.827Z] 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [2023-11-13T20:55:00.827Z] latest [2023-11-13T20:55:00.827Z] 3.1.0-dev.12 [2023-11-13T20:55:00.827Z] 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 [2023-11-13T20:55:00.827Z] main [2023-11-13T20:55:00.827Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:01.167Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:03.015Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [2023-11-13T20:55:03.015Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-13T20:55:03.015Z] 76fd77e95cc4: Preparing [2023-11-13T20:55:03.015Z] ff55ca9087c3: Preparing [2023-11-13T20:55:03.015Z] afb92290f838: Preparing [2023-11-13T20:55:03.015Z] 5c2b7497d738: Preparing [2023-11-13T20:55:03.015Z] 5f4d9fc4d98d: Preparing [2023-11-13T20:55:03.015Z] 5f4d9fc4d98d: Layer already exists [2023-11-13T20:55:03.287Z] 76fd77e95cc4: Pushed [2023-11-13T20:55:03.287Z] 5c2b7497d738: Pushed [2023-11-13T20:55:03.287Z] ff55ca9087c3: Pushed [2023-11-13T20:55:09.976Z] afb92290f838: Pushed [2023-11-13T20:55:09.976Z] 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2: digest: sha256:99824e7d94bbfe93e3a1e33500e053f4b1e3c8bb72f4a2e96dbc3cb396360b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:10.319Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:10.651Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-11-13T20:55:10.651Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-13T20:55:10.651Z] 76fd77e95cc4: Preparing [2023-11-13T20:55:10.651Z] ff55ca9087c3: Preparing [2023-11-13T20:55:10.651Z] afb92290f838: Preparing [2023-11-13T20:55:10.651Z] 5c2b7497d738: Preparing [2023-11-13T20:55:10.651Z] 5f4d9fc4d98d: Preparing [2023-11-13T20:55:10.651Z] 5c2b7497d738: Layer already exists [2023-11-13T20:55:10.651Z] 76fd77e95cc4: Layer already exists [2023-11-13T20:55:10.651Z] 5f4d9fc4d98d: Layer already exists [2023-11-13T20:55:10.651Z] ff55ca9087c3: Layer already exists [2023-11-13T20:55:10.651Z] afb92290f838: Layer already exists [2023-11-13T20:55:10.651Z] latest: digest: sha256:99824e7d94bbfe93e3a1e33500e053f4b1e3c8bb72f4a2e96dbc3cb396360b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:10.987Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:11.319Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.12 [2023-11-13T20:55:11.319Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-13T20:55:11.319Z] 76fd77e95cc4: Preparing [2023-11-13T20:55:11.319Z] ff55ca9087c3: Preparing [2023-11-13T20:55:11.319Z] afb92290f838: Preparing [2023-11-13T20:55:11.319Z] 5c2b7497d738: Preparing [2023-11-13T20:55:11.319Z] 5f4d9fc4d98d: Preparing [2023-11-13T20:55:11.319Z] ff55ca9087c3: Layer already exists [2023-11-13T20:55:11.319Z] 5f4d9fc4d98d: Layer already exists [2023-11-13T20:55:11.319Z] 5c2b7497d738: Layer already exists [2023-11-13T20:55:11.319Z] afb92290f838: Layer already exists [2023-11-13T20:55:11.319Z] 76fd77e95cc4: Layer already exists [2023-11-13T20:55:11.319Z] 3.1.0-dev.12: digest: sha256:99824e7d94bbfe93e3a1e33500e053f4b1e3c8bb72f4a2e96dbc3cb396360b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:11.650Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:11.994Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 [2023-11-13T20:55:11.994Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-13T20:55:11.994Z] 76fd77e95cc4: Preparing [2023-11-13T20:55:11.994Z] ff55ca9087c3: Preparing [2023-11-13T20:55:11.994Z] afb92290f838: Preparing [2023-11-13T20:55:11.994Z] 5c2b7497d738: Preparing [2023-11-13T20:55:11.994Z] 5f4d9fc4d98d: Preparing [2023-11-13T20:55:11.994Z] ff55ca9087c3: Layer already exists [2023-11-13T20:55:11.994Z] 5c2b7497d738: Layer already exists [2023-11-13T20:55:11.994Z] 76fd77e95cc4: Layer already exists [2023-11-13T20:55:11.994Z] afb92290f838: Layer already exists [2023-11-13T20:55:11.994Z] 5f4d9fc4d98d: Layer already exists [2023-11-13T20:55:11.994Z] 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12: digest: sha256:99824e7d94bbfe93e3a1e33500e053f4b1e3c8bb72f4a2e96dbc3cb396360b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:12.328Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:12.662Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-11-13T20:55:12.663Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-11-13T20:55:12.663Z] 76fd77e95cc4: Preparing [2023-11-13T20:55:12.663Z] ff55ca9087c3: Preparing [2023-11-13T20:55:12.663Z] afb92290f838: Preparing [2023-11-13T20:55:12.663Z] 5c2b7497d738: Preparing [2023-11-13T20:55:12.663Z] 5f4d9fc4d98d: Preparing [2023-11-13T20:55:12.663Z] 76fd77e95cc4: Layer already exists [2023-11-13T20:55:12.663Z] ff55ca9087c3: Layer already exists [2023-11-13T20:55:12.663Z] afb92290f838: Layer already exists [2023-11-13T20:55:12.663Z] 5f4d9fc4d98d: Layer already exists [2023-11-13T20:55:12.663Z] 5c2b7497d738: Layer already exists [2023-11-13T20:55:12.663Z] main: digest: sha256:99824e7d94bbfe93e3a1e33500e053f4b1e3c8bb72f4a2e96dbc3cb396360b9f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-13T20:55:12.971Z] ===================================================== [Pipeline] echo [2023-11-13T20:55:12.977Z] taggedImages: [2023-11-13T20:55:12.977Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [2023-11-13T20:55:12.977Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-11-13T20:55:12.977Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.12 [2023-11-13T20:55:12.977Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 [2023-11-13T20:55:12.977Z] - 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-11-13T20:55:13.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-13T20:55:13.334Z] [2023-11-13T20:55:13.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:13.660Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-13T20:55:13.660Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-13T20:55:13.660Z] 8998bd30e6a1: Pulling fs layer [2023-11-13T20:55:13.660Z] 04944245beec: Pulling fs layer [2023-11-13T20:55:13.660Z] 699f458cf7ca: Pulling fs layer [2023-11-13T20:55:13.660Z] 765212b225bb: Pulling fs layer [2023-11-13T20:55:13.660Z] f23df028b6ca: Pulling fs layer [2023-11-13T20:55:13.660Z] d65c8cfc05b1: Pulling fs layer [2023-11-13T20:55:13.660Z] 2437ff75d9bd: Pulling fs layer [2023-11-13T20:55:13.660Z] f23df028b6ca: Waiting [2023-11-13T20:55:13.660Z] d65c8cfc05b1: Waiting [2023-11-13T20:55:13.660Z] 765212b225bb: Waiting [2023-11-13T20:55:13.929Z] 04944245beec: Verifying Checksum [2023-11-13T20:55:13.929Z] 04944245beec: Download complete [2023-11-13T20:55:13.929Z] 765212b225bb: Verifying Checksum [2023-11-13T20:55:13.929Z] 765212b225bb: Download complete [2023-11-13T20:55:13.929Z] f23df028b6ca: Verifying Checksum [2023-11-13T20:55:13.929Z] f23df028b6ca: Download complete [2023-11-13T20:55:13.929Z] d65c8cfc05b1: Verifying Checksum [2023-11-13T20:55:13.929Z] d65c8cfc05b1: Download complete [2023-11-13T20:55:14.198Z] 699f458cf7ca: Verifying Checksum [2023-11-13T20:55:14.198Z] 699f458cf7ca: Download complete [2023-11-13T20:55:14.464Z] 8998bd30e6a1: Verifying Checksum [2023-11-13T20:55:14.464Z] 8998bd30e6a1: Download complete [2023-11-13T20:55:17.046Z] 2437ff75d9bd: Verifying Checksum [2023-11-13T20:55:17.046Z] 2437ff75d9bd: Download complete [2023-11-13T20:55:19.626Z] 8998bd30e6a1: Pull complete [2023-11-13T20:55:19.626Z] 04944245beec: Pull complete [2023-11-13T20:55:21.570Z] 699f458cf7ca: Pull complete [2023-11-13T20:55:21.570Z] 765212b225bb: Pull complete [2023-11-13T20:55:22.155Z] f23df028b6ca: Pull complete [2023-11-13T20:55:22.424Z] d65c8cfc05b1: Pull complete [2023-11-13T20:55:40.621Z] 2437ff75d9bd: Pull complete [2023-11-13T20:55:40.621Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-13T20:55:40.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-13T20:55:40.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:55:40.793Z] prd-ubuntu20.04-docker-arm64-4c-16g-17386 does not seem to be running inside a container [2023-11-13T20:55:40.853Z] $ 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/99 -v /w/workspace/device-snmp-go/99:/w/workspace/device-snmp-go/99:rw,z -v /w/workspace/device-snmp-go/99@tmp:/w/workspace/device-snmp-go/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-13T20:55:43.507Z] $ docker top c9bd30b126da9b37e1b7c83eb1d9ab67c0fc5ba7f934f372a1d3324677f0554d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:55:44.345Z] ---> job-cost.sh [2023-11-13T20:55:44.345Z] lf-activate-venv: SKIPPING [2023-11-13T20:55:44.345Z] INFO: No Stack... [2023-11-13T20:55:44.611Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-13T20:55:45.565Z] INFO: Archiving Costs [Pipeline] sh [2023-11-13T20:55:45.881Z] + cat /w/workspace/device-snmp-go/99/archives/cost.csv [2023-11-13T20:55:45.881Z] + cut -d, -f6 [Pipeline] lock [2023-11-13T20:55:46.206Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-99-stack-cost] [2023-11-13T20:55:46.217Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-99-stack-cost] did not exist. Created. [2023-11-13T20:55:46.217Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-13T20:55:46.864Z] /w/workspace/device-snmp-go/99@tmp/durable-fb3876d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-13T20:55:47.517Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-13T20:55:47.538Z] Warning: overwriting stash ‘stack-cost’ [2023-11-13T20:55:47.581Z] Stashed 1 file(s) [Pipeline] } [2023-11-13T20:55:47.593Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-13T20:55:47.607Z] $ docker stop --time=1 c9bd30b126da9b37e1b7c83eb1d9ab67c0fc5ba7f934f372a1d3324677f0554d [2023-11-13T20:55:49.087Z] $ docker rm -f --volumes c9bd30b126da9b37e1b7c83eb1d9ab67c0fc5ba7f934f372a1d3324677f0554d [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-11-13T20:55:49.497Z] provisioning config files... [2023-11-13T20:55:49.504Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3767307613174180203tmp [Pipeline] { [Pipeline] sh [2023-11-13T20:55:49.795Z] + set +x [2023-11-13T20:55:49.795Z] + curl -s https://codecov.io/bash [2023-11-13T20:55:49.795Z] + bash -s -- [2023-11-13T20:55:50.056Z] [2023-11-13T20:55:50.056Z] _____ _ [2023-11-13T20:55:50.056Z] / ____| | | [2023-11-13T20:55:50.056Z] | | ___ __| | ___ ___ _____ __ [2023-11-13T20:55:50.056Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-13T20:55:50.056Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-13T20:55:50.056Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-13T20:55:50.056Z] Bash-1.0.6 [2023-11-13T20:55:50.056Z] [2023-11-13T20:55:50.056Z] [2023-11-13T20:55:50.056Z] ==> git version 2.25.1 found [2023-11-13T20:55:50.056Z] ==> 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-11-13T20:55:50.056Z] Release-Date: 2020-01-08 [2023-11-13T20:55:50.056Z] 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-11-13T20:55:50.056Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-13T20:55:50.056Z] ==> Jenkins CI detected. [2023-11-13T20:55:50.056Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-11-13T20:55:50.056Z] project root: . [2023-11-13T20:55:50.056Z] --> token set from env [2023-11-13T20:55:50.056Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-13T20:55:50.056Z] ==> Running gcov in . (disable via -X gcov) [2023-11-13T20:55:50.056Z] ==> Python coveragepy not found [2023-11-13T20:55:50.056Z] ==> Searching for coverage reports in: [2023-11-13T20:55:50.056Z] + . [2023-11-13T20:55:50.056Z] -> Found 1 reports [2023-11-13T20:55:50.056Z] ==> Detecting git/mercurial file structure [2023-11-13T20:55:50.056Z] ==> Reading reports [2023-11-13T20:55:50.056Z] + ./coverage.out bytes=8837 [2023-11-13T20:55:50.056Z] ==> Appending adjustments [2023-11-13T20:55:50.056Z] https://docs.codecov.io/docs/fixing-reports [2023-11-13T20:55:50.056Z] + Found adjustments [2023-11-13T20:55:50.056Z] ==> Gzipping contents [2023-11-13T20:55:50.316Z] 4.0K /tmp/codecov.uSidR6.gz [2023-11-13T20:55:50.316Z] ==> Uploading reports [2023-11-13T20:55:50.316Z] url: https://codecov.io [2023-11-13T20:55:50.316Z] query: branch=main&commit=7e94b9fbc9a6f42ac524c9c46ae680402909dfe2&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-13T20:55:50.316Z] -> Pinging Codecov [2023-11-13T20:55:50.316Z] 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=7e94b9fbc9a6f42ac524c9c46ae680402909dfe2&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-13T20:55:50.316Z] -> Uploading to [2023-11-13T20:55:50.316Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-13/6C56EA5C29638FB4528AC87E60AF5AE0/7e94b9fbc9a6f42ac524c9c46ae680402909dfe2/29d1fca8-5f5e-490e-9854-0905d8a4cc71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231113T205550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad1a9b8635e494f75fcbe7b5126dc9d34302a34d2c811ac0e190b4cee33b4a98 [2023-11-13T20:55:50.316Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-13T20:55:50.316Z] Dload Upload Total Spent Left Speed [2023-11-13T20:55:50.576Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5334 --:--:-- --:--:-- --:--:-- 5334 [2023-11-13T20:55:50.576Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] } [2023-11-13T20:55:50.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-13T20:55:50.792Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-13T20:55:50.805Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:51.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-13T20:55:51.119Z] [2023-11-13T20:55:51.119Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:55:51.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-13T20:55:51.413Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-13T20:55:51.413Z] df9b9388f04a: Pulling fs layer [2023-11-13T20:55:51.413Z] 52dc419b0ee2: Pulling fs layer [2023-11-13T20:55:51.413Z] 25bc292e5bac: Pulling fs layer [2023-11-13T20:55:51.413Z] 114826534d7a: Pulling fs layer [2023-11-13T20:55:51.413Z] 4657fd5d0bcf: Pulling fs layer [2023-11-13T20:55:51.413Z] 6ad1cebc031e: Pulling fs layer [2023-11-13T20:55:51.413Z] 8a3aa393b2d8: Pulling fs layer [2023-11-13T20:55:51.413Z] 4657fd5d0bcf: Waiting [2023-11-13T20:55:51.413Z] 8a3aa393b2d8: Waiting [2023-11-13T20:55:51.413Z] 6ad1cebc031e: Waiting [2023-11-13T20:55:51.413Z] 114826534d7a: Waiting [2023-11-13T20:55:51.413Z] 25bc292e5bac: Verifying Checksum [2023-11-13T20:55:51.413Z] 25bc292e5bac: Download complete [2023-11-13T20:55:51.413Z] 52dc419b0ee2: Download complete [2023-11-13T20:55:51.413Z] 4657fd5d0bcf: Verifying Checksum [2023-11-13T20:55:51.413Z] 4657fd5d0bcf: Download complete [2023-11-13T20:55:51.413Z] df9b9388f04a: Download complete [2023-11-13T20:55:51.672Z] 6ad1cebc031e: Verifying Checksum [2023-11-13T20:55:51.672Z] 6ad1cebc031e: Download complete [2023-11-13T20:55:51.672Z] df9b9388f04a: Pull complete [2023-11-13T20:55:51.930Z] 52dc419b0ee2: Pull complete [2023-11-13T20:55:51.930Z] 25bc292e5bac: Pull complete [2023-11-13T20:55:52.189Z] 114826534d7a: Verifying Checksum [2023-11-13T20:55:52.189Z] 114826534d7a: Download complete [2023-11-13T20:55:52.449Z] 8a3aa393b2d8: Verifying Checksum [2023-11-13T20:55:52.449Z] 8a3aa393b2d8: Download complete [2023-11-13T20:55:56.636Z] 114826534d7a: Pull complete [2023-11-13T20:55:56.636Z] 4657fd5d0bcf: Pull complete [2023-11-13T20:55:56.636Z] 6ad1cebc031e: Pull complete [2023-11-13T20:55:59.917Z] 8a3aa393b2d8: Pull complete [2023-11-13T20:55:59.917Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-13T20:55:59.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-13T20:55:59.917Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:56:00.002Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:56:00.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-13T20:56:05.260Z] $ docker top daccb95b7e62f8b0e8e991aeec2c575cc597024903bdcb043bf68cbf6676bd89 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-13T20:56:05.334Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-11-13T20:56:05.611Z] + set -o pipefail [2023-11-13T20:56:05.611Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-11-13T20:56:12.182Z] [2023-11-13T20:56:12.182Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-11-13T20:56:12.182Z] [2023-11-13T20:56:12.182Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/b78a44c6-9316-421d-992b-f7e3cc797a86 [2023-11-13T20:56:12.182Z] [2023-11-13T20:56:12.182Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-13T20:56:12.182Z] [2023-11-13T20:56:12.182Z] [2023-11-13T20:56:12.182Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-13T20:56:12.183Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-13T20:56:12.183Z] More details here: https://snyk.co/ue1NS [2023-11-13T20:56:12.183Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-13T20:56:12.183Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-13T20:56:12.189Z] $ docker stop --time=1 daccb95b7e62f8b0e8e991aeec2c575cc597024903bdcb043bf68cbf6676bd89 [2023-11-13T20:56:15.896Z] $ docker rm -f --volumes daccb95b7e62f8b0e8e991aeec2c575cc597024903bdcb043bf68cbf6676bd89 [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-11-13T20:56:16.821Z] + git log --format=format:%s -1 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] sh [2023-11-13T20:56:17.114Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-13T20:56:17.114Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:56:17.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-13T20:56:17.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:56:17.488Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:56:17.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-13T20:56:17.934Z] $ docker top 2af043350a495fc2bcfa05ebd069fe3589b3858bb3801ddfdb738507908e1422 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-13T20:56:18.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-13T20:56:18.041Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-13T20:56:18.141Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-13T20:56:18.137Z] $ docker exec 2af043350a495fc2bcfa05ebd069fe3589b3858bb3801ddfdb738507908e1422 ssh-agent [2023-11-13T20:56:18.255Z] SSH_AUTH_SOCK=/tmp/ssh-BngWtZwuinZe/agent.32 [2023-11-13T20:56:18.255Z] SSH_AGENT_PID=38 [2023-11-13T20:56:18.260Z] Running ssh-add (command line suppressed) [2023-11-13T20:56:18.359Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16158490837769811778.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16158490837769811778.key) [2023-11-13T20:56:18.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-13T20:56:18.663Z] + git semver tag [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,826 [run_tag] DEBUG tag force:False [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,826 [check_head_tag] DEBUG check head tag [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,827 [execute] INFO git cat-file --batch-check [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,831 [execute] INFO git cat-file --batch [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,841 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,841 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-13T20:56:18.924Z] 2023-11-13 20:56:18,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-13T20:56:18.924Z] 3.1.0-dev.12 [Pipeline] } [2023-11-13T20:56:18.929Z] $ docker exec --env ******** --env ******** 2af043350a495fc2bcfa05ebd069fe3589b3858bb3801ddfdb738507908e1422 ssh-agent -k [2023-11-13T20:56:19.020Z] unset SSH_AUTH_SOCK; [2023-11-13T20:56:19.021Z] unset SSH_AGENT_PID; [2023-11-13T20:56:19.021Z] echo Agent pid 38 killed; [2023-11-13T20:56:19.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-13T20:56:19.346Z] + git semver [Pipeline] } [2023-11-13T20:56:19.611Z] $ docker stop --time=1 2af043350a495fc2bcfa05ebd069fe3589b3858bb3801ddfdb738507908e1422 [2023-11-13T20:56:20.896Z] $ docker rm -f --volumes 2af043350a495fc2bcfa05ebd069fe3589b3858bb3801ddfdb738507908e1422 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:56:21.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-13T20:56:21.299Z] [2023-11-13T20:56:21.299Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:56:21.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-13T20:56:21.603Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-13T20:56:21.603Z] ab5ef0e58194: Pulling fs layer [2023-11-13T20:56:21.603Z] 9712f1f96733: Pulling fs layer [2023-11-13T20:56:21.603Z] 63f879dbbcfc: Pulling fs layer [2023-11-13T20:56:21.603Z] 0d9ebad4ef96: Pulling fs layer [2023-11-13T20:56:21.603Z] e9a5061849ea: Pulling fs layer [2023-11-13T20:56:21.603Z] d747dcd14b5f: Pulling fs layer [2023-11-13T20:56:21.603Z] 2de7ff778b66: Pulling fs layer [2023-11-13T20:56:21.603Z] 0d9ebad4ef96: Waiting [2023-11-13T20:56:21.603Z] e9a5061849ea: Waiting [2023-11-13T20:56:21.603Z] d747dcd14b5f: Waiting [2023-11-13T20:56:21.603Z] 2de7ff778b66: Waiting [2023-11-13T20:56:21.603Z] 9712f1f96733: Download complete [2023-11-13T20:56:21.863Z] 63f879dbbcfc: Verifying Checksum [2023-11-13T20:56:21.863Z] 63f879dbbcfc: Download complete [2023-11-13T20:56:21.863Z] e9a5061849ea: Verifying Checksum [2023-11-13T20:56:21.863Z] e9a5061849ea: Download complete [2023-11-13T20:56:21.863Z] d747dcd14b5f: Download complete [2023-11-13T20:56:22.122Z] ab5ef0e58194: Verifying Checksum [2023-11-13T20:56:22.122Z] ab5ef0e58194: Download complete [2023-11-13T20:56:22.122Z] 0d9ebad4ef96: Verifying Checksum [2023-11-13T20:56:22.122Z] 0d9ebad4ef96: Download complete [2023-11-13T20:56:22.122Z] 2de7ff778b66: Verifying Checksum [2023-11-13T20:56:22.122Z] 2de7ff778b66: Download complete [2023-11-13T20:56:24.653Z] ab5ef0e58194: Pull complete [2023-11-13T20:56:24.911Z] 9712f1f96733: Pull complete [2023-11-13T20:56:25.478Z] 63f879dbbcfc: Pull complete [2023-11-13T20:56:29.667Z] 0d9ebad4ef96: Pull complete [2023-11-13T20:56:29.667Z] e9a5061849ea: Pull complete [2023-11-13T20:56:29.667Z] d747dcd14b5f: Pull complete [2023-11-13T20:56:31.041Z] 2de7ff778b66: Pull complete [2023-11-13T20:56:31.041Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-13T20:56:31.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-13T20:56:31.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:56:31.115Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:56:31.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-13T20:56:38.571Z] $ docker top 6f2281cf957ab26c9d28684849bae1eecca15512c73063ac6c3a6b7027d54915 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-13T20:56:38.654Z] provisioning config files... [2023-11-13T20:56:38.662Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11119819325574225349tmp [2023-11-13T20:56:38.672Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4461765742512675478tmp [2023-11-13T20:56:38.681Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config193067805465605984tmp [Pipeline] { [Pipeline] echo [2023-11-13T20:56:38.700Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:38.986Z] ---> sigul-configuration.sh [2023-11-13T20:56:38.986Z] gpg: directory `/root/.gnupg' created [2023-11-13T20:56:38.986Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-13T20:56:38.986Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-13T20:56:38.986Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-13T20:56:38.986Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-13T20:56:38.986Z] gpg: CAST5 encrypted data [2023-11-13T20:56:38.986Z] gpg: encrypted with 1 passphrase [2023-11-13T20:56:38.986Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-13T20:56:39.272Z] + mkdir /home/jenkins [2023-11-13T20:56:39.272Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-13T20:56:39.563Z] + 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-11-13T20:56:39.573Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:39.868Z] ---> sigul-install.sh [2023-11-13T20:56:39.868Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-13T20:56:40.155Z] + git tag --list [2023-11-13T20:56:40.156Z] 1.0.0 [2023-11-13T20:56:40.156Z] v0.0.0 [2023-11-13T20:56:40.156Z] v1.1.0 [2023-11-13T20:56:40.156Z] v1.1.1 [2023-11-13T20:56:40.156Z] v1.2.2 [2023-11-13T20:56:40.156Z] v1.3.0 [2023-11-13T20:56:40.156Z] v1.3.1 [2023-11-13T20:56:40.156Z] v2.0.0 [2023-11-13T20:56:40.156Z] v2.1.0 [2023-11-13T20:56:40.156Z] v2.1.1 [2023-11-13T20:56:40.156Z] v2.2.0 [2023-11-13T20:56:40.156Z] v2.3.0 [2023-11-13T20:56:40.156Z] v3.0 [2023-11-13T20:56:40.156Z] v3.0.0 [2023-11-13T20:56:40.156Z] v3.1.0-dev.1 [2023-11-13T20:56:40.156Z] v3.1.0-dev.10 [2023-11-13T20:56:40.156Z] v3.1.0-dev.11 [2023-11-13T20:56:40.156Z] v3.1.0-dev.12 [2023-11-13T20:56:40.156Z] v3.1.0-dev.2 [2023-11-13T20:56:40.156Z] v3.1.0-dev.3 [2023-11-13T20:56:40.156Z] v3.1.0-dev.4 [2023-11-13T20:56:40.156Z] v3.1.0-dev.5 [2023-11-13T20:56:40.156Z] v3.1.0-dev.6 [2023-11-13T20:56:40.156Z] v3.1.0-dev.7 [2023-11-13T20:56:40.156Z] v3.1.0-dev.8 [2023-11-13T20:56:40.156Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-13T20:56:40.443Z] + lftools sign git-tag v3.1.0-dev.12 [2023-11-13T20:56:41.012Z] Signing Git tag with Sigul... [2023-11-13T20:56:41.012Z] Signing v3.1.0-dev.12 [Pipeline] echo [2023-11-13T20:56:41.280Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:41.561Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-13T20:56:41.569Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-13T20:56:41.586Z] $ docker stop --time=1 6f2281cf957ab26c9d28684849bae1eecca15512c73063ac6c3a6b7027d54915 [2023-11-13T20:56:42.896Z] $ docker rm -f --volumes 6f2281cf957ab26c9d28684849bae1eecca15512c73063ac6c3a6b7027d54915 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-13T20:56:43.320Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-13T20:56:43.320Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:56:43.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-13T20:56:43.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:56:43.687Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:56:43.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-13T20:56:44.045Z] $ docker top 6a0d9ba2d0f47b5010489926640ae4af88ada79029349dd9be0dc292501577fe -eo pid,comm [2023-11-13T20:56:44.099Z] 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-11-13T20:56:44.099Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-13T20:56:44.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-13T20:56:44.122Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-13T20:56:44.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-13T20:56:44.235Z] $ docker exec 6a0d9ba2d0f47b5010489926640ae4af88ada79029349dd9be0dc292501577fe ssh-agent [2023-11-13T20:56:44.351Z] SSH_AUTH_SOCK=/tmp/ssh-S5ojDtprzCHY/agent.33 [2023-11-13T20:56:44.351Z] SSH_AGENT_PID=39 [2023-11-13T20:56:44.355Z] Running ssh-add (command line suppressed) [2023-11-13T20:56:44.449Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12783281775681308406.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12783281775681308406.key) [2023-11-13T20:56:44.468Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-13T20:56:44.754Z] + git semver bump pre [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,934 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,934 [bump_version] DEBUG bumped version:3.1.0-dev.13 [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,934 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,934 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,937 [execute] INFO git cat-file --batch-check [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,942 [execute] INFO git cat-file --batch [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-13T20:56:45.015Z] 2023-11-13 20:56:44,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-13T20:56:45.015Z] 3.1.0-dev.13 [Pipeline] } [2023-11-13T20:56:45.017Z] $ docker exec --env ******** --env ******** 6a0d9ba2d0f47b5010489926640ae4af88ada79029349dd9be0dc292501577fe ssh-agent -k [2023-11-13T20:56:45.116Z] unset SSH_AUTH_SOCK; [2023-11-13T20:56:45.116Z] unset SSH_AGENT_PID; [2023-11-13T20:56:45.116Z] echo Agent pid 39 killed; [2023-11-13T20:56:45.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-13T20:56:45.434Z] + git semver [Pipeline] } [2023-11-13T20:56:45.919Z] $ docker stop --time=1 6a0d9ba2d0f47b5010489926640ae4af88ada79029349dd9be0dc292501577fe [2023-11-13T20:56:47.198Z] $ docker rm -f --volumes 6a0d9ba2d0f47b5010489926640ae4af88ada79029349dd9be0dc292501577fe [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-13T20:56:47.549Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-13T20:56:47.549Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:56:47.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-13T20:56:47.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:56:47.942Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:56:47.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-13T20:56:48.320Z] $ docker top 101e80a4d9c52401d7cdf4f3455e797445dc90f16b52583164f3fd684bed7b40 -eo pid,comm [2023-11-13T20:56:48.373Z] 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-11-13T20:56:48.373Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-13T20:56:48.407Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-13T20:56:48.407Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-13T20:56:48.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-13T20:56:48.506Z] $ docker exec 101e80a4d9c52401d7cdf4f3455e797445dc90f16b52583164f3fd684bed7b40 ssh-agent [2023-11-13T20:56:48.629Z] SSH_AUTH_SOCK=/tmp/ssh-mvKbCn2gsjAl/agent.30 [2023-11-13T20:56:48.629Z] SSH_AGENT_PID=36 [2023-11-13T20:56:48.635Z] Running ssh-add (command line suppressed) [2023-11-13T20:56:48.741Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6645325223323004697.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6645325223323004697.key) [2023-11-13T20:56:48.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-13T20:56:49.047Z] + git semver push [2023-11-13T20:56:49.305Z] 2023-11-13 20:56:49,217 [run_push] DEBUG push [2023-11-13T20:56:49.305Z] 2023-11-13 20:56:49,218 [execute] INFO git cat-file --batch-check [2023-11-13T20:56:49.305Z] 2023-11-13 20:56:49,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-13T20:56:49.305Z] 2023-11-13 20:56:49,222 [execute] INFO git rev-list f376bb263d3393163a3804dd546ea633f2c3c10a -- [2023-11-13T20:56:49.305Z] 2023-11-13 20:56:49,222 [execute] DEBUG Popen(['git', 'rev-list', 'f376bb263d3393163a3804dd546ea633f2c3c10a', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-13T20:56:49.305Z] 2023-11-13 20:56:49,230 [execute] INFO git fetch -v origin [2023-11-13T20:56:49.305Z] 2023-11-13 20:56:49,231 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-13T20:56:49.870Z] 2023-11-13 20:56:49,765 [run_push] DEBUG no remote changes detected [2023-11-13T20:56:49.870Z] 2023-11-13 20:56:49,765 [execute] INFO git push origin semver [2023-11-13T20:56:49.870Z] 2023-11-13 20:56:49,766 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-13T20:56:50.810Z] 2023-11-13 20:56:50,534 [run_push] DEBUG push all version tags [2023-11-13T20:56:50.810Z] 2023-11-13 20:56:50,535 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-13T20:56:50.810Z] 2023-11-13 20:56:50,536 [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-11-13T20:56:51.380Z] 2023-11-13 20:56:51,328 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-11-13T20:56:51.380Z] 3.1.0-dev.13 [Pipeline] } [2023-11-13T20:56:51.383Z] $ docker exec --env ******** --env ******** 101e80a4d9c52401d7cdf4f3455e797445dc90f16b52583164f3fd684bed7b40 ssh-agent -k [2023-11-13T20:56:51.479Z] unset SSH_AUTH_SOCK; [2023-11-13T20:56:51.479Z] unset SSH_AGENT_PID; [2023-11-13T20:56:51.479Z] echo Agent pid 36 killed; [2023-11-13T20:56:51.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-13T20:56:51.799Z] + git semver [Pipeline] } [2023-11-13T20:56:52.062Z] $ docker stop --time=1 101e80a4d9c52401d7cdf4f3455e797445dc90f16b52583164f3fd684bed7b40 [2023-11-13T20:56:53.320Z] $ docker rm -f --volumes 101e80a4d9c52401d7cdf4f3455e797445dc90f16b52583164f3fd684bed7b40 [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-11-13T20:56:53.881Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-11-13T20:56:53.881Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-11-13T20:56:53.881Z] total 16 [2023-11-13T20:56:53.881Z] drwxr-xr-x 3 root root 4096 Nov 13 20:47 . [2023-11-13T20:56:53.881Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 20:56 .. [2023-11-13T20:56:53.881Z] drwxr-xr-x 2 root root 4096 Nov 13 20:47 cost [2023-11-13T20:56:53.881Z] -rw-r--r-- 1 root root 85 Nov 13 20:47 cost.csv [2023-11-13T20:56:53.881Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-11-13T20:56:53.881Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-11-13T20:56:53.881Z] total 16 [2023-11-13T20:56:53.882Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 20:47 . [2023-11-13T20:56:53.882Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 20:56 .. [2023-11-13T20:56:53.882Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 13 20:47 cost [2023-11-13T20:56:53.882Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 13 20:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:54.178Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:55.032Z] ---> package-listing.sh [2023-11-13T20:56:55.032Z] ++ facter osfamily [2023-11-13T20:56:55.032Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-13T20:56:55.291Z] + OS_FAMILY=debian [2023-11-13T20:56:55.291Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-11-13T20:56:55.291Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-13T20:56:55.291Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-13T20:56:55.291Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-13T20:56:55.291Z] + PACKAGES=/tmp/packages_start.txt [2023-11-13T20:56:55.291Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-11-13T20:56:55.291Z] + PACKAGES=/tmp/packages_end.txt [2023-11-13T20:56:55.291Z] + case "${OS_FAMILY}" in [2023-11-13T20:56:55.291Z] + dpkg -l [2023-11-13T20:56:55.291Z] + grep '^ii' [2023-11-13T20:56:55.291Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-13T20:56:55.291Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-13T20:56:55.291Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-13T20:56:55.291Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-11-13T20:56:55.291Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-11-13T20:56:55.291Z] + 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-11-13T20:56:55.302Z] 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-11-13T20:56:55.577Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-13T20:56:56.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-13T20:56:56.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-13T20:56:56.302Z] prd-ubuntu20.04-docker-8c-8g-17384 does not seem to be running inside a container [2023-11-13T20:56:56.354Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-13T20:56:56.555Z] $ docker top 87baaa28c9a0f7dd410069d3bb7ef6ef5862331b1c268abed2e9bd3ac75181bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-13T20:56:56.911Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-13T20:56:57.197Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-13T20:56:57.484Z] + ls /var/log/sa-host [2023-11-13T20:56:57.484Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-13T20:56:57.552Z] provisioning config files... [2023-11-13T20:56:57.561Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12916769758861813644tmp [Pipeline] { [Pipeline] echo [2023-11-13T20:56:57.572Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:57.855Z] ---> create-netrc.sh [Pipeline] } [2023-11-13T20:56:57.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:58.197Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-13T20:56:58.207Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:58.491Z] ---> sudo-logs.sh [2023-11-13T20:56:58.491Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-13T20:56:58.518Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:58.803Z] ---> job-cost.sh [2023-11-13T20:56:58.804Z] lf-activate-venv: SKIPPING [2023-11-13T20:56:58.804Z] DEBUG: total: 0.2199999988079071 [2023-11-13T20:56:58.804Z] INFO: Retrieving Stack Cost... [2023-11-13T20:56:59.063Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-13T20:56:59.631Z] INFO: Archiving Costs [Pipeline] echo [2023-11-13T20:56:59.645Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-13T20:56:59.925Z] ---> logs-deploy.sh [2023-11-13T20:56:59.926Z] lf-activate-venv: SKIPPING [2023-11-13T20:56:59.926Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/99 [2023-11-13T20:56:59.926Z] INFO: archiving workspace using pattern(s): [2023-11-13T20:57:00.869Z] Archives upload complete. [2023-11-13T20:57:00.869Z] INFO: archiving logs to Nexus