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 20:56:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:56:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:56:06 ========================================================= 20:56:06 EdgeX Global Pipelines Version Info 20:56:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:56:07 ------------------- 20:56:07 stable info: 20:56:07 ------------------- 20:56:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:56:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:56:07 Message: update stable to v1.0.254 20:56:08 ------------------- 20:56:08 experimental info: 20:56:08 ------------------- 20:56:08 Commited By: **** collab-it+edgex@linuxfoundation.org 20:56:08 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:56:08 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6aca4e [Pipeline] echo 20:56:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:08 provisioning config files... 20:56:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18270470727707548297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:09 ---> docker-login.sh 20:56:09 nexus3.edgexfoundry.org:10001 20:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:09 Configure a credential helper to remove this warning. See 20:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:09 20:56:09 Login Succeeded 20:56:09 nexus3.edgexfoundry.org:10002 20:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:09 Configure a credential helper to remove this warning. See 20:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:09 20:56:09 Login Succeeded 20:56:09 nexus3.edgexfoundry.org:10003 20:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:09 Configure a credential helper to remove this warning. See 20:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:09 20:56:09 Login Succeeded 20:56:09 nexus3.edgexfoundry.org:10004 20:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:09 Configure a credential helper to remove this warning. See 20:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:09 20:56:09 Login Succeeded 20:56:09 docker.io 20:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:10 Configure a credential helper to remove this warning. See 20:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:10 20:56:10 Login Succeeded 20:56:10 ---> docker-login.sh ends [Pipeline] } 20:56:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:56:10 + git rev-list -1 --merges a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a~1..a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] echo 20:56:10 -----------> git rev-list -1 --merges a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a~1..a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 20:56:10 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [false] [Pipeline] sh 20:56:10 + git log --format=format:%s -1 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] echo 20:56:10 ========================================================= 20:56:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:56:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:11 + git log --format=format:%s -1 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] echo 20:56:11 [semverPrep] GIT_COMMIT: a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a, Commit Message: Merge pull request #318 from ernestojeda/create-release [Pipeline] echo 20:56:11 [semverPrep] This is not a build commit. [Pipeline] sh 20:56:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:56:11 + grep -v github /etc/ssh/ssh_known_hosts 20:56:11 + [ -e /tmp/ssh_known_hosts ] 20:56:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:56:11 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:56:11 sudo tee -a /etc/ssh/ssh_known_hosts 20:56:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:11 20:56:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:12 0.1.4: Pulling from edgex-devops/py-git-semver 20:56:12 b85a868b505f: Pulling fs layer 20:56:12 e2be974225ed: Pulling fs layer 20:56:12 339a4e72a1f5: Pulling fs layer 20:56:12 988bab9f4d93: Pulling fs layer 20:56:12 1469e6f7b9e6: Pulling fs layer 20:56:12 eaf3925da568: Pulling fs layer 20:56:12 bab4dde63d76: Pulling fs layer 20:56:12 bde34c3a00c8: Pulling fs layer 20:56:12 b352a97aabf1: Pulling fs layer 20:56:12 4872d77fe225: Pulling fs layer 20:56:12 5851b861e8e6: Pulling fs layer 20:56:12 988bab9f4d93: Waiting 20:56:12 1469e6f7b9e6: Waiting 20:56:12 eaf3925da568: Waiting 20:56:12 4872d77fe225: Waiting 20:56:12 bab4dde63d76: Waiting 20:56:12 5851b861e8e6: Waiting 20:56:12 bde34c3a00c8: Waiting 20:56:12 b352a97aabf1: Waiting 20:56:12 e2be974225ed: Download complete 20:56:12 988bab9f4d93: Verifying Checksum 20:56:12 988bab9f4d93: Download complete 20:56:12 1469e6f7b9e6: Verifying Checksum 20:56:12 339a4e72a1f5: Verifying Checksum 20:56:12 339a4e72a1f5: Download complete 20:56:12 eaf3925da568: Download complete 20:56:12 bde34c3a00c8: Download complete 20:56:12 b352a97aabf1: Download complete 20:56:12 4872d77fe225: Verifying Checksum 20:56:12 4872d77fe225: Download complete 20:56:12 5851b861e8e6: Verifying Checksum 20:56:12 5851b861e8e6: Download complete 20:56:12 b85a868b505f: Verifying Checksum 20:56:12 b85a868b505f: Download complete 20:56:12 bab4dde63d76: Verifying Checksum 20:56:12 bab4dde63d76: Download complete 20:56:13 b85a868b505f: Pull complete 20:56:13 e2be974225ed: Pull complete 20:56:14 339a4e72a1f5: Pull complete 20:56:14 988bab9f4d93: Pull complete 20:56:14 1469e6f7b9e6: Pull complete 20:56:14 eaf3925da568: Pull complete 20:56:16 bab4dde63d76: Pull complete 20:56:16 bde34c3a00c8: Pull complete 20:56:16 b352a97aabf1: Pull complete 20:56:16 4872d77fe225: Pull complete 20:56:16 5851b861e8e6: Pull complete 20:56:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:56:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:16 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 20:56:16 $ 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 20:56:20 $ docker top 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 -eo pid,comm 20:56:20 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). 20:56:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:20 [ssh-agent] Looking for ssh-agent implementation... 20:56:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:20 $ docker exec 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 ssh-agent 20:56:20 SSH_AUTH_SOCK=/tmp/ssh-gqFfuikECjV7/agent.32 20:56:20 SSH_AGENT_PID=38 20:56:20 Running ssh-add (command line suppressed) 20:56:20 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) 20:56:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:21 + git tag --points-at HEAD [Pipeline] } 20:56:21 $ docker exec --env ******** --env ******** 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 ssh-agent -k 20:56:21 unset SSH_AUTH_SOCK; 20:56:21 unset SSH_AGENT_PID; 20:56:21 echo Agent pid 38 killed; 20:56:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:56:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:21 [ssh-agent] Looking for ssh-agent implementation... 20:56:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:21 $ docker exec 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 ssh-agent 20:56:21 SSH_AUTH_SOCK=/tmp/ssh-WZbszoPhbwFb/agent.71 20:56:21 SSH_AGENT_PID=77 20:56:21 Running ssh-add (command line suppressed) 20:56:21 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) 20:56:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:22 + git semver init 20:56:22 2023-09-20 20:56:22,448 [run_init] DEBUG init version:0.0.0 force:False 20:56:22 2023-09-20 20:56:22,449 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 20:56:22 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 20:56:22 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) 20:56:23 2023-09-20 20:56:23,472 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 20:56:23 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 20:56:23 2023-09-20 20:56:23,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:56:23 2023-09-20 20:56:23,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 20:56:23 3.1.0-dev.4 [Pipeline] } 20:56:23 $ docker exec --env ******** --env ******** 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 ssh-agent -k 20:56:24 unset SSH_AUTH_SOCK; 20:56:24 unset SSH_AGENT_PID; 20:56:24 echo Agent pid 77 killed; 20:56:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:24 + git semver [Pipeline] } 20:56:24 $ docker stop --time=1 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 20:56:26 $ docker rm -f --volumes 4742bbf8780423bf846d137fbde044bcd4229e2b6517681fed4ca088e24a0e50 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:56:26 Stashed 1 file(s) [Pipeline] echo 20:56:26 [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 20:56:27 provisioning config files... 20:56:27 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8797215036616624594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:27 ---> docker-login.sh 20:56:27 nexus3.edgexfoundry.org:10001 20:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:27 Configure a credential helper to remove this warning. See 20:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:27 20:56:27 Login Succeeded 20:56:27 nexus3.edgexfoundry.org:10002 20:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:27 Configure a credential helper to remove this warning. See 20:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:27 20:56:27 Login Succeeded 20:56:27 nexus3.edgexfoundry.org:10003 20:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:27 Configure a credential helper to remove this warning. See 20:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:27 20:56:27 Login Succeeded 20:56:27 nexus3.edgexfoundry.org:10004 20:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:27 Configure a credential helper to remove this warning. See 20:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:27 20:56:27 Login Succeeded 20:56:27 docker.io 20:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:28 Configure a credential helper to remove this warning. See 20:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:28 20:56:28 Login Succeeded 20:56:28 ---> docker-login.sh ends [Pipeline] } 20:56:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:28 ========================================================= 20:56:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:56:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:28 + 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 . 20:56:28 Sending build context to Docker daemon 5.693MB 20:56:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:56:28 Step 2/12 : FROM ${BASE} AS builder 20:56:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:28 7264a8db6415: Pulling fs layer 20:56:28 c4d48a809fc2: Pulling fs layer 20:56:28 4f1c88b9dad5: Pulling fs layer 20:56:28 ad3a456e5733: Pulling fs layer 20:56:28 33e27b845d1e: Pulling fs layer 20:56:28 c68163c4e522: Pulling fs layer 20:56:28 50da416c3ac9: Pulling fs layer 20:56:28 23d2d4c4bb30: Pulling fs layer 20:56:28 ad3a456e5733: Waiting 20:56:28 c68163c4e522: Waiting 20:56:28 33e27b845d1e: Waiting 20:56:28 50da416c3ac9: Waiting 20:56:28 23d2d4c4bb30: Waiting 20:56:28 c4d48a809fc2: Verifying Checksum 20:56:28 ad3a456e5733: Verifying Checksum 20:56:28 ad3a456e5733: Download complete 20:56:28 33e27b845d1e: Verifying Checksum 20:56:28 33e27b845d1e: Download complete 20:56:28 7264a8db6415: Verifying Checksum 20:56:28 7264a8db6415: Download complete 20:56:28 c68163c4e522: Verifying Checksum 20:56:28 c68163c4e522: Download complete 20:56:28 7264a8db6415: Pull complete 20:56:29 c4d48a809fc2: Pull complete 20:56:29 23d2d4c4bb30: Verifying Checksum 20:56:29 23d2d4c4bb30: Download complete 20:56:29 4f1c88b9dad5: Verifying Checksum 20:56:29 4f1c88b9dad5: Download complete 20:56:29 50da416c3ac9: Verifying Checksum 20:56:29 50da416c3ac9: Download complete 20:56:32 4f1c88b9dad5: Pull complete 20:56:32 ad3a456e5733: Pull complete 20:56:32 33e27b845d1e: Pull complete 20:56:33 c68163c4e522: Pull complete 20:56:35 50da416c3ac9: Pull complete 20:56:35 23d2d4c4bb30: Pull complete 20:56:35 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:56:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:56:36 ---> 0786185ac409 20:56:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:56:41 ---> Running in b88224340b93 20:56:41 Removing intermediate container b88224340b93 20:56:41 ---> fae83e5f6dbc 20:56:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:41 ---> Running in b23e010ea497 20:56:41 Removing intermediate container b23e010ea497 20:56:41 ---> 3c833a7d23a1 20:56:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:56:41 ---> Running in 52e28a9e1acc 20:56:41 Removing intermediate container 52e28a9e1acc 20:56:41 ---> a1abd64b6bf1 20:56:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:56:41 ---> Running in 8438aa7909bd 20:56:41 Removing intermediate container 8438aa7909bd 20:56:41 ---> bf1b735234c5 20:56:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:41 ---> Running in f3cb2c9a60eb 20:56:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:56:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:56:42 Still waiting to schedule task 20:56:42 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:42 ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:42 ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:42 ‘prd-ubuntu20.04-docker-8c-8g-7233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:42 ‘prd-ubuntu20.04-docker-8c-8g-7236’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:56:42 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7231’ is offline 20:56:42 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:56:42 (2/4) Installing libedit (20221030.3.1-r1) 20:56:42 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:56:42 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:56:42 Executing busybox-1.36.1-r2.trigger 20:56:42 OK: 268 MiB in 56 packages 20:56:42 Removing intermediate container f3cb2c9a60eb 20:56:42 ---> bcbc871f49f4 20:56:42 Step 8/12 : WORKDIR /device-snmp-go 20:56:42 ---> Running in 5aaee9d095d9 20:56:43 Removing intermediate container 5aaee9d095d9 20:56:43 ---> c2a316450ee4 20:56:43 Step 9/12 : COPY go.mod vendor* ./ 20:56:43 ---> 4145314e3078 20:56:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:43 ---> Running in 85af3a6ddefe 20:57:31 Removing intermediate container 85af3a6ddefe 20:57:31 ---> 16376179f34b 20:57:31 Step 11/12 : COPY . . 20:57:31 ---> 4db10082a633 20:57:31 Step 12/12 : RUN ${MAKE} 20:57:31 ---> Running in 065af160641d 20:57:31 noop 20:57:31 Removing intermediate container 065af160641d 20:57:31 ---> eee0cd658765 20:57:31 Successfully built eee0cd658765 20:57:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:31 + docker inspect -f . ci-base-image-x86_64 20:57:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:31 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 20:57:31 $ 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 20:57:31 $ docker top 8caa5b89613afa0ec8c7c31665575a9c59f5a7ea080349d0bebf35221a12f350 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:32 + go version 20:57:32 go version go1.21.0 linux/amd64 [Pipeline] } 20:57:32 $ docker stop --time=1 8caa5b89613afa0ec8c7c31665575a9c59f5a7ea080349d0bebf35221a12f350 20:57:33 $ 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 20:57:33 + docker inspect -f . ci-base-image-x86_64 20:57:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:33 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 20:57:34 $ 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 20:57:34 $ docker top 8d490d23bcb715167ae99fe281175e180288d282d06d33f5bf47da0d86bdbce2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 20:57:35 + make test 20:57:35 go test ./... -coverprofile=coverage.out 20:57:36 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:57:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:57:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 20:57:54 go vet ./... 20:57:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:57:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:57:57 ./bin/test-attribution-txt.sh [Pipeline] echo 20:57:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:57:57 $ docker stop --time=1 8d490d23bcb715167ae99fe281175e180288d282d06d33f5bf47da0d86bdbce2 20:58:04 $ docker rm -f --volumes 8d490d23bcb715167ae99fe281175e180288d282d06d33f5bf47da0d86bdbce2 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:58:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:05 + ls -al . 20:58:05 total 176 20:58:05 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:57 . 20:58:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:56 .. 20:58:05 -rw-rw-r-- 1 jenkins jenkins 6 Sep 20 20:56 .dockerignore 20:58:05 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:57 .git 20:58:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:56 .github 20:58:05 -rw-rw-r-- 1 jenkins jenkins 328 Sep 20 20:56 .gitignore 20:58:05 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:56 .golangci.yml 20:58:05 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:56 .semver 20:58:05 -rw-rw-r-- 1 jenkins jenkins 10025 Sep 20 20:56 Attribution.txt 20:58:05 -rw-rw-r-- 1 jenkins jenkins 10534 Sep 20 20:56 CHANGELOG.md 20:58:05 -rw-rw-r-- 1 jenkins jenkins 1462 Sep 20 20:56 Dockerfile 20:58:05 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:56 GOVERNANCE.md 20:58:05 -rw-rw-r-- 1 jenkins jenkins 656 Sep 20 20:56 Jenkinsfile 20:58:05 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:56 LICENSE 20:58:05 -rw-rw-r-- 1 jenkins jenkins 2240 Sep 20 20:56 Makefile 20:58:05 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:56 OWNERS.md 20:58:05 -rw-rw-r-- 1 jenkins jenkins 10559 Sep 20 20:56 README.md 20:58:05 -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 20:56 VERSION 20:58:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:56 bin 20:58:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:56 cmd 20:58:05 -rw-r--r-- 1 jenkins jenkins 8837 Sep 20 20:57 coverage.out 20:58:05 -rw-rw-r-- 1 jenkins jenkins 3710 Sep 20 20:56 go.mod 20:58:05 -rw-rw-r-- 1 jenkins jenkins 33759 Sep 20 20:56 go.sum 20:58:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:56 internal 20:58:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:56 snap 20:58:05 -rw-rw-r-- 1 jenkins jenkins 228 Sep 20 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:05 + 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 . 20:58:05 Sending build context to Docker daemon 5.703MB 20:58:05 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 20:58:05 Step 2/24 : FROM ${BASE} AS builder 20:58:05 ---> eee0cd658765 20:58:05 Step 3/24 : ARG ADD_BUILD_TAGS="" 20:58:06 ---> Running in 078657a9a991 20:58:06 Removing intermediate container 078657a9a991 20:58:06 ---> dcdc00c7319d 20:58:06 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:06 ---> Running in 0e1c49c8735e 20:58:07 Removing intermediate container 0e1c49c8735e 20:58:07 ---> 23f2ce57ca0f 20:58:07 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:58:07 ---> Running in b98b2a44774e 20:58:07 Removing intermediate container b98b2a44774e 20:58:07 ---> 6e6878c854e2 20:58:07 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 20:58:07 ---> Running in ddd75bd86eb3 20:58:07 Removing intermediate container ddd75bd86eb3 20:58:07 ---> d7a692cfaba5 20:58:07 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:07 ---> Running in 149aeb1372a2 20:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:58:07 OK: 268 MiB in 56 packages 20:58:08 Removing intermediate container 149aeb1372a2 20:58:08 ---> ec534ca85cf0 20:58:08 Step 8/24 : WORKDIR /device-snmp-go 20:58:08 ---> Running in cb747ed9ba38 20:58:08 Removing intermediate container cb747ed9ba38 20:58:08 ---> 53063797d6ea 20:58:08 Step 9/24 : COPY go.mod vendor* ./ 20:58:08 ---> e300015a216a 20:58:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:08 ---> Running in ceb03a910061 20:58:08 Removing intermediate container ceb03a910061 20:58:08 ---> 8b5c12fa7456 20:58:08 Step 11/24 : COPY . . 20:58:10 ---> 8a6e0a71fb4e 20:58:10 Step 12/24 : RUN ${MAKE} 20:58:10 ---> Running in fca53efeeda1 20:58:10 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 20:58:37 Removing intermediate container fca53efeeda1 20:58:37 ---> 7977243d9401 20:58:37 Step 13/24 : FROM alpine:3.18 20:58:37 3.18: Pulling from library/alpine 20:58:37 7264a8db6415: Already exists 20:58:37 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:58:37 Status: Downloaded newer image for alpine:3.18 20:58:37 ---> 7e01a0d0a1dc 20:58:37 Step 14/24 : RUN apk add --update --no-cache dumb-init 20:58:37 ---> Running in 3ee4924c2fde 20:58:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:58:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:58:37 (1/1) Installing dumb-init (1.2.5-r2) 20:58:37 Executing busybox-1.36.1-r2.trigger 20:58:37 OK: 7 MiB in 16 packages 20:58:37 Removing intermediate container 3ee4924c2fde 20:58:37 ---> c4a9885b250e 20:58:37 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:58:37 ---> a694eec195cf 20:58:37 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:58:37 ---> 4f891ab070e4 20:58:37 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:58:37 ---> 15e2ed161ae6 20:58:37 Step 18/24 : EXPOSE 59993 20:58:37 ---> Running in 718546b51b85 20:58:37 Removing intermediate container 718546b51b85 20:58:37 ---> 4a4cf0234410 20:58:37 Step 19/24 : EXPOSE 161 20:58:37 ---> Running in db5d8348cb3f 20:58:37 Removing intermediate container db5d8348cb3f 20:58:37 ---> 6fafbf3c729b 20:58:37 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:58:37 ---> Running in b6544a9e80f0 20:58:37 Removing intermediate container b6544a9e80f0 20:58:37 ---> 4e0b0292cb6c 20:58:37 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:58:37 ---> Running in f5c7ff5db88f 20:58:37 Removing intermediate container f5c7ff5db88f 20:58:37 ---> 6fb67819050a 20:58:37 Step 22/24 : LABEL arch=amd64 20:58:37 ---> Running in e7bc7ff0740b 20:58:37 Removing intermediate container e7bc7ff0740b 20:58:37 ---> 06fe6c48fca5 20:58:37 Step 23/24 : LABEL git_sha=a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 20:58:37 ---> Running in fedfda6a31c8 20:58:37 Removing intermediate container fedfda6a31c8 20:58:37 ---> 84ee8ce8061f 20:58:37 Step 24/24 : LABEL version=3.1.0-dev.4 20:58:37 ---> Running in 7b6ebf02cfbd 20:58:37 Removing intermediate container 7b6ebf02cfbd 20:58:37 ---> 62032dd07254 20:58:37 [Warning] One or more build-args [ARCH] were not consumed 20:58:37 Successfully built 62032dd07254 20:58:37 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:37 provisioning config files... 20:58:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3666222226537332979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:37 ---> docker-login.sh 20:58:37 nexus3.edgexfoundry.org:10001 20:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:37 Configure a credential helper to remove this warning. See 20:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:37 20:58:37 Login Succeeded 20:58:37 nexus3.edgexfoundry.org:10002 20:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:37 Configure a credential helper to remove this warning. See 20:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:37 20:58:37 Login Succeeded 20:58:37 nexus3.edgexfoundry.org:10003 20:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:38 Configure a credential helper to remove this warning. See 20:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:38 20:58:38 Login Succeeded 20:58:38 nexus3.edgexfoundry.org:10004 20:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:38 Configure a credential helper to remove this warning. See 20:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:38 20:58:38 Login Succeeded 20:58:38 docker.io 20:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:38 Configure a credential helper to remove this warning. See 20:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:38 20:58:38 Login Succeeded 20:58:38 ---> docker-login.sh ends [Pipeline] } 20:58:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:58:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:38 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 20:58:38 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 20:58:38 latest 20:58:38 3.1.0-dev.4 20:58:38 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 20:58:38 main 20:58:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:38 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:39 + docker push nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 20:58:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:58:39 fe335942d161: Preparing 20:58:39 cbf3192cf466: Preparing 20:58:39 dc93f4e421fa: Preparing 20:58:39 059b943866ee: Preparing 20:58:39 4693057ce236: Preparing 20:58:39 4693057ce236: Layer already exists 20:58:39 fe335942d161: Pushed 20:58:39 059b943866ee: Pushed 20:58:39 cbf3192cf466: Pushed 20:58:42 dc93f4e421fa: Pushed 20:58:42 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:42 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 20:58:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:58:43 fe335942d161: Preparing 20:58:43 cbf3192cf466: Preparing 20:58:43 dc93f4e421fa: Preparing 20:58:43 059b943866ee: Preparing 20:58:43 4693057ce236: Preparing 20:58:43 dc93f4e421fa: Layer already exists 20:58:43 fe335942d161: Layer already exists 20:58:43 059b943866ee: Layer already exists 20:58:43 cbf3192cf466: Layer already exists 20:58:43 4693057ce236: Layer already exists 20:58:43 latest: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:43 + 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 20:58:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.4 20:58:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:58:43 fe335942d161: Preparing 20:58:43 cbf3192cf466: Preparing 20:58:43 dc93f4e421fa: Preparing 20:58:43 059b943866ee: Preparing 20:58:43 4693057ce236: Preparing 20:58:43 059b943866ee: Layer already exists 20:58:43 cbf3192cf466: Layer already exists 20:58:43 4693057ce236: Layer already exists 20:58:43 fe335942d161: Layer already exists 20:58:43 dc93f4e421fa: Layer already exists 20:58:43 3.1.0-dev.4: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:44 + 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 20:58:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 20:58:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:58:44 fe335942d161: Preparing 20:58:44 cbf3192cf466: Preparing 20:58:44 dc93f4e421fa: Preparing 20:58:44 059b943866ee: Preparing 20:58:44 4693057ce236: Preparing 20:58:44 cbf3192cf466: Layer already exists 20:58:44 fe335942d161: Layer already exists 20:58:44 dc93f4e421fa: Layer already exists 20:58:44 4693057ce236: Layer already exists 20:58:44 059b943866ee: Layer already exists 20:58:44 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:44 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 20:58:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:58:44 fe335942d161: Preparing 20:58:44 cbf3192cf466: Preparing 20:58:44 dc93f4e421fa: Preparing 20:58:44 059b943866ee: Preparing 20:58:44 4693057ce236: Preparing 20:58:44 cbf3192cf466: Layer already exists 20:58:44 dc93f4e421fa: Layer already exists 20:58:44 4693057ce236: Layer already exists 20:58:44 059b943866ee: Layer already exists 20:58:44 fe335942d161: Layer already exists 20:58:44 main: digest: sha256:4743c344bad1cb8766abbccbf7791e810c530d3cd083e9ef40d1158793bb9337 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:58:45 ===================================================== [Pipeline] echo 20:58:45 taggedImages: 20:58:45 - nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 20:58:45 - nexus3.edgexfoundry.org:10004/device-snmp:latest 20:58:45 - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.4 20:58:45 - nexus3.edgexfoundry.org:10004/device-snmp:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 20:58:45 - 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 20:58:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:45 20:58:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:45 latest: Pulling from edgex-lftools-log-publisher 20:58:45 5eb5b503b376: Pulling fs layer 20:58:45 5c69ac0246d0: Pulling fs layer 20:58:45 ec43610c2a17: Pulling fs layer 20:58:45 3a2ae6a8a46f: Pulling fs layer 20:58:45 33b1e0a273af: Pulling fs layer 20:58:45 5d3b04190fa2: Pulling fs layer 20:58:45 2f39f015ded8: Pulling fs layer 20:58:45 3a2ae6a8a46f: Waiting 20:58:45 33b1e0a273af: Waiting 20:58:45 5d3b04190fa2: Waiting 20:58:45 2f39f015ded8: Waiting 20:58:45 5c69ac0246d0: Download complete 20:58:45 3a2ae6a8a46f: Verifying Checksum 20:58:45 3a2ae6a8a46f: Download complete 20:58:45 33b1e0a273af: Verifying Checksum 20:58:45 33b1e0a273af: Download complete 20:58:45 5d3b04190fa2: Download complete 20:58:45 ec43610c2a17: Verifying Checksum 20:58:45 ec43610c2a17: Download complete 20:58:46 5eb5b503b376: Verifying Checksum 20:58:46 5eb5b503b376: Download complete 20:58:46 2f39f015ded8: Download complete 20:58:47 5eb5b503b376: Pull complete 20:58:47 5c69ac0246d0: Pull complete 20:58:48 ec43610c2a17: Pull complete 20:58:48 3a2ae6a8a46f: Pull complete 20:58:48 33b1e0a273af: Pull complete 20:58:48 5d3b04190fa2: Pull complete 20:58:52 2f39f015ded8: Pull complete 20:58:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:52 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 20:58:52 $ 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 20:58:58 $ docker top 225e3757da46b1a34aef185c125e28ab2fc506c7e906a32cfd09d37afc03f026 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:59 ---> job-cost.sh 20:58:59 lf-activate-venv: SKIPPING 20:58:59 INFO: No Stack... 20:58:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:59:00 INFO: Archiving Costs [Pipeline] sh 20:59:00 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 20:59:00 + cut -d, -f6 [Pipeline] lock 20:59:00 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] 20:59:00 Resource [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] did not exist. Created. 20:59:00 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:59:00 + echo total: 0.2199999988079071 [Pipeline] stash 20:59:00 Stashed 1 file(s) [Pipeline] } 20:59:00 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 20:59:00 $ docker stop --time=1 225e3757da46b1a34aef185c125e28ab2fc506c7e906a32cfd09d37afc03f026 20:59:01 $ docker rm -f --volumes 225e3757da46b1a34aef185c125e28ab2fc506c7e906a32cfd09d37afc03f026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:59:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7246 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 20:59:17 Running in /w/workspace/device-snmp-go/90 [Pipeline] { [Pipeline] checkout 20:59:17 Selected Git installation does not exist. Using Default 20:59:17 The recommended git tool is: NONE 20:59:27 using credential edgex-jenkins-ssh 20:59:27 Cloning the remote Git repository 20:59:27 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:59:27 > git init /w/workspace/device-snmp-go/90 # timeout=10 20:59:27 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:59:27 > git --version # timeout=10 20:59:28 > git --version # 'git version 2.25.1' 20:59:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:29 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:59:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:32 Avoid second fetch 20:59:32 Checking out Revision a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a (main) 20:59:32 > git config core.sparsecheckout # timeout=10 20:59:32 > git checkout -f a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a # timeout=10 20:59:34 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 20:59:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:59:35 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:35 Dload Upload Total Spent Left Speed 20:59:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 128k 0 --:--:-- --:--:-- --:--:-- 129k [Pipeline] sh 20:59:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:59:37 + sudo tee /etc/docker/daemon.new 20:59:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:59:37 { 20:59:37 "registry-mirrors": [ 20:59:37 "https://nexus3.edgexfoundry.org:10001" 20:59:37 ], 20:59:37 "bip": "10.250.0.254/24", 20:59:37 "hosts": [ 20:59:37 "tcp://0.0.0.0:5555", 20:59:37 "unix:///var/run/docker.sock" 20:59:37 ], 20:59:37 "mtu": 1458, 20:59:37 "selinux-enabled": true, 20:59:37 "seccomp-profile": "/etc/docker/seccomp.json" 20:59:37 } [Pipeline] sh 20:59:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:59:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:56 provisioning config files... 20:59:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/90@tmp/config10389394025538161926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:56 ---> docker-login.sh 20:59:56 nexus3.edgexfoundry.org:10001 20:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:57 Configure a credential helper to remove this warning. See 20:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:57 20:59:57 Login Succeeded 20:59:57 nexus3.edgexfoundry.org:10002 20:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:58 Configure a credential helper to remove this warning. See 20:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:58 20:59:58 Login Succeeded 20:59:58 nexus3.edgexfoundry.org:10003 20:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:58 Configure a credential helper to remove this warning. See 20:59:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:58 20:59:58 Login Succeeded 20:59:58 nexus3.edgexfoundry.org:10004 20:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:59 Configure a credential helper to remove this warning. See 20:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:59 20:59:59 Login Succeeded 20:59:59 docker.io 20:59:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:59 Configure a credential helper to remove this warning. See 20:59:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:59 20:59:59 Login Succeeded 20:59:59 ---> docker-login.sh ends [Pipeline] } 20:59:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:00 ========================================================= 21:00:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:00:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:00 + 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 . 21:00:01 Sending build context to Docker daemon 2.933MB 21:00:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:00:01 Step 2/12 : FROM ${BASE} AS builder 21:00:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:00:01 9fda8d8052c6: Pulling fs layer 21:00:01 5d54e960e981: Pulling fs layer 21:00:01 c4a7e357bf2a: Pulling fs layer 21:00:01 f0e02332f6b5: Pulling fs layer 21:00:01 cefa15bbcfad: Pulling fs layer 21:00:01 17808c966233: Pulling fs layer 21:00:01 f4c1fc716caa: Pulling fs layer 21:00:01 cefa15bbcfad: Waiting 21:00:01 17808c966233: Waiting 21:00:01 f4c1fc716caa: Waiting 21:00:01 f0e02332f6b5: Waiting 21:00:01 5d54e960e981: Verifying Checksum 21:00:01 5d54e960e981: Download complete 21:00:01 f0e02332f6b5: Verifying Checksum 21:00:01 f0e02332f6b5: Download complete 21:00:01 cefa15bbcfad: Download complete 21:00:01 9fda8d8052c6: Verifying Checksum 21:00:01 9fda8d8052c6: Download complete 21:00:02 f4c1fc716caa: Verifying Checksum 21:00:02 f4c1fc716caa: Download complete 21:00:02 9fda8d8052c6: Pull complete 21:00:03 5d54e960e981: Pull complete 21:00:03 c4a7e357bf2a: Verifying Checksum 21:00:03 c4a7e357bf2a: Download complete 21:00:04 17808c966233: Download complete 21:00:17 c4a7e357bf2a: Pull complete 21:00:17 f0e02332f6b5: Pull complete 21:00:17 cefa15bbcfad: Pull complete 21:00:24 17808c966233: Pull complete 21:00:25 f4c1fc716caa: Pull complete 21:00:25 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:00:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:00:25 ---> ea914061e18c 21:00:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:00:27 ---> Running in 30c8830c60a5 21:00:27 Removing intermediate container 30c8830c60a5 21:00:27 ---> 32e10f8ce8e6 21:00:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:27 ---> Running in bbdd6a6b9376 21:00:28 Removing intermediate container bbdd6a6b9376 21:00:28 ---> 0dd37d3e96fb 21:00:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:28 ---> Running in a6aa4943f6d4 21:00:28 Removing intermediate container a6aa4943f6d4 21:00:28 ---> 38d0792111c9 21:00:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:00:28 ---> Running in fa525b07efe7 21:00:29 Removing intermediate container fa525b07efe7 21:00:29 ---> 3c654e6b2ce4 21:00:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:29 ---> Running in 67d4ce4adb4a 21:00:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:00:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:00:32 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:00:32 (2/4) Installing libedit (20221030.3.1-r1) 21:00:32 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:00:32 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:00:32 Executing busybox-1.36.1-r2.trigger 21:00:32 OK: 270 MiB in 56 packages 21:00:33 Removing intermediate container 67d4ce4adb4a 21:00:33 ---> 6f2da3412ee8 21:00:33 Step 8/12 : WORKDIR /device-snmp-go 21:00:34 ---> Running in ca94988db650 21:00:34 Removing intermediate container ca94988db650 21:00:34 ---> 299cc709a6ff 21:00:34 Step 9/12 : COPY go.mod vendor* ./ 21:00:35 ---> 4ef1b518d8fb 21:00:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:35 ---> Running in 339988b80922 21:01:56 Removing intermediate container 339988b80922 21:01:56 ---> 88015904be1d 21:01:56 Step 11/12 : COPY . . 21:01:56 ---> 133fda19ca1d 21:01:56 Step 12/12 : RUN ${MAKE} 21:01:56 ---> Running in dc2e0e96420f 21:01:56 noop 21:01:56 Removing intermediate container dc2e0e96420f 21:01:56 ---> b26d41c9029f 21:01:56 Successfully built b26d41c9029f 21:01:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:57 + docker inspect -f . ci-base-image-arm64 21:01:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:57 prd-ubuntu20.04-docker-arm64-4c-16g-7246 does not seem to be running inside a container 21:01:57 $ 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 21:01:59 $ docker top ff214134c9a7fc1c0f6373f2dea5d7c0b460957b7a4282e0088e91ee936d6291 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:00 + go version 21:02:00 go version go1.21.0 linux/arm64 [Pipeline] } 21:02:00 $ docker stop --time=1 ff214134c9a7fc1c0f6373f2dea5d7c0b460957b7a4282e0088e91ee936d6291 21:02:01 $ 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 21:02:02 + docker inspect -f . ci-base-image-arm64 21:02:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:02 prd-ubuntu20.04-docker-arm64-4c-16g-7246 does not seem to be running inside a container 21:02:02 $ 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 21:02:04 $ docker top 46bf1324c316d18640cbbd016fdee5a68767dcb1e2d052945bd690366317e725 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:05 + git config --global --add safe.directory /w/workspace/device-snmp-go/90 [Pipeline] fileExists [Pipeline] sh 21:02:05 + make test 21:02:05 go test ./... -coverprofile=coverage.out 21:02:11 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:04:33 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:04:33 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 21:04:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:04:33 go vet ./... 21:04:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:51 ./bin/test-attribution-txt.sh [Pipeline] echo 21:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:04:51 $ docker stop --time=1 46bf1324c316d18640cbbd016fdee5a68767dcb1e2d052945bd690366317e725 21:04:53 $ docker rm -f --volumes 46bf1324c316d18640cbbd016fdee5a68767dcb1e2d052945bd690366317e725 [Pipeline] // withDockerContainer [Pipeline] sh 21:04:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:54 Warning: overwriting stash ‘coverage-report’ 21:04:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:56 + ls -al . 21:04:56 total 172 21:04:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 21:02 . 21:04:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 .. 21:04:56 -rw-rw-r-- 1 jenkins jenkins 6 Sep 20 20:59 .dockerignore 21:04:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:59 .git 21:04:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 .github 21:04:56 -rw-rw-r-- 1 jenkins jenkins 328 Sep 20 20:59 .gitignore 21:04:56 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:59 .golangci.yml 21:04:56 -rw-rw-r-- 1 jenkins jenkins 10025 Sep 20 20:59 Attribution.txt 21:04:56 -rw-rw-r-- 1 jenkins jenkins 10534 Sep 20 20:59 CHANGELOG.md 21:04:56 -rw-rw-r-- 1 jenkins jenkins 1462 Sep 20 20:59 Dockerfile 21:04:56 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:59 GOVERNANCE.md 21:04:56 -rw-rw-r-- 1 jenkins jenkins 656 Sep 20 20:59 Jenkinsfile 21:04:56 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:59 LICENSE 21:04:56 -rw-rw-r-- 1 jenkins jenkins 2240 Sep 20 20:59 Makefile 21:04:56 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:59 OWNERS.md 21:04:56 -rw-rw-r-- 1 jenkins jenkins 10559 Sep 20 20:59 README.md 21:04:56 -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 20:56 VERSION 21:04:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:59 bin 21:04:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 cmd 21:04:56 -rw-r--r-- 1 jenkins jenkins 8837 Sep 20 21:04 coverage.out 21:04:56 -rw-rw-r-- 1 jenkins jenkins 3710 Sep 20 20:59 go.mod 21:04:56 -rw-rw-r-- 1 jenkins jenkins 33759 Sep 20 20:59 go.sum 21:04:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 internal 21:04:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 snap 21:04:56 -rw-rw-r-- 1 jenkins jenkins 228 Sep 20 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:56 + 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 . 21:04:57 Sending build context to Docker daemon 2.943MB 21:04:57 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 21:04:57 Step 2/24 : FROM ${BASE} AS builder 21:04:57 ---> b26d41c9029f 21:04:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:04:57 ---> Running in 381b9f7386e0 21:04:57 Removing intermediate container 381b9f7386e0 21:04:57 ---> 2bad483e6f51 21:04:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:57 ---> Running in 3c9d04fe9b80 21:04:58 Removing intermediate container 3c9d04fe9b80 21:04:58 ---> df5828788972 21:04:58 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:04:58 ---> Running in f6446bdb250b 21:04:58 Removing intermediate container f6446bdb250b 21:04:58 ---> 4c37b0478038 21:04:58 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:04:58 ---> Running in 93645a99e47a 21:04:58 Removing intermediate container 93645a99e47a 21:04:58 ---> aaf3453b661c 21:04:58 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:59 ---> Running in 541b373c81d9 21:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:05:02 OK: 270 MiB in 56 packages 21:05:03 Removing intermediate container 541b373c81d9 21:05:03 ---> 8217d7b8bd4d 21:05:03 Step 8/24 : WORKDIR /device-snmp-go 21:05:03 ---> Running in 323eb5dbaa69 21:05:03 Removing intermediate container 323eb5dbaa69 21:05:03 ---> 2e381fd6f5a2 21:05:03 Step 9/24 : COPY go.mod vendor* ./ 21:05:04 ---> 0e8566f70aaa 21:05:04 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:04 ---> Running in 319805505a52 21:05:06 Removing intermediate container 319805505a52 21:05:06 ---> 826488b4e043 21:05:06 Step 11/24 : COPY . . 21:05:07 ---> 60c34e999aa2 21:05:07 Step 12/24 : RUN ${MAKE} 21:05:07 ---> Running in e5861f179c18 21:05:08 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 21:07:45 Removing intermediate container e5861f179c18 21:07:45 ---> 224d663a95a6 21:07:45 Step 13/24 : FROM alpine:3.18 21:07:45 3.18: Pulling from library/alpine 21:07:45 9fda8d8052c6: Already exists 21:07:45 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:07:45 Status: Downloaded newer image for alpine:3.18 21:07:45 ---> f6648c04cd6c 21:07:45 Step 14/24 : RUN apk add --update --no-cache dumb-init 21:07:45 ---> Running in 16b94c76a9ce 21:07:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:07:48 (1/1) Installing dumb-init (1.2.5-r2) 21:07:48 Executing busybox-1.36.1-r2.trigger 21:07:48 OK: 8 MiB in 16 packages 21:07:50 Removing intermediate container 16b94c76a9ce 21:07:50 ---> 252a36e7bfc1 21:07:50 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:07:51 ---> fcc698af11c7 21:07:51 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:07:52 ---> c20f9e99a2f6 21:07:52 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:07:52 ---> e33b5bba96b8 21:07:52 Step 18/24 : EXPOSE 59993 21:07:52 ---> Running in 1f08b6dbae82 21:07:53 Removing intermediate container 1f08b6dbae82 21:07:53 ---> 0be2c4babc31 21:07:53 Step 19/24 : EXPOSE 161 21:07:53 ---> Running in e23652885369 21:07:53 Removing intermediate container e23652885369 21:07:53 ---> f0b1f338e890 21:07:53 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:07:54 ---> Running in 247a5bd0e1e1 21:07:54 Removing intermediate container 247a5bd0e1e1 21:07:54 ---> 20ce2bd4e44b 21:07:54 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:07:54 ---> Running in befe0ac538e4 21:07:54 Removing intermediate container befe0ac538e4 21:07:54 ---> 69ccc99e7b3f 21:07:54 Step 22/24 : LABEL arch=arm64 21:07:54 ---> Running in f87eeda3a980 21:07:55 Removing intermediate container f87eeda3a980 21:07:55 ---> 099b294f5836 21:07:55 Step 23/24 : LABEL git_sha=a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 21:07:55 ---> Running in a30842fe5726 21:07:55 Removing intermediate container a30842fe5726 21:07:55 ---> 91f9f4f35158 21:07:55 Step 24/24 : LABEL version=3.1.0-dev.4 21:07:56 ---> Running in c69d65b24b05 21:07:56 Removing intermediate container c69d65b24b05 21:07:56 ---> cc06a50de12a 21:07:56 [Warning] One or more build-args [ARCH] were not consumed 21:07:56 Successfully built cc06a50de12a 21:07:56 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 21:07:56 provisioning config files... 21:07:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/90@tmp/config10796924049091851450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:56 ---> docker-login.sh 21:07:56 nexus3.edgexfoundry.org:10001 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 nexus3.edgexfoundry.org:10002 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 nexus3.edgexfoundry.org:10003 21:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:58 Configure a credential helper to remove this warning. See 21:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:58 21:07:58 Login Succeeded 21:07:58 nexus3.edgexfoundry.org:10004 21:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:58 Configure a credential helper to remove this warning. See 21:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:58 21:07:58 Login Succeeded 21:07:58 docker.io 21:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:59 Configure a credential helper to remove this warning. See 21:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:59 21:07:59 Login Succeeded 21:07:59 ---> docker-login.sh ends [Pipeline] } 21:07:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:07:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:59 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 21:07:59 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 21:07:59 latest 21:07:59 3.1.0-dev.4 21:07:59 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 21:07:59 main 21:07:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:59 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 21:08:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:08:00 626ab0a32820: Preparing 21:08:00 2d3ae36f9bf8: Preparing 21:08:00 fc8052cdca9e: Preparing 21:08:00 569e54f7ca8a: Preparing 21:08:00 b2191e2be29d: Preparing 21:08:00 b2191e2be29d: Layer already exists 21:08:00 569e54f7ca8a: Pushed 21:08:00 626ab0a32820: Pushed 21:08:00 2d3ae36f9bf8: Pushed 21:08:07 fc8052cdca9e: Pushed 21:08:07 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:07 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:08:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:08:07 626ab0a32820: Preparing 21:08:07 2d3ae36f9bf8: Preparing 21:08:07 fc8052cdca9e: Preparing 21:08:07 569e54f7ca8a: Preparing 21:08:07 b2191e2be29d: Preparing 21:08:07 626ab0a32820: Layer already exists 21:08:07 b2191e2be29d: Layer already exists 21:08:07 569e54f7ca8a: Layer already exists 21:08:07 fc8052cdca9e: Layer already exists 21:08:07 2d3ae36f9bf8: Layer already exists 21:08:08 latest: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:08 + 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 21:08:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.4 21:08:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:08:09 626ab0a32820: Preparing 21:08:09 2d3ae36f9bf8: Preparing 21:08:09 fc8052cdca9e: Preparing 21:08:09 569e54f7ca8a: Preparing 21:08:09 b2191e2be29d: Preparing 21:08:09 2d3ae36f9bf8: Layer already exists 21:08:09 fc8052cdca9e: Layer already exists 21:08:09 569e54f7ca8a: Layer already exists 21:08:09 b2191e2be29d: Layer already exists 21:08:09 626ab0a32820: Layer already exists 21:08:09 3.1.0-dev.4: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:09 + 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 21:08:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 21:08:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:08:10 626ab0a32820: Preparing 21:08:10 2d3ae36f9bf8: Preparing 21:08:10 fc8052cdca9e: Preparing 21:08:10 569e54f7ca8a: Preparing 21:08:10 b2191e2be29d: Preparing 21:08:10 fc8052cdca9e: Layer already exists 21:08:10 2d3ae36f9bf8: Layer already exists 21:08:10 569e54f7ca8a: Layer already exists 21:08:10 626ab0a32820: Layer already exists 21:08:10 b2191e2be29d: Layer already exists 21:08:10 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:10 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 21:08:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:08:11 626ab0a32820: Preparing 21:08:11 2d3ae36f9bf8: Preparing 21:08:11 fc8052cdca9e: Preparing 21:08:11 569e54f7ca8a: Preparing 21:08:11 b2191e2be29d: Preparing 21:08:11 2d3ae36f9bf8: Layer already exists 21:08:11 fc8052cdca9e: Layer already exists 21:08:11 b2191e2be29d: Layer already exists 21:08:11 626ab0a32820: Layer already exists 21:08:11 569e54f7ca8a: Layer already exists 21:08:11 main: digest: sha256:da35ac082709dc1773beab3a8ab0ee5e475af877ad8dd75052f05c632e1bafc5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:08:11 ===================================================== [Pipeline] echo 21:08:11 taggedImages: 21:08:11 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a 21:08:11 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:08:11 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.1.0-dev.4 21:08:11 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a-3.1.0-dev.4 21:08:11 - 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 21:08:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:11 21:08:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:12 arm64: Pulling from edgex-lftools-log-publisher 21:08:12 8998bd30e6a1: Pulling fs layer 21:08:12 04944245beec: Pulling fs layer 21:08:12 699f458cf7ca: Pulling fs layer 21:08:12 765212b225bb: Pulling fs layer 21:08:12 f23df028b6ca: Pulling fs layer 21:08:12 d65c8cfc05b1: Pulling fs layer 21:08:12 2437ff75d9bd: Pulling fs layer 21:08:12 f23df028b6ca: Waiting 21:08:12 d65c8cfc05b1: Waiting 21:08:12 765212b225bb: Waiting 21:08:12 2437ff75d9bd: Waiting 21:08:12 04944245beec: Verifying Checksum 21:08:12 04944245beec: Download complete 21:08:12 765212b225bb: Verifying Checksum 21:08:12 765212b225bb: Download complete 21:08:12 f23df028b6ca: Verifying Checksum 21:08:12 f23df028b6ca: Download complete 21:08:12 d65c8cfc05b1: Verifying Checksum 21:08:12 d65c8cfc05b1: Download complete 21:08:12 699f458cf7ca: Verifying Checksum 21:08:12 699f458cf7ca: Download complete 21:08:13 8998bd30e6a1: Verifying Checksum 21:08:13 8998bd30e6a1: Download complete 21:08:15 2437ff75d9bd: Download complete 21:08:17 8998bd30e6a1: Pull complete 21:08:18 04944245beec: Pull complete 21:08:19 699f458cf7ca: Pull complete 21:08:20 765212b225bb: Pull complete 21:08:21 f23df028b6ca: Pull complete 21:08:21 d65c8cfc05b1: Pull complete 21:08:36 2437ff75d9bd: Pull complete 21:08:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:08:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:36 prd-ubuntu20.04-docker-arm64-4c-16g-7246 does not seem to be running inside a container 21:08:36 $ 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 21:08:39 $ docker top ada34d3713bee730f3916535524db8d377193bfe3b12fdc9f4756c58c5e666f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:40 ---> job-cost.sh 21:08:40 lf-activate-venv: SKIPPING 21:08:40 INFO: No Stack... 21:08:41 INFO: Retrieving Pricing Info for: v3-standard-4 21:08:41 INFO: Archiving Costs [Pipeline] sh 21:08:42 + + cutcat -d, /w/workspace/device-snmp-go/90/archives/cost.csv -f6 21:08:42 [Pipeline] lock 21:08:42 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] 21:08:42 Resource [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] did not exist. Created. 21:08:42 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:43 /w/workspace/device-snmp-go/90@tmp/durable-856fe410/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:08:44 + echo total: 0.10999999940395355 [Pipeline] stash 21:08:44 Warning: overwriting stash ‘stack-cost’ 21:08:44 Stashed 1 file(s) [Pipeline] } 21:08:44 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-90-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:44 $ docker stop --time=1 ada34d3713bee730f3916535524db8d377193bfe3b12fdc9f4756c58c5e666f8 21:08:46 $ 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 21:08:46 provisioning config files... 21:08:46 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16967086294236919795tmp [Pipeline] { [Pipeline] sh 21:08:46 + set +x 21:08:46 + bash -s -- 21:08:46 + curl -s https://codecov.io/bash 21:08:46 21:08:46 _____ _ 21:08:46 / ____| | | 21:08:46 | | ___ __| | ___ ___ _____ __ 21:08:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:08:46 | |___| (_) | (_| | __/ (_| (_) \ V / 21:08:46 \_____\___/ \__,_|\___|\___\___/ \_/ 21:08:46 Bash-1.0.6 21:08:46 21:08:46 21:08:46 ==> git version 2.25.1 found 21:08:46 ==> 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 21:08:46 Release-Date: 2020-01-08 21:08:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:08:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:08:46 ==> Jenkins CI detected. 21:08:46 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 21:08:46 project root: . 21:08:46 --> token set from env 21:08:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:08:46 ==> Running gcov in . (disable via -X gcov) 21:08:46 ==> Python coveragepy not found 21:08:46 ==> Searching for coverage reports in: 21:08:46 + . 21:08:46 -> Found 1 reports 21:08:46 ==> Detecting git/mercurial file structure 21:08:47 ==> Reading reports 21:08:47 + ./coverage.out bytes=8837 21:08:47 ==> Appending adjustments 21:08:47 https://docs.codecov.io/docs/fixing-reports 21:08:47 + Found adjustments 21:08:47 ==> Gzipping contents 21:08:47 4.0K /tmp/codecov.g8JE1A.gz 21:08:47 ==> Uploading reports 21:08:47 url: https://codecov.io 21:08:47 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= 21:08:47 -> Pinging Codecov 21:08:47 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= 21:08:47 -> Uploading to 21:08:47 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 21:08:47 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:47 Dload Upload Total Spent Left Speed 21:08:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8670 --:--:-- --:--:-- --:--:-- 8670 21:08:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] } 21:08:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:08:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:08:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:08:48 21:08:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:08:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:08:49 df9b9388f04a: Pulling fs layer 21:08:49 52dc419b0ee2: Pulling fs layer 21:08:49 25bc292e5bac: Pulling fs layer 21:08:49 114826534d7a: Pulling fs layer 21:08:49 4657fd5d0bcf: Pulling fs layer 21:08:49 6ad1cebc031e: Pulling fs layer 21:08:49 8a3aa393b2d8: Pulling fs layer 21:08:49 4657fd5d0bcf: Waiting 21:08:49 6ad1cebc031e: Waiting 21:08:49 8a3aa393b2d8: Waiting 21:08:49 114826534d7a: Waiting 21:08:49 25bc292e5bac: Verifying Checksum 21:08:49 25bc292e5bac: Download complete 21:08:49 52dc419b0ee2: Verifying Checksum 21:08:49 52dc419b0ee2: Download complete 21:08:49 4657fd5d0bcf: Verifying Checksum 21:08:49 4657fd5d0bcf: Download complete 21:08:49 df9b9388f04a: Download complete 21:08:49 df9b9388f04a: Pull complete 21:08:49 52dc419b0ee2: Pull complete 21:08:49 25bc292e5bac: Pull complete 21:08:49 6ad1cebc031e: Verifying Checksum 21:08:49 6ad1cebc031e: Download complete 21:08:50 114826534d7a: Verifying Checksum 21:08:50 114826534d7a: Download complete 21:08:50 8a3aa393b2d8: Verifying Checksum 21:08:53 114826534d7a: Pull complete 21:08:53 4657fd5d0bcf: Pull complete 21:08:54 6ad1cebc031e: Pull complete 21:08:57 8a3aa393b2d8: Pull complete 21:08:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:08:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:08:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:57 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 21:08:57 $ 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 21:09:02 $ docker top 5192b30aa27b52968a7922db203951f9f823bbc99618a09caa16ca5f8964d503 -eo pid,comm [Pipeline] { [Pipeline] echo 21:09:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 21:09:02 + set -o pipefail 21:09:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 21:09:09 21:09:09 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 21:09:09 21:09:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/be8c3e46-e5d8-474c-b57a-b87c4193288c 21:09:09 21:09:09 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:09:09 21:09:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:09:09 21:09:09 21:09:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:09:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:09:09 More details here: https://snyk.co/ue1NS [Pipeline] } 21:09:09 $ docker stop --time=1 5192b30aa27b52968a7922db203951f9f823bbc99618a09caa16ca5f8964d503 21:09:12 $ 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 21:09:13 + git log --format=format:%s -1 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a [Pipeline] sh 21:09:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:13 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 21:09:13 $ 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 21:09:14 $ docker top 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 -eo pid,comm 21:09:14 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). 21:09:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:14 [ssh-agent] Looking for ssh-agent implementation... 21:09:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:14 $ docker exec 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 ssh-agent 21:09:14 SSH_AUTH_SOCK=/tmp/ssh-XaiplBo6PR8L/agent.32 21:09:14 SSH_AGENT_PID=38 21:09:14 Running ssh-add (command line suppressed) 21:09:14 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) 21:09:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:14 + git semver tag 21:09:15 2023-09-20 21:09:15,099 [run_tag] DEBUG tag force:False 21:09:15 2023-09-20 21:09:15,099 [check_head_tag] DEBUG check head tag 21:09:15 2023-09-20 21:09:15,100 [execute] INFO git cat-file --batch-check 21:09:15 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=) 21:09:15 2023-09-20 21:09:15,103 [execute] INFO git cat-file --batch 21:09:15 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=) 21:09:15 2023-09-20 21:09:15,111 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:09:15 2023-09-20 21:09:15,111 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 21:09:15 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) 21:09:15 2023-09-20 21:09:15,116 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:09:15 3.1.0-dev.4 [Pipeline] } 21:09:15 $ docker exec --env ******** --env ******** 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 ssh-agent -k 21:09:15 unset SSH_AUTH_SOCK; 21:09:15 unset SSH_AGENT_PID; 21:09:15 echo Agent pid 38 killed; 21:09:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:15 + git semver [Pipeline] } 21:09:15 $ docker stop --time=1 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 21:09:17 $ docker rm -f --volumes 4bb50ff3904013dd4801216c49573a5a875a8dcec0f9c43caa2298031f4cef62 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:09:17 21:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:09:17 0.23.1-centos7: Pulling from edgex-lftools 21:09:17 ab5ef0e58194: Pulling fs layer 21:09:17 9712f1f96733: Pulling fs layer 21:09:17 63f879dbbcfc: Pulling fs layer 21:09:17 0d9ebad4ef96: Pulling fs layer 21:09:17 e9a5061849ea: Pulling fs layer 21:09:17 d747dcd14b5f: Pulling fs layer 21:09:17 2de7ff778b66: Pulling fs layer 21:09:17 d747dcd14b5f: Waiting 21:09:17 e9a5061849ea: Waiting 21:09:17 2de7ff778b66: Waiting 21:09:17 0d9ebad4ef96: Waiting 21:09:17 9712f1f96733: Download complete 21:09:18 63f879dbbcfc: Verifying Checksum 21:09:18 63f879dbbcfc: Download complete 21:09:18 e9a5061849ea: Verifying Checksum 21:09:18 e9a5061849ea: Download complete 21:09:18 0d9ebad4ef96: Verifying Checksum 21:09:18 0d9ebad4ef96: Download complete 21:09:18 d747dcd14b5f: Verifying Checksum 21:09:18 ab5ef0e58194: Verifying Checksum 21:09:18 ab5ef0e58194: Download complete 21:09:18 2de7ff778b66: Verifying Checksum 21:09:18 2de7ff778b66: Download complete 21:09:21 ab5ef0e58194: Pull complete 21:09:21 9712f1f96733: Pull complete 21:09:22 63f879dbbcfc: Pull complete 21:09:26 0d9ebad4ef96: Pull complete 21:09:26 e9a5061849ea: Pull complete 21:09:26 d747dcd14b5f: Pull complete 21:09:26 2de7ff778b66: Pull complete 21:09:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:09:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:09:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:27 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 21:09:27 $ 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 21:09:35 $ docker top 3020017f21197f76d702f5309defdb0606ad1bb5def46e7b13d533359e0b0150 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:09:35 provisioning config files... 21:09:35 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4291954165051272680tmp 21:09:35 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5825812283826368304tmp 21:09:35 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4302513768727783436tmp [Pipeline] { [Pipeline] echo 21:09:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:09:35 ---> sigul-configuration.sh 21:09:35 gpg: directory `/root/.gnupg' created 21:09:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:09:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:09:35 gpg: keyring `/root/.gnupg/secring.gpg' created 21:09:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:09:35 gpg: CAST5 encrypted data 21:09:35 gpg: encrypted with 1 passphrase 21:09:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:09:35 + mkdir /home/jenkins 21:09:35 + mkdir /home/jenkins/sigul [Pipeline] sh 21:09:36 + 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 21:09:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:09:36 ---> sigul-install.sh 21:09:36 Sigul already installed; skipping installation. [Pipeline] sh 21:09:36 + git tag --list 21:09:36 1.0.0 21:09:36 v0.0.0 21:09:36 v1.1.0 21:09:36 v1.1.1 21:09:36 v1.2.2 21:09:36 v1.3.0 21:09:36 v1.3.1 21:09:36 v2.0.0 21:09:36 v2.1.0 21:09:36 v2.1.1 21:09:36 v2.2.0 21:09:36 v2.3.0 21:09:36 v3.0 21:09:36 v3.0.0 21:09:36 v3.1.0-dev.1 21:09:36 v3.1.0-dev.2 21:09:36 v3.1.0-dev.3 21:09:36 v3.1.0-dev.4 [Pipeline] sh 21:09:36 + lftools sign git-tag v3.1.0-dev.4 21:09:37 Signing Git tag with Sigul... 21:09:37 Signing v3.1.0-dev.4 [Pipeline] echo 21:09:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:09:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:09:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:09:38 $ docker stop --time=1 3020017f21197f76d702f5309defdb0606ad1bb5def46e7b13d533359e0b0150 21:09:39 $ 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 21:09:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:40 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 21:09:40 $ 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 21:09:40 $ docker top de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 -eo pid,comm 21:09:40 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). 21:09:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:40 [ssh-agent] Looking for ssh-agent implementation... 21:09:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:40 $ docker exec de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 ssh-agent 21:09:40 SSH_AUTH_SOCK=/tmp/ssh-ww1HBqcVRqWq/agent.32 21:09:40 SSH_AGENT_PID=38 21:09:40 Running ssh-add (command line suppressed) 21:09:40 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) 21:09:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:41 + git semver bump pre 21:09:41 2023-09-20 21:09:41,432 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:09:41 2023-09-20 21:09:41,432 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev 21:09:41 2023-09-20 21:09:41,432 [bump_version] DEBUG bumped version:3.1.0-dev.5 21:09:41 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 21:09:41 2023-09-20 21:09:41,432 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:09:41 2023-09-20 21:09:41,432 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:09:41 2023-09-20 21:09:41,434 [execute] INFO git cat-file --batch-check 21:09:41 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=) 21:09:41 2023-09-20 21:09:41,441 [execute] INFO git cat-file --batch 21:09:41 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=) 21:09:41 2023-09-20 21:09:41,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:09:41 3.1.0-dev.5 [Pipeline] } 21:09:41 $ docker exec --env ******** --env ******** de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 ssh-agent -k 21:09:41 unset SSH_AUTH_SOCK; 21:09:41 unset SSH_AGENT_PID; 21:09:41 echo Agent pid 38 killed; 21:09:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:41 + git semver [Pipeline] } 21:09:42 $ docker stop --time=1 de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 21:09:44 $ docker rm -f --volumes de264ab9a7b2c6c850e05bcc3ac73090f52e29fdbcc0a7e85233fbf9366dd600 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:44 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 21:09:44 $ 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 21:09:45 $ docker top 9265948d2bdde58ff3633fc7e59c9313666288c3b0841e5ec9ff9647e43176fd -eo pid,comm 21:09:45 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). 21:09:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:45 [ssh-agent] Looking for ssh-agent implementation... 21:09:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:45 $ docker exec 9265948d2bdde58ff3633fc7e59c9313666288c3b0841e5ec9ff9647e43176fd ssh-agent 21:09:45 SSH_AUTH_SOCK=/tmp/ssh-TCypWE7OTThS/agent.32 21:09:45 SSH_AGENT_PID=38 21:09:45 Running ssh-add (command line suppressed) 21:09:46 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) 21:09:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:46 + git semver push 21:09:46 2023-09-20 21:09:46,541 [run_push] DEBUG push 21:09:46 2023-09-20 21:09:46,542 [execute] INFO git cat-file --batch-check 21:09:46 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=) 21:09:46 2023-09-20 21:09:46,546 [execute] INFO git rev-list d876dd42d9cf1c4dd21ecf9fc57c0234620411dc -- 21:09:46 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) 21:09:46 2023-09-20 21:09:46,555 [execute] INFO git fetch -v origin 21:09:46 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) 21:09:47 2023-09-20 21:09:47,030 [run_push] DEBUG no remote changes detected 21:09:47 2023-09-20 21:09:47,030 [execute] INFO git push origin semver 21:09:47 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) 21:09:48 2023-09-20 21:09:47,770 [run_push] DEBUG push all version tags 21:09:48 2023-09-20 21:09:47,770 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:09:48 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) 21:09:48 2023-09-20 21:09:48,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 21:09:48 3.1.0-dev.5 [Pipeline] } 21:09:48 $ docker exec --env ******** --env ******** 9265948d2bdde58ff3633fc7e59c9313666288c3b0841e5ec9ff9647e43176fd ssh-agent -k 21:09:48 unset SSH_AUTH_SOCK; 21:09:48 unset SSH_AGENT_PID; 21:09:48 echo Agent pid 38 killed; 21:09:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:49 + git semver [Pipeline] } 21:09:49 $ docker stop --time=1 9265948d2bdde58ff3633fc7e59c9313666288c3b0841e5ec9ff9647e43176fd 21:09:50 $ 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 21:09:51 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 21:09:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:09:51 total 16 21:09:51 drwxr-xr-x 3 root root 4096 Sep 20 20:58 . 21:09:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:09 .. 21:09:51 drwxr-xr-x 2 root root 4096 Sep 20 20:58 cost 21:09:51 -rw-r--r-- 1 root root 85 Sep 20 20:58 cost.csv 21:09:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:09:51 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:09:51 total 16 21:09:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:58 . 21:09:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:09 .. 21:09:51 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:58 cost 21:09:51 -rw-r--r-- 1 jenkins jenkins 85 Sep 20 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:09:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:52 ---> package-listing.sh 21:09:52 ++ facter osfamily 21:09:52 ++ tr '[:upper:]' '[:lower:]' 21:09:52 + OS_FAMILY=debian 21:09:52 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 21:09:52 + START_PACKAGES=/tmp/packages_start.txt 21:09:52 + END_PACKAGES=/tmp/packages_end.txt 21:09:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:52 + PACKAGES=/tmp/packages_start.txt 21:09:52 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:09:52 + PACKAGES=/tmp/packages_end.txt 21:09:52 + case "${OS_FAMILY}" in 21:09:52 + dpkg -l 21:09:52 + grep '^ii' 21:09:52 + '[' -f /tmp/packages_start.txt ']' 21:09:52 + '[' -f /tmp/packages_end.txt ']' 21:09:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:52 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:09:52 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 21:09:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 21:09:52 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 21:09:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:53 prd-ubuntu20.04-docker-8c-8g-7230 does not seem to be running inside a container 21:09:53 $ 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 21:09:53 $ docker top 143beb54966b2d261509cfc9d7fb4c256117598076b17dedeb7f8f3ac97f2129 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:54 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:54 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:54 + ls /var/log/sa-host 21:09:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:54 provisioning config files... 21:09:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16654576507476698086tmp [Pipeline] { [Pipeline] echo 21:09:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:55 ---> create-netrc.sh [Pipeline] } 21:09:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:55 ---> python-tools-install.sh [Pipeline] echo 21:09:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:55 ---> sudo-logs.sh 21:09:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:09:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:55 ---> job-cost.sh 21:09:55 lf-activate-venv: SKIPPING 21:09:55 DEBUG: total: 0.2199999988079071 21:09:55 INFO: Retrieving Stack Cost... 21:09:56 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:56 INFO: Archiving Costs [Pipeline] echo 21:09:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:57 ---> logs-deploy.sh 21:09:57 lf-activate-venv: SKIPPING 21:09:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/90 21:09:57 INFO: archiving workspace using pattern(s): 21:09:58 Archives upload complete. 21:09:58 INFO: archiving logs to Nexus