Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 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-ssh10371005532660843624.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6117289344393636429.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16775658354051731758.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5355282402473640523.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-ssh424420765149444272.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7218’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7219’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7214’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7215’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7227’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7217’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7230 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 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a (main) Commit message: "Merge pull request #318 from ernestojeda/create-release" > 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 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a # timeout=10 > git rev-list --no-walk 1e145ee1301df0b97f405486925368d7c560441a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T20:56:06.936Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T20:56:06.978Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T20:56:06.993Z] ========================================================= [2023-09-20T20:56:06.993Z] EdgeX Global Pipelines Version Info [2023-09-20T20:56:06.993Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:56:07.697Z] ------------------- [2023-09-20T20:56:07.697Z] stable info: [2023-09-20T20:56:07.697Z] ------------------- [2023-09-20T20:56:07.697Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T20:56:07.697Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:56:07.697Z] Message: update stable to v1.0.254 [2023-09-20T20:56:08.269Z] ------------------- [2023-09-20T20:56:08.269Z] experimental info: [2023-09-20T20:56:08.269Z] ------------------- [2023-09-20T20:56:08.269Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T20:56:08.269Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:56:08.269Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T20:56:08.462Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-09-20T20:56:08.476Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-09-20T20:56:08.493Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T20:56:08.510Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T20:56:08.526Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T20:56:08.544Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T20:56:08.555Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T20:56:08.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T20:56:08.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T20:56:08.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T20:56:08.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T20:56:08.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-09-20T20:56:08.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T20:56:08.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T20:56:08.679Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:56:08.692Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:56:08.713Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:56:08.730Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:56:08.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T20:56:08.763Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T20:56:08.780Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T20:56:08.799Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T20:56:08.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T20:56:08.819Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T20:56:08.828Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T20:56:08.836Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T20:56:08.844Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T20:56:08.853Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T20:56:08.862Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T20:56:08.873Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T20:56:08.893Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] echo [2023-09-20T20:56:08.907Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6aca4e [Pipeline] echo [2023-09-20T20:56:08.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:56:08.952Z] provisioning config files... [2023-09-20T20:56:08.966Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18270470727707548297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:56:09.263Z] ---> docker-login.sh [2023-09-20T20:56:09.263Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:56:09.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:09.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:09.523Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:09.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:09.523Z] [2023-09-20T20:56:09.523Z] Login Succeeded [2023-09-20T20:56:09.523Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:56:09.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:09.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:09.523Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:09.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:09.523Z] [2023-09-20T20:56:09.523Z] Login Succeeded [2023-09-20T20:56:09.523Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:56:09.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:09.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:09.783Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:09.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:09.783Z] [2023-09-20T20:56:09.783Z] Login Succeeded [2023-09-20T20:56:09.783Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:56:09.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:09.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:09.783Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:09.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:09.783Z] [2023-09-20T20:56:09.783Z] Login Succeeded [2023-09-20T20:56:09.783Z] docker.io [2023-09-20T20:56:10.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:10.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:10.041Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:10.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:10.041Z] [2023-09-20T20:56:10.041Z] Login Succeeded [2023-09-20T20:56:10.041Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:56:10.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T20:56:10.412Z] + git rev-list -1 --merges a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a~1..a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] echo [2023-09-20T20:56:10.462Z] -----------> git rev-list -1 --merges a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a~1..a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [2023-09-20T20:56:10.462Z] a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [false] [Pipeline] sh [2023-09-20T20:56:10.744Z] + git log --format=format:%s -1 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] echo [2023-09-20T20:56:10.756Z] ========================================================= [2023-09-20T20:56:10.756Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:56:10.756Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:56:11.094Z] + git log --format=format:%s -1 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] echo [2023-09-20T20:56:11.105Z] [semverPrep] GIT_COMMIT: a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a, Commit Message: Merge pull request #318 from ernestojeda/create-release [Pipeline] echo [2023-09-20T20:56:11.112Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T20:56:11.457Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:56:11.457Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T20:56:11.457Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T20:56:11.457Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T20:56:11.457Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T20:56:11.457Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T20:56:11.457Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:11.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:56:11.809Z] [2023-09-20T20:56:11.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:12.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:56:12.111Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T20:56:12.111Z] b85a868b505f: Pulling fs layer [2023-09-20T20:56:12.111Z] e2be974225ed: Pulling fs layer [2023-09-20T20:56:12.111Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T20:56:12.111Z] 988bab9f4d93: Pulling fs layer [2023-09-20T20:56:12.111Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T20:56:12.111Z] eaf3925da568: Pulling fs layer [2023-09-20T20:56:12.111Z] bab4dde63d76: Pulling fs layer [2023-09-20T20:56:12.111Z] bde34c3a00c8: Pulling fs layer [2023-09-20T20:56:12.111Z] b352a97aabf1: Pulling fs layer [2023-09-20T20:56:12.111Z] 4872d77fe225: Pulling fs layer [2023-09-20T20:56:12.111Z] 5851b861e8e6: Pulling fs layer [2023-09-20T20:56:12.111Z] 988bab9f4d93: Waiting [2023-09-20T20:56:12.111Z] 1469e6f7b9e6: Waiting [2023-09-20T20:56:12.111Z] eaf3925da568: Waiting [2023-09-20T20:56:12.111Z] 4872d77fe225: Waiting [2023-09-20T20:56:12.111Z] bab4dde63d76: Waiting [2023-09-20T20:56:12.111Z] 5851b861e8e6: Waiting [2023-09-20T20:56:12.111Z] bde34c3a00c8: Waiting [2023-09-20T20:56:12.111Z] b352a97aabf1: Waiting [2023-09-20T20:56:12.111Z] e2be974225ed: Download complete [2023-09-20T20:56:12.111Z] 988bab9f4d93: Verifying Checksum [2023-09-20T20:56:12.111Z] 988bab9f4d93: Download complete [2023-09-20T20:56:12.111Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T20:56:12.373Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T20:56:12.373Z] 339a4e72a1f5: Download complete [2023-09-20T20:56:12.373Z] eaf3925da568: Download complete [2023-09-20T20:56:12.373Z] bde34c3a00c8: Download complete [2023-09-20T20:56:12.373Z] b352a97aabf1: Download complete [2023-09-20T20:56:12.373Z] 4872d77fe225: Verifying Checksum [2023-09-20T20:56:12.373Z] 4872d77fe225: Download complete [2023-09-20T20:56:12.373Z] 5851b861e8e6: Verifying Checksum [2023-09-20T20:56:12.373Z] 5851b861e8e6: Download complete [2023-09-20T20:56:12.373Z] b85a868b505f: Verifying Checksum [2023-09-20T20:56:12.373Z] b85a868b505f: Download complete [2023-09-20T20:56:12.632Z] bab4dde63d76: Verifying Checksum [2023-09-20T20:56:12.632Z] bab4dde63d76: Download complete [2023-09-20T20:56:13.569Z] b85a868b505f: Pull complete [2023-09-20T20:56:13.569Z] e2be974225ed: Pull complete [2023-09-20T20:56:14.151Z] 339a4e72a1f5: Pull complete [2023-09-20T20:56:14.151Z] 988bab9f4d93: Pull complete [2023-09-20T20:56:14.722Z] 1469e6f7b9e6: Pull complete [2023-09-20T20:56:14.722Z] eaf3925da568: Pull complete [2023-09-20T20:56:16.624Z] bab4dde63d76: Pull complete [2023-09-20T20:56:16.624Z] bde34c3a00c8: Pull complete [2023-09-20T20:56:16.624Z] b352a97aabf1: Pull complete [2023-09-20T20:56:16.624Z] 4872d77fe225: Pull complete [2023-09-20T20:56:16.624Z] 5851b861e8e6: Pull complete [2023-09-20T20:56:16.624Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T20:56:16.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:56:16.624Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:56:16.718Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T20:56:16.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T20:56:20.468Z] $ docker top 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 -eo pid,comm [2023-09-20T20:56:20.537Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T20:56:20.537Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:56:20.571Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:56:20.571Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:56:20.689Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:56:20.677Z] $ docker exec 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 ssh-agent [2023-09-20T20:56:20.800Z] SSH_AUTH_SOCK=/tmp/ssh-gqFfuikECjV7/agent.32 [2023-09-20T20:56:20.800Z] SSH_AGENT_PID=38 [2023-09-20T20:56:20.805Z] Running ssh-add (command line suppressed) [2023-09-20T20:56:20.928Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13720604946364142792.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_13720604946364142792.key) [2023-09-20T20:56:20.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:56:21.244Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T20:56:21.247Z] $ docker exec --env ******** --env ******** 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 ssh-agent -k [2023-09-20T20:56:21.335Z] unset SSH_AUTH_SOCK; [2023-09-20T20:56:21.336Z] unset SSH_AGENT_PID; [2023-09-20T20:56:21.336Z] echo Agent pid 38 killed; [2023-09-20T20:56:21.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T20:56:21.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:56:21.383Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:56:21.521Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:56:21.512Z] $ docker exec 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 ssh-agent [2023-09-20T20:56:21.794Z] SSH_AUTH_SOCK=/tmp/ssh-WZbszoPhbwFb/agent.71 [2023-09-20T20:56:21.794Z] SSH_AGENT_PID=77 [2023-09-20T20:56:21.797Z] Running ssh-add (command line suppressed) [2023-09-20T20:56:21.926Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7755107254167124174.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7755107254167124174.key) [2023-09-20T20:56:21.954Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:56:22.268Z] + git semver init [2023-09-20T20:56:22.526Z] 2023-09-20 20:56:22,448 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T20:56:22.526Z] 2023-09-20 20:56:22,449 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-09-20T20:56:22.526Z] 2023-09-20 20:56:22,449 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-09-20T20:56:22.526Z] 2023-09-20 20:56:22,450 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T20:56:23.903Z] 2023-09-20 20:56:23,472 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-09-20T20:56:23.903Z] 2023-09-20 20:56:23,473 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-09-20T20:56:23.903Z] 2023-09-20 20:56:23,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-20T20:56:23.903Z] 2023-09-20 20:56:23,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-20T20:56:23.903Z] 3.1.0-dev.4 [Pipeline] } [2023-09-20T20:56:23.903Z] $ docker exec --env ******** --env ******** 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 ssh-agent -k [2023-09-20T20:56:24.003Z] unset SSH_AUTH_SOCK; [2023-09-20T20:56:24.003Z] unset SSH_AGENT_PID; [2023-09-20T20:56:24.003Z] echo Agent pid 77 killed; [2023-09-20T20:56:24.023Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:56:24.323Z] + git semver [Pipeline] } [2023-09-20T20:56:24.893Z] $ docker stop --time=1 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 [2023-09-20T20:56:26.389Z] $ docker rm -f --volumes 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:56:26.735Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T20:56:26.931Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T20:56:26.936Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:56:27.094Z] provisioning config files... [2023-09-20T20:56:27.103Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8797215036616624594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:56:27.400Z] ---> docker-login.sh [2023-09-20T20:56:27.400Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:56:27.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:27.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:27.400Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:27.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:27.400Z] [2023-09-20T20:56:27.400Z] Login Succeeded [2023-09-20T20:56:27.400Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:56:27.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:27.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:27.659Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:27.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:27.659Z] [2023-09-20T20:56:27.659Z] Login Succeeded [2023-09-20T20:56:27.659Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:56:27.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:27.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:27.659Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:27.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:27.659Z] [2023-09-20T20:56:27.659Z] Login Succeeded [2023-09-20T20:56:27.659Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:56:27.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:27.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:27.918Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:27.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:27.918Z] [2023-09-20T20:56:27.918Z] Login Succeeded [2023-09-20T20:56:27.918Z] docker.io [2023-09-20T20:56:27.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:56:28.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:56:28.178Z] Configure a credential helper to remove this warning. See [2023-09-20T20:56:28.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:56:28.178Z] [2023-09-20T20:56:28.178Z] Login Succeeded [2023-09-20T20:56:28.178Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:56:28.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:56:28.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:56:28.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:56:28.271Z] ========================================================= [2023-09-20T20:56:28.271Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T20:56:28.271Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:28.585Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T20:56:28.585Z] Sending build context to Docker daemon 5.693MB [2023-09-20T20:56:28.585Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:56:28.585Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T20:56:28.585Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T20:56:28.585Z] 7264a8db6415: Pulling fs layer [2023-09-20T20:56:28.585Z] c4d48a809fc2: Pulling fs layer [2023-09-20T20:56:28.585Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T20:56:28.585Z] ad3a456e5733: Pulling fs layer [2023-09-20T20:56:28.585Z] 33e27b845d1e: Pulling fs layer [2023-09-20T20:56:28.585Z] c68163c4e522: Pulling fs layer [2023-09-20T20:56:28.585Z] 50da416c3ac9: Pulling fs layer [2023-09-20T20:56:28.585Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T20:56:28.585Z] ad3a456e5733: Waiting [2023-09-20T20:56:28.585Z] c68163c4e522: Waiting [2023-09-20T20:56:28.585Z] 33e27b845d1e: Waiting [2023-09-20T20:56:28.585Z] 50da416c3ac9: Waiting [2023-09-20T20:56:28.585Z] 23d2d4c4bb30: Waiting [2023-09-20T20:56:28.585Z] c4d48a809fc2: Verifying Checksum [2023-09-20T20:56:28.585Z] ad3a456e5733: Verifying Checksum [2023-09-20T20:56:28.585Z] ad3a456e5733: Download complete [2023-09-20T20:56:28.585Z] 33e27b845d1e: Verifying Checksum [2023-09-20T20:56:28.585Z] 33e27b845d1e: Download complete [2023-09-20T20:56:28.862Z] 7264a8db6415: Verifying Checksum [2023-09-20T20:56:28.862Z] 7264a8db6415: Download complete [2023-09-20T20:56:28.862Z] c68163c4e522: Verifying Checksum [2023-09-20T20:56:28.862Z] c68163c4e522: Download complete [2023-09-20T20:56:28.862Z] 7264a8db6415: Pull complete [2023-09-20T20:56:29.125Z] c4d48a809fc2: Pull complete [2023-09-20T20:56:29.125Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T20:56:29.125Z] 23d2d4c4bb30: Download complete [2023-09-20T20:56:29.387Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T20:56:29.387Z] 4f1c88b9dad5: Download complete [2023-09-20T20:56:29.645Z] 50da416c3ac9: Verifying Checksum [2023-09-20T20:56:29.645Z] 50da416c3ac9: Download complete [2023-09-20T20:56:32.932Z] 4f1c88b9dad5: Pull complete [2023-09-20T20:56:32.932Z] ad3a456e5733: Pull complete [2023-09-20T20:56:32.932Z] 33e27b845d1e: Pull complete [2023-09-20T20:56:33.188Z] c68163c4e522: Pull complete [2023-09-20T20:56:35.720Z] 50da416c3ac9: Pull complete [2023-09-20T20:56:35.979Z] 23d2d4c4bb30: Pull complete [2023-09-20T20:56:35.979Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T20:56:36.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T20:56:36.239Z] ---> 0786185ac409 [2023-09-20T20:56:36.239Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:56:41.512Z] ---> Running in b88224340b93 [2023-09-20T20:56:41.512Z] Removing intermediate container b88224340b93 [2023-09-20T20:56:41.512Z] ---> fae83e5f6dbc [2023-09-20T20:56:41.512Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:56:41.512Z] ---> Running in b23e010ea497 [2023-09-20T20:56:41.512Z] Removing intermediate container b23e010ea497 [2023-09-20T20:56:41.512Z] ---> 3c833a7d23a1 [2023-09-20T20:56:41.512Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:56:41.512Z] ---> Running in 52e28a9e1acc [2023-09-20T20:56:41.512Z] Removing intermediate container 52e28a9e1acc [2023-09-20T20:56:41.512Z] ---> a1abd64b6bf1 [2023-09-20T20:56:41.512Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:56:41.512Z] ---> Running in 8438aa7909bd [2023-09-20T20:56:41.512Z] Removing intermediate container 8438aa7909bd [2023-09-20T20:56:41.512Z] ---> bf1b735234c5 [2023-09-20T20:56:41.512Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:56:41.771Z] ---> Running in f3cb2c9a60eb [2023-09-20T20:56:42.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:42.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:42.043Z] Still waiting to schedule task [2023-09-20T20:56:42.043Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:42.043Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:42.043Z] ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:42.043Z] ‘prd-ubuntu20.04-docker-8c-8g-7233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:42.043Z] ‘prd-ubuntu20.04-docker-8c-8g-7236’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:56:42.043Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7231’ is offline [2023-09-20T20:56:42.298Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:56:42.298Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T20:56:42.298Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:56:42.298Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:56:42.298Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:56:42.298Z] OK: 268 MiB in 56 packages [2023-09-20T20:56:42.865Z] Removing intermediate container f3cb2c9a60eb [2023-09-20T20:56:42.865Z] ---> bcbc871f49f4 [2023-09-20T20:56:42.865Z] Step 8/12 : WORKDIR /device-snmp-go [2023-09-20T20:56:42.865Z] ---> Running in 5aaee9d095d9 [2023-09-20T20:56:43.123Z] Removing intermediate container 5aaee9d095d9 [2023-09-20T20:56:43.123Z] ---> c2a316450ee4 [2023-09-20T20:56:43.123Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T20:56:43.123Z] ---> 4145314e3078 [2023-09-20T20:56:43.123Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:56:43.123Z] ---> Running in 85af3a6ddefe [2023-09-20T20:57:31.146Z] Removing intermediate container 85af3a6ddefe [2023-09-20T20:57:31.146Z] ---> 16376179f34b [2023-09-20T20:57:31.146Z] Step 11/12 : COPY . . [2023-09-20T20:57:31.146Z] ---> 4db10082a633 [2023-09-20T20:57:31.146Z] Step 12/12 : RUN ${MAKE} [2023-09-20T20:57:31.146Z] ---> Running in 065af160641d [2023-09-20T20:57:31.146Z] noop [2023-09-20T20:57:31.146Z] Removing intermediate container 065af160641d [2023-09-20T20:57:31.146Z] ---> eee0cd658765 [2023-09-20T20:57:31.146Z] Successfully built eee0cd658765 [2023-09-20T20:57:31.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:31.456Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:57:31.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:57:31.542Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T20:57:31.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:57:31.896Z] $ docker top 8caa5b89613afa0ec8c7c31665575a9c59f5a7ea080349d0bebf35221a12f350 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:57:32.226Z] + go version [2023-09-20T20:57:32.226Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T20:57:32.243Z] $ docker stop --time=1 8caa5b89613afa0ec8c7c31665575a9c59f5a7ea080349d0bebf35221a12f350 [2023-09-20T20:57:33.528Z] $ docker rm -f --volumes 8caa5b89613afa0ec8c7c31665575a9c59f5a7ea080349d0bebf35221a12f350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:57:33.921Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:57:33.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:57:33.989Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T20:57:34.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:57:34.390Z] $ docker top 8d490d23bcb715167ae99fe281175e180288d282d06d33f5bf47da0d86bdbce2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:57:34.727Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:57:35.023Z] + make test [2023-09-20T20:57:35.023Z] go test ./... -coverprofile=coverage.out [2023-09-20T20:57:36.397Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-09-20T20:57:48.608Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-09-20T20:57:48.608Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2023-09-20T20:57:54.158Z] go vet ./... [2023-09-20T20:57:57.488Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:57:57.488Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:57:57.488Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:57:57.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:57:57.542Z] $ docker stop --time=1 8d490d23bcb715167ae99fe281175e180288d282d06d33f5bf47da0d86bdbce2 [2023-09-20T20:58:04.306Z] $ docker rm -f --volumes 8d490d23bcb715167ae99fe281175e180288d282d06d33f5bf47da0d86bdbce2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:58:04.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:58:04.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T20:58:05.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:58:05.627Z] + ls -al . [2023-09-20T20:58:05.627Z] total 176 [2023-09-20T20:58:05.627Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:57 . [2023-09-20T20:58:05.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:56 .. [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 20 20:56 .dockerignore [2023-09-20T20:58:05.627Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:57 .git [2023-09-20T20:58:05.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:56 .github [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 20 20:56 .gitignore [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:56 .golangci.yml [2023-09-20T20:58:05.627Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:56 .semver [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 10025 Sep 20 20:56 Attribution.txt [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 10534 Sep 20 20:56 CHANGELOG.md [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 1462 Sep 20 20:56 Dockerfile [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:56 GOVERNANCE.md [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 20 20:56 Jenkinsfile [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:56 LICENSE [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 2240 Sep 20 20:56 Makefile [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:56 OWNERS.md [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 10559 Sep 20 20:56 README.md [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 20:56 VERSION [2023-09-20T20:58:05.627Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:56 bin [2023-09-20T20:58:05.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:56 cmd [2023-09-20T20:58:05.627Z] -rw-r--r-- 1 jenkins jenkins 8837 Sep 20 20:57 coverage.out [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 3710 Sep 20 20:56 go.mod [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 33759 Sep 20 20:56 go.sum [2023-09-20T20:58:05.627Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:56 internal [2023-09-20T20:58:05.627Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:56 snap [2023-09-20T20:58:05.627Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 20 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:05.938Z] + 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=a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a --label arch=amd64 --label version=3.1.0-dev.4 . [2023-09-20T20:58:05.938Z] Sending build context to Docker daemon 5.703MB [2023-09-20T20:58:05.938Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:58:05.938Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-20T20:58:05.938Z] ---> eee0cd658765 [2023-09-20T20:58:05.938Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:58:06.521Z] ---> Running in 078657a9a991 [2023-09-20T20:58:06.786Z] Removing intermediate container 078657a9a991 [2023-09-20T20:58:06.786Z] ---> dcdc00c7319d [2023-09-20T20:58:06.786Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:58:06.786Z] ---> Running in 0e1c49c8735e [2023-09-20T20:58:07.045Z] Removing intermediate container 0e1c49c8735e [2023-09-20T20:58:07.045Z] ---> 23f2ce57ca0f [2023-09-20T20:58:07.045Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:58:07.045Z] ---> Running in b98b2a44774e [2023-09-20T20:58:07.045Z] Removing intermediate container b98b2a44774e [2023-09-20T20:58:07.045Z] ---> 6e6878c854e2 [2023-09-20T20:58:07.045Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:58:07.045Z] ---> Running in ddd75bd86eb3 [2023-09-20T20:58:07.045Z] Removing intermediate container ddd75bd86eb3 [2023-09-20T20:58:07.045Z] ---> d7a692cfaba5 [2023-09-20T20:58:07.045Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:58:07.045Z] ---> Running in 149aeb1372a2 [2023-09-20T20:58:07.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:07.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:07.870Z] OK: 268 MiB in 56 packages [2023-09-20T20:58:08.129Z] Removing intermediate container 149aeb1372a2 [2023-09-20T20:58:08.129Z] ---> ec534ca85cf0 [2023-09-20T20:58:08.129Z] Step 8/24 : WORKDIR /device-snmp-go [2023-09-20T20:58:08.129Z] ---> Running in cb747ed9ba38 [2023-09-20T20:58:08.387Z] Removing intermediate container cb747ed9ba38 [2023-09-20T20:58:08.387Z] ---> 53063797d6ea [2023-09-20T20:58:08.387Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-20T20:58:08.387Z] ---> e300015a216a [2023-09-20T20:58:08.387Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:58:08.387Z] ---> Running in ceb03a910061 [2023-09-20T20:58:08.955Z] Removing intermediate container ceb03a910061 [2023-09-20T20:58:08.955Z] ---> 8b5c12fa7456 [2023-09-20T20:58:08.955Z] Step 11/24 : COPY . . [2023-09-20T20:58:10.344Z] ---> 8a6e0a71fb4e [2023-09-20T20:58:10.344Z] Step 12/24 : RUN ${MAKE} [2023-09-20T20:58:10.344Z] ---> Running in fca53efeeda1 [2023-09-20T20:58:10.344Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-09-20T20:58:37.030Z] Removing intermediate container fca53efeeda1 [2023-09-20T20:58:37.030Z] ---> 7977243d9401 [2023-09-20T20:58:37.030Z] Step 13/24 : FROM alpine:3.18 [2023-09-20T20:58:37.030Z] 3.18: Pulling from library/alpine [2023-09-20T20:58:37.030Z] 7264a8db6415: Already exists [2023-09-20T20:58:37.030Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T20:58:37.030Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:58:37.030Z] ---> 7e01a0d0a1dc [2023-09-20T20:58:37.030Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-09-20T20:58:37.030Z] ---> Running in 3ee4924c2fde [2023-09-20T20:58:37.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:37.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:58:37.030Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T20:58:37.030Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:58:37.030Z] OK: 7 MiB in 16 packages [2023-09-20T20:58:37.030Z] Removing intermediate container 3ee4924c2fde [2023-09-20T20:58:37.030Z] ---> c4a9885b250e [2023-09-20T20:58:37.030Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-09-20T20:58:37.030Z] ---> a694eec195cf [2023-09-20T20:58:37.030Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-09-20T20:58:37.030Z] ---> 4f891ab070e4 [2023-09-20T20:58:37.030Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-09-20T20:58:37.030Z] ---> 15e2ed161ae6 [2023-09-20T20:58:37.030Z] Step 18/24 : EXPOSE 59993 [2023-09-20T20:58:37.030Z] ---> Running in 718546b51b85 [2023-09-20T20:58:37.030Z] Removing intermediate container 718546b51b85 [2023-09-20T20:58:37.030Z] ---> 4a4cf0234410 [2023-09-20T20:58:37.030Z] Step 19/24 : EXPOSE 161 [2023-09-20T20:58:37.030Z] ---> Running in db5d8348cb3f [2023-09-20T20:58:37.030Z] Removing intermediate container db5d8348cb3f [2023-09-20T20:58:37.030Z] ---> 6fafbf3c729b [2023-09-20T20:58:37.030Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-09-20T20:58:37.030Z] ---> Running in b6544a9e80f0 [2023-09-20T20:58:37.030Z] Removing intermediate container b6544a9e80f0 [2023-09-20T20:58:37.030Z] ---> 4e0b0292cb6c [2023-09-20T20:58:37.030Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T20:58:37.030Z] ---> Running in f5c7ff5db88f [2023-09-20T20:58:37.030Z] Removing intermediate container f5c7ff5db88f [2023-09-20T20:58:37.030Z] ---> 6fb67819050a [2023-09-20T20:58:37.030Z] Step 22/24 : LABEL arch=amd64 [2023-09-20T20:58:37.030Z] ---> Running in e7bc7ff0740b [2023-09-20T20:58:37.030Z] Removing intermediate container e7bc7ff0740b [2023-09-20T20:58:37.030Z] ---> 06fe6c48fca5 [2023-09-20T20:58:37.030Z] Step 23/24 : LABEL git_sha=a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [2023-09-20T20:58:37.030Z] ---> Running in fedfda6a31c8 [2023-09-20T20:58:37.289Z] Removing intermediate container fedfda6a31c8 [2023-09-20T20:58:37.289Z] ---> 84ee8ce8061f [2023-09-20T20:58:37.289Z] Step 24/24 : LABEL version=3.1.0-dev.4 [2023-09-20T20:58:37.289Z] ---> Running in 7b6ebf02cfbd [2023-09-20T20:58:37.549Z] Removing intermediate container 7b6ebf02cfbd [2023-09-20T20:58:37.549Z] ---> 62032dd07254 [2023-09-20T20:58:37.549Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:58:37.549Z] Successfully built 62032dd07254 [2023-09-20T20:58:37.549Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:58:37.660Z] provisioning config files... [2023-09-20T20:58:37.668Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3666222226537332979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:58:37.967Z] ---> docker-login.sh [2023-09-20T20:58:37.967Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:58:37.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:37.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:37.967Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:37.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:37.967Z] [2023-09-20T20:58:37.967Z] Login Succeeded [2023-09-20T20:58:37.967Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:58:37.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:37.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:37.967Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:37.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:37.967Z] [2023-09-20T20:58:37.967Z] Login Succeeded [2023-09-20T20:58:37.967Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:58:38.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:38.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:38.224Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:38.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:38.224Z] [2023-09-20T20:58:38.224Z] Login Succeeded [2023-09-20T20:58:38.224Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:58:38.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:38.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:38.224Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:38.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:38.224Z] [2023-09-20T20:58:38.224Z] Login Succeeded [2023-09-20T20:58:38.224Z] docker.io [2023-09-20T20:58:38.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:58:38.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:58:38.483Z] Configure a credential helper to remove this warning. See [2023-09-20T20:58:38.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:58:38.483Z] [2023-09-20T20:58:38.483Z] Login Succeeded [2023-09-20T20:58:38.483Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:58:38.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:58:38.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:58:38.546Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-09-20T20:58:38.546Z] a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [2023-09-20T20:58:38.546Z] latest [2023-09-20T20:58:38.546Z] 3.1.0-dev.4 [2023-09-20T20:58:38.546Z] a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 [2023-09-20T20:58:38.546Z] main [2023-09-20T20:58:38.546Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:38.876Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:39.180Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [2023-09-20T20:58:39.180Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-20T20:58:39.180Z] fe335942d161: Preparing [2023-09-20T20:58:39.180Z] cbf3192cf466: Preparing [2023-09-20T20:58:39.180Z] dc93f4e421fa: Preparing [2023-09-20T20:58:39.180Z] 059b943866ee: Preparing [2023-09-20T20:58:39.180Z] 4693057ce236: Preparing [2023-09-20T20:58:39.180Z] 4693057ce236: Layer already exists [2023-09-20T20:58:39.180Z] fe335942d161: Pushed [2023-09-20T20:58:39.180Z] 059b943866ee: Pushed [2023-09-20T20:58:39.180Z] cbf3192cf466: Pushed [2023-09-20T20:58:42.464Z] dc93f4e421fa: Pushed [2023-09-20T20:58:42.464Z] a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:42.801Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:43.113Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-09-20T20:58:43.113Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-20T20:58:43.113Z] fe335942d161: Preparing [2023-09-20T20:58:43.113Z] cbf3192cf466: Preparing [2023-09-20T20:58:43.113Z] dc93f4e421fa: Preparing [2023-09-20T20:58:43.113Z] 059b943866ee: Preparing [2023-09-20T20:58:43.113Z] 4693057ce236: Preparing [2023-09-20T20:58:43.113Z] dc93f4e421fa: Layer already exists [2023-09-20T20:58:43.113Z] fe335942d161: Layer already exists [2023-09-20T20:58:43.113Z] 059b943866ee: Layer already exists [2023-09-20T20:58:43.113Z] cbf3192cf466: Layer already exists [2023-09-20T20:58:43.113Z] 4693057ce236: Layer already exists [2023-09-20T20:58:43.113Z] latest: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:43.421Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:43.725Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.4 [2023-09-20T20:58:43.725Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-20T20:58:43.725Z] fe335942d161: Preparing [2023-09-20T20:58:43.725Z] cbf3192cf466: Preparing [2023-09-20T20:58:43.725Z] dc93f4e421fa: Preparing [2023-09-20T20:58:43.725Z] 059b943866ee: Preparing [2023-09-20T20:58:43.725Z] 4693057ce236: Preparing [2023-09-20T20:58:43.725Z] 059b943866ee: Layer already exists [2023-09-20T20:58:43.725Z] cbf3192cf466: Layer already exists [2023-09-20T20:58:43.725Z] 4693057ce236: Layer already exists [2023-09-20T20:58:43.725Z] fe335942d161: Layer already exists [2023-09-20T20:58:43.725Z] dc93f4e421fa: Layer already exists [2023-09-20T20:58:43.725Z] 3.1.0-dev.4: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:44.051Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:44.357Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 [2023-09-20T20:58:44.357Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-20T20:58:44.357Z] fe335942d161: Preparing [2023-09-20T20:58:44.357Z] cbf3192cf466: Preparing [2023-09-20T20:58:44.357Z] dc93f4e421fa: Preparing [2023-09-20T20:58:44.357Z] 059b943866ee: Preparing [2023-09-20T20:58:44.357Z] 4693057ce236: Preparing [2023-09-20T20:58:44.357Z] cbf3192cf466: Layer already exists [2023-09-20T20:58:44.357Z] fe335942d161: Layer already exists [2023-09-20T20:58:44.357Z] dc93f4e421fa: Layer already exists [2023-09-20T20:58:44.357Z] 4693057ce236: Layer already exists [2023-09-20T20:58:44.357Z] 059b943866ee: Layer already exists [2023-09-20T20:58:44.357Z] a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:44.666Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:44.973Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-09-20T20:58:44.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-09-20T20:58:44.973Z] fe335942d161: Preparing [2023-09-20T20:58:44.973Z] cbf3192cf466: Preparing [2023-09-20T20:58:44.973Z] dc93f4e421fa: Preparing [2023-09-20T20:58:44.973Z] 059b943866ee: Preparing [2023-09-20T20:58:44.973Z] 4693057ce236: Preparing [2023-09-20T20:58:44.973Z] cbf3192cf466: Layer already exists [2023-09-20T20:58:44.973Z] dc93f4e421fa: Layer already exists [2023-09-20T20:58:44.973Z] 4693057ce236: Layer already exists [2023-09-20T20:58:44.973Z] 059b943866ee: Layer already exists [2023-09-20T20:58:44.973Z] fe335942d161: Layer already exists [2023-09-20T20:58:44.973Z] main: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T20:58:45.017Z] ===================================================== [Pipeline] echo [2023-09-20T20:58:45.023Z] taggedImages: [2023-09-20T20:58:45.023Z] - nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [2023-09-20T20:58:45.023Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-09-20T20:58:45.023Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.4 [2023-09-20T20:58:45.023Z] - nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 [2023-09-20T20:58:45.023Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:45.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:58:45.380Z] [2023-09-20T20:58:45.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:58:45.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:58:45.682Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T20:58:45.682Z] 5eb5b503b376: Pulling fs layer [2023-09-20T20:58:45.682Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T20:58:45.682Z] ec43610c2a17: Pulling fs layer [2023-09-20T20:58:45.682Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T20:58:45.682Z] 33b1e0a273af: Pulling fs layer [2023-09-20T20:58:45.682Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T20:58:45.682Z] 2f39f015ded8: Pulling fs layer [2023-09-20T20:58:45.682Z] 3a2ae6a8a46f: Waiting [2023-09-20T20:58:45.682Z] 33b1e0a273af: Waiting [2023-09-20T20:58:45.682Z] 5d3b04190fa2: Waiting [2023-09-20T20:58:45.682Z] 2f39f015ded8: Waiting [2023-09-20T20:58:45.682Z] 5c69ac0246d0: Download complete [2023-09-20T20:58:45.682Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T20:58:45.682Z] 3a2ae6a8a46f: Download complete [2023-09-20T20:58:45.957Z] 33b1e0a273af: Verifying Checksum [2023-09-20T20:58:45.957Z] 33b1e0a273af: Download complete [2023-09-20T20:58:45.957Z] 5d3b04190fa2: Download complete [2023-09-20T20:58:45.957Z] ec43610c2a17: Verifying Checksum [2023-09-20T20:58:45.957Z] ec43610c2a17: Download complete [2023-09-20T20:58:46.215Z] 5eb5b503b376: Verifying Checksum [2023-09-20T20:58:46.215Z] 5eb5b503b376: Download complete [2023-09-20T20:58:46.781Z] 2f39f015ded8: Download complete [2023-09-20T20:58:47.349Z] 5eb5b503b376: Pull complete [2023-09-20T20:58:47.609Z] 5c69ac0246d0: Pull complete [2023-09-20T20:58:48.176Z] ec43610c2a17: Pull complete [2023-09-20T20:58:48.176Z] 3a2ae6a8a46f: Pull complete [2023-09-20T20:58:48.176Z] 33b1e0a273af: Pull complete [2023-09-20T20:58:48.434Z] 5d3b04190fa2: Pull complete [2023-09-20T20:58:52.655Z] 2f39f015ded8: Pull complete [2023-09-20T20:58:52.655Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T20:58:52.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:58:52.655Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:58:52.743Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T20:58:52.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T20:58:58.966Z] $ docker top 225e3757da46b1a34aef185c125e28ab2fc506c7e906a32cfd09d37afc03f026 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:58:59.328Z] ---> job-cost.sh [2023-09-20T20:58:59.328Z] lf-activate-venv: SKIPPING [2023-09-20T20:58:59.328Z] INFO: No Stack... [2023-09-20T20:58:59.586Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:59:00.158Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:59:00.446Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-09-20T20:59:00.446Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T20:59:00.457Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [2023-09-20T20:59:00.462Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] did not exist. Created. [2023-09-20T20:59:00.463Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:59:00.765Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T20:59:00.795Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:59:00.801Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:59:00.824Z] $ docker stop --time=1 225e3757da46b1a34aef185c125e28ab2fc506c7e906a32cfd09d37afc03f026 [2023-09-20T20:59:01.975Z] $ docker rm -f --volumes 225e3757da46b1a34aef185c125e28ab2fc506c7e906a32cfd09d37afc03f026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T20:59:16.981Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7246 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-09-20T20:59:17.003Z] Running in /w/workspace/device-snmp-go/90 [Pipeline] { [Pipeline] checkout [2023-09-20T20:59:17.068Z] Selected Git installation does not exist. Using Default [2023-09-20T20:59:17.068Z] The recommended git tool is: NONE [2023-09-20T20:59:27.315Z] using credential edgex-jenkins-ssh [2023-09-20T20:59:27.340Z] Cloning the remote Git repository [2023-09-20T20:59:27.431Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-09-20T20:59:27.620Z] > git init /w/workspace/device-snmp-go/90 # timeout=10 [2023-09-20T20:59:27.977Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-09-20T20:59:27.978Z] > git --version # timeout=10 [2023-09-20T20:59:28.035Z] > git --version # 'git version 2.25.1' [2023-09-20T20:59:28.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T20:59:28.383Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:59:29.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-09-20T20:59:29.931Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:59:32.348Z] Avoid second fetch [2023-09-20T20:59:32.349Z] Checking out Revision a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a (main) [2023-09-20T20:59:32.376Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T20:59:32.690Z] > git checkout -f a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a # timeout=10 [2023-09-20T20:59:34.288Z] Commit message: "Merge pull request #318 from ernestojeda/create-release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:59:35.629Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T20:59:35.629Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T20:59:35.629Z] Dload Upload Total Spent Left Speed [2023-09-20T20:59:35.629Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 128k 0 --:--:-- --:--:-- --:--:-- 129k [Pipeline] sh [2023-09-20T20:59:36.672Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T20:59:37.092Z] + sudo tee /etc/docker/daemon.new [2023-09-20T20:59:37.092Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T20:59:37.092Z] { [2023-09-20T20:59:37.092Z] "registry-mirrors": [ [2023-09-20T20:59:37.092Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T20:59:37.092Z] ], [2023-09-20T20:59:37.092Z] "bip": "10.250.0.254/24", [2023-09-20T20:59:37.092Z] "hosts": [ [2023-09-20T20:59:37.092Z] "tcp://0.0.0.0:5555", [2023-09-20T20:59:37.092Z] "unix:///var/run/docker.sock" [2023-09-20T20:59:37.092Z] ], [2023-09-20T20:59:37.092Z] "mtu": 1458, [2023-09-20T20:59:37.092Z] "selinux-enabled": true, [2023-09-20T20:59:37.092Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T20:59:37.092Z] } [Pipeline] sh [2023-09-20T20:59:37.559Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T20:59:37.971Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:59:56.517Z] provisioning config files... [2023-09-20T20:59:56.557Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/90@tmp/config10389394025538161926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:59:56.960Z] ---> docker-login.sh [2023-09-20T20:59:56.960Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:59:57.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:57.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:57.839Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:57.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:57.839Z] [2023-09-20T20:59:57.839Z] Login Succeeded [2023-09-20T20:59:57.839Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:59:58.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:58.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:58.117Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:58.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:58.117Z] [2023-09-20T20:59:58.117Z] Login Succeeded [2023-09-20T20:59:58.117Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:59:58.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:58.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:58.790Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:58.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:58.790Z] [2023-09-20T20:59:58.790Z] Login Succeeded [2023-09-20T20:59:58.790Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:59:59.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:59.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:59.074Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:59.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:59.074Z] [2023-09-20T20:59:59.074Z] Login Succeeded [2023-09-20T20:59:59.074Z] docker.io [2023-09-20T20:59:59.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:59.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:59.951Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:59.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:59.951Z] [2023-09-20T20:59:59.951Z] Login Succeeded [2023-09-20T20:59:59.951Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:59:59.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T21:00:00.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:00:00.401Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:00:00.411Z] ========================================================= [2023-09-20T21:00:00.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T21:00:00.411Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:00:00.796Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T21:00:01.070Z] Sending build context to Docker daemon 2.933MB [2023-09-20T21:00:01.070Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:00:01.070Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T21:00:01.359Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T21:00:01.359Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T21:00:01.359Z] 5d54e960e981: Pulling fs layer [2023-09-20T21:00:01.359Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T21:00:01.359Z] f0e02332f6b5: Pulling fs layer [2023-09-20T21:00:01.359Z] cefa15bbcfad: Pulling fs layer [2023-09-20T21:00:01.359Z] 17808c966233: Pulling fs layer [2023-09-20T21:00:01.359Z] f4c1fc716caa: Pulling fs layer [2023-09-20T21:00:01.359Z] cefa15bbcfad: Waiting [2023-09-20T21:00:01.359Z] 17808c966233: Waiting [2023-09-20T21:00:01.360Z] f4c1fc716caa: Waiting [2023-09-20T21:00:01.360Z] f0e02332f6b5: Waiting [2023-09-20T21:00:01.360Z] 5d54e960e981: Verifying Checksum [2023-09-20T21:00:01.360Z] 5d54e960e981: Download complete [2023-09-20T21:00:01.654Z] f0e02332f6b5: Verifying Checksum [2023-09-20T21:00:01.654Z] f0e02332f6b5: Download complete [2023-09-20T21:00:01.654Z] cefa15bbcfad: Download complete [2023-09-20T21:00:01.654Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T21:00:01.654Z] 9fda8d8052c6: Download complete [2023-09-20T21:00:02.274Z] f4c1fc716caa: Verifying Checksum [2023-09-20T21:00:02.274Z] f4c1fc716caa: Download complete [2023-09-20T21:00:02.594Z] 9fda8d8052c6: Pull complete [2023-09-20T21:00:03.614Z] 5d54e960e981: Pull complete [2023-09-20T21:00:03.888Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T21:00:03.888Z] c4a7e357bf2a: Download complete [2023-09-20T21:00:04.876Z] 17808c966233: Download complete [2023-09-20T21:00:17.304Z] c4a7e357bf2a: Pull complete [2023-09-20T21:00:17.304Z] f0e02332f6b5: Pull complete [2023-09-20T21:00:17.304Z] cefa15bbcfad: Pull complete [2023-09-20T21:00:24.096Z] 17808c966233: Pull complete [2023-09-20T21:00:25.094Z] f4c1fc716caa: Pull complete [2023-09-20T21:00:25.094Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T21:00:25.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T21:00:25.094Z] ---> ea914061e18c [2023-09-20T21:00:25.094Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T21:00:27.737Z] ---> Running in 30c8830c60a5 [2023-09-20T21:00:27.737Z] Removing intermediate container 30c8830c60a5 [2023-09-20T21:00:27.737Z] ---> 32e10f8ce8e6 [2023-09-20T21:00:27.737Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:00:27.737Z] ---> Running in bbdd6a6b9376 [2023-09-20T21:00:28.334Z] Removing intermediate container bbdd6a6b9376 [2023-09-20T21:00:28.334Z] ---> 0dd37d3e96fb [2023-09-20T21:00:28.334Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T21:00:28.334Z] ---> Running in a6aa4943f6d4 [2023-09-20T21:00:28.607Z] Removing intermediate container a6aa4943f6d4 [2023-09-20T21:00:28.607Z] ---> 38d0792111c9 [2023-09-20T21:00:28.607Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T21:00:28.888Z] ---> Running in fa525b07efe7 [2023-09-20T21:00:29.162Z] Removing intermediate container fa525b07efe7 [2023-09-20T21:00:29.162Z] ---> 3c654e6b2ce4 [2023-09-20T21:00:29.162Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T21:00:29.162Z] ---> Running in 67d4ce4adb4a [2023-09-20T21:00:30.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:00:31.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:00:32.618Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T21:00:32.618Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T21:00:32.618Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T21:00:32.618Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T21:00:32.618Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T21:00:32.893Z] OK: 270 MiB in 56 packages [2023-09-20T21:00:33.867Z] Removing intermediate container 67d4ce4adb4a [2023-09-20T21:00:33.867Z] ---> 6f2da3412ee8 [2023-09-20T21:00:33.867Z] Step 8/12 : WORKDIR /device-snmp-go [2023-09-20T21:00:34.139Z] ---> Running in ca94988db650 [2023-09-20T21:00:34.409Z] Removing intermediate container ca94988db650 [2023-09-20T21:00:34.409Z] ---> 299cc709a6ff [2023-09-20T21:00:34.409Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T21:00:35.007Z] ---> 4ef1b518d8fb [2023-09-20T21:00:35.007Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:00:35.007Z] ---> Running in 339988b80922 [2023-09-20T21:01:56.795Z] Removing intermediate container 339988b80922 [2023-09-20T21:01:56.795Z] ---> 88015904be1d [2023-09-20T21:01:56.795Z] Step 11/12 : COPY . . [2023-09-20T21:01:56.795Z] ---> 133fda19ca1d [2023-09-20T21:01:56.795Z] Step 12/12 : RUN ${MAKE} [2023-09-20T21:01:56.795Z] ---> Running in dc2e0e96420f [2023-09-20T21:01:56.795Z] noop [2023-09-20T21:01:56.795Z] Removing intermediate container dc2e0e96420f [2023-09-20T21:01:56.795Z] ---> b26d41c9029f [2023-09-20T21:01:56.795Z] Successfully built b26d41c9029f [2023-09-20T21:01:56.795Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:01:57.184Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:01:57.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:01:57.473Z] prd-ubuntu20.04-docker-arm64-4c-16g-7246 does not seem to be running inside a container [2023-09-20T21:01:57.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/90 -v /w/workspace/device-snmp-go/90:/w/workspace/device-snmp-go/90:rw,z -v /w/workspace/device-snmp-go/90@tmp:/w/workspace/device-snmp-go/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T21:01:59.107Z] $ docker top ff214134c9a7fc1c0f6373f2dea5d7c0b460957b7a4282e0088e91ee936d6291 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:02:00.038Z] + go version [2023-09-20T21:02:00.038Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T21:02:00.068Z] $ docker stop --time=1 ff214134c9a7fc1c0f6373f2dea5d7c0b460957b7a4282e0088e91ee936d6291 [2023-09-20T21:02:01.932Z] $ docker rm -f --volumes ff214134c9a7fc1c0f6373f2dea5d7c0b460957b7a4282e0088e91ee936d6291 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:02:02.530Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:02:02.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:02:02.756Z] prd-ubuntu20.04-docker-arm64-4c-16g-7246 does not seem to be running inside a container [2023-09-20T21:02:02.846Z] $ 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/90 -v /w/workspace/device-snmp-go/90:/w/workspace/device-snmp-go/90:rw,z -v /w/workspace/device-snmp-go/90@tmp:/w/workspace/device-snmp-go/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T21:02:04.194Z] $ docker top 46bf1324c316d18640cbbd016fdee5a68767dcb1e2d052945bd690366317e725 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:02:05.069Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/90 [Pipeline] fileExists [Pipeline] sh [2023-09-20T21:02:05.747Z] + make test [2023-09-20T21:02:05.748Z] go test ./... -coverprofile=coverage.out [2023-09-20T21:02:11.140Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-09-20T21:04:33.003Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-09-20T21:04:33.003Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2023-09-20T21:04:33.003Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T21:04:33.003Z] go vet ./... [2023-09-20T21:04:51.308Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T21:04:51.308Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T21:04:51.308Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T21:04:51.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T21:04:51.342Z] $ docker stop --time=1 46bf1324c316d18640cbbd016fdee5a68767dcb1e2d052945bd690366317e725 [2023-09-20T21:04:53.422Z] $ docker rm -f --volumes 46bf1324c316d18640cbbd016fdee5a68767dcb1e2d052945bd690366317e725 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:04:54.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T21:04:54.923Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T21:04:55.633Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:04:56.022Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T21:04:56.374Z] + ls -al . [2023-09-20T21:04:56.374Z] total 172 [2023-09-20T21:04:56.374Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 21:02 . [2023-09-20T21:04:56.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 .. [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 20 20:59 .dockerignore [2023-09-20T21:04:56.374Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:59 .git [2023-09-20T21:04:56.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 .github [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 20 20:59 .gitignore [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:59 .golangci.yml [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 10025 Sep 20 20:59 Attribution.txt [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 10534 Sep 20 20:59 CHANGELOG.md [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 1462 Sep 20 20:59 Dockerfile [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:59 GOVERNANCE.md [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 20 20:59 Jenkinsfile [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:59 LICENSE [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 2240 Sep 20 20:59 Makefile [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:59 OWNERS.md [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 10559 Sep 20 20:59 README.md [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 20:56 VERSION [2023-09-20T21:04:56.374Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:59 bin [2023-09-20T21:04:56.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 cmd [2023-09-20T21:04:56.374Z] -rw-r--r-- 1 jenkins jenkins 8837 Sep 20 21:04 coverage.out [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 3710 Sep 20 20:59 go.mod [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 33759 Sep 20 20:59 go.sum [2023-09-20T21:04:56.374Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 internal [2023-09-20T21:04:56.374Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 snap [2023-09-20T21:04:56.374Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 20 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:04:56.733Z] + 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=a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a --label arch=arm64 --label version=3.1.0-dev.4 . [2023-09-20T21:04:57.010Z] Sending build context to Docker daemon 2.943MB [2023-09-20T21:04:57.010Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T21:04:57.010Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-20T21:04:57.010Z] ---> b26d41c9029f [2023-09-20T21:04:57.010Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-20T21:04:57.282Z] ---> Running in 381b9f7386e0 [2023-09-20T21:04:57.556Z] Removing intermediate container 381b9f7386e0 [2023-09-20T21:04:57.556Z] ---> 2bad483e6f51 [2023-09-20T21:04:57.556Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T21:04:57.834Z] ---> Running in 3c9d04fe9b80 [2023-09-20T21:04:58.110Z] Removing intermediate container 3c9d04fe9b80 [2023-09-20T21:04:58.110Z] ---> df5828788972 [2023-09-20T21:04:58.110Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T21:04:58.110Z] ---> Running in f6446bdb250b [2023-09-20T21:04:58.704Z] Removing intermediate container f6446bdb250b [2023-09-20T21:04:58.704Z] ---> 4c37b0478038 [2023-09-20T21:04:58.704Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T21:04:58.704Z] ---> Running in 93645a99e47a [2023-09-20T21:04:58.978Z] Removing intermediate container 93645a99e47a [2023-09-20T21:04:58.978Z] ---> aaf3453b661c [2023-09-20T21:04:58.978Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T21:04:59.250Z] ---> Running in 541b373c81d9 [2023-09-20T21:05:00.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:05:00.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:05:02.245Z] OK: 270 MiB in 56 packages [2023-09-20T21:05:03.216Z] Removing intermediate container 541b373c81d9 [2023-09-20T21:05:03.216Z] ---> 8217d7b8bd4d [2023-09-20T21:05:03.216Z] Step 8/24 : WORKDIR /device-snmp-go [2023-09-20T21:05:03.216Z] ---> Running in 323eb5dbaa69 [2023-09-20T21:05:03.491Z] Removing intermediate container 323eb5dbaa69 [2023-09-20T21:05:03.491Z] ---> 2e381fd6f5a2 [2023-09-20T21:05:03.491Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-20T21:05:04.082Z] ---> 0e8566f70aaa [2023-09-20T21:05:04.082Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T21:05:04.350Z] ---> Running in 319805505a52 [2023-09-20T21:05:06.954Z] Removing intermediate container 319805505a52 [2023-09-20T21:05:06.954Z] ---> 826488b4e043 [2023-09-20T21:05:06.954Z] Step 11/24 : COPY . . [2023-09-20T21:05:07.547Z] ---> 60c34e999aa2 [2023-09-20T21:05:07.547Z] Step 12/24 : RUN ${MAKE} [2023-09-20T21:05:07.547Z] ---> Running in e5861f179c18 [2023-09-20T21:05:08.985Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-09-20T21:07:45.876Z] Removing intermediate container e5861f179c18 [2023-09-20T21:07:45.876Z] ---> 224d663a95a6 [2023-09-20T21:07:45.876Z] Step 13/24 : FROM alpine:3.18 [2023-09-20T21:07:45.876Z] 3.18: Pulling from library/alpine [2023-09-20T21:07:45.876Z] 9fda8d8052c6: Already exists [2023-09-20T21:07:45.876Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T21:07:45.876Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T21:07:45.876Z] ---> f6648c04cd6c [2023-09-20T21:07:45.876Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-09-20T21:07:45.876Z] ---> Running in 16b94c76a9ce [2023-09-20T21:07:46.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:07:47.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:07:48.885Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T21:07:48.886Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T21:07:48.886Z] OK: 8 MiB in 16 packages [2023-09-20T21:07:50.312Z] Removing intermediate container 16b94c76a9ce [2023-09-20T21:07:50.312Z] ---> 252a36e7bfc1 [2023-09-20T21:07:50.312Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-09-20T21:07:51.733Z] ---> fcc698af11c7 [2023-09-20T21:07:51.733Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-09-20T21:07:52.337Z] ---> c20f9e99a2f6 [2023-09-20T21:07:52.337Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-09-20T21:07:52.938Z] ---> e33b5bba96b8 [2023-09-20T21:07:52.938Z] Step 18/24 : EXPOSE 59993 [2023-09-20T21:07:52.938Z] ---> Running in 1f08b6dbae82 [2023-09-20T21:07:53.213Z] Removing intermediate container 1f08b6dbae82 [2023-09-20T21:07:53.213Z] ---> 0be2c4babc31 [2023-09-20T21:07:53.213Z] Step 19/24 : EXPOSE 161 [2023-09-20T21:07:53.487Z] ---> Running in e23652885369 [2023-09-20T21:07:53.762Z] Removing intermediate container e23652885369 [2023-09-20T21:07:53.762Z] ---> f0b1f338e890 [2023-09-20T21:07:53.762Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-09-20T21:07:54.041Z] ---> Running in 247a5bd0e1e1 [2023-09-20T21:07:54.317Z] Removing intermediate container 247a5bd0e1e1 [2023-09-20T21:07:54.317Z] ---> 20ce2bd4e44b [2023-09-20T21:07:54.317Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T21:07:54.601Z] ---> Running in befe0ac538e4 [2023-09-20T21:07:54.874Z] Removing intermediate container befe0ac538e4 [2023-09-20T21:07:54.874Z] ---> 69ccc99e7b3f [2023-09-20T21:07:54.874Z] Step 22/24 : LABEL arch=arm64 [2023-09-20T21:07:54.874Z] ---> Running in f87eeda3a980 [2023-09-20T21:07:55.469Z] Removing intermediate container f87eeda3a980 [2023-09-20T21:07:55.469Z] ---> 099b294f5836 [2023-09-20T21:07:55.469Z] Step 23/24 : LABEL git_sha=a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [2023-09-20T21:07:55.469Z] ---> Running in a30842fe5726 [2023-09-20T21:07:55.743Z] Removing intermediate container a30842fe5726 [2023-09-20T21:07:55.743Z] ---> 91f9f4f35158 [2023-09-20T21:07:55.743Z] Step 24/24 : LABEL version=3.1.0-dev.4 [2023-09-20T21:07:56.016Z] ---> Running in c69d65b24b05 [2023-09-20T21:07:56.294Z] Removing intermediate container c69d65b24b05 [2023-09-20T21:07:56.294Z] ---> cc06a50de12a [2023-09-20T21:07:56.294Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T21:07:56.294Z] Successfully built cc06a50de12a [2023-09-20T21:07:56.294Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:07:56.428Z] provisioning config files... [2023-09-20T21:07:56.449Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/90@tmp/config10796924049091851450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:07:56.818Z] ---> docker-login.sh [2023-09-20T21:07:56.819Z] nexus3.edgexfoundry.org:10001 [2023-09-20T21:07:57.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:57.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:57.365Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:57.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:57.365Z] [2023-09-20T21:07:57.365Z] Login Succeeded [2023-09-20T21:07:57.365Z] nexus3.edgexfoundry.org:10002 [2023-09-20T21:07:57.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:57.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:57.638Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:57.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:57.638Z] [2023-09-20T21:07:57.638Z] Login Succeeded [2023-09-20T21:07:57.638Z] nexus3.edgexfoundry.org:10003 [2023-09-20T21:07:58.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:58.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:58.232Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:58.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:58.232Z] [2023-09-20T21:07:58.232Z] Login Succeeded [2023-09-20T21:07:58.232Z] nexus3.edgexfoundry.org:10004 [2023-09-20T21:07:58.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:58.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:58.775Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:58.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:58.775Z] [2023-09-20T21:07:58.775Z] Login Succeeded [2023-09-20T21:07:58.775Z] docker.io [2023-09-20T21:07:59.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T21:07:59.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T21:07:59.319Z] Configure a credential helper to remove this warning. See [2023-09-20T21:07:59.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T21:07:59.319Z] [2023-09-20T21:07:59.319Z] Login Succeeded [2023-09-20T21:07:59.319Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T21:07:59.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:07:59.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T21:07:59.384Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-09-20T21:07:59.384Z] a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [2023-09-20T21:07:59.384Z] latest [2023-09-20T21:07:59.384Z] 3.1.0-dev.4 [2023-09-20T21:07:59.384Z] a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 [2023-09-20T21:07:59.384Z] main [2023-09-20T21:07:59.384Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:07:59.754Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:00.218Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [2023-09-20T21:08:00.218Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-20T21:08:00.218Z] 626ab0a32820: Preparing [2023-09-20T21:08:00.218Z] 2d3ae36f9bf8: Preparing [2023-09-20T21:08:00.218Z] fc8052cdca9e: Preparing [2023-09-20T21:08:00.218Z] 569e54f7ca8a: Preparing [2023-09-20T21:08:00.218Z] b2191e2be29d: Preparing [2023-09-20T21:08:00.218Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:00.502Z] 569e54f7ca8a: Pushed [2023-09-20T21:08:00.502Z] 626ab0a32820: Pushed [2023-09-20T21:08:00.502Z] 2d3ae36f9bf8: Pushed [2023-09-20T21:08:07.236Z] fc8052cdca9e: Pushed [2023-09-20T21:08:07.236Z] a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:07.611Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:07.982Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-09-20T21:08:07.982Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-20T21:08:07.982Z] 626ab0a32820: Preparing [2023-09-20T21:08:07.982Z] 2d3ae36f9bf8: Preparing [2023-09-20T21:08:07.982Z] fc8052cdca9e: Preparing [2023-09-20T21:08:07.982Z] 569e54f7ca8a: Preparing [2023-09-20T21:08:07.982Z] b2191e2be29d: Preparing [2023-09-20T21:08:07.982Z] 626ab0a32820: Layer already exists [2023-09-20T21:08:07.982Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:07.982Z] 569e54f7ca8a: Layer already exists [2023-09-20T21:08:07.982Z] fc8052cdca9e: Layer already exists [2023-09-20T21:08:07.982Z] 2d3ae36f9bf8: Layer already exists [2023-09-20T21:08:08.254Z] latest: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:08.632Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:09.001Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.4 [2023-09-20T21:08:09.001Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-20T21:08:09.001Z] 626ab0a32820: Preparing [2023-09-20T21:08:09.001Z] 2d3ae36f9bf8: Preparing [2023-09-20T21:08:09.001Z] fc8052cdca9e: Preparing [2023-09-20T21:08:09.001Z] 569e54f7ca8a: Preparing [2023-09-20T21:08:09.001Z] b2191e2be29d: Preparing [2023-09-20T21:08:09.001Z] 2d3ae36f9bf8: Layer already exists [2023-09-20T21:08:09.001Z] fc8052cdca9e: Layer already exists [2023-09-20T21:08:09.001Z] 569e54f7ca8a: Layer already exists [2023-09-20T21:08:09.001Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:09.001Z] 626ab0a32820: Layer already exists [2023-09-20T21:08:09.274Z] 3.1.0-dev.4: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:09.646Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:10.003Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 [2023-09-20T21:08:10.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-20T21:08:10.003Z] 626ab0a32820: Preparing [2023-09-20T21:08:10.003Z] 2d3ae36f9bf8: Preparing [2023-09-20T21:08:10.003Z] fc8052cdca9e: Preparing [2023-09-20T21:08:10.003Z] 569e54f7ca8a: Preparing [2023-09-20T21:08:10.003Z] b2191e2be29d: Preparing [2023-09-20T21:08:10.003Z] fc8052cdca9e: Layer already exists [2023-09-20T21:08:10.003Z] 2d3ae36f9bf8: Layer already exists [2023-09-20T21:08:10.003Z] 569e54f7ca8a: Layer already exists [2023-09-20T21:08:10.003Z] 626ab0a32820: Layer already exists [2023-09-20T21:08:10.003Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:10.273Z] a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:10.644Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:11.016Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-09-20T21:08:11.016Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-09-20T21:08:11.016Z] 626ab0a32820: Preparing [2023-09-20T21:08:11.016Z] 2d3ae36f9bf8: Preparing [2023-09-20T21:08:11.016Z] fc8052cdca9e: Preparing [2023-09-20T21:08:11.016Z] 569e54f7ca8a: Preparing [2023-09-20T21:08:11.016Z] b2191e2be29d: Preparing [2023-09-20T21:08:11.016Z] 2d3ae36f9bf8: Layer already exists [2023-09-20T21:08:11.016Z] fc8052cdca9e: Layer already exists [2023-09-20T21:08:11.016Z] b2191e2be29d: Layer already exists [2023-09-20T21:08:11.016Z] 626ab0a32820: Layer already exists [2023-09-20T21:08:11.016Z] 569e54f7ca8a: Layer already exists [2023-09-20T21:08:11.288Z] main: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T21:08:11.348Z] ===================================================== [Pipeline] echo [2023-09-20T21:08:11.355Z] taggedImages: [2023-09-20T21:08:11.356Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [2023-09-20T21:08:11.356Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-09-20T21:08:11.356Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.4 [2023-09-20T21:08:11.356Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 [2023-09-20T21:08:11.356Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:11.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:08:11.752Z] [2023-09-20T21:08:11.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:12.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:08:12.379Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T21:08:12.379Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T21:08:12.379Z] 04944245beec: Pulling fs layer [2023-09-20T21:08:12.379Z] 699f458cf7ca: Pulling fs layer [2023-09-20T21:08:12.379Z] 765212b225bb: Pulling fs layer [2023-09-20T21:08:12.379Z] f23df028b6ca: Pulling fs layer [2023-09-20T21:08:12.379Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T21:08:12.379Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T21:08:12.379Z] f23df028b6ca: Waiting [2023-09-20T21:08:12.379Z] d65c8cfc05b1: Waiting [2023-09-20T21:08:12.379Z] 765212b225bb: Waiting [2023-09-20T21:08:12.379Z] 2437ff75d9bd: Waiting [2023-09-20T21:08:12.379Z] 04944245beec: Verifying Checksum [2023-09-20T21:08:12.379Z] 04944245beec: Download complete [2023-09-20T21:08:12.379Z] 765212b225bb: Verifying Checksum [2023-09-20T21:08:12.379Z] 765212b225bb: Download complete [2023-09-20T21:08:12.379Z] f23df028b6ca: Verifying Checksum [2023-09-20T21:08:12.379Z] f23df028b6ca: Download complete [2023-09-20T21:08:12.653Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T21:08:12.653Z] d65c8cfc05b1: Download complete [2023-09-20T21:08:12.653Z] 699f458cf7ca: Verifying Checksum [2023-09-20T21:08:12.653Z] 699f458cf7ca: Download complete [2023-09-20T21:08:13.247Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T21:08:13.247Z] 8998bd30e6a1: Download complete [2023-09-20T21:08:15.848Z] 2437ff75d9bd: Download complete [2023-09-20T21:08:17.865Z] 8998bd30e6a1: Pull complete [2023-09-20T21:08:18.466Z] 04944245beec: Pull complete [2023-09-20T21:08:19.895Z] 699f458cf7ca: Pull complete [2023-09-20T21:08:20.166Z] 765212b225bb: Pull complete [2023-09-20T21:08:21.145Z] f23df028b6ca: Pull complete [2023-09-20T21:08:21.145Z] d65c8cfc05b1: Pull complete [2023-09-20T21:08:36.206Z] 2437ff75d9bd: Pull complete [2023-09-20T21:08:36.206Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T21:08:36.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:08:36.206Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:08:36.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-7246 does not seem to be running inside a container [2023-09-20T21:08:36.537Z] $ 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/90 -v /w/workspace/device-snmp-go/90:/w/workspace/device-snmp-go/90:rw,z -v /w/workspace/device-snmp-go/90@tmp:/w/workspace/device-snmp-go/90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T21:08:39.742Z] $ docker top ada34d3713bee730f3916535524db8d377193bfe3b12fdc9f4756c58c5e666f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:08:40.668Z] ---> job-cost.sh [2023-09-20T21:08:40.668Z] lf-activate-venv: SKIPPING [2023-09-20T21:08:40.668Z] INFO: No Stack... [2023-09-20T21:08:41.255Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T21:08:41.847Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:08:42.777Z] + + cutcat -d, /w/workspace/device-snmp-go/90/archives/cost.csv -f6 [2023-09-20T21:08:42.777Z] [Pipeline] lock [2023-09-20T21:08:42.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [2023-09-20T21:08:42.882Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] did not exist. Created. [2023-09-20T21:08:42.882Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:08:43.562Z] /w/workspace/device-snmp-go/90@tmp/durable-856fe410/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T21:08:44.271Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T21:08:44.302Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T21:08:44.374Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:08:44.380Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:08:44.398Z] $ docker stop --time=1 ada34d3713bee730f3916535524db8d377193bfe3b12fdc9f4756c58c5e666f8 [2023-09-20T21:08:46.051Z] $ docker rm -f --volumes ada34d3713bee730f3916535524db8d377193bfe3b12fdc9f4756c58c5e666f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-20T21:08:46.535Z] provisioning config files... [2023-09-20T21:08:46.545Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16967086294236919795tmp [Pipeline] { [Pipeline] sh [2023-09-20T21:08:46.850Z] + set +x [2023-09-20T21:08:46.851Z] + bash -s -- [2023-09-20T21:08:46.851Z] + curl -s https://codecov.io/bash [2023-09-20T21:08:46.851Z] [2023-09-20T21:08:46.851Z] _____ _ [2023-09-20T21:08:46.851Z] / ____| | | [2023-09-20T21:08:46.851Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T21:08:46.851Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T21:08:46.851Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T21:08:46.851Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T21:08:46.851Z] Bash-1.0.6 [2023-09-20T21:08:46.851Z] [2023-09-20T21:08:46.851Z] [2023-09-20T21:08:46.851Z] ==> git version 2.25.1 found [2023-09-20T21:08:46.851Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-20T21:08:46.851Z] Release-Date: 2020-01-08 [2023-09-20T21:08:46.851Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-20T21:08:46.851Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T21:08:46.851Z] ==> Jenkins CI detected. [2023-09-20T21:08:46.851Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-09-20T21:08:46.851Z] project root: . [2023-09-20T21:08:46.851Z] --> token set from env [2023-09-20T21:08:46.851Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T21:08:46.851Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T21:08:46.851Z] ==> Python coveragepy not found [2023-09-20T21:08:46.851Z] ==> Searching for coverage reports in: [2023-09-20T21:08:46.851Z] + . [2023-09-20T21:08:46.851Z] -> Found 1 reports [2023-09-20T21:08:46.851Z] ==> Detecting git/mercurial file structure [2023-09-20T21:08:47.110Z] ==> Reading reports [2023-09-20T21:08:47.110Z] + ./coverage.out bytes=8837 [2023-09-20T21:08:47.110Z] ==> Appending adjustments [2023-09-20T21:08:47.110Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T21:08:47.110Z] + Found adjustments [2023-09-20T21:08:47.110Z] ==> Gzipping contents [2023-09-20T21:08:47.110Z] 4.0K /tmp/codecov.g8JE1A.gz [2023-09-20T21:08:47.110Z] ==> Uploading reports [2023-09-20T21:08:47.110Z] url: https://codecov.io [2023-09-20T21:08:47.110Z] query: branch=main&commit=a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:08:47.110Z] -> Pinging Codecov [2023-09-20T21:08:47.110Z] 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=a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T21:08:47.369Z] -> Uploading to [2023-09-20T21:08:47.369Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/6C56EA5C29638FB4528AC87E60AF5AE0/a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a/a963f42f-b4c5-4b13-a476-870c702a353e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T210847Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e53bee4e7ed0f20bfd98f546901827d183ce8fb84a64eeebf0208f0d0383261 [2023-09-20T21:08:47.369Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T21:08:47.369Z] Dload Upload Total Spent Left Speed [2023-09-20T21:08:47.369Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8670 --:--:-- --:--:-- --:--:-- 8670 [2023-09-20T21:08:47.369Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] } [2023-09-20T21:08:47.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T21:08:47.478Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T21:08:47.490Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:48.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:08:48.744Z] [2023-09-20T21:08:48.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:08:49.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:08:49.056Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T21:08:49.056Z] df9b9388f04a: Pulling fs layer [2023-09-20T21:08:49.056Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T21:08:49.056Z] 25bc292e5bac: Pulling fs layer [2023-09-20T21:08:49.056Z] 114826534d7a: Pulling fs layer [2023-09-20T21:08:49.056Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T21:08:49.056Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T21:08:49.056Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T21:08:49.056Z] 4657fd5d0bcf: Waiting [2023-09-20T21:08:49.056Z] 6ad1cebc031e: Waiting [2023-09-20T21:08:49.056Z] 8a3aa393b2d8: Waiting [2023-09-20T21:08:49.056Z] 114826534d7a: Waiting [2023-09-20T21:08:49.056Z] 25bc292e5bac: Verifying Checksum [2023-09-20T21:08:49.056Z] 25bc292e5bac: Download complete [2023-09-20T21:08:49.056Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T21:08:49.056Z] 52dc419b0ee2: Download complete [2023-09-20T21:08:49.056Z] 4657fd5d0bcf: Verifying Checksum [2023-09-20T21:08:49.056Z] 4657fd5d0bcf: Download complete [2023-09-20T21:08:49.056Z] df9b9388f04a: Download complete [2023-09-20T21:08:49.315Z] df9b9388f04a: Pull complete [2023-09-20T21:08:49.315Z] 52dc419b0ee2: Pull complete [2023-09-20T21:08:49.315Z] 25bc292e5bac: Pull complete [2023-09-20T21:08:49.315Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T21:08:49.315Z] 6ad1cebc031e: Download complete [2023-09-20T21:08:50.251Z] 114826534d7a: Verifying Checksum [2023-09-20T21:08:50.251Z] 114826534d7a: Download complete [2023-09-20T21:08:50.251Z] 8a3aa393b2d8: Verifying Checksum [2023-09-20T21:08:53.524Z] 114826534d7a: Pull complete [2023-09-20T21:08:53.783Z] 4657fd5d0bcf: Pull complete [2023-09-20T21:08:54.041Z] 6ad1cebc031e: Pull complete [2023-09-20T21:08:57.343Z] 8a3aa393b2d8: Pull complete [2023-09-20T21:08:57.343Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T21:08:57.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T21:08:57.343Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:08:57.424Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T21:08:57.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-20T21:09:02.219Z] $ docker top 5192b30aa27b52968a7922db203951f9f823bbc99618a09caa16ca5f8964d503 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T21:09:02.277Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-09-20T21:09:02.551Z] + set -o pipefail [2023-09-20T21:09:02.551Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-09-20T21:09:09.108Z] [2023-09-20T21:09:09.108Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-09-20T21:09:09.108Z] [2023-09-20T21:09:09.108Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/be8c3e46-e5d8-474c-b57a-b87c4193288c [2023-09-20T21:09:09.108Z] [2023-09-20T21:09:09.108Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-20T21:09:09.108Z] [2023-09-20T21:09:09.108Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T21:09:09.108Z] [2023-09-20T21:09:09.108Z] [2023-09-20T21:09:09.108Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T21:09:09.108Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T21:09:09.109Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T21:09:09.128Z] $ docker stop --time=1 5192b30aa27b52968a7922db203951f9f823bbc99618a09caa16ca5f8964d503 [2023-09-20T21:09:12.390Z] $ docker rm -f --volumes 5192b30aa27b52968a7922db203951f9f823bbc99618a09caa16ca5f8964d503 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:09:13.146Z] + git log --format=format:%s -1 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] sh [2023-09-20T21:09:13.431Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:09:13.431Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:13.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:09:13.730Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:13.800Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T21:09:13.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:09:14.232Z] $ docker top 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 -eo pid,comm [2023-09-20T21:09:14.270Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T21:09:14.270Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:09:14.309Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:09:14.309Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:09:14.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:09:14.434Z] $ docker exec 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 ssh-agent [2023-09-20T21:09:14.539Z] SSH_AUTH_SOCK=/tmp/ssh-XaiplBo6PR8L/agent.32 [2023-09-20T21:09:14.539Z] SSH_AGENT_PID=38 [2023-09-20T21:09:14.544Z] Running ssh-add (command line suppressed) [2023-09-20T21:09:14.646Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2858298293821308553.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2858298293821308553.key) [2023-09-20T21:09:14.649Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:09:14.937Z] + git semver tag [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,099 [run_tag] DEBUG tag force:False [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,099 [check_head_tag] DEBUG check head tag [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,100 [execute] INFO git cat-file --batch-check [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,100 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,103 [execute] INFO git cat-file --batch [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,111 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,111 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,111 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:15.196Z] 2023-09-20 21:09:15,116 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-20T21:09:15.196Z] 3.1.0-dev.4 [Pipeline] } [2023-09-20T21:09:15.214Z] $ docker exec --env ******** --env ******** 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 ssh-agent -k [2023-09-20T21:09:15.314Z] unset SSH_AUTH_SOCK; [2023-09-20T21:09:15.315Z] unset SSH_AGENT_PID; [2023-09-20T21:09:15.315Z] echo Agent pid 38 killed; [2023-09-20T21:09:15.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:09:15.614Z] + git semver [Pipeline] } [2023-09-20T21:09:15.894Z] $ docker stop --time=1 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 [2023-09-20T21:09:17.187Z] $ docker rm -f --volumes 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:17.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:09:17.573Z] [2023-09-20T21:09:17.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:17.874Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:09:17.874Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T21:09:17.874Z] ab5ef0e58194: Pulling fs layer [2023-09-20T21:09:17.874Z] 9712f1f96733: Pulling fs layer [2023-09-20T21:09:17.874Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T21:09:17.874Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T21:09:17.874Z] e9a5061849ea: Pulling fs layer [2023-09-20T21:09:17.874Z] d747dcd14b5f: Pulling fs layer [2023-09-20T21:09:17.874Z] 2de7ff778b66: Pulling fs layer [2023-09-20T21:09:17.874Z] d747dcd14b5f: Waiting [2023-09-20T21:09:17.874Z] e9a5061849ea: Waiting [2023-09-20T21:09:17.874Z] 2de7ff778b66: Waiting [2023-09-20T21:09:17.874Z] 0d9ebad4ef96: Waiting [2023-09-20T21:09:17.874Z] 9712f1f96733: Download complete [2023-09-20T21:09:18.463Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T21:09:18.463Z] 63f879dbbcfc: Download complete [2023-09-20T21:09:18.721Z] e9a5061849ea: Verifying Checksum [2023-09-20T21:09:18.721Z] e9a5061849ea: Download complete [2023-09-20T21:09:18.721Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T21:09:18.721Z] 0d9ebad4ef96: Download complete [2023-09-20T21:09:18.721Z] d747dcd14b5f: Verifying Checksum [2023-09-20T21:09:18.721Z] ab5ef0e58194: Verifying Checksum [2023-09-20T21:09:18.721Z] ab5ef0e58194: Download complete [2023-09-20T21:09:18.721Z] 2de7ff778b66: Verifying Checksum [2023-09-20T21:09:18.721Z] 2de7ff778b66: Download complete [2023-09-20T21:09:21.251Z] ab5ef0e58194: Pull complete [2023-09-20T21:09:21.251Z] 9712f1f96733: Pull complete [2023-09-20T21:09:22.187Z] 63f879dbbcfc: Pull complete [2023-09-20T21:09:26.396Z] 0d9ebad4ef96: Pull complete [2023-09-20T21:09:26.397Z] e9a5061849ea: Pull complete [2023-09-20T21:09:26.397Z] d747dcd14b5f: Pull complete [2023-09-20T21:09:26.964Z] 2de7ff778b66: Pull complete [2023-09-20T21:09:26.964Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T21:09:26.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:09:26.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:27.049Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T21:09:27.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-20T21:09:35.059Z] $ docker top 3020017f21197f76d702f5309defdb0606ad1bb5def46e7b13d533359e0b0150 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:09:35.124Z] provisioning config files... [2023-09-20T21:09:35.130Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4291954165051272680tmp [2023-09-20T21:09:35.141Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5825812283826368304tmp [2023-09-20T21:09:35.151Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4302513768727783436tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:09:35.167Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:35.452Z] ---> sigul-configuration.sh [2023-09-20T21:09:35.452Z] gpg: directory `/root/.gnupg' created [2023-09-20T21:09:35.452Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T21:09:35.452Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T21:09:35.452Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T21:09:35.452Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T21:09:35.452Z] gpg: CAST5 encrypted data [2023-09-20T21:09:35.452Z] gpg: encrypted with 1 passphrase [2023-09-20T21:09:35.452Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T21:09:35.736Z] + mkdir /home/jenkins [2023-09-20T21:09:35.736Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T21:09:36.018Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-20T21:09:36.025Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:36.305Z] ---> sigul-install.sh [2023-09-20T21:09:36.305Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T21:09:36.587Z] + git tag --list [2023-09-20T21:09:36.587Z] 1.0.0 [2023-09-20T21:09:36.587Z] v0.0.0 [2023-09-20T21:09:36.587Z] v1.1.0 [2023-09-20T21:09:36.587Z] v1.1.1 [2023-09-20T21:09:36.587Z] v1.2.2 [2023-09-20T21:09:36.587Z] v1.3.0 [2023-09-20T21:09:36.587Z] v1.3.1 [2023-09-20T21:09:36.587Z] v2.0.0 [2023-09-20T21:09:36.587Z] v2.1.0 [2023-09-20T21:09:36.587Z] v2.1.1 [2023-09-20T21:09:36.587Z] v2.2.0 [2023-09-20T21:09:36.587Z] v2.3.0 [2023-09-20T21:09:36.587Z] v3.0 [2023-09-20T21:09:36.587Z] v3.0.0 [2023-09-20T21:09:36.587Z] v3.1.0-dev.1 [2023-09-20T21:09:36.587Z] v3.1.0-dev.2 [2023-09-20T21:09:36.587Z] v3.1.0-dev.3 [2023-09-20T21:09:36.587Z] v3.1.0-dev.4 [Pipeline] sh [2023-09-20T21:09:36.885Z] + lftools sign git-tag v3.1.0-dev.4 [2023-09-20T21:09:37.453Z] Signing Git tag with Sigul... [2023-09-20T21:09:37.453Z] Signing v3.1.0-dev.4 [Pipeline] echo [2023-09-20T21:09:37.720Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:38.004Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T21:09:38.011Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T21:09:38.040Z] $ docker stop --time=1 3020017f21197f76d702f5309defdb0606ad1bb5def46e7b13d533359e0b0150 [2023-09-20T21:09:39.389Z] $ docker rm -f --volumes 3020017f21197f76d702f5309defdb0606ad1bb5def46e7b13d533359e0b0150 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T21:09:39.797Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:09:39.797Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:40.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:09:40.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:40.165Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T21:09:40.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:09:40.549Z] $ docker top de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 -eo pid,comm [2023-09-20T21:09:40.584Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T21:09:40.584Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:09:40.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:09:40.615Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:09:40.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:09:40.747Z] $ docker exec de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 ssh-agent [2023-09-20T21:09:40.845Z] SSH_AUTH_SOCK=/tmp/ssh-ww1HBqcVRqWq/agent.32 [2023-09-20T21:09:40.845Z] SSH_AGENT_PID=38 [2023-09-20T21:09:40.849Z] Running ssh-add (command line suppressed) [2023-09-20T21:09:40.962Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6935444548751591463.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6935444548751591463.key) [2023-09-20T21:09:40.967Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:09:41.250Z] + git semver bump pre [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,432 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,432 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,432 [bump_version] DEBUG bumped version:3.1.0-dev.5 [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,432 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,432 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,432 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,434 [execute] INFO git cat-file --batch-check [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,441 [execute] INFO git cat-file --batch [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,441 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:41.508Z] 2023-09-20 21:09:41,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-20T21:09:41.508Z] 3.1.0-dev.5 [Pipeline] } [2023-09-20T21:09:41.526Z] $ docker exec --env ******** --env ******** de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 ssh-agent -k [2023-09-20T21:09:41.622Z] unset SSH_AUTH_SOCK; [2023-09-20T21:09:41.622Z] unset SSH_AGENT_PID; [2023-09-20T21:09:41.622Z] echo Agent pid 38 killed; [2023-09-20T21:09:41.621Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:09:41.969Z] + git semver [Pipeline] } [2023-09-20T21:09:42.248Z] $ docker stop --time=1 de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 [2023-09-20T21:09:44.095Z] $ docker rm -f --volumes de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:09:44.446Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:09:44.447Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:44.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:09:44.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:44.816Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T21:09:44.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:09:45.631Z] $ docker top 9265948d2bdde58ff3633fc7e59c9313666288c3b0841e5ec9ff9647e43176fd -eo pid,comm [2023-09-20T21:09:45.675Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-20T21:09:45.675Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:09:45.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:09:45.703Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:09:45.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:09:45.829Z] $ docker exec 9265948d2bdde58ff3633fc7e59c9313666288c3b0841e5ec9ff9647e43176fd ssh-agent [2023-09-20T21:09:45.953Z] SSH_AUTH_SOCK=/tmp/ssh-TCypWE7OTThS/agent.32 [2023-09-20T21:09:45.953Z] SSH_AGENT_PID=38 [2023-09-20T21:09:45.958Z] Running ssh-add (command line suppressed) [2023-09-20T21:09:46.058Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5915449181024290303.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5915449181024290303.key) [2023-09-20T21:09:46.070Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:09:46.361Z] + git semver push [2023-09-20T21:09:46.620Z] 2023-09-20 21:09:46,541 [run_push] DEBUG push [2023-09-20T21:09:46.620Z] 2023-09-20 21:09:46,542 [execute] INFO git cat-file --batch-check [2023-09-20T21:09:46.620Z] 2023-09-20 21:09:46,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:09:46.620Z] 2023-09-20 21:09:46,546 [execute] INFO git rev-list d876dd42d9cf1c4dd21ecf9fc57c0234620411dc -- [2023-09-20T21:09:46.620Z] 2023-09-20 21:09:46,547 [execute] DEBUG Popen(['git', 'rev-list', 'd876dd42d9cf1c4dd21ecf9fc57c0234620411dc', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:46.620Z] 2023-09-20 21:09:46,555 [execute] INFO git fetch -v origin [2023-09-20T21:09:46.620Z] 2023-09-20 21:09:46,556 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-20T21:09:47.188Z] 2023-09-20 21:09:47,030 [run_push] DEBUG no remote changes detected [2023-09-20T21:09:47.188Z] 2023-09-20 21:09:47,030 [execute] INFO git push origin semver [2023-09-20T21:09:47.188Z] 2023-09-20 21:09:47,031 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:48.124Z] 2023-09-20 21:09:47,770 [run_push] DEBUG push all version tags [2023-09-20T21:09:48.124Z] 2023-09-20 21:09:47,770 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T21:09:48.124Z] 2023-09-20 21:09:47,771 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:09:48.690Z] 2023-09-20 21:09:48,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-09-20T21:09:48.690Z] 3.1.0-dev.5 [Pipeline] } [2023-09-20T21:09:48.708Z] $ docker exec --env ******** --env ******** 9265948d2bdde58ff3633fc7e59c9313666288c3b0841e5ec9ff9647e43176fd ssh-agent -k [2023-09-20T21:09:48.817Z] unset SSH_AUTH_SOCK; [2023-09-20T21:09:48.818Z] unset SSH_AGENT_PID; [2023-09-20T21:09:48.818Z] echo Agent pid 38 killed; [2023-09-20T21:09:48.816Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:09:49.127Z] + git semver [Pipeline] } [2023-09-20T21:09:49.407Z] $ docker stop --time=1 9265948d2bdde58ff3633fc7e59c9313666288c3b0841e5ec9ff9647e43176fd [2023-09-20T21:09:50.700Z] $ docker rm -f --volumes 9265948d2bdde58ff3633fc7e59c9313666288c3b0841e5ec9ff9647e43176fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-20T21:09:51.282Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-09-20T21:09:51.282Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-09-20T21:09:51.282Z] total 16 [2023-09-20T21:09:51.282Z] drwxr-xr-x 3 root root 4096 Sep 20 20:58 . [2023-09-20T21:09:51.282Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:09 .. [2023-09-20T21:09:51.282Z] drwxr-xr-x 2 root root 4096 Sep 20 20:58 cost [2023-09-20T21:09:51.282Z] -rw-r--r-- 1 root root 85 Sep 20 20:58 cost.csv [2023-09-20T21:09:51.282Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-09-20T21:09:51.282Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-09-20T21:09:51.282Z] total 16 [2023-09-20T21:09:51.282Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:58 . [2023-09-20T21:09:51.282Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:09 .. [2023-09-20T21:09:51.282Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:58 cost [2023-09-20T21:09:51.282Z] -rw-r--r-- 1 jenkins jenkins 85 Sep 20 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:51.635Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:52.272Z] ---> package-listing.sh [2023-09-20T21:09:52.272Z] ++ facter osfamily [2023-09-20T21:09:52.272Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T21:09:52.272Z] + OS_FAMILY=debian [2023-09-20T21:09:52.272Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-09-20T21:09:52.272Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T21:09:52.272Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T21:09:52.272Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T21:09:52.272Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T21:09:52.272Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-09-20T21:09:52.272Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T21:09:52.272Z] + case "${OS_FAMILY}" in [2023-09-20T21:09:52.272Z] + dpkg -l [2023-09-20T21:09:52.272Z] + grep '^ii' [2023-09-20T21:09:52.543Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T21:09:52.543Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T21:09:52.543Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T21:09:52.543Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-09-20T21:09:52.543Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-09-20T21:09:52.543Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2023-09-20T21:09:52.577Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T21:09:52.908Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:09:53.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:09:53.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:09:53.536Z] prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container [2023-09-20T21:09:53.582Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T21:09:53.772Z] $ docker top 143beb54966b2d261509cfc9d7fb4c256117598076b17dedeb7f8f3ac97f2129 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:09:54.102Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T21:09:54.384Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T21:09:54.667Z] + ls /var/log/sa-host [2023-09-20T21:09:54.667Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:09:54.740Z] provisioning config files... [2023-09-20T21:09:54.747Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16654576507476698086tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:09:54.759Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:55.049Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T21:09:55.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:55.375Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T21:09:55.383Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:55.666Z] ---> sudo-logs.sh [2023-09-20T21:09:55.666Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T21:09:55.697Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:55.978Z] ---> job-cost.sh [2023-09-20T21:09:55.978Z] lf-activate-venv: SKIPPING [2023-09-20T21:09:55.978Z] DEBUG: total: 0.2199999988079071 [2023-09-20T21:09:55.978Z] INFO: Retrieving Stack Cost... [2023-09-20T21:09:56.543Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:09:56.801Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T21:09:56.812Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:09:57.117Z] ---> logs-deploy.sh [2023-09-20T21:09:57.117Z] lf-activate-venv: SKIPPING [2023-09-20T21:09:57.117Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/90 [2023-09-20T21:09:57.117Z] INFO: archiving workspace using pattern(s): [2023-09-20T21:09:58.053Z] Archives upload complete. [2023-09-20T21:09:58.053Z] INFO: archiving logs to Nexus