Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7429475b8b1c7d2813665a0cabf567e5cd6ad519 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-ssh3453027485004562886.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh18353276558436632449.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14083313350677161692.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh12179008179001761436.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-ssh14929456867486256620.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9497’ Running on prd-ubuntu20.04-docker-8c-8g-9502 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 7429475b8b1c7d2813665a0cabf567e5cd6ad519 (main) Commit message: "Merge pull request #293 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.74" > 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 7429475b8b1c7d2813665a0cabf567e5cd6ad519 # timeout=10 > git rev-list --no-walk b749e223b2711b185c15c0ba4cea8b5d0d469184 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T06:31:58.815Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T06:31:58.878Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T06:31:58.896Z] ========================================================= [2023-04-24T06:31:58.896Z] EdgeX Global Pipelines Version Info [2023-04-24T06:31:58.896Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:31:59.611Z] ------------------- [2023-04-24T06:31:59.611Z] stable info: [2023-04-24T06:31:59.611Z] ------------------- [2023-04-24T06:31:59.611Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T06:31:59.611Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:31:59.611Z] Message: update stable to v1.0.248 [2023-04-24T06:32:00.183Z] ------------------- [2023-04-24T06:32:00.183Z] experimental info: [2023-04-24T06:32:00.183Z] ------------------- [2023-04-24T06:32:00.183Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T06:32:00.183Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T06:32:00.183Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T06:32:00.369Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-04-24T06:32:00.381Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-04-24T06:32:00.393Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T06:32:00.410Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T06:32:00.429Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T06:32:00.444Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T06:32:00.458Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T06:32:00.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T06:32:00.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T06:32:00.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T06:32:00.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T06:32:00.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-04-24T06:32:00.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T06:32:00.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T06:32:00.569Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:32:00.582Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T06:32:00.592Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:32:00.603Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T06:32:00.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T06:32:00.632Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T06:32:00.649Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T06:32:00.665Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T06:32:00.681Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T06:32:00.692Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T06:32:00.706Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T06:32:00.727Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T06:32:00.741Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T06:32:00.752Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-24T06:32:00.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-24T06:32:00.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-24T06:32:00.790Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7429475b8b1c7d2813665a0cabf567e5cd6ad519 [Pipeline] echo [2023-04-24T06:32:00.804Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7429475 [Pipeline] echo [2023-04-24T06:32:00.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:32:00.866Z] provisioning config files... [2023-04-24T06:32:00.880Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11212759070304472384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:32:01.186Z] ---> docker-login.sh [2023-04-24T06:32:01.186Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:32:01.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:01.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:01.447Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:01.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:01.447Z] [2023-04-24T06:32:01.447Z] Login Succeeded [2023-04-24T06:32:01.447Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:32:01.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:01.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:01.709Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:01.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:01.709Z] [2023-04-24T06:32:01.709Z] Login Succeeded [2023-04-24T06:32:01.709Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:32:01.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:01.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:01.709Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:01.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:01.709Z] [2023-04-24T06:32:01.709Z] Login Succeeded [2023-04-24T06:32:01.709Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:32:01.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:01.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:01.709Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:01.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:01.709Z] [2023-04-24T06:32:01.709Z] Login Succeeded [2023-04-24T06:32:01.709Z] docker.io [2023-04-24T06:32:01.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:02.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:02.230Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:02.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:02.230Z] [2023-04-24T06:32:02.230Z] Login Succeeded [2023-04-24T06:32:02.230Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:32:02.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T06:32:02.621Z] + git rev-list -1 --merges 7429475b8b1c7d2813665a0cabf567e5cd6ad519~1..7429475b8b1c7d2813665a0cabf567e5cd6ad519 [Pipeline] echo [2023-04-24T06:32:02.668Z] -----------> git rev-list -1 --merges 7429475b8b1c7d2813665a0cabf567e5cd6ad519~1..7429475b8b1c7d2813665a0cabf567e5cd6ad519 7429475b8b1c7d2813665a0cabf567e5cd6ad519 [2023-04-24T06:32:02.668Z] 7429475b8b1c7d2813665a0cabf567e5cd6ad519 [false] [Pipeline] sh [2023-04-24T06:32:02.961Z] + git log --format=format:%s -1 7429475b8b1c7d2813665a0cabf567e5cd6ad519 [Pipeline] echo [2023-04-24T06:32:02.976Z] ========================================================= [2023-04-24T06:32:02.977Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T06:32:02.977Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:32:03.305Z] + git log --format=format:%s -1 7429475b8b1c7d2813665a0cabf567e5cd6ad519 [Pipeline] echo [2023-04-24T06:32:03.317Z] [semverPrep] GIT_COMMIT: 7429475b8b1c7d2813665a0cabf567e5cd6ad519, Commit Message: Merge pull request #293 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.74 [Pipeline] echo [2023-04-24T06:32:03.330Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T06:32:03.668Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:32:03.668Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T06:32:03.668Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T06:32:03.668Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T06:32:03.668Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T06:32:03.668Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T06:32:03.668Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:04.037Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:32:04.037Z] [2023-04-24T06:32:04.037Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:04.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:32:04.348Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T06:32:04.348Z] b85a868b505f: Pulling fs layer [2023-04-24T06:32:04.348Z] e2be974225ed: Pulling fs layer [2023-04-24T06:32:04.348Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T06:32:04.348Z] 988bab9f4d93: Pulling fs layer [2023-04-24T06:32:04.348Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T06:32:04.348Z] eaf3925da568: Pulling fs layer [2023-04-24T06:32:04.348Z] bab4dde63d76: Pulling fs layer [2023-04-24T06:32:04.348Z] bde34c3a00c8: Pulling fs layer [2023-04-24T06:32:04.348Z] b352a97aabf1: Pulling fs layer [2023-04-24T06:32:04.348Z] 4872d77fe225: Pulling fs layer [2023-04-24T06:32:04.348Z] 5851b861e8e6: Pulling fs layer [2023-04-24T06:32:04.348Z] 988bab9f4d93: Waiting [2023-04-24T06:32:04.348Z] 1469e6f7b9e6: Waiting [2023-04-24T06:32:04.348Z] eaf3925da568: Waiting [2023-04-24T06:32:04.348Z] bab4dde63d76: Waiting [2023-04-24T06:32:04.348Z] 4872d77fe225: Waiting [2023-04-24T06:32:04.348Z] bde34c3a00c8: Waiting [2023-04-24T06:32:04.348Z] 5851b861e8e6: Waiting [2023-04-24T06:32:04.348Z] b352a97aabf1: Waiting [2023-04-24T06:32:04.348Z] e2be974225ed: Verifying Checksum [2023-04-24T06:32:04.348Z] e2be974225ed: Download complete [2023-04-24T06:32:04.348Z] 988bab9f4d93: Verifying Checksum [2023-04-24T06:32:04.348Z] 988bab9f4d93: Download complete [2023-04-24T06:32:04.348Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T06:32:04.348Z] 339a4e72a1f5: Download complete [2023-04-24T06:32:04.348Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T06:32:04.348Z] 1469e6f7b9e6: Download complete [2023-04-24T06:32:04.348Z] eaf3925da568: Verifying Checksum [2023-04-24T06:32:04.348Z] eaf3925da568: Download complete [2023-04-24T06:32:04.606Z] bde34c3a00c8: Download complete [2023-04-24T06:32:04.606Z] b352a97aabf1: Download complete [2023-04-24T06:32:04.606Z] 4872d77fe225: Verifying Checksum [2023-04-24T06:32:04.606Z] 4872d77fe225: Download complete [2023-04-24T06:32:04.606Z] 5851b861e8e6: Download complete [2023-04-24T06:32:04.606Z] b85a868b505f: Verifying Checksum [2023-04-24T06:32:04.606Z] b85a868b505f: Download complete [2023-04-24T06:32:04.865Z] bab4dde63d76: Verifying Checksum [2023-04-24T06:32:04.865Z] bab4dde63d76: Download complete [2023-04-24T06:32:05.803Z] b85a868b505f: Pull complete [2023-04-24T06:32:06.063Z] e2be974225ed: Pull complete [2023-04-24T06:32:06.322Z] 339a4e72a1f5: Pull complete [2023-04-24T06:32:06.581Z] 988bab9f4d93: Pull complete [2023-04-24T06:32:06.840Z] 1469e6f7b9e6: Pull complete [2023-04-24T06:32:06.840Z] eaf3925da568: Pull complete [2023-04-24T06:32:08.748Z] bab4dde63d76: Pull complete [2023-04-24T06:32:08.748Z] bde34c3a00c8: Pull complete [2023-04-24T06:32:08.748Z] b352a97aabf1: Pull complete [2023-04-24T06:32:08.748Z] 4872d77fe225: Pull complete [2023-04-24T06:32:09.007Z] 5851b861e8e6: Pull complete [2023-04-24T06:32:09.007Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T06:32:09.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:32:09.007Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:32:09.147Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:32:09.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:32:10.519Z] $ docker top ce1a294585e24685f7e8b4e8bd05ee7c40e97948eb41162360be0f7873b1e872 -eo pid,comm [2023-04-24T06:32:10.575Z] 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-04-24T06:32:10.575Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:32:10.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:32:10.619Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:32:10.748Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:32:10.756Z] $ docker exec ce1a294585e24685f7e8b4e8bd05ee7c40e97948eb41162360be0f7873b1e872 ssh-agent [2023-04-24T06:32:10.866Z] SSH_AUTH_SOCK=/tmp/ssh-23ymNiSRGG03/agent.32 [2023-04-24T06:32:10.866Z] SSH_AGENT_PID=38 [2023-04-24T06:32:10.874Z] Running ssh-add (command line suppressed) [2023-04-24T06:32:10.985Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_719001722431392867.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_719001722431392867.key) [2023-04-24T06:32:11.000Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:32:11.290Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T06:32:11.317Z] $ docker exec --env ******** --env ******** ce1a294585e24685f7e8b4e8bd05ee7c40e97948eb41162360be0f7873b1e872 ssh-agent -k [2023-04-24T06:32:11.429Z] unset SSH_AUTH_SOCK; [2023-04-24T06:32:11.429Z] unset SSH_AGENT_PID; [2023-04-24T06:32:11.429Z] echo Agent pid 38 killed; [2023-04-24T06:32:11.436Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T06:32:11.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:32:11.458Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:32:11.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:32:11.573Z] $ docker exec ce1a294585e24685f7e8b4e8bd05ee7c40e97948eb41162360be0f7873b1e872 ssh-agent [2023-04-24T06:32:11.681Z] SSH_AUTH_SOCK=/tmp/ssh-oOlZV5eC3nPd/agent.72 [2023-04-24T06:32:11.681Z] SSH_AGENT_PID=78 [2023-04-24T06:32:11.687Z] Running ssh-add (command line suppressed) [2023-04-24T06:32:11.791Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17267352356226331269.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17267352356226331269.key) [2023-04-24T06:32:11.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:32:12.099Z] + git semver init [2023-04-24T06:32:12.360Z] 2023-04-24 06:32:12,281 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T06:32:12.360Z] 2023-04-24 06:32:12,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-24T06:32:12.360Z] 2023-04-24 06:32:12,282 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-04-24T06:32:12.360Z] 2023-04-24 06:32:12,283 [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-04-24T06:32:13.297Z] 2023-04-24 06:32:13,001 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-04-24T06:32:13.297Z] 2023-04-24 06:32:13,002 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-04-24T06:32:13.297Z] 2023-04-24 06:32:13,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T06:32:13.297Z] 2023-04-24 06:32:13,002 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T06:32:13.297Z] 3.0.0-dev.16 [Pipeline] } [2023-04-24T06:32:13.312Z] $ docker exec --env ******** --env ******** ce1a294585e24685f7e8b4e8bd05ee7c40e97948eb41162360be0f7873b1e872 ssh-agent -k [2023-04-24T06:32:13.411Z] unset SSH_AUTH_SOCK; [2023-04-24T06:32:13.411Z] unset SSH_AGENT_PID; [2023-04-24T06:32:13.411Z] echo Agent pid 78 killed; [2023-04-24T06:32:13.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:32:13.728Z] + git semver [Pipeline] } [2023-04-24T06:32:14.006Z] $ docker stop --time=1 ce1a294585e24685f7e8b4e8bd05ee7c40e97948eb41162360be0f7873b1e872 [2023-04-24T06:32:15.388Z] $ docker rm -f --volumes ce1a294585e24685f7e8b4e8bd05ee7c40e97948eb41162360be0f7873b1e872 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:32:15.736Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T06:32:15.958Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T06:32:15.960Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.16 [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-04-24T06:32:16.114Z] provisioning config files... [2023-04-24T06:32:16.126Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4083923348975475327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:32:16.421Z] ---> docker-login.sh [2023-04-24T06:32:16.421Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:32:16.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:16.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:16.421Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:16.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:16.421Z] [2023-04-24T06:32:16.421Z] Login Succeeded [2023-04-24T06:32:16.421Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:32:16.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:16.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:16.421Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:16.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:16.421Z] [2023-04-24T06:32:16.421Z] Login Succeeded [2023-04-24T06:32:16.421Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:32:16.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:16.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:16.685Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:16.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:16.685Z] [2023-04-24T06:32:16.685Z] Login Succeeded [2023-04-24T06:32:16.685Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:32:16.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:16.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:16.685Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:16.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:16.685Z] [2023-04-24T06:32:16.685Z] Login Succeeded [2023-04-24T06:32:16.685Z] docker.io [2023-04-24T06:32:16.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:32:16.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:32:16.944Z] Configure a credential helper to remove this warning. See [2023-04-24T06:32:16.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:32:16.944Z] [2023-04-24T06:32:16.944Z] Login Succeeded [2023-04-24T06:32:16.944Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:32:16.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:32:17.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:32:17.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:32:17.037Z] ========================================================= [2023-04-24T06:32:17.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T06:32:17.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:17.348Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T06:32:17.348Z] Sending build context to Docker daemon 5.78MB [2023-04-24T06:32:17.348Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:32:17.348Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T06:32:17.348Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T06:32:17.348Z] 63b65145d645: Pulling fs layer [2023-04-24T06:32:17.348Z] a2d21d5440eb: Pulling fs layer [2023-04-24T06:32:17.348Z] 935e6c44a52c: Pulling fs layer [2023-04-24T06:32:17.348Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T06:32:17.348Z] 30dea6a524f1: Pulling fs layer [2023-04-24T06:32:17.348Z] a2aff8979fd8: Pulling fs layer [2023-04-24T06:32:17.348Z] 6808be2612f2: Pulling fs layer [2023-04-24T06:32:17.348Z] f25807f1079a: Pulling fs layer [2023-04-24T06:32:17.348Z] 30dea6a524f1: Waiting [2023-04-24T06:32:17.348Z] a2aff8979fd8: Waiting [2023-04-24T06:32:17.348Z] 6808be2612f2: Waiting [2023-04-24T06:32:17.348Z] f25807f1079a: Waiting [2023-04-24T06:32:17.348Z] 94cc34f8dd06: Waiting [2023-04-24T06:32:17.348Z] a2d21d5440eb: Verifying Checksum [2023-04-24T06:32:17.348Z] a2d21d5440eb: Download complete [2023-04-24T06:32:17.348Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T06:32:17.348Z] 94cc34f8dd06: Download complete [2023-04-24T06:32:17.607Z] 30dea6a524f1: Verifying Checksum [2023-04-24T06:32:17.607Z] 30dea6a524f1: Download complete [2023-04-24T06:32:17.607Z] 63b65145d645: Verifying Checksum [2023-04-24T06:32:17.607Z] 63b65145d645: Download complete [2023-04-24T06:32:17.607Z] a2aff8979fd8: Verifying Checksum [2023-04-24T06:32:17.607Z] a2aff8979fd8: Download complete [2023-04-24T06:32:17.607Z] 63b65145d645: Pull complete [2023-04-24T06:32:17.865Z] a2d21d5440eb: Pull complete [2023-04-24T06:32:17.865Z] f25807f1079a: Verifying Checksum [2023-04-24T06:32:17.865Z] f25807f1079a: Download complete [2023-04-24T06:32:18.123Z] 935e6c44a52c: Verifying Checksum [2023-04-24T06:32:18.123Z] 935e6c44a52c: Download complete [2023-04-24T06:32:18.382Z] 6808be2612f2: Verifying Checksum [2023-04-24T06:32:18.382Z] 6808be2612f2: Download complete [2023-04-24T06:32:21.665Z] 935e6c44a52c: Pull complete [2023-04-24T06:32:21.665Z] 94cc34f8dd06: Pull complete [2023-04-24T06:32:21.665Z] 30dea6a524f1: Pull complete [2023-04-24T06:32:21.939Z] a2aff8979fd8: Pull complete [2023-04-24T06:32:24.474Z] 6808be2612f2: Pull complete [2023-04-24T06:32:25.046Z] f25807f1079a: Pull complete [2023-04-24T06:32:25.046Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T06:32:25.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T06:32:25.046Z] ---> 3b553350e43f [2023-04-24T06:32:25.046Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:32:26.955Z] ---> Running in 8e8e210220fc [2023-04-24T06:32:26.955Z] Removing intermediate container 8e8e210220fc [2023-04-24T06:32:26.955Z] ---> e30ecfd1db4f [2023-04-24T06:32:26.955Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:32:26.955Z] ---> Running in 9a3acdaf179d [2023-04-24T06:32:26.955Z] Removing intermediate container 9a3acdaf179d [2023-04-24T06:32:26.955Z] ---> 724678b2c83b [2023-04-24T06:32:26.955Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T06:32:26.955Z] ---> Running in e82d404e996c [2023-04-24T06:32:26.955Z] Removing intermediate container e82d404e996c [2023-04-24T06:32:26.955Z] ---> 81ee5cde3c77 [2023-04-24T06:32:26.955Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:32:26.955Z] ---> Running in 89fa1f54c3be [2023-04-24T06:32:27.215Z] Removing intermediate container 89fa1f54c3be [2023-04-24T06:32:27.215Z] ---> 833aeef67c0c [2023-04-24T06:32:27.215Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:32:27.215Z] ---> Running in 98ea8179a052 [2023-04-24T06:32:27.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:32:27.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:32:27.732Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T06:32:27.732Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T06:32:27.732Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T06:32:27.732Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T06:32:27.732Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:32:27.732Z] OK: 269 MiB in 57 packages [2023-04-24T06:32:28.300Z] Removing intermediate container 98ea8179a052 [2023-04-24T06:32:28.300Z] ---> a9c5aed3a4c9 [2023-04-24T06:32:28.300Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-24T06:32:28.300Z] ---> Running in 2339efe1a21d [2023-04-24T06:32:28.300Z] Removing intermediate container 2339efe1a21d [2023-04-24T06:32:28.300Z] ---> e4168d4e72d5 [2023-04-24T06:32:28.300Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T06:32:28.558Z] ---> 154c25c45be0 [2023-04-24T06:32:28.558Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:32:28.558Z] ---> Running in 8bfb7ea3175c [2023-04-24T06:32:31.068Z] Still waiting to schedule task [2023-04-24T06:32:31.068Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9500’ [2023-04-24T06:32:50.529Z] Removing intermediate container 8bfb7ea3175c [2023-04-24T06:32:50.529Z] ---> fa7c8bee38bd [2023-04-24T06:32:50.529Z] Step 11/12 : COPY . . [2023-04-24T06:32:50.529Z] ---> 41a110d5002f [2023-04-24T06:32:50.529Z] Step 12/12 : RUN ${MAKE} [2023-04-24T06:32:50.529Z] ---> Running in 81c0a405aa09 [2023-04-24T06:32:50.529Z] noop [2023-04-24T06:32:50.529Z] Removing intermediate container 81c0a405aa09 [2023-04-24T06:32:50.529Z] ---> eef329cf3e8b [2023-04-24T06:32:50.529Z] Successfully built eef329cf3e8b [2023-04-24T06:32:50.529Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:50.840Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:32:50.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:32:50.909Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:32:50.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:32:51.314Z] $ docker top 20ef5c31462f3afaad8e7c1754ec9f4cdc5f92dd9b802d720bd84b665fa4a537 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:32:51.653Z] + go version [2023-04-24T06:32:51.653Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T06:32:51.670Z] $ docker stop --time=1 20ef5c31462f3afaad8e7c1754ec9f4cdc5f92dd9b802d720bd84b665fa4a537 [2023-04-24T06:32:53.003Z] $ docker rm -f --volumes 20ef5c31462f3afaad8e7c1754ec9f4cdc5f92dd9b802d720bd84b665fa4a537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:32:53.409Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T06:32:53.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:32:53.481Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:32:53.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T06:32:54.105Z] $ docker top 0a3fcff7f7fda57f977d5ffa8d8d6d68a595009cf38769099fcb0b5393735061 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:32:54.443Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:32:54.735Z] + make test [2023-04-24T06:32:54.735Z] go test ./... -coverprofile=coverage.out [2023-04-24T06:33:00.009Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-24T06:33:09.994Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-24T06:33:09.994Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-04-24T06:33:15.253Z] go vet ./... [2023-04-24T06:33:18.533Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:33:18.533Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:33:18.533Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:33:18.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:33:18.559Z] $ docker stop --time=1 0a3fcff7f7fda57f977d5ffa8d8d6d68a595009cf38769099fcb0b5393735061 [2023-04-24T06:33:20.902Z] $ docker rm -f --volumes 0a3fcff7f7fda57f977d5ffa8d8d6d68a595009cf38769099fcb0b5393735061 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:33:21.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:33:21.416Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T06:33:21.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:33:22.141Z] + ls -al . [2023-04-24T06:33:22.141Z] total 172 [2023-04-24T06:33:22.141Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 06:32 . [2023-04-24T06:33:22.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 .. [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 24 06:31 .dockerignore [2023-04-24T06:33:22.141Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:32 .git [2023-04-24T06:33:22.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:31 .github [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 24 06:31 .gitignore [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 06:31 .golangci.yml [2023-04-24T06:33:22.141Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:32 .semver [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 24 06:31 Attribution.txt [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 24 06:31 CHANGELOG.md [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 24 06:31 Dockerfile [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:31 GOVERNANCE.md [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 24 06:31 Jenkinsfile [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 06:31 LICENSE [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 24 06:31 Makefile [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 06:31 OWNERS.md [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 24 06:31 README.md [2023-04-24T06:33:22.141Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 06:32 VERSION [2023-04-24T06:33:22.142Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:31 bin [2023-04-24T06:33:22.142Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:31 cmd [2023-04-24T06:33:22.142Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 24 06:33 coverage.out [2023-04-24T06:33:22.142Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 24 06:31 go.mod [2023-04-24T06:33:22.142Z] -rw-rw-r-- 1 jenkins jenkins 31441 Apr 24 06:31 go.sum [2023-04-24T06:33:22.142Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:31 internal [2023-04-24T06:33:22.142Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:31 snap [2023-04-24T06:33:22.142Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 24 06:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:22.445Z] + 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=7429475b8b1c7d2813665a0cabf567e5cd6ad519 --label arch=amd64 --label version=3.0.0-dev.16 . [2023-04-24T06:33:22.445Z] Sending build context to Docker daemon 5.79MB [2023-04-24T06:33:22.445Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:33:22.445Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-24T06:33:22.445Z] ---> eef329cf3e8b [2023-04-24T06:33:22.445Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:33:22.445Z] ---> Running in 5c51d244678d [2023-04-24T06:33:22.719Z] Removing intermediate container 5c51d244678d [2023-04-24T06:33:22.719Z] ---> e08308ea7f56 [2023-04-24T06:33:22.719Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:33:22.719Z] ---> Running in 115ab9ce8eaa [2023-04-24T06:33:22.719Z] Removing intermediate container 115ab9ce8eaa [2023-04-24T06:33:22.719Z] ---> 9e6e5b5b2df6 [2023-04-24T06:33:22.719Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T06:33:22.719Z] ---> Running in 918c1b8b4faf [2023-04-24T06:33:22.719Z] Removing intermediate container 918c1b8b4faf [2023-04-24T06:33:22.719Z] ---> ab7e9675662b [2023-04-24T06:33:22.719Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:33:22.979Z] ---> Running in d0ff97ccaa58 [2023-04-24T06:33:22.979Z] Removing intermediate container d0ff97ccaa58 [2023-04-24T06:33:22.979Z] ---> 6e165d8fa62c [2023-04-24T06:33:22.979Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:33:22.979Z] ---> Running in 6ec5f36a3c9e [2023-04-24T06:33:23.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:23.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:23.837Z] OK: 269 MiB in 57 packages [2023-04-24T06:33:24.109Z] Removing intermediate container 6ec5f36a3c9e [2023-04-24T06:33:24.109Z] ---> c94dce9a3be8 [2023-04-24T06:33:24.109Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-24T06:33:24.109Z] ---> Running in 3bd47ad71ce5 [2023-04-24T06:33:24.109Z] Removing intermediate container 3bd47ad71ce5 [2023-04-24T06:33:24.109Z] ---> dfb2049caab5 [2023-04-24T06:33:24.109Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-24T06:33:24.384Z] ---> 4d3757de1e38 [2023-04-24T06:33:24.384Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:33:24.384Z] ---> Running in 7051dcfe6e2b [2023-04-24T06:33:24.986Z] Removing intermediate container 7051dcfe6e2b [2023-04-24T06:33:24.986Z] ---> fac380d175d1 [2023-04-24T06:33:24.986Z] Step 11/24 : COPY . . [2023-04-24T06:33:25.254Z] ---> f678e19e659c [2023-04-24T06:33:25.254Z] Step 12/24 : RUN ${MAKE} [2023-04-24T06:33:25.254Z] ---> Running in 3aa2548087d7 [2023-04-24T06:33:25.820Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-24T06:33:43.910Z] Removing intermediate container 3aa2548087d7 [2023-04-24T06:33:43.910Z] ---> 67f471be3482 [2023-04-24T06:33:43.910Z] Step 13/24 : FROM alpine:3.17 [2023-04-24T06:33:43.910Z] 3.17: Pulling from library/alpine [2023-04-24T06:33:43.910Z] f56be85fc22e: Pulling fs layer [2023-04-24T06:33:43.910Z] f56be85fc22e: Download complete [2023-04-24T06:33:43.910Z] f56be85fc22e: Pull complete [2023-04-24T06:33:43.910Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:33:43.910Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:33:43.910Z] ---> 9ed4aefc74f6 [2023-04-24T06:33:43.910Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:33:43.910Z] ---> Running in e0b96d138b69 [2023-04-24T06:33:44.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:44.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T06:33:44.742Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:33:44.742Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:33:44.742Z] OK: 7 MiB in 16 packages [2023-04-24T06:33:45.309Z] Removing intermediate container e0b96d138b69 [2023-04-24T06:33:45.309Z] ---> 66cee9b24b89 [2023-04-24T06:33:45.309Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-24T06:33:45.888Z] ---> 2146cfb54736 [2023-04-24T06:33:45.888Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-24T06:33:45.888Z] ---> a87b29f40dd4 [2023-04-24T06:33:45.888Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-24T06:33:46.147Z] ---> fdfde2123c54 [2023-04-24T06:33:46.147Z] Step 18/24 : EXPOSE 59993 [2023-04-24T06:33:46.147Z] ---> Running in bf9af5a8d1ce [2023-04-24T06:33:46.147Z] Removing intermediate container bf9af5a8d1ce [2023-04-24T06:33:46.147Z] ---> 0bcea16ca132 [2023-04-24T06:33:46.147Z] Step 19/24 : EXPOSE 161 [2023-04-24T06:33:46.147Z] ---> Running in 46890d7ffefd [2023-04-24T06:33:46.147Z] Removing intermediate container 46890d7ffefd [2023-04-24T06:33:46.147Z] ---> f5910dad2459 [2023-04-24T06:33:46.147Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-24T06:33:46.147Z] ---> Running in e07385082329 [2023-04-24T06:33:46.406Z] Removing intermediate container e07385082329 [2023-04-24T06:33:46.406Z] ---> 45d15dee2f92 [2023-04-24T06:33:46.406Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T06:33:46.406Z] ---> Running in 74856437abfb [2023-04-24T06:33:46.406Z] Removing intermediate container 74856437abfb [2023-04-24T06:33:46.406Z] ---> 744e52b530fd [2023-04-24T06:33:46.406Z] Step 22/24 : LABEL arch=amd64 [2023-04-24T06:33:46.406Z] ---> Running in 5459f3d2b197 [2023-04-24T06:33:46.665Z] Removing intermediate container 5459f3d2b197 [2023-04-24T06:33:46.665Z] ---> d2888b444367 [2023-04-24T06:33:46.665Z] Step 23/24 : LABEL git_sha=7429475b8b1c7d2813665a0cabf567e5cd6ad519 [2023-04-24T06:33:46.665Z] ---> Running in 622e17f64387 [2023-04-24T06:33:46.665Z] Removing intermediate container 622e17f64387 [2023-04-24T06:33:46.665Z] ---> d1767182e188 [2023-04-24T06:33:46.665Z] Step 24/24 : LABEL version=3.0.0-dev.16 [2023-04-24T06:33:46.665Z] ---> Running in 58c743d1d427 [2023-04-24T06:33:46.665Z] Removing intermediate container 58c743d1d427 [2023-04-24T06:33:46.665Z] ---> 74c67df66735 [2023-04-24T06:33:46.665Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:33:46.665Z] Successfully built 74c67df66735 [2023-04-24T06:33:46.665Z] 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-04-24T06:33:46.775Z] provisioning config files... [2023-04-24T06:33:46.781Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1484371346058128511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:33:47.086Z] ---> docker-login.sh [2023-04-24T06:33:47.086Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:33:47.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:33:47.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:33:47.086Z] Configure a credential helper to remove this warning. See [2023-04-24T06:33:47.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:33:47.086Z] [2023-04-24T06:33:47.086Z] Login Succeeded [2023-04-24T06:33:47.086Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:33:47.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:33:47.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:33:47.086Z] Configure a credential helper to remove this warning. See [2023-04-24T06:33:47.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:33:47.086Z] [2023-04-24T06:33:47.086Z] Login Succeeded [2023-04-24T06:33:47.086Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:33:47.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:33:47.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:33:47.345Z] Configure a credential helper to remove this warning. See [2023-04-24T06:33:47.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:33:47.345Z] [2023-04-24T06:33:47.345Z] Login Succeeded [2023-04-24T06:33:47.345Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:33:47.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:33:47.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:33:47.345Z] Configure a credential helper to remove this warning. See [2023-04-24T06:33:47.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:33:47.345Z] [2023-04-24T06:33:47.345Z] Login Succeeded [2023-04-24T06:33:47.345Z] docker.io [2023-04-24T06:33:47.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:33:47.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:33:47.605Z] Configure a credential helper to remove this warning. See [2023-04-24T06:33:47.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:33:47.605Z] [2023-04-24T06:33:47.605Z] Login Succeeded [2023-04-24T06:33:47.605Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:33:47.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:33:47.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:33:47.662Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-04-24T06:33:47.662Z] 7429475b8b1c7d2813665a0cabf567e5cd6ad519 [2023-04-24T06:33:47.662Z] latest [2023-04-24T06:33:47.662Z] 3.0.0-dev.16 [2023-04-24T06:33:47.662Z] 7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16 [2023-04-24T06:33:47.662Z] main [2023-04-24T06:33:47.662Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:47.969Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7429475b8b1c7d2813665a0cabf567e5cd6ad519 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:48.283Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:7429475b8b1c7d2813665a0cabf567e5cd6ad519 [2023-04-24T06:33:48.283Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T06:33:48.283Z] d8d19684b43c: Preparing [2023-04-24T06:33:48.283Z] 4fceeb202f45: Preparing [2023-04-24T06:33:48.283Z] d421cbeef962: Preparing [2023-04-24T06:33:48.283Z] 7a3890fedf42: Preparing [2023-04-24T06:33:48.283Z] f1417ff83b31: Preparing [2023-04-24T06:33:48.283Z] f1417ff83b31: Layer already exists [2023-04-24T06:33:48.283Z] 7a3890fedf42: Pushed [2023-04-24T06:33:48.283Z] d8d19684b43c: Pushed [2023-04-24T06:33:48.283Z] 4fceeb202f45: Pushed [2023-04-24T06:33:51.580Z] d421cbeef962: Pushed [2023-04-24T06:33:51.580Z] 7429475b8b1c7d2813665a0cabf567e5cd6ad519: digest: sha256:08933cf9d871e48fff271d88824a8ce4e26a210d8ad5b7471277d1ba91fec405 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:51.889Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:52.197Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-24T06:33:52.197Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T06:33:52.197Z] d8d19684b43c: Preparing [2023-04-24T06:33:52.197Z] 4fceeb202f45: Preparing [2023-04-24T06:33:52.197Z] d421cbeef962: Preparing [2023-04-24T06:33:52.197Z] 7a3890fedf42: Preparing [2023-04-24T06:33:52.197Z] f1417ff83b31: Preparing [2023-04-24T06:33:52.197Z] d421cbeef962: Layer already exists [2023-04-24T06:33:52.197Z] 4fceeb202f45: Layer already exists [2023-04-24T06:33:52.197Z] d8d19684b43c: Layer already exists [2023-04-24T06:33:52.197Z] f1417ff83b31: Layer already exists [2023-04-24T06:33:52.197Z] 7a3890fedf42: Layer already exists [2023-04-24T06:33:52.197Z] latest: digest: sha256:08933cf9d871e48fff271d88824a8ce4e26a210d8ad5b7471277d1ba91fec405 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:52.513Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:52.813Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.16 [2023-04-24T06:33:52.813Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T06:33:52.813Z] d8d19684b43c: Preparing [2023-04-24T06:33:52.813Z] 4fceeb202f45: Preparing [2023-04-24T06:33:52.813Z] d421cbeef962: Preparing [2023-04-24T06:33:52.813Z] 7a3890fedf42: Preparing [2023-04-24T06:33:52.813Z] f1417ff83b31: Preparing [2023-04-24T06:33:52.813Z] 7a3890fedf42: Layer already exists [2023-04-24T06:33:52.813Z] d421cbeef962: Layer already exists [2023-04-24T06:33:52.813Z] f1417ff83b31: Layer already exists [2023-04-24T06:33:52.813Z] 4fceeb202f45: Layer already exists [2023-04-24T06:33:52.813Z] d8d19684b43c: Layer already exists [2023-04-24T06:33:52.813Z] 3.0.0-dev.16: digest: sha256:08933cf9d871e48fff271d88824a8ce4e26a210d8ad5b7471277d1ba91fec405 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:53.144Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:53.450Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16 [2023-04-24T06:33:53.450Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T06:33:53.450Z] d8d19684b43c: Preparing [2023-04-24T06:33:53.450Z] 4fceeb202f45: Preparing [2023-04-24T06:33:53.450Z] d421cbeef962: Preparing [2023-04-24T06:33:53.450Z] 7a3890fedf42: Preparing [2023-04-24T06:33:53.450Z] f1417ff83b31: Preparing [2023-04-24T06:33:53.450Z] d421cbeef962: Layer already exists [2023-04-24T06:33:53.450Z] f1417ff83b31: Layer already exists [2023-04-24T06:33:53.450Z] 4fceeb202f45: Layer already exists [2023-04-24T06:33:53.450Z] 7a3890fedf42: Layer already exists [2023-04-24T06:33:53.450Z] d8d19684b43c: Layer already exists [2023-04-24T06:33:53.450Z] 7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16: digest: sha256:08933cf9d871e48fff271d88824a8ce4e26a210d8ad5b7471277d1ba91fec405 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:53.762Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:54.084Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-04-24T06:33:54.084Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-04-24T06:33:54.084Z] d8d19684b43c: Preparing [2023-04-24T06:33:54.084Z] 4fceeb202f45: Preparing [2023-04-24T06:33:54.084Z] d421cbeef962: Preparing [2023-04-24T06:33:54.084Z] 7a3890fedf42: Preparing [2023-04-24T06:33:54.084Z] f1417ff83b31: Preparing [2023-04-24T06:33:54.084Z] d8d19684b43c: Layer already exists [2023-04-24T06:33:54.084Z] d421cbeef962: Layer already exists [2023-04-24T06:33:54.084Z] f1417ff83b31: Layer already exists [2023-04-24T06:33:54.084Z] 4fceeb202f45: Layer already exists [2023-04-24T06:33:54.084Z] 7a3890fedf42: Layer already exists [2023-04-24T06:33:54.084Z] main: digest: sha256:08933cf9d871e48fff271d88824a8ce4e26a210d8ad5b7471277d1ba91fec405 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:33:54.137Z] ===================================================== [Pipeline] echo [2023-04-24T06:33:54.145Z] taggedImages: [2023-04-24T06:33:54.145Z] - nexus3.edgexfoundry.org:10004/device-snmp:7429475b8b1c7d2813665a0cabf567e5cd6ad519 [2023-04-24T06:33:54.145Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-04-24T06:33:54.145Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.16 [2023-04-24T06:33:54.145Z] - nexus3.edgexfoundry.org:10004/device-snmp:7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16 [2023-04-24T06:33:54.145Z] - 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-04-24T06:33:54.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:33:54.527Z] [2023-04-24T06:33:54.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:33:54.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:33:54.829Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T06:33:54.829Z] 5eb5b503b376: Pulling fs layer [2023-04-24T06:33:54.829Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T06:33:54.829Z] ec43610c2a17: Pulling fs layer [2023-04-24T06:33:54.829Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T06:33:54.829Z] 33b1e0a273af: Pulling fs layer [2023-04-24T06:33:54.829Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T06:33:54.829Z] 2f39f015ded8: Pulling fs layer [2023-04-24T06:33:54.829Z] 33b1e0a273af: Waiting [2023-04-24T06:33:54.829Z] 5d3b04190fa2: Waiting [2023-04-24T06:33:54.829Z] 2f39f015ded8: Waiting [2023-04-24T06:33:54.829Z] 3a2ae6a8a46f: Waiting [2023-04-24T06:33:54.829Z] 5c69ac0246d0: Download complete [2023-04-24T06:33:54.829Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T06:33:54.829Z] 3a2ae6a8a46f: Download complete [2023-04-24T06:33:54.829Z] 33b1e0a273af: Verifying Checksum [2023-04-24T06:33:54.829Z] 33b1e0a273af: Download complete [2023-04-24T06:33:54.829Z] 5d3b04190fa2: Download complete [2023-04-24T06:33:54.829Z] ec43610c2a17: Verifying Checksum [2023-04-24T06:33:54.829Z] ec43610c2a17: Download complete [2023-04-24T06:33:55.086Z] 5eb5b503b376: Verifying Checksum [2023-04-24T06:33:55.086Z] 5eb5b503b376: Download complete [2023-04-24T06:33:55.651Z] 2f39f015ded8: Download complete [2023-04-24T06:33:56.217Z] 5eb5b503b376: Pull complete [2023-04-24T06:33:56.475Z] 5c69ac0246d0: Pull complete [2023-04-24T06:33:56.734Z] ec43610c2a17: Pull complete [2023-04-24T06:33:56.992Z] 3a2ae6a8a46f: Pull complete [2023-04-24T06:33:57.252Z] 33b1e0a273af: Pull complete [2023-04-24T06:33:57.252Z] 5d3b04190fa2: Pull complete [2023-04-24T06:34:01.434Z] 2f39f015ded8: Pull complete [2023-04-24T06:34:01.434Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T06:34:01.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:34:01.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:34:01.513Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:34:01.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:34:04.493Z] $ docker top a1d41af6db2443dfa237af5be53146bf7d6e5b0a5bf9b8fafc9a7240da81355a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:34:04.893Z] ---> job-cost.sh [2023-04-24T06:34:04.893Z] lf-activate-venv: SKIPPING [2023-04-24T06:34:04.893Z] INFO: No Stack... [2023-04-24T06:34:05.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:34:05.719Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:34:06.008Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-04-24T06:34:06.008Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:34:06.019Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-73-stack-cost] [2023-04-24T06:34:06.025Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-73-stack-cost] did not exist. Created. [2023-04-24T06:34:06.025Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:34:06.343Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T06:34:06.372Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:34:06.380Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:34:06.401Z] $ docker stop --time=1 a1d41af6db2443dfa237af5be53146bf7d6e5b0a5bf9b8fafc9a7240da81355a [2023-04-24T06:34:07.551Z] $ docker rm -f --volumes a1d41af6db2443dfa237af5be53146bf7d6e5b0a5bf9b8fafc9a7240da81355a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T06:35:03.923Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9511 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-04-24T06:35:03.934Z] Running in /w/workspace/device-snmp-go/73 [Pipeline] { [Pipeline] checkout [2023-04-24T06:35:03.967Z] Selected Git installation does not exist. Using Default [2023-04-24T06:35:03.967Z] The recommended git tool is: NONE [2023-04-24T06:35:10.872Z] using credential edgex-jenkins-ssh [2023-04-24T06:35:10.900Z] Cloning the remote Git repository [2023-04-24T06:35:10.971Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-04-24T06:35:11.126Z] > git init /w/workspace/device-snmp-go/73 # timeout=10 [2023-04-24T06:35:11.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-04-24T06:35:11.346Z] > git --version # timeout=10 [2023-04-24T06:35:11.376Z] > git --version # 'git version 2.25.1' [2023-04-24T06:35:11.380Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T06:35:11.602Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:35:14.040Z] Avoid second fetch [2023-04-24T06:35:14.041Z] Checking out Revision 7429475b8b1c7d2813665a0cabf567e5cd6ad519 (main) [2023-04-24T06:35:12.844Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-04-24T06:35:12.869Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T06:35:14.068Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T06:35:14.170Z] > git checkout -f 7429475b8b1c7d2813665a0cabf567e5cd6ad519 # timeout=10 [2023-04-24T06:35:14.805Z] Commit message: "Merge pull request #293 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.74" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:35:15.731Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T06:35:15.731Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:35:15.731Z] Dload Upload Total Spent Left Speed [2023-04-24T06:35:15.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-04-24T06:35:16.473Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T06:35:16.820Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-04-24T06:35:16.820Z] /etc/docker/daemon.json [2023-04-24T06:35:16.820Z] { [2023-04-24T06:35:16.820Z] "registry-mirrors": [ [2023-04-24T06:35:16.820Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T06:35:16.820Z] ], [2023-04-24T06:35:16.820Z] "bip": "10.250.0.254/24", [2023-04-24T06:35:16.820Z] "hosts": [ [2023-04-24T06:35:16.820Z] "tcp://0.0.0.0:5555", [2023-04-24T06:35:16.820Z] "unix:///var/run/docker.sock" [2023-04-24T06:35:16.820Z] ], [2023-04-24T06:35:16.820Z] "mtu": 1458, [2023-04-24T06:35:16.820Z] "selinux-enabled": true, [2023-04-24T06:35:16.820Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T06:35:16.820Z] } [Pipeline] sh [2023-04-24T06:35:17.202Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T06:35:17.552Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:35:35.928Z] provisioning config files... [2023-04-24T06:35:35.962Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/73@tmp/config2046612444837350457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:35:36.359Z] ---> docker-login.sh [2023-04-24T06:35:36.359Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:35:36.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:35:37.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:35:37.266Z] Configure a credential helper to remove this warning. See [2023-04-24T06:35:37.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:35:37.266Z] [2023-04-24T06:35:37.266Z] Login Succeeded [2023-04-24T06:35:37.266Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:35:37.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:35:37.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:35:37.609Z] Configure a credential helper to remove this warning. See [2023-04-24T06:35:37.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:35:37.609Z] [2023-04-24T06:35:37.609Z] Login Succeeded [2023-04-24T06:35:37.609Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:35:37.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:35:37.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:35:37.883Z] Configure a credential helper to remove this warning. See [2023-04-24T06:35:37.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:35:37.883Z] [2023-04-24T06:35:37.883Z] Login Succeeded [2023-04-24T06:35:38.165Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:35:38.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:35:38.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:35:38.443Z] Configure a credential helper to remove this warning. See [2023-04-24T06:35:38.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:35:38.443Z] [2023-04-24T06:35:38.443Z] Login Succeeded [2023-04-24T06:35:38.443Z] docker.io [2023-04-24T06:35:38.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:35:38.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:35:38.995Z] Configure a credential helper to remove this warning. See [2023-04-24T06:35:38.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:35:38.995Z] [2023-04-24T06:35:38.995Z] Login Succeeded [2023-04-24T06:35:38.995Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:35:39.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T06:35:39.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:35:39.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:35:39.420Z] ========================================================= [2023-04-24T06:35:39.420Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T06:35:39.420Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:35:39.803Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T06:35:40.075Z] Sending build context to Docker daemon 2.993MB [2023-04-24T06:35:40.075Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:35:40.075Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T06:35:40.353Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T06:35:40.353Z] af6eaf76a39c: Pulling fs layer [2023-04-24T06:35:40.353Z] 55522c791124: Pulling fs layer [2023-04-24T06:35:40.353Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T06:35:40.353Z] 169dfbe0d373: Pulling fs layer [2023-04-24T06:35:40.353Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T06:35:40.353Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T06:35:40.353Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T06:35:40.353Z] e1ff8fa3b103: Waiting [2023-04-24T06:35:40.353Z] 169dfbe0d373: Waiting [2023-04-24T06:35:40.353Z] 52ebb69f0ebf: Waiting [2023-04-24T06:35:40.353Z] 5abe8eddf0d5: Waiting [2023-04-24T06:35:40.353Z] 55522c791124: Verifying Checksum [2023-04-24T06:35:40.353Z] 55522c791124: Download complete [2023-04-24T06:35:40.353Z] 169dfbe0d373: Verifying Checksum [2023-04-24T06:35:40.353Z] 169dfbe0d373: Download complete [2023-04-24T06:35:40.637Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T06:35:40.637Z] e1ff8fa3b103: Download complete [2023-04-24T06:35:40.637Z] af6eaf76a39c: Verifying Checksum [2023-04-24T06:35:40.637Z] af6eaf76a39c: Download complete [2023-04-24T06:35:41.651Z] af6eaf76a39c: Pull complete [2023-04-24T06:35:41.940Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T06:35:41.940Z] 5abe8eddf0d5: Download complete [2023-04-24T06:35:42.421Z] 55522c791124: Pull complete [2023-04-24T06:35:43.419Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T06:35:43.419Z] ce5c4a1c91eb: Download complete [2023-04-24T06:35:43.419Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T06:35:43.419Z] 52ebb69f0ebf: Download complete [2023-04-24T06:35:55.819Z] ce5c4a1c91eb: Pull complete [2023-04-24T06:35:55.819Z] 169dfbe0d373: Pull complete [2023-04-24T06:35:55.819Z] e1ff8fa3b103: Pull complete [2023-04-24T06:36:02.649Z] 52ebb69f0ebf: Pull complete [2023-04-24T06:36:08.027Z] 5abe8eddf0d5: Pull complete [2023-04-24T06:36:08.027Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T06:36:08.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T06:36:08.027Z] ---> 6cb57ee374ae [2023-04-24T06:36:08.027Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:36:09.471Z] ---> Running in 652543bd5eaf [2023-04-24T06:36:09.747Z] Removing intermediate container 652543bd5eaf [2023-04-24T06:36:09.747Z] ---> 6a2a12e36e6e [2023-04-24T06:36:09.747Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:36:10.023Z] ---> Running in 7096d58d0e2b [2023-04-24T06:36:10.297Z] Removing intermediate container 7096d58d0e2b [2023-04-24T06:36:10.297Z] ---> 77690a763da6 [2023-04-24T06:36:10.297Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T06:36:10.297Z] ---> Running in b42684114396 [2023-04-24T06:36:10.923Z] Removing intermediate container b42684114396 [2023-04-24T06:36:10.923Z] ---> 01cc7d408ca7 [2023-04-24T06:36:10.923Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:36:10.923Z] ---> Running in 165bf0b76419 [2023-04-24T06:36:11.216Z] Removing intermediate container 165bf0b76419 [2023-04-24T06:36:11.216Z] ---> edf80cba6056 [2023-04-24T06:36:11.216Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:36:11.216Z] ---> Running in b8e5a9e5a23b [2023-04-24T06:36:12.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:36:13.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:36:14.641Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T06:36:14.641Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T06:36:14.641Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T06:36:14.914Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T06:36:14.914Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:36:14.914Z] OK: 268 MiB in 57 packages [2023-04-24T06:36:16.339Z] Removing intermediate container b8e5a9e5a23b [2023-04-24T06:36:16.339Z] ---> 9c5c15fb8c47 [2023-04-24T06:36:16.339Z] Step 8/12 : WORKDIR /device-snmp-go [2023-04-24T06:36:16.339Z] ---> Running in 5aeb570d2300 [2023-04-24T06:36:16.611Z] Removing intermediate container 5aeb570d2300 [2023-04-24T06:36:16.611Z] ---> 601ca481ffa9 [2023-04-24T06:36:16.611Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T06:36:17.229Z] ---> 04707e47345d [2023-04-24T06:36:17.229Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:36:17.229Z] ---> Running in d2644444b969 [2023-04-24T06:37:25.216Z] Removing intermediate container d2644444b969 [2023-04-24T06:37:25.216Z] ---> 341c46507175 [2023-04-24T06:37:25.216Z] Step 11/12 : COPY . . [2023-04-24T06:37:25.216Z] ---> 5d6033013042 [2023-04-24T06:37:25.216Z] Step 12/12 : RUN ${MAKE} [2023-04-24T06:37:25.216Z] ---> Running in 5bd30851318d [2023-04-24T06:37:25.216Z] noop [2023-04-24T06:37:26.191Z] Removing intermediate container 5bd30851318d [2023-04-24T06:37:26.191Z] ---> 0fce5e54fab1 [2023-04-24T06:37:26.191Z] Successfully built 0fce5e54fab1 [2023-04-24T06:37:26.191Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:37:26.562Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:37:26.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:37:26.834Z] prd-ubuntu20.04-docker-arm64-4c-16g-9511 does not seem to be running inside a container [2023-04-24T06:37:26.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/73 -v /w/workspace/device-snmp-go/73:/w/workspace/device-snmp-go/73:rw,z -v /w/workspace/device-snmp-go/73@tmp:/w/workspace/device-snmp-go/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:37:28.393Z] $ docker top 7a08a9351a1f8cd8afda1bd84d57f8611b06f48ba4d0516da9441c844bff514b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:37:29.311Z] + go version [2023-04-24T06:37:29.311Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T06:37:29.342Z] $ docker stop --time=1 7a08a9351a1f8cd8afda1bd84d57f8611b06f48ba4d0516da9441c844bff514b [2023-04-24T06:37:31.078Z] $ docker rm -f --volumes 7a08a9351a1f8cd8afda1bd84d57f8611b06f48ba4d0516da9441c844bff514b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:37:31.691Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T06:37:31.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:37:31.918Z] prd-ubuntu20.04-docker-arm64-4c-16g-9511 does not seem to be running inside a container [2023-04-24T06:37:32.021Z] $ 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/73 -v /w/workspace/device-snmp-go/73:/w/workspace/device-snmp-go/73:rw,z -v /w/workspace/device-snmp-go/73@tmp:/w/workspace/device-snmp-go/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T06:37:33.397Z] $ docker top 0cc72f504d020d64751382ce183845dcd9de877714c31b0c6d654355d7ad2a50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:37:34.351Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/73 [Pipeline] fileExists [Pipeline] sh [2023-04-24T06:37:35.042Z] + make test [2023-04-24T06:37:35.042Z] go test ./... -coverprofile=coverage.out [2023-04-24T06:38:21.960Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-04-24T06:40:43.748Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-04-24T06:40:46.360Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.057s coverage: 0.0% of statements [2023-04-24T06:40:46.631Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T06:40:46.631Z] go vet ./... [2023-04-24T06:41:18.919Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T06:41:18.919Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T06:41:18.919Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T06:41:18.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T06:41:18.960Z] $ docker stop --time=1 0cc72f504d020d64751382ce183845dcd9de877714c31b0c6d654355d7ad2a50 [2023-04-24T06:41:20.975Z] $ docker rm -f --volumes 0cc72f504d020d64751382ce183845dcd9de877714c31b0c6d654355d7ad2a50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:41:22.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T06:41:22.420Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T06:41:23.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T06:41:23.429Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T06:41:23.767Z] + ls -al . [2023-04-24T06:41:23.767Z] total 168 [2023-04-24T06:41:23.767Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:37 . [2023-04-24T06:41:23.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:35 .. [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 24 06:35 .dockerignore [2023-04-24T06:41:23.767Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:35 .git [2023-04-24T06:41:23.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:35 .github [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 24 06:35 .gitignore [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 06:35 .golangci.yml [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 9056 Apr 24 06:35 Attribution.txt [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 8355 Apr 24 06:35 CHANGELOG.md [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 1423 Apr 24 06:35 Dockerfile [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:35 GOVERNANCE.md [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 24 06:35 Jenkinsfile [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 06:35 LICENSE [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 2114 Apr 24 06:35 Makefile [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 06:35 OWNERS.md [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 10054 Apr 24 06:35 README.md [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 06:32 VERSION [2023-04-24T06:41:23.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:35 bin [2023-04-24T06:41:23.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:35 cmd [2023-04-24T06:41:23.767Z] -rw-r--r-- 1 jenkins jenkins 8837 Apr 24 06:40 coverage.out [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 3283 Apr 24 06:35 go.mod [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 31441 Apr 24 06:35 go.sum [2023-04-24T06:41:23.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:35 internal [2023-04-24T06:41:23.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:35 snap [2023-04-24T06:41:23.767Z] -rw-rw-r-- 1 jenkins jenkins 228 Apr 24 06:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:41:24.117Z] + 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=7429475b8b1c7d2813665a0cabf567e5cd6ad519 --label arch=arm64 --label version=3.0.0-dev.16 . [2023-04-24T06:41:24.387Z] Sending build context to Docker daemon 3.002MB [2023-04-24T06:41:24.387Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T06:41:24.387Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-24T06:41:24.387Z] ---> 0fce5e54fab1 [2023-04-24T06:41:24.387Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-24T06:41:24.660Z] ---> Running in de0db95f3fbb [2023-04-24T06:41:24.932Z] Removing intermediate container de0db95f3fbb [2023-04-24T06:41:24.932Z] ---> 689d380de262 [2023-04-24T06:41:24.932Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T06:41:25.207Z] ---> Running in b6de9b4801d1 [2023-04-24T06:41:25.485Z] Removing intermediate container b6de9b4801d1 [2023-04-24T06:41:25.485Z] ---> 06280e41a939 [2023-04-24T06:41:25.485Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T06:41:25.485Z] ---> Running in b6fb63f87b50 [2023-04-24T06:41:26.078Z] Removing intermediate container b6fb63f87b50 [2023-04-24T06:41:26.078Z] ---> 3275535d5d18 [2023-04-24T06:41:26.078Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T06:41:26.078Z] ---> Running in ffc6d0eca255 [2023-04-24T06:41:26.349Z] Removing intermediate container ffc6d0eca255 [2023-04-24T06:41:26.349Z] ---> 5f121e75d65f [2023-04-24T06:41:26.349Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T06:41:26.349Z] ---> Running in c1aa14df93b2 [2023-04-24T06:41:27.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:41:28.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:41:29.778Z] OK: 268 MiB in 57 packages [2023-04-24T06:41:32.377Z] Removing intermediate container c1aa14df93b2 [2023-04-24T06:41:32.377Z] ---> 9bd7e3e944e3 [2023-04-24T06:41:32.377Z] Step 8/24 : WORKDIR /device-snmp-go [2023-04-24T06:41:32.377Z] ---> Running in 03e364a245a7 [2023-04-24T06:41:32.645Z] Removing intermediate container 03e364a245a7 [2023-04-24T06:41:32.645Z] ---> 9ca65fd993a2 [2023-04-24T06:41:32.645Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-24T06:41:33.230Z] ---> b64be32fb92d [2023-04-24T06:41:33.230Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T06:41:33.230Z] ---> Running in 2777de8b5908 [2023-04-24T06:41:35.831Z] Removing intermediate container 2777de8b5908 [2023-04-24T06:41:35.831Z] ---> 6fbb9818b402 [2023-04-24T06:41:35.831Z] Step 11/24 : COPY . . [2023-04-24T06:41:36.798Z] ---> f63914ad1627 [2023-04-24T06:41:36.798Z] Step 12/24 : RUN ${MAKE} [2023-04-24T06:41:37.075Z] ---> Running in 462617c93dfd [2023-04-24T06:41:38.046Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-04-24T06:44:14.844Z] Removing intermediate container 462617c93dfd [2023-04-24T06:44:14.844Z] ---> ccea1153f37d [2023-04-24T06:44:14.844Z] Step 13/24 : FROM alpine:3.17 [2023-04-24T06:44:14.844Z] 3.17: Pulling from library/alpine [2023-04-24T06:44:14.844Z] c41833b44d91: Pulling fs layer [2023-04-24T06:44:14.844Z] c41833b44d91: Verifying Checksum [2023-04-24T06:44:14.844Z] c41833b44d91: Download complete [2023-04-24T06:44:14.844Z] c41833b44d91: Pull complete [2023-04-24T06:44:14.844Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T06:44:14.844Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T06:44:14.844Z] ---> 51e60588ff2c [2023-04-24T06:44:14.844Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-04-24T06:44:14.844Z] ---> Running in 4aa08e2f660a [2023-04-24T06:44:14.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T06:44:14.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T06:44:14.844Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T06:44:14.844Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T06:44:14.844Z] OK: 8 MiB in 16 packages [2023-04-24T06:44:15.112Z] Removing intermediate container 4aa08e2f660a [2023-04-24T06:44:15.112Z] ---> 65033344672d [2023-04-24T06:44:15.381Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-04-24T06:44:16.799Z] ---> 99008c0a8cae [2023-04-24T06:44:16.799Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-04-24T06:44:17.389Z] ---> b644df9d8e93 [2023-04-24T06:44:17.389Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-04-24T06:44:17.977Z] ---> a9719895a3f1 [2023-04-24T06:44:17.977Z] Step 18/24 : EXPOSE 59993 [2023-04-24T06:44:17.977Z] ---> Running in 4ac6cf10fa5d [2023-04-24T06:44:18.245Z] Removing intermediate container 4ac6cf10fa5d [2023-04-24T06:44:18.245Z] ---> b070f55eef8c [2023-04-24T06:44:18.245Z] Step 19/24 : EXPOSE 161 [2023-04-24T06:44:18.515Z] ---> Running in 15ca6951098d [2023-04-24T06:44:18.783Z] Removing intermediate container 15ca6951098d [2023-04-24T06:44:18.783Z] ---> 704f064d8840 [2023-04-24T06:44:18.783Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-04-24T06:44:18.783Z] ---> Running in 7c15ee309aec [2023-04-24T06:44:19.051Z] Removing intermediate container 7c15ee309aec [2023-04-24T06:44:19.051Z] ---> 540b312fb85a [2023-04-24T06:44:19.051Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T06:44:19.322Z] ---> Running in 72745c23c30d [2023-04-24T06:44:19.591Z] Removing intermediate container 72745c23c30d [2023-04-24T06:44:19.591Z] ---> 71c6cc388510 [2023-04-24T06:44:19.591Z] Step 22/24 : LABEL arch=arm64 [2023-04-24T06:44:19.591Z] ---> Running in a1d0b71f1dae [2023-04-24T06:44:19.865Z] Removing intermediate container a1d0b71f1dae [2023-04-24T06:44:19.865Z] ---> f5e24ece5469 [2023-04-24T06:44:19.865Z] Step 23/24 : LABEL git_sha=7429475b8b1c7d2813665a0cabf567e5cd6ad519 [2023-04-24T06:44:20.138Z] ---> Running in f0b9ffbbb415 [2023-04-24T06:44:20.405Z] Removing intermediate container f0b9ffbbb415 [2023-04-24T06:44:20.405Z] ---> 0204e395cee5 [2023-04-24T06:44:20.405Z] Step 24/24 : LABEL version=3.0.0-dev.16 [2023-04-24T06:44:20.405Z] ---> Running in 0c23be0f0f41 [2023-04-24T06:44:20.679Z] Removing intermediate container 0c23be0f0f41 [2023-04-24T06:44:20.679Z] ---> 9122c9a9d988 [2023-04-24T06:44:20.679Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T06:44:20.679Z] Successfully built 9122c9a9d988 [2023-04-24T06:44:20.679Z] 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-04-24T06:44:20.813Z] provisioning config files... [2023-04-24T06:44:20.833Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/73@tmp/config17415937634380267219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:44:21.258Z] ---> docker-login.sh [2023-04-24T06:44:21.259Z] nexus3.edgexfoundry.org:10001 [2023-04-24T06:44:21.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:21.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:21.533Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:21.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:21.533Z] [2023-04-24T06:44:21.533Z] Login Succeeded [2023-04-24T06:44:21.533Z] nexus3.edgexfoundry.org:10002 [2023-04-24T06:44:21.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:22.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:22.085Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:22.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:22.085Z] [2023-04-24T06:44:22.085Z] Login Succeeded [2023-04-24T06:44:22.085Z] nexus3.edgexfoundry.org:10003 [2023-04-24T06:44:22.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:22.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:22.357Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:22.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:22.357Z] [2023-04-24T06:44:22.357Z] Login Succeeded [2023-04-24T06:44:22.357Z] nexus3.edgexfoundry.org:10004 [2023-04-24T06:44:22.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:22.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:22.918Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:22.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:22.918Z] [2023-04-24T06:44:22.918Z] Login Succeeded [2023-04-24T06:44:22.918Z] docker.io [2023-04-24T06:44:23.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T06:44:23.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T06:44:23.475Z] Configure a credential helper to remove this warning. See [2023-04-24T06:44:23.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T06:44:23.475Z] [2023-04-24T06:44:23.475Z] Login Succeeded [2023-04-24T06:44:23.475Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T06:44:23.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:44:23.516Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T06:44:23.532Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-04-24T06:44:23.532Z] 7429475b8b1c7d2813665a0cabf567e5cd6ad519 [2023-04-24T06:44:23.532Z] latest [2023-04-24T06:44:23.532Z] 3.0.0-dev.16 [2023-04-24T06:44:23.532Z] 7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16 [2023-04-24T06:44:23.532Z] main [2023-04-24T06:44:23.532Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:23.896Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7429475b8b1c7d2813665a0cabf567e5cd6ad519 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:24.264Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7429475b8b1c7d2813665a0cabf567e5cd6ad519 [2023-04-24T06:44:24.264Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T06:44:24.264Z] 53e6f3264a48: Preparing [2023-04-24T06:44:24.264Z] b03e76c276e8: Preparing [2023-04-24T06:44:24.264Z] f396d8075d21: Preparing [2023-04-24T06:44:24.264Z] 9d68caa55e51: Preparing [2023-04-24T06:44:24.264Z] 26cbea5cba74: Preparing [2023-04-24T06:44:24.264Z] 26cbea5cba74: Layer already exists [2023-04-24T06:44:24.534Z] 53e6f3264a48: Pushed [2023-04-24T06:44:24.534Z] b03e76c276e8: Pushed [2023-04-24T06:44:24.534Z] 9d68caa55e51: Pushed [2023-04-24T06:44:29.890Z] f396d8075d21: Pushed [2023-04-24T06:44:29.890Z] 7429475b8b1c7d2813665a0cabf567e5cd6ad519: digest: sha256:6b1c4c5a207e28f3f75a9fa5d8ae65effc8def6b3fd0e2aa14d02ca33309054d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:30.249Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:30.597Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-24T06:44:30.597Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T06:44:30.597Z] 53e6f3264a48: Preparing [2023-04-24T06:44:30.597Z] b03e76c276e8: Preparing [2023-04-24T06:44:30.597Z] f396d8075d21: Preparing [2023-04-24T06:44:30.597Z] 9d68caa55e51: Preparing [2023-04-24T06:44:30.597Z] 26cbea5cba74: Preparing [2023-04-24T06:44:30.597Z] 26cbea5cba74: Layer already exists [2023-04-24T06:44:30.597Z] 53e6f3264a48: Layer already exists [2023-04-24T06:44:30.597Z] 9d68caa55e51: Layer already exists [2023-04-24T06:44:30.597Z] f396d8075d21: Layer already exists [2023-04-24T06:44:30.597Z] b03e76c276e8: Layer already exists [2023-04-24T06:44:30.597Z] latest: digest: sha256:6b1c4c5a207e28f3f75a9fa5d8ae65effc8def6b3fd0e2aa14d02ca33309054d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:31.210Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:31.553Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.16 [2023-04-24T06:44:31.553Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T06:44:31.553Z] 53e6f3264a48: Preparing [2023-04-24T06:44:31.553Z] b03e76c276e8: Preparing [2023-04-24T06:44:31.553Z] f396d8075d21: Preparing [2023-04-24T06:44:31.553Z] 9d68caa55e51: Preparing [2023-04-24T06:44:31.553Z] 26cbea5cba74: Preparing [2023-04-24T06:44:31.553Z] 9d68caa55e51: Layer already exists [2023-04-24T06:44:31.553Z] b03e76c276e8: Layer already exists [2023-04-24T06:44:31.553Z] f396d8075d21: Layer already exists [2023-04-24T06:44:31.553Z] 26cbea5cba74: Layer already exists [2023-04-24T06:44:31.553Z] 53e6f3264a48: Layer already exists [2023-04-24T06:44:31.553Z] 3.0.0-dev.16: digest: sha256:6b1c4c5a207e28f3f75a9fa5d8ae65effc8def6b3fd0e2aa14d02ca33309054d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:31.899Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:32.238Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16 [2023-04-24T06:44:32.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T06:44:32.238Z] 53e6f3264a48: Preparing [2023-04-24T06:44:32.238Z] b03e76c276e8: Preparing [2023-04-24T06:44:32.238Z] f396d8075d21: Preparing [2023-04-24T06:44:32.238Z] 9d68caa55e51: Preparing [2023-04-24T06:44:32.238Z] 26cbea5cba74: Preparing [2023-04-24T06:44:32.238Z] 26cbea5cba74: Layer already exists [2023-04-24T06:44:32.238Z] b03e76c276e8: Layer already exists [2023-04-24T06:44:32.238Z] 9d68caa55e51: Layer already exists [2023-04-24T06:44:32.238Z] f396d8075d21: Layer already exists [2023-04-24T06:44:32.238Z] 53e6f3264a48: Layer already exists [2023-04-24T06:44:32.238Z] 7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16: digest: sha256:6b1c4c5a207e28f3f75a9fa5d8ae65effc8def6b3fd0e2aa14d02ca33309054d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:32.587Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:32.931Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-04-24T06:44:32.931Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-04-24T06:44:32.931Z] 53e6f3264a48: Preparing [2023-04-24T06:44:32.931Z] b03e76c276e8: Preparing [2023-04-24T06:44:32.931Z] f396d8075d21: Preparing [2023-04-24T06:44:32.931Z] 9d68caa55e51: Preparing [2023-04-24T06:44:32.931Z] 26cbea5cba74: Preparing [2023-04-24T06:44:32.931Z] 53e6f3264a48: Layer already exists [2023-04-24T06:44:32.931Z] 26cbea5cba74: Layer already exists [2023-04-24T06:44:32.931Z] b03e76c276e8: Layer already exists [2023-04-24T06:44:32.931Z] 9d68caa55e51: Layer already exists [2023-04-24T06:44:32.931Z] f396d8075d21: Layer already exists [2023-04-24T06:44:32.931Z] main: digest: sha256:6b1c4c5a207e28f3f75a9fa5d8ae65effc8def6b3fd0e2aa14d02ca33309054d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T06:44:32.992Z] ===================================================== [Pipeline] echo [2023-04-24T06:44:32.998Z] taggedImages: [2023-04-24T06:44:32.998Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7429475b8b1c7d2813665a0cabf567e5cd6ad519 [2023-04-24T06:44:32.998Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-04-24T06:44:32.998Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.16 [2023-04-24T06:44:32.998Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7429475b8b1c7d2813665a0cabf567e5cd6ad519-3.0.0-dev.16 [2023-04-24T06:44:32.998Z] - 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-04-24T06:44:33.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:44:33.373Z] [2023-04-24T06:44:33.373Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:44:33.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:44:33.702Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T06:44:33.702Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T06:44:33.702Z] 04944245beec: Pulling fs layer [2023-04-24T06:44:33.702Z] 699f458cf7ca: Pulling fs layer [2023-04-24T06:44:33.702Z] 765212b225bb: Pulling fs layer [2023-04-24T06:44:33.702Z] f23df028b6ca: Pulling fs layer [2023-04-24T06:44:33.702Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T06:44:33.702Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T06:44:33.702Z] f23df028b6ca: Waiting [2023-04-24T06:44:33.702Z] d65c8cfc05b1: Waiting [2023-04-24T06:44:33.702Z] 2437ff75d9bd: Waiting [2023-04-24T06:44:33.702Z] 765212b225bb: Waiting [2023-04-24T06:44:33.970Z] 04944245beec: Verifying Checksum [2023-04-24T06:44:33.970Z] 04944245beec: Download complete [2023-04-24T06:44:33.970Z] 765212b225bb: Verifying Checksum [2023-04-24T06:44:33.970Z] 765212b225bb: Download complete [2023-04-24T06:44:33.970Z] f23df028b6ca: Verifying Checksum [2023-04-24T06:44:33.970Z] f23df028b6ca: Download complete [2023-04-24T06:44:33.970Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T06:44:33.970Z] d65c8cfc05b1: Download complete [2023-04-24T06:44:34.238Z] 699f458cf7ca: Verifying Checksum [2023-04-24T06:44:34.238Z] 699f458cf7ca: Download complete [2023-04-24T06:44:34.505Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T06:44:34.505Z] 8998bd30e6a1: Download complete [2023-04-24T06:44:36.450Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T06:44:36.450Z] 2437ff75d9bd: Download complete [2023-04-24T06:44:41.798Z] 8998bd30e6a1: Pull complete [2023-04-24T06:44:42.383Z] 04944245beec: Pull complete [2023-04-24T06:44:43.807Z] 699f458cf7ca: Pull complete [2023-04-24T06:44:43.807Z] 765212b225bb: Pull complete [2023-04-24T06:44:44.771Z] f23df028b6ca: Pull complete [2023-04-24T06:44:44.771Z] d65c8cfc05b1: Pull complete [2023-04-24T06:44:59.777Z] 2437ff75d9bd: Pull complete [2023-04-24T06:44:59.777Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T06:44:59.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T06:44:59.777Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:44:59.977Z] prd-ubuntu20.04-docker-arm64-4c-16g-9511 does not seem to be running inside a container [2023-04-24T06:45:00.050Z] $ 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/73 -v /w/workspace/device-snmp-go/73:/w/workspace/device-snmp-go/73:rw,z -v /w/workspace/device-snmp-go/73@tmp:/w/workspace/device-snmp-go/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-24T06:45:02.826Z] $ docker top f303b2b43723a68c61e35722a420b54ad0c55498ca063bbba58de6b8a6b2f90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:45:03.654Z] ---> job-cost.sh [2023-04-24T06:45:03.654Z] lf-activate-venv: SKIPPING [2023-04-24T06:45:03.654Z] INFO: No Stack... [2023-04-24T06:45:04.236Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T06:45:05.198Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T06:45:05.842Z] + cat /w/workspace/device-snmp-go/73/archives/cost.csv [2023-04-24T06:45:05.842Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T06:45:05.916Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-73-stack-cost] [2023-04-24T06:45:05.929Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-73-stack-cost] did not exist. Created. [2023-04-24T06:45:05.929Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T06:45:06.597Z] /w/workspace/device-snmp-go/73@tmp/durable-c2b00600/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T06:45:07.246Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T06:45:07.262Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T06:45:07.309Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T06:45:07.322Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T06:45:07.346Z] $ docker stop --time=1 f303b2b43723a68c61e35722a420b54ad0c55498ca063bbba58de6b8a6b2f90e [2023-04-24T06:45:08.897Z] $ docker rm -f --volumes f303b2b43723a68c61e35722a420b54ad0c55498ca063bbba58de6b8a6b2f90e [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-04-24T06:45:09.311Z] provisioning config files... [2023-04-24T06:45:09.320Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config89442745035142924tmp [Pipeline] { [Pipeline] sh [2023-04-24T06:45:09.611Z] + set +x [2023-04-24T06:45:09.611Z] + curl -s https://codecov.io/bash [2023-04-24T06:45:09.611Z] + bash -s -- [2023-04-24T06:45:09.611Z] [2023-04-24T06:45:09.611Z] _____ _ [2023-04-24T06:45:09.611Z] / ____| | | [2023-04-24T06:45:09.611Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T06:45:09.611Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T06:45:09.611Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T06:45:09.611Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T06:45:09.611Z] Bash-1.0.6 [2023-04-24T06:45:09.611Z] [2023-04-24T06:45:09.611Z] [2023-04-24T06:45:09.611Z] ==> git version 2.25.1 found [2023-04-24T06:45:09.611Z] ==> 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-04-24T06:45:09.611Z] Release-Date: 2020-01-08 [2023-04-24T06:45:09.611Z] 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-04-24T06:45:09.611Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T06:45:09.611Z] ==> Jenkins CI detected. [2023-04-24T06:45:09.611Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-04-24T06:45:09.611Z] project root: . [2023-04-24T06:45:09.611Z] --> token set from env [2023-04-24T06:45:09.611Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T06:45:09.611Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T06:45:09.611Z] ==> Python coveragepy not found [2023-04-24T06:45:09.611Z] ==> Searching for coverage reports in: [2023-04-24T06:45:09.611Z] + . [2023-04-24T06:45:09.611Z] -> Found 1 reports [2023-04-24T06:45:09.611Z] ==> Detecting git/mercurial file structure [2023-04-24T06:45:09.611Z] ==> Reading reports [2023-04-24T06:45:09.611Z] + ./coverage.out bytes=8837 [2023-04-24T06:45:09.611Z] ==> Appending adjustments [2023-04-24T06:45:09.611Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T06:45:09.869Z] + Found adjustments [2023-04-24T06:45:09.869Z] ==> Gzipping contents [2023-04-24T06:45:09.869Z] 4.0K /tmp/codecov.VYbI2K.gz [2023-04-24T06:45:09.869Z] ==> Uploading reports [2023-04-24T06:45:09.869Z] url: https://codecov.io [2023-04-24T06:45:09.869Z] query: branch=main&commit=7429475b8b1c7d2813665a0cabf567e5cd6ad519&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-24T06:45:09.869Z] -> Pinging Codecov [2023-04-24T06:45:09.869Z] 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=7429475b8b1c7d2813665a0cabf567e5cd6ad519&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-24T06:45:09.869Z] -> Uploading to [2023-04-24T06:45:09.869Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/6C56EA5C29638FB4528AC87E60AF5AE0/7429475b8b1c7d2813665a0cabf567e5cd6ad519/5b2b4e70-ea1f-434b-9544-f1cd35b1d12c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T064509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aaf562608fdd9e5d0db965d40174e48c7c969cd569f8cb8a6344fac9b9b33a98 [2023-04-24T06:45:09.869Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T06:45:09.869Z] Dload Upload Total Spent Left Speed [2023-04-24T06:45:10.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7940 --:--:-- --:--:-- --:--:-- 7940 [2023-04-24T06:45:10.128Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/7429475b8b1c7d2813665a0cabf567e5cd6ad519 [Pipeline] } [2023-04-24T06:45:10.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-24T06:45:10.319Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-24T06:45:10.330Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:10.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T06:45:10.636Z] [2023-04-24T06:45:10.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:10.937Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T06:45:10.937Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-24T06:45:10.937Z] df9b9388f04a: Pulling fs layer [2023-04-24T06:45:10.937Z] 52dc419b0ee2: Pulling fs layer [2023-04-24T06:45:10.937Z] 25bc292e5bac: Pulling fs layer [2023-04-24T06:45:10.937Z] 114826534d7a: Pulling fs layer [2023-04-24T06:45:10.937Z] 4657fd5d0bcf: Pulling fs layer [2023-04-24T06:45:10.937Z] 6ad1cebc031e: Pulling fs layer [2023-04-24T06:45:10.937Z] 8a3aa393b2d8: Pulling fs layer [2023-04-24T06:45:10.937Z] 114826534d7a: Waiting [2023-04-24T06:45:10.937Z] 4657fd5d0bcf: Waiting [2023-04-24T06:45:10.937Z] 6ad1cebc031e: Waiting [2023-04-24T06:45:10.937Z] 8a3aa393b2d8: Waiting [2023-04-24T06:45:10.937Z] 25bc292e5bac: Download complete [2023-04-24T06:45:10.937Z] 52dc419b0ee2: Download complete [2023-04-24T06:45:10.937Z] 4657fd5d0bcf: Verifying Checksum [2023-04-24T06:45:10.937Z] 4657fd5d0bcf: Download complete [2023-04-24T06:45:10.937Z] df9b9388f04a: Verifying Checksum [2023-04-24T06:45:10.937Z] df9b9388f04a: Download complete [2023-04-24T06:45:11.197Z] 6ad1cebc031e: Verifying Checksum [2023-04-24T06:45:11.197Z] 6ad1cebc031e: Download complete [2023-04-24T06:45:11.197Z] df9b9388f04a: Pull complete [2023-04-24T06:45:11.197Z] 52dc419b0ee2: Pull complete [2023-04-24T06:45:11.455Z] 25bc292e5bac: Pull complete [2023-04-24T06:45:11.713Z] 114826534d7a: Verifying Checksum [2023-04-24T06:45:11.713Z] 114826534d7a: Download complete [2023-04-24T06:45:11.713Z] 8a3aa393b2d8: Verifying Checksum [2023-04-24T06:45:14.996Z] 114826534d7a: Pull complete [2023-04-24T06:45:14.996Z] 4657fd5d0bcf: Pull complete [2023-04-24T06:45:15.255Z] 6ad1cebc031e: Pull complete [2023-04-24T06:45:18.542Z] 8a3aa393b2d8: Pull complete [2023-04-24T06:45:18.542Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-24T06:45:18.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T06:45:18.542Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:45:18.641Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:45:18.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-24T06:45:20.900Z] $ docker top 0666d3b440ccacc7c9656876ff2b211af235834f60bb6e10843591c0af92277f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-24T06:45:20.970Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-04-24T06:45:21.247Z] + set -o pipefail [2023-04-24T06:45:21.247Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-04-24T06:45:25.434Z] [2023-04-24T06:45:25.434Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-04-24T06:45:25.434Z] [2023-04-24T06:45:25.434Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/37d5f8a9-abf5-476b-a832-4740775b4b5e [2023-04-24T06:45:25.434Z] [2023-04-24T06:45:25.434Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-24T06:45:25.434Z] [2023-04-24T06:45:25.434Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-24T06:45:25.434Z] [2023-04-24T06:45:25.694Z] [2023-04-24T06:45:25.694Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-24T06:45:25.694Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-24T06:45:25.694Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-24T06:45:25.708Z] $ docker stop --time=1 0666d3b440ccacc7c9656876ff2b211af235834f60bb6e10843591c0af92277f [2023-04-24T06:45:27.971Z] $ docker rm -f --volumes 0666d3b440ccacc7c9656876ff2b211af235834f60bb6e10843591c0af92277f [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-04-24T06:45:28.700Z] + git log --format=format:%s -1 7429475b8b1c7d2813665a0cabf567e5cd6ad519 [Pipeline] sh [2023-04-24T06:45:28.994Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:45:28.994Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:29.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:45:29.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:45:29.373Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:45:29.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:45:29.855Z] $ docker top 8df40ee79aefbfdf3a6bdd4cdf4320cb8ae9fad7e9f2b09895b4631adf462444 -eo pid,comm [2023-04-24T06:45:29.900Z] 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-04-24T06:45:29.900Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:45:29.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:45:29.939Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:45:30.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:45:30.062Z] $ docker exec 8df40ee79aefbfdf3a6bdd4cdf4320cb8ae9fad7e9f2b09895b4631adf462444 ssh-agent [2023-04-24T06:45:30.184Z] SSH_AUTH_SOCK=/tmp/ssh-queU00wxF2lO/agent.31 [2023-04-24T06:45:30.184Z] SSH_AGENT_PID=37 [2023-04-24T06:45:30.188Z] Running ssh-add (command line suppressed) [2023-04-24T06:45:30.296Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3232778007927918988.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3232778007927918988.key) [2023-04-24T06:45:30.309Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:45:30.595Z] + git semver tag [2023-04-24T06:45:30.854Z] 2023-04-24 06:45:30,833 [run_tag] DEBUG tag force:False [2023-04-24T06:45:30.854Z] 2023-04-24 06:45:30,833 [check_head_tag] DEBUG check head tag [2023-04-24T06:45:30.854Z] 2023-04-24 06:45:30,835 [execute] INFO git cat-file --batch-check [2023-04-24T06:45:30.855Z] 2023-04-24 06:45:30,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-24T06:45:30.855Z] 2023-04-24 06:45:30,841 [execute] INFO git cat-file --batch [2023-04-24T06:45:30.855Z] 2023-04-24 06:45:30,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-04-24T06:45:31.114Z] 2023-04-24 06:45:30,869 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T06:45:31.114Z] 2023-04-24 06:45:30,869 [execute] INFO git tag -a v3.0.0-dev.16 -m v3.0.0-dev.16 [2023-04-24T06:45:31.114Z] 2023-04-24 06:45:30,869 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.16', '-m', 'v3.0.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-24T06:45:31.114Z] 2023-04-24 06:45:30,875 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T06:45:31.114Z] 3.0.0-dev.16 [Pipeline] } [2023-04-24T06:45:31.126Z] $ docker exec --env ******** --env ******** 8df40ee79aefbfdf3a6bdd4cdf4320cb8ae9fad7e9f2b09895b4631adf462444 ssh-agent -k [2023-04-24T06:45:31.228Z] unset SSH_AUTH_SOCK; [2023-04-24T06:45:31.229Z] unset SSH_AGENT_PID; [2023-04-24T06:45:31.229Z] echo Agent pid 37 killed; [2023-04-24T06:45:31.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:45:31.539Z] + git semver [Pipeline] } [2023-04-24T06:45:31.811Z] $ docker stop --time=1 8df40ee79aefbfdf3a6bdd4cdf4320cb8ae9fad7e9f2b09895b4631adf462444 [2023-04-24T06:45:33.124Z] $ docker rm -f --volumes 8df40ee79aefbfdf3a6bdd4cdf4320cb8ae9fad7e9f2b09895b4631adf462444 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:33.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T06:45:33.505Z] [2023-04-24T06:45:33.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:33.805Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T06:45:33.805Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-24T06:45:33.805Z] ab5ef0e58194: Pulling fs layer [2023-04-24T06:45:33.805Z] 9712f1f96733: Pulling fs layer [2023-04-24T06:45:33.805Z] 63f879dbbcfc: Pulling fs layer [2023-04-24T06:45:33.805Z] 0d9ebad4ef96: Pulling fs layer [2023-04-24T06:45:33.805Z] e9a5061849ea: Pulling fs layer [2023-04-24T06:45:33.805Z] d747dcd14b5f: Pulling fs layer [2023-04-24T06:45:33.805Z] 2de7ff778b66: Pulling fs layer [2023-04-24T06:45:33.805Z] 0d9ebad4ef96: Waiting [2023-04-24T06:45:33.805Z] e9a5061849ea: Waiting [2023-04-24T06:45:33.805Z] d747dcd14b5f: Waiting [2023-04-24T06:45:33.805Z] 2de7ff778b66: Waiting [2023-04-24T06:45:33.805Z] 9712f1f96733: Verifying Checksum [2023-04-24T06:45:33.805Z] 9712f1f96733: Download complete [2023-04-24T06:45:34.065Z] 63f879dbbcfc: Verifying Checksum [2023-04-24T06:45:34.065Z] 63f879dbbcfc: Download complete [2023-04-24T06:45:34.326Z] e9a5061849ea: Verifying Checksum [2023-04-24T06:45:34.326Z] e9a5061849ea: Download complete [2023-04-24T06:45:34.326Z] d747dcd14b5f: Verifying Checksum [2023-04-24T06:45:34.326Z] d747dcd14b5f: Download complete [2023-04-24T06:45:34.326Z] 0d9ebad4ef96: Verifying Checksum [2023-04-24T06:45:34.326Z] 0d9ebad4ef96: Download complete [2023-04-24T06:45:34.326Z] ab5ef0e58194: Verifying Checksum [2023-04-24T06:45:34.326Z] ab5ef0e58194: Download complete [2023-04-24T06:45:34.326Z] 2de7ff778b66: Verifying Checksum [2023-04-24T06:45:34.326Z] 2de7ff778b66: Download complete [2023-04-24T06:45:37.609Z] ab5ef0e58194: Pull complete [2023-04-24T06:45:37.609Z] 9712f1f96733: Pull complete [2023-04-24T06:45:37.868Z] 63f879dbbcfc: Pull complete [2023-04-24T06:45:42.052Z] 0d9ebad4ef96: Pull complete [2023-04-24T06:45:42.052Z] e9a5061849ea: Pull complete [2023-04-24T06:45:42.052Z] d747dcd14b5f: Pull complete [2023-04-24T06:45:42.984Z] 2de7ff778b66: Pull complete [2023-04-24T06:45:42.984Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-24T06:45:42.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T06:45:42.984Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:45:43.070Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:45:43.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-24T06:45:45.482Z] $ docker top f289f3eb57d48e4a150ecdb0f29c8fdf89ba6a86628cf3c70510392e8b1ea13f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:45:45.543Z] provisioning config files... [2023-04-24T06:45:45.549Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6330947577513092247tmp [2023-04-24T06:45:45.559Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9740295457743470221tmp [2023-04-24T06:45:45.567Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11773266180794059342tmp [Pipeline] { [Pipeline] echo [2023-04-24T06:45:45.580Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:45:45.866Z] ---> sigul-configuration.sh [2023-04-24T06:45:45.866Z] gpg: directory `/root/.gnupg' created [2023-04-24T06:45:45.866Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-24T06:45:45.866Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-24T06:45:45.866Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-24T06:45:45.866Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-24T06:45:45.866Z] gpg: CAST5 encrypted data [2023-04-24T06:45:45.866Z] gpg: encrypted with 1 passphrase [2023-04-24T06:45:45.866Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-24T06:45:46.152Z] + mkdir /home/jenkins [2023-04-24T06:45:46.152Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-24T06:45:46.446Z] + 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-04-24T06:45:46.454Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:45:46.739Z] ---> sigul-install.sh [2023-04-24T06:45:46.739Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-24T06:45:47.031Z] + git tag --list [2023-04-24T06:45:47.031Z] 1.0.0 [2023-04-24T06:45:47.031Z] v0.0.0 [2023-04-24T06:45:47.031Z] v1.1.0 [2023-04-24T06:45:47.031Z] v1.1.1 [2023-04-24T06:45:47.031Z] v1.2.2 [2023-04-24T06:45:47.031Z] v1.3.0 [2023-04-24T06:45:47.031Z] v1.3.1 [2023-04-24T06:45:47.031Z] v2.0.0 [2023-04-24T06:45:47.031Z] v2.1.0 [2023-04-24T06:45:47.031Z] v2.1.1 [2023-04-24T06:45:47.031Z] v2.1.1-dev.2 [2023-04-24T06:45:47.031Z] v2.1.1-dev.3 [2023-04-24T06:45:47.031Z] v2.2.0 [2023-04-24T06:45:47.031Z] v2.2.1-dev.1 [2023-04-24T06:45:47.031Z] v2.2.1-dev.2 [2023-04-24T06:45:47.031Z] v2.2.1-dev.3 [2023-04-24T06:45:47.031Z] v2.2.1-dev.4 [2023-04-24T06:45:47.031Z] v2.2.1-dev.5 [2023-04-24T06:45:47.031Z] v2.2.1-dev.6 [2023-04-24T06:45:47.031Z] v2.2.1-dev.7 [2023-04-24T06:45:47.031Z] v2.3.0 [2023-04-24T06:45:47.031Z] v2.3.0-dev.10 [2023-04-24T06:45:47.031Z] v2.3.0-dev.11 [2023-04-24T06:45:47.031Z] v2.3.0-dev.12 [2023-04-24T06:45:47.031Z] v2.3.0-dev.13 [2023-04-24T06:45:47.031Z] v2.3.0-dev.14 [2023-04-24T06:45:47.031Z] v2.3.0-dev.15 [2023-04-24T06:45:47.031Z] v2.3.0-dev.16 [2023-04-24T06:45:47.031Z] v2.3.0-dev.17 [2023-04-24T06:45:47.031Z] v2.3.0-dev.18 [2023-04-24T06:45:47.031Z] v2.3.0-dev.19 [2023-04-24T06:45:47.031Z] v2.3.0-dev.20 [2023-04-24T06:45:47.031Z] v2.3.0-dev.21 [2023-04-24T06:45:47.031Z] v2.3.0-dev.22 [2023-04-24T06:45:47.031Z] v2.3.0-dev.23 [2023-04-24T06:45:47.031Z] v2.3.0-dev.24 [2023-04-24T06:45:47.031Z] v2.3.0-dev.7 [2023-04-24T06:45:47.031Z] v2.3.0-dev.8 [2023-04-24T06:45:47.031Z] v2.3.0-dev.9 [2023-04-24T06:45:47.031Z] v3.0.0-dev.1 [2023-04-24T06:45:47.031Z] v3.0.0-dev.10 [2023-04-24T06:45:47.031Z] v3.0.0-dev.11 [2023-04-24T06:45:47.031Z] v3.0.0-dev.12 [2023-04-24T06:45:47.031Z] v3.0.0-dev.13 [2023-04-24T06:45:47.031Z] v3.0.0-dev.14 [2023-04-24T06:45:47.031Z] v3.0.0-dev.15 [2023-04-24T06:45:47.031Z] v3.0.0-dev.16 [2023-04-24T06:45:47.031Z] v3.0.0-dev.2 [2023-04-24T06:45:47.031Z] v3.0.0-dev.3 [2023-04-24T06:45:47.031Z] v3.0.0-dev.4 [2023-04-24T06:45:47.031Z] v3.0.0-dev.5 [2023-04-24T06:45:47.031Z] v3.0.0-dev.6 [2023-04-24T06:45:47.031Z] v3.0.0-dev.7 [2023-04-24T06:45:47.031Z] v3.0.0-dev.8 [2023-04-24T06:45:47.031Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-24T06:45:47.314Z] + lftools sign git-tag v3.0.0-dev.16 [2023-04-24T06:45:47.885Z] Signing Git tag with Sigul... [2023-04-24T06:45:47.885Z] Signing v3.0.0-dev.16 [Pipeline] echo [2023-04-24T06:45:48.464Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:45:48.747Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-24T06:45:48.753Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-24T06:45:48.773Z] $ docker stop --time=1 f289f3eb57d48e4a150ecdb0f29c8fdf89ba6a86628cf3c70510392e8b1ea13f [2023-04-24T06:45:50.071Z] $ docker rm -f --volumes f289f3eb57d48e4a150ecdb0f29c8fdf89ba6a86628cf3c70510392e8b1ea13f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-24T06:45:50.480Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:45:50.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:50.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:45:50.776Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:45:50.850Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:45:50.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:45:51.279Z] $ docker top da09a096210a1062e730afaf2d4153010bfe6dbaf8e0c284b412c6d0e82daa19 -eo pid,comm [2023-04-24T06:45:51.328Z] 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-04-24T06:45:51.328Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:45:51.356Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:45:51.356Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:45:51.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:45:51.465Z] $ docker exec da09a096210a1062e730afaf2d4153010bfe6dbaf8e0c284b412c6d0e82daa19 ssh-agent [2023-04-24T06:45:51.580Z] SSH_AUTH_SOCK=/tmp/ssh-7mXqeBEs7hem/agent.32 [2023-04-24T06:45:51.580Z] SSH_AGENT_PID=38 [2023-04-24T06:45:51.586Z] Running ssh-add (command line suppressed) [2023-04-24T06:45:51.694Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16824001958636188008.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16824001958636188008.key) [2023-04-24T06:45:51.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:45:51.989Z] + git semver bump pre [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,163 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,164 [bump_version] DEBUG bumping version:3.0.0-dev.16 on axis:pre with prefix:dev [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,164 [bump_version] DEBUG bumped version:3.0.0-dev.17 [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,164 [write_version] DEBUG write version:3.0.0-dev.17 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,164 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,164 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,166 [execute] INFO git cat-file --batch-check [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,172 [execute] INFO git cat-file --batch [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,173 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:45:52.248Z] 2023-04-24 06:45:52,178 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T06:45:52.248Z] 3.0.0-dev.17 [Pipeline] } [2023-04-24T06:45:52.259Z] $ docker exec --env ******** --env ******** da09a096210a1062e730afaf2d4153010bfe6dbaf8e0c284b412c6d0e82daa19 ssh-agent -k [2023-04-24T06:45:52.385Z] unset SSH_AUTH_SOCK; [2023-04-24T06:45:52.385Z] unset SSH_AGENT_PID; [2023-04-24T06:45:52.385Z] echo Agent pid 38 killed; [2023-04-24T06:45:52.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:45:52.700Z] + git semver [Pipeline] } [2023-04-24T06:45:52.975Z] $ docker stop --time=1 da09a096210a1062e730afaf2d4153010bfe6dbaf8e0c284b412c6d0e82daa19 [2023-04-24T06:45:54.250Z] $ docker rm -f --volumes da09a096210a1062e730afaf2d4153010bfe6dbaf8e0c284b412c6d0e82daa19 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T06:45:54.595Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T06:45:54.595Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:45:54.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T06:45:54.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:45:54.973Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:45:55.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T06:45:55.342Z] $ docker top 32c8e2370f9e2c34e418777f0e81c69def10a5f7de3365e25155f7dd4f1151ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T06:45:55.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T06:45:55.436Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T06:45:55.556Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T06:45:55.561Z] $ docker exec 32c8e2370f9e2c34e418777f0e81c69def10a5f7de3365e25155f7dd4f1151ba ssh-agent [2023-04-24T06:45:55.652Z] SSH_AUTH_SOCK=/tmp/ssh-ezPNNFLd8Ud7/agent.32 [2023-04-24T06:45:55.652Z] SSH_AGENT_PID=38 [2023-04-24T06:45:55.658Z] Running ssh-add (command line suppressed) [2023-04-24T06:45:55.771Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3010724189763785708.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3010724189763785708.key) [2023-04-24T06:45:55.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T06:45:56.066Z] + git semver push [2023-04-24T06:45:56.324Z] 2023-04-24 06:45:56,246 [run_push] DEBUG push [2023-04-24T06:45:56.324Z] 2023-04-24 06:45:56,247 [execute] INFO git cat-file --batch-check [2023-04-24T06:45:56.324Z] 2023-04-24 06:45:56,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T06:45:56.324Z] 2023-04-24 06:45:56,251 [execute] INFO git rev-list 3409bfc7aa661d5a2697b178ab9b0cc7062a2fe9 -- [2023-04-24T06:45:56.324Z] 2023-04-24 06:45:56,251 [execute] DEBUG Popen(['git', 'rev-list', '3409bfc7aa661d5a2697b178ab9b0cc7062a2fe9', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-24T06:45:56.324Z] 2023-04-24 06:45:56,259 [execute] INFO git fetch -v origin [2023-04-24T06:45:56.324Z] 2023-04-24 06:45:56,260 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-24T06:45:56.892Z] 2023-04-24 06:45:56,764 [run_push] DEBUG no remote changes detected [2023-04-24T06:45:56.892Z] 2023-04-24 06:45:56,764 [execute] INFO git push origin semver [2023-04-24T06:45:56.892Z] 2023-04-24 06:45:56,765 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-24T06:45:57.827Z] 2023-04-24 06:45:57,528 [run_push] DEBUG push all version tags [2023-04-24T06:45:57.827Z] 2023-04-24 06:45:57,528 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-24T06:45:57.827Z] 2023-04-24 06:45:57,529 [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-04-24T06:45:58.394Z] 2023-04-24 06:45:58,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-04-24T06:45:58.394Z] 3.0.0-dev.17 [Pipeline] } [2023-04-24T06:45:58.406Z] $ docker exec --env ******** --env ******** 32c8e2370f9e2c34e418777f0e81c69def10a5f7de3365e25155f7dd4f1151ba ssh-agent -k [2023-04-24T06:45:58.505Z] unset SSH_AUTH_SOCK; [2023-04-24T06:45:58.505Z] unset SSH_AGENT_PID; [2023-04-24T06:45:58.505Z] echo Agent pid 38 killed; [2023-04-24T06:45:58.511Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T06:45:58.818Z] + git semver [Pipeline] } [2023-04-24T06:45:59.093Z] $ docker stop --time=1 32c8e2370f9e2c34e418777f0e81c69def10a5f7de3365e25155f7dd4f1151ba [2023-04-24T06:46:00.372Z] $ docker rm -f --volumes 32c8e2370f9e2c34e418777f0e81c69def10a5f7de3365e25155f7dd4f1151ba [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-04-24T06:46:00.889Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-04-24T06:46:00.889Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-24T06:46:00.889Z] total 16 [2023-04-24T06:46:00.889Z] drwxr-xr-x 3 root root 4096 Apr 24 06:34 . [2023-04-24T06:46:00.889Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:45 .. [2023-04-24T06:46:00.889Z] drwxr-xr-x 2 root root 4096 Apr 24 06:34 cost [2023-04-24T06:46:00.889Z] -rw-r--r-- 1 root root 85 Apr 24 06:34 cost.csv [2023-04-24T06:46:00.889Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-24T06:46:00.889Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-04-24T06:46:00.889Z] total 16 [2023-04-24T06:46:00.889Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:34 . [2023-04-24T06:46:00.889Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:45 .. [2023-04-24T06:46:00.889Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:34 cost [2023-04-24T06:46:00.889Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 24 06:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:01.179Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:02.039Z] ---> package-listing.sh [2023-04-24T06:46:02.039Z] ++ facter osfamily [2023-04-24T06:46:02.039Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T06:46:02.297Z] + OS_FAMILY=debian [2023-04-24T06:46:02.297Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-04-24T06:46:02.297Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T06:46:02.297Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T06:46:02.297Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T06:46:02.297Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T06:46:02.297Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-24T06:46:02.297Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T06:46:02.297Z] + case "${OS_FAMILY}" in [2023-04-24T06:46:02.297Z] + grep '^ii' [2023-04-24T06:46:02.297Z] + dpkg -l [2023-04-24T06:46:02.297Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T06:46:02.297Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T06:46:02.297Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T06:46:02.297Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-04-24T06:46:02.297Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-04-24T06:46:02.297Z] + 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-04-24T06:46:02.309Z] 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-04-24T06:46:02.585Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T06:46:03.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T06:46:03.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T06:46:03.216Z] prd-ubuntu20.04-docker-8c-8g-9502 does not seem to be running inside a container [2023-04-24T06:46:03.301Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T06:46:03.563Z] $ docker top 399a1849925818a6de4a69f43a3101b4689c23df1984cb4df36f6fc6e4d1509b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T06:46:03.977Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T06:46:04.284Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T06:46:04.568Z] + ls /var/log/sa-host [2023-04-24T06:46:04.568Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T06:46:04.630Z] provisioning config files... [2023-04-24T06:46:04.643Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14625068761949907135tmp [Pipeline] { [Pipeline] echo [2023-04-24T06:46:04.656Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:04.936Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T06:46:04.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:05.262Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T06:46:05.271Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:05.553Z] ---> sudo-logs.sh [2023-04-24T06:46:05.553Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T06:46:05.586Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:05.869Z] ---> job-cost.sh [2023-04-24T06:46:05.869Z] lf-activate-venv: SKIPPING [2023-04-24T06:46:05.869Z] DEBUG: total: 0.2199999988079071 [2023-04-24T06:46:05.869Z] INFO: Retrieving Stack Cost... [2023-04-24T06:46:06.128Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T06:46:06.696Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T06:46:06.707Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T06:46:06.989Z] ---> logs-deploy.sh [2023-04-24T06:46:06.989Z] lf-activate-venv: SKIPPING [2023-04-24T06:46:06.989Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/73 [2023-04-24T06:46:06.989Z] INFO: archiving workspace using pattern(s): [2023-04-24T06:46:07.925Z] Archives upload complete. [2023-04-24T06:46:07.925Z] INFO: archiving logs to Nexus