Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 480fc110605f705546cd9b1d947e4f522cca56d6 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-ssh12523628726338670536.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh14393058402696393865.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4805327253036872210.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh9396505778546466089.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh8144654980541611600.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-10765’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-10717’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-10767’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10771 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 480fc110605f705546cd9b1d947e4f522cca56d6 (main) > 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 480fc110605f705546cd9b1d947e4f522cca56d6 # timeout=10 Commit message: "Merge pull request #147 from jpwhitemn/enable-gosec-lint2" > git rev-list --no-walk f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-05T20:09:40.408Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-05T20:09:40.492Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-05T20:09:40.510Z] ========================================================= [2022-04-05T20:09:40.510Z] EdgeX Global Pipelines Version Info [2022-04-05T20:09:40.510Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:09:41.264Z] ------------------- [2022-04-05T20:09:41.264Z] stable info: [2022-04-05T20:09:41.264Z] ------------------- [2022-04-05T20:09:41.264Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-05T20:09:41.264Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:09:41.264Z] Message: update stable to v1.0.221 [2022-04-05T20:09:41.836Z] ------------------- [2022-04-05T20:09:41.836Z] experimental info: [2022-04-05T20:09:41.836Z] ------------------- [2022-04-05T20:09:41.836Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-05T20:09:41.836Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:09:41.836Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-05T20:09:41.978Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-05T20:09:41.993Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-05T20:09:42.012Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-05T20:09:42.029Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-05T20:09:42.044Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-05T20:09:42.063Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-05T20:09:42.079Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-05T20:09:42.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-05T20:09:42.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-05T20:09:42.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-05T20:09:42.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-05T20:09:42.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-05T20:09:42.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-05T20:09:42.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-05T20:09:42.186Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:09:42.198Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:09:42.210Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:09:42.223Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:09:42.237Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-05T20:09:42.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-05T20:09:42.263Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-05T20:09:42.281Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-05T20:09:42.290Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-05T20:09:42.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-05T20:09:42.316Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-05T20:09:42.328Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-05T20:09:42.340Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-05T20:09:42.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-05T20:09:42.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-05T20:09:42.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] echo [2022-04-05T20:09:42.388Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 480fc11 [Pipeline] echo [2022-04-05T20:09:42.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:09:42.443Z] provisioning config files... [2022-04-05T20:09:42.457Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1155292988415209615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:09:42.762Z] ---> docker-login.sh [2022-04-05T20:09:42.762Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:09:43.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:43.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:43.023Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:43.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:43.023Z] [2022-04-05T20:09:43.023Z] Login Succeeded [2022-04-05T20:09:43.023Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:09:43.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:43.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:43.284Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:43.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:43.284Z] [2022-04-05T20:09:43.284Z] Login Succeeded [2022-04-05T20:09:43.284Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:09:43.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:43.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:43.285Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:43.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:43.285Z] [2022-04-05T20:09:43.285Z] Login Succeeded [2022-04-05T20:09:43.285Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:09:43.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:43.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:43.547Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:43.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:43.547Z] [2022-04-05T20:09:43.547Z] Login Succeeded [2022-04-05T20:09:43.547Z] docker.io [2022-04-05T20:09:43.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:43.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:43.809Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:43.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:43.809Z] [2022-04-05T20:09:43.809Z] Login Succeeded [2022-04-05T20:09:43.809Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:09:43.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-05T20:09:44.181Z] + git rev-list -1 --merges 480fc110605f705546cd9b1d947e4f522cca56d6~1..480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] echo [2022-04-05T20:09:44.290Z] -----------> git rev-list -1 --merges 480fc110605f705546cd9b1d947e4f522cca56d6~1..480fc110605f705546cd9b1d947e4f522cca56d6 480fc110605f705546cd9b1d947e4f522cca56d6 [2022-04-05T20:09:44.290Z] 480fc110605f705546cd9b1d947e4f522cca56d6 [false] [Pipeline] sh [2022-04-05T20:09:44.789Z] + git log --format=format:%s -1 480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] echo [2022-04-05T20:09:44.809Z] ========================================================= [2022-04-05T20:09:44.809Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-05T20:09:44.809Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:09:45.153Z] + git log --format=format:%s -1 480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] echo [2022-04-05T20:09:45.166Z] [semverPrep] GIT_COMMIT: 480fc110605f705546cd9b1d947e4f522cca56d6, Commit Message: Merge pull request #147 from jpwhitemn/enable-gosec-lint2 [Pipeline] echo [2022-04-05T20:09:45.177Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-05T20:09:45.572Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:09:45.572Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-05T20:09:45.572Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-05T20:09:45.572Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-05T20:09:45.572Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-05T20:09:45.572Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-05T20:09:45.572Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:45.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:09:45.919Z] [2022-04-05T20:09:45.919Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:46.227Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:09:46.227Z] latest: Pulling from edgex-devops/git-semver [2022-04-05T20:09:46.227Z] a0d0a0d46f8b: Pulling fs layer [2022-04-05T20:09:46.227Z] 3e5f54012d9b: Pulling fs layer [2022-04-05T20:09:46.227Z] 4c7163046ea9: Pulling fs layer [2022-04-05T20:09:46.227Z] 0c2d73faf560: Pulling fs layer [2022-04-05T20:09:46.227Z] 0c2d73faf560: Waiting [2022-04-05T20:09:46.227Z] 3e5f54012d9b: Verifying Checksum [2022-04-05T20:09:46.227Z] 3e5f54012d9b: Download complete [2022-04-05T20:09:46.227Z] a0d0a0d46f8b: Download complete [2022-04-05T20:09:46.488Z] 4c7163046ea9: Verifying Checksum [2022-04-05T20:09:46.488Z] 4c7163046ea9: Download complete [2022-04-05T20:09:46.488Z] 0c2d73faf560: Verifying Checksum [2022-04-05T20:09:46.488Z] 0c2d73faf560: Download complete [2022-04-05T20:09:46.488Z] a0d0a0d46f8b: Pull complete [2022-04-05T20:09:46.488Z] 3e5f54012d9b: Pull complete [2022-04-05T20:09:47.083Z] 4c7163046ea9: Pull complete [2022-04-05T20:09:47.083Z] 0c2d73faf560: Pull complete [2022-04-05T20:09:47.083Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-05T20:09:47.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:09:47.083Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-05T20:09:47.157Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:09:47.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:09:47.849Z] $ docker top 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:09:47.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:09:47.959Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:09:48.095Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:09:48.104Z] $ docker exec 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 ssh-agent [2022-04-05T20:09:48.221Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCGoKCN/agent.14 [2022-04-05T20:09:48.221Z] SSH_AGENT_PID=20 [2022-04-05T20:09:48.228Z] Running ssh-add (command line suppressed) [2022-04-05T20:09:48.356Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1650860305227449467.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1650860305227449467.key) [2022-04-05T20:09:48.366Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:09:48.656Z] + git tag --points-at HEAD [Pipeline] } [2022-04-05T20:09:48.679Z] $ docker exec --env ******** --env ******** 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 ssh-agent -k [2022-04-05T20:09:48.791Z] unset SSH_AUTH_SOCK; [2022-04-05T20:09:48.792Z] unset SSH_AGENT_PID; [2022-04-05T20:09:48.792Z] echo Agent pid 20 killed; [2022-04-05T20:09:48.804Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-05T20:09:48.832Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:09:48.832Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:09:48.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:09:48.965Z] $ docker exec 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 ssh-agent [2022-04-05T20:09:49.086Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIGjohF/agent.53 [2022-04-05T20:09:49.086Z] SSH_AGENT_PID=59 [2022-04-05T20:09:49.093Z] Running ssh-add (command line suppressed) [2022-04-05T20:09:49.211Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3732213518564463664.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3732213518564463664.key) [2022-04-05T20:09:49.221Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:09:49.526Z] + git semver init [2022-04-05T20:09:49.527Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:09:49.527Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-05T20:09:49.527Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-05T20:09:49.527Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:09:49.527Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:09:49.527Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:09:49.527Z] # $SEMVER_BRANCH = main [2022-04-05T20:09:49.527Z] # $SEMVER_TEMP = /tmp/semver-842508599 [2022-04-05T20:09:49.527Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-05T20:09:50.469Z] # '/tmp/semver-842508599' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2022-04-05T20:09:50.469Z] # -> Force: false [2022-04-05T20:09:50.469Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-05T20:09:50.487Z] $ docker exec --env ******** --env ******** 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 ssh-agent -k [2022-04-05T20:09:50.608Z] unset SSH_AUTH_SOCK; [2022-04-05T20:09:50.609Z] unset SSH_AGENT_PID; [2022-04-05T20:09:50.609Z] echo Agent pid 59 killed; [2022-04-05T20:09:50.613Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:09:50.923Z] + git semver [Pipeline] } [2022-04-05T20:09:50.945Z] $ docker stop --time=1 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 [2022-04-05T20:09:52.310Z] $ docker rm -f 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:09:52.653Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-05T20:09:52.876Z] Stashed 1 file(s) [Pipeline] echo [2022-04-05T20:09:52.934Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [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 [2022-04-05T20:09:53.073Z] provisioning config files... [2022-04-05T20:09:53.083Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4497008401225357231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:09:53.381Z] ---> docker-login.sh [2022-04-05T20:09:53.382Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:09:53.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:53.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:53.382Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:53.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:53.382Z] [2022-04-05T20:09:53.382Z] Login Succeeded [2022-04-05T20:09:53.382Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:09:53.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:53.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:53.641Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:53.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:53.641Z] [2022-04-05T20:09:53.641Z] Login Succeeded [2022-04-05T20:09:53.641Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:09:53.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:53.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:53.641Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:53.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:53.641Z] [2022-04-05T20:09:53.641Z] Login Succeeded [2022-04-05T20:09:53.641Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:09:53.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:53.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:53.901Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:53.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:53.901Z] [2022-04-05T20:09:53.901Z] Login Succeeded [2022-04-05T20:09:53.901Z] docker.io [2022-04-05T20:09:53.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:54.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:54.161Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:54.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:54.161Z] [2022-04-05T20:09:54.161Z] Login Succeeded [2022-04-05T20:09:54.161Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:09:54.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:09:54.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:09:54.234Z] ========================================================= [2022-04-05T20:09:54.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-05T20:09:54.234Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:54.543Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T20:09:54.543Z] Sending build context to Docker daemon 5.196MB [2022-04-05T20:09:54.543Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:09:54.543Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T20:09:54.543Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-05T20:09:54.543Z] 59bf1c3509f3: Pulling fs layer [2022-04-05T20:09:54.543Z] 666ba61612fd: Pulling fs layer [2022-04-05T20:09:54.543Z] 8ed8ca486205: Pulling fs layer [2022-04-05T20:09:54.543Z] 4fe6c5a15a65: Pulling fs layer [2022-04-05T20:09:54.543Z] 22a0e8bec74d: Pulling fs layer [2022-04-05T20:09:54.543Z] 640e595b4fbd: Pulling fs layer [2022-04-05T20:09:54.543Z] 763cafe07f6e: Pulling fs layer [2022-04-05T20:09:54.543Z] 0c0b528cf693: Pulling fs layer [2022-04-05T20:09:54.543Z] 10935f4eaf8b: Pulling fs layer [2022-04-05T20:09:54.543Z] 640e595b4fbd: Waiting [2022-04-05T20:09:54.543Z] 763cafe07f6e: Waiting [2022-04-05T20:09:54.543Z] 0c0b528cf693: Waiting [2022-04-05T20:09:54.543Z] 10935f4eaf8b: Waiting [2022-04-05T20:09:54.543Z] 4fe6c5a15a65: Waiting [2022-04-05T20:09:54.543Z] 22a0e8bec74d: Waiting [2022-04-05T20:09:54.543Z] 8ed8ca486205: Verifying Checksum [2022-04-05T20:09:54.543Z] 8ed8ca486205: Download complete [2022-04-05T20:09:54.543Z] 666ba61612fd: Download complete [2022-04-05T20:09:54.804Z] 22a0e8bec74d: Verifying Checksum [2022-04-05T20:09:54.804Z] 22a0e8bec74d: Download complete [2022-04-05T20:09:54.804Z] 640e595b4fbd: Verifying Checksum [2022-04-05T20:09:54.804Z] 640e595b4fbd: Download complete [2022-04-05T20:09:54.804Z] 763cafe07f6e: Download complete [2022-04-05T20:09:54.804Z] 59bf1c3509f3: Verifying Checksum [2022-04-05T20:09:54.804Z] 0c0b528cf693: Verifying Checksum [2022-04-05T20:09:54.804Z] 0c0b528cf693: Download complete [2022-04-05T20:09:54.804Z] 59bf1c3509f3: Pull complete [2022-04-05T20:09:55.068Z] 666ba61612fd: Pull complete [2022-04-05T20:09:55.068Z] 8ed8ca486205: Pull complete [2022-04-05T20:09:55.329Z] 10935f4eaf8b: Verifying Checksum [2022-04-05T20:09:55.329Z] 10935f4eaf8b: Download complete [2022-04-05T20:09:55.589Z] 4fe6c5a15a65: Verifying Checksum [2022-04-05T20:09:55.589Z] 4fe6c5a15a65: Download complete [2022-04-05T20:09:59.790Z] 4fe6c5a15a65: Pull complete [2022-04-05T20:09:59.790Z] 22a0e8bec74d: Pull complete [2022-04-05T20:09:59.790Z] 640e595b4fbd: Pull complete [2022-04-05T20:09:59.790Z] 763cafe07f6e: Pull complete [2022-04-05T20:09:59.790Z] 0c0b528cf693: Pull complete [2022-04-05T20:10:01.711Z] 10935f4eaf8b: Pull complete [2022-04-05T20:10:01.711Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-05T20:10:01.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-05T20:10:01.711Z] ---> 99d49a6021b9 [2022-04-05T20:10:01.711Z] Step 3/12 : ARG MAKE='make build' [2022-04-05T20:10:03.112Z] ---> Running in 9f9416673b69 [2022-04-05T20:10:03.112Z] Removing intermediate container 9f9416673b69 [2022-04-05T20:10:03.112Z] ---> 0e26f54fc08c [2022-04-05T20:10:03.112Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:10:03.373Z] ---> Running in 0050b3651859 [2022-04-05T20:10:03.373Z] Removing intermediate container 0050b3651859 [2022-04-05T20:10:03.373Z] ---> 343aa41919a7 [2022-04-05T20:10:03.373Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:10:03.373Z] ---> Running in 24e03f609fdd [2022-04-05T20:10:03.373Z] Removing intermediate container 24e03f609fdd [2022-04-05T20:10:03.373Z] ---> 103d288a4255 [2022-04-05T20:10:03.373Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:10:03.636Z] ---> Running in e370f9f613d0 [2022-04-05T20:10:04.205Z] Removing intermediate container e370f9f613d0 [2022-04-05T20:10:04.205Z] ---> e8a9eeec67bd [2022-04-05T20:10:04.205Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:10:04.205Z] ---> Running in 119aad2759e2 [2022-04-05T20:10:04.466Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:05.408Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:05.674Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:10:05.674Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T20:10:05.674Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:10:05.933Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:10:05.933Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:10:05.933Z] OK: 224 MiB in 56 packages [2022-04-05T20:10:06.509Z] Removing intermediate container 119aad2759e2 [2022-04-05T20:10:06.509Z] ---> d2028f25e30a [2022-04-05T20:10:06.509Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-05T20:10:06.509Z] ---> Running in 91415586bbc2 [2022-04-05T20:10:06.509Z] Removing intermediate container 91415586bbc2 [2022-04-05T20:10:06.509Z] ---> 03f9d1bf9f00 [2022-04-05T20:10:06.509Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-05T20:10:06.769Z] ---> 27d16fb90601 [2022-04-05T20:10:06.769Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:10:06.769Z] ---> Running in de0d9ba7a411 [2022-04-05T20:10:08.028Z] Still waiting to schedule task [2022-04-05T20:10:08.028Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10768’ [2022-04-05T20:10:28.733Z] Removing intermediate container de0d9ba7a411 [2022-04-05T20:10:28.733Z] ---> 2219c3a092f6 [2022-04-05T20:10:28.733Z] Step 11/12 : COPY . . [2022-04-05T20:10:28.733Z] ---> 4269c2024693 [2022-04-05T20:10:28.733Z] Step 12/12 : RUN ${MAKE} [2022-04-05T20:10:28.733Z] ---> Running in 268c8a89841a [2022-04-05T20:10:29.302Z] noop [2022-04-05T20:10:29.563Z] Removing intermediate container 268c8a89841a [2022-04-05T20:10:29.563Z] ---> d7bbab2103ee [2022-04-05T20:10:29.563Z] Successfully built d7bbab2103ee [2022-04-05T20:10:29.563Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:29.856Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:10:29.856Z] . [Pipeline] withDockerContainer [2022-04-05T20:10:29.922Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:10:29.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-05T20:10:30.352Z] $ docker top d790bd04bf8301299efa0a08aef0ab9b47cd555819b6d84d05148cd5dc8e242e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:10:30.698Z] + go version [2022-04-05T20:10:30.698Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-05T20:10:30.718Z] $ docker stop --time=1 d790bd04bf8301299efa0a08aef0ab9b47cd555819b6d84d05148cd5dc8e242e [2022-04-05T20:10:31.990Z] $ docker rm -f d790bd04bf8301299efa0a08aef0ab9b47cd555819b6d84d05148cd5dc8e242e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:32.394Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:10:32.394Z] . [Pipeline] withDockerContainer [2022-04-05T20:10:32.503Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:10:32.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-05T20:10:33.036Z] $ docker top 35a2a117565842790d2f3631e16585e80e7d9a6c6539df9a168d7686b39356d9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:10:33.402Z] + make test [2022-04-05T20:10:33.402Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-05T20:10:33.661Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-05T20:10:40.237Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-05T20:10:40.237Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2022-04-05T20:10:44.443Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:10:46.983Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:10:46.983Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:10:46.983Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:10:47.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:10:47.273Z] $ docker stop --time=1 35a2a117565842790d2f3631e16585e80e7d9a6c6539df9a168d7686b39356d9 [2022-04-05T20:10:48.835Z] $ docker rm -f 35a2a117565842790d2f3631e16585e80e7d9a6c6539df9a168d7686b39356d9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:10:49.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:10:49.276Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-05T20:10:49.873Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:10:50.166Z] + ls -al . [2022-04-05T20:10:50.166Z] total 180 [2022-04-05T20:10:50.166Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:10 . [2022-04-05T20:10:50.166Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:09 .. [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 5 20:09 .dockerignore [2022-04-05T20:10:50.166Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:09 .git [2022-04-05T20:10:50.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 .github [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 5 20:09 .gitignore [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:09 .golangci.yml [2022-04-05T20:10:50.166Z] drwx------ 3 jenkins jenkins 4096 Apr 5 20:09 .semver [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 6926 Apr 5 20:09 Attribution.txt [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 5 20:09 CHANGELOG.md [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 5 20:09 Dockerfile [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:09 GOVERNANCE.md [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 5 20:09 Jenkinsfile [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:09 LICENSE [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 5 20:09 Makefile [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:09 OWNERS.md [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 5 20:09 README.md [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION [2022-04-05T20:10:50.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 bin [2022-04-05T20:10:50.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 cmd [2022-04-05T20:10:50.166Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 5 20:10 coverage.out [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 2820 Apr 5 20:09 go.mod [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 49501 Apr 5 20:09 go.sum [2022-04-05T20:10:50.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 internal [2022-04-05T20:10:50.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 snap [2022-04-05T20:10:50.166Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 5 20:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:50.472Z] + 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=480fc110605f705546cd9b1d947e4f522cca56d6 --label arch=amd64 --label version=2.2.0-dev.6 . [2022-04-05T20:10:50.472Z] Sending build context to Docker daemon 5.204MB [2022-04-05T20:10:50.472Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:10:50.472Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-05T20:10:50.472Z] ---> d7bbab2103ee [2022-04-05T20:10:50.472Z] Step 3/24 : ARG MAKE='make build' [2022-04-05T20:10:50.472Z] ---> Running in bbd95c5ffe6a [2022-04-05T20:10:50.732Z] Removing intermediate container bbd95c5ffe6a [2022-04-05T20:10:50.732Z] ---> 3d69a49ba33a [2022-04-05T20:10:50.732Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:10:50.732Z] ---> Running in 192d36b53167 [2022-04-05T20:10:50.732Z] Removing intermediate container 192d36b53167 [2022-04-05T20:10:50.732Z] ---> 4d2383dd72db [2022-04-05T20:10:50.732Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:10:50.732Z] ---> Running in 706aa54a0501 [2022-04-05T20:10:50.992Z] Removing intermediate container 706aa54a0501 [2022-04-05T20:10:50.992Z] ---> da47416b79a3 [2022-04-05T20:10:50.992Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:10:50.992Z] ---> Running in e1dfd9e34f2a [2022-04-05T20:10:51.562Z] Removing intermediate container e1dfd9e34f2a [2022-04-05T20:10:51.562Z] ---> 54cf850db4ef [2022-04-05T20:10:51.562Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:10:51.562Z] ---> Running in aed041d888e2 [2022-04-05T20:10:51.822Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:52.760Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:53.020Z] OK: 224 MiB in 56 packages [2022-04-05T20:10:53.282Z] Removing intermediate container aed041d888e2 [2022-04-05T20:10:53.282Z] ---> 697f199e0704 [2022-04-05T20:10:53.282Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-05T20:10:53.282Z] ---> Running in 9b5ab89f2049 [2022-04-05T20:10:53.544Z] Removing intermediate container 9b5ab89f2049 [2022-04-05T20:10:53.544Z] ---> 409d8742dbff [2022-04-05T20:10:53.544Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-05T20:10:53.544Z] ---> 4658943e400a [2022-04-05T20:10:53.544Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:10:53.544Z] ---> Running in 01273998fa92 [2022-04-05T20:10:54.481Z] Removing intermediate container 01273998fa92 [2022-04-05T20:10:54.481Z] ---> 13832443aaad [2022-04-05T20:10:54.481Z] Step 11/24 : COPY . . [2022-04-05T20:10:54.481Z] ---> 0c1b7bf4ab20 [2022-04-05T20:10:54.481Z] Step 12/24 : RUN ${MAKE} [2022-04-05T20:10:54.740Z] ---> Running in 0bc6c85a5e23 [2022-04-05T20:10:54.740Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.6" -o cmd/device-snmp ./cmd [2022-04-05T20:11:02.863Z] Removing intermediate container 0bc6c85a5e23 [2022-04-05T20:11:02.863Z] ---> b38c3305304a [2022-04-05T20:11:02.863Z] Step 13/24 : FROM alpine:3.14 [2022-04-05T20:11:02.863Z] 3.14: Pulling from library/alpine [2022-04-05T20:11:02.863Z] 8663204ce13b: Pulling fs layer [2022-04-05T20:11:02.863Z] 8663204ce13b: Verifying Checksum [2022-04-05T20:11:02.863Z] 8663204ce13b: Download complete [2022-04-05T20:11:02.863Z] 8663204ce13b: Pull complete [2022-04-05T20:11:02.863Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:11:02.863Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:11:02.863Z] ---> e04c818066af [2022-04-05T20:11:02.863Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:11:03.123Z] ---> Running in 07ce6953d883 [2022-04-05T20:11:03.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:11:03.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:11:03.671Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:11:03.671Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:11:03.671Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:11:03.671Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:11:03.671Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:11:03.671Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:11:03.671Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:11:03.671Z] OK: 8 MiB in 20 packages [2022-04-05T20:11:03.932Z] Removing intermediate container 07ce6953d883 [2022-04-05T20:11:03.932Z] ---> 98f4b00176ae [2022-04-05T20:11:03.932Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-05T20:11:04.191Z] ---> 630b7fac76fe [2022-04-05T20:11:04.191Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-05T20:11:04.456Z] ---> 103422d0b6bf [2022-04-05T20:11:04.456Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-05T20:11:04.715Z] ---> dd60589a358d [2022-04-05T20:11:04.715Z] Step 18/24 : EXPOSE 59993 [2022-04-05T20:11:04.715Z] ---> Running in bda7028c6214 [2022-04-05T20:11:04.715Z] Removing intermediate container bda7028c6214 [2022-04-05T20:11:04.715Z] ---> 2977b89c838c [2022-04-05T20:11:04.715Z] Step 19/24 : EXPOSE 161 [2022-04-05T20:11:04.715Z] ---> Running in 71b5f3fc1a26 [2022-04-05T20:11:04.974Z] Removing intermediate container 71b5f3fc1a26 [2022-04-05T20:11:04.974Z] ---> 11ff532c0c61 [2022-04-05T20:11:04.974Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-05T20:11:04.974Z] ---> Running in ed861f424bcf [2022-04-05T20:11:04.974Z] Removing intermediate container ed861f424bcf [2022-04-05T20:11:04.974Z] ---> c49c878d4a06 [2022-04-05T20:11:04.974Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-05T20:11:04.974Z] ---> Running in b5c3a374dbdf [2022-04-05T20:11:05.233Z] Removing intermediate container b5c3a374dbdf [2022-04-05T20:11:05.233Z] ---> 9bb600c0c47c [2022-04-05T20:11:05.233Z] Step 22/24 : LABEL arch=amd64 [2022-04-05T20:11:05.233Z] ---> Running in ab6e4f4bb5d6 [2022-04-05T20:11:05.233Z] Removing intermediate container ab6e4f4bb5d6 [2022-04-05T20:11:05.233Z] ---> 7a03aa185e54 [2022-04-05T20:11:05.233Z] Step 23/24 : LABEL git_sha=480fc110605f705546cd9b1d947e4f522cca56d6 [2022-04-05T20:11:05.493Z] ---> Running in 0817337694c6 [2022-04-05T20:11:05.493Z] Removing intermediate container 0817337694c6 [2022-04-05T20:11:05.493Z] ---> 37e139543ebc [2022-04-05T20:11:05.493Z] Step 24/24 : LABEL version=2.2.0-dev.6 [2022-04-05T20:11:05.493Z] ---> Running in 5b1d44f1f0ab [2022-04-05T20:11:05.493Z] Removing intermediate container 5b1d44f1f0ab [2022-04-05T20:11:05.493Z] ---> 639192a2411c [2022-04-05T20:11:05.493Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:11:05.493Z] Successfully built 639192a2411c [2022-04-05T20:11:05.753Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:11:05.838Z] provisioning config files... [2022-04-05T20:11:05.850Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1952244337927970558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:11:06.147Z] ---> docker-login.sh [2022-04-05T20:11:06.147Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:11:06.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:06.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:06.147Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:06.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:06.147Z] [2022-04-05T20:11:06.147Z] Login Succeeded [2022-04-05T20:11:06.147Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:11:06.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:06.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:06.408Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:06.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:06.408Z] [2022-04-05T20:11:06.408Z] Login Succeeded [2022-04-05T20:11:06.408Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:11:06.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:06.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:06.408Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:06.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:06.408Z] [2022-04-05T20:11:06.408Z] Login Succeeded [2022-04-05T20:11:06.408Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:11:06.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:06.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:06.668Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:06.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:06.668Z] [2022-04-05T20:11:06.668Z] Login Succeeded [2022-04-05T20:11:06.668Z] docker.io [2022-04-05T20:11:06.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:06.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:06.928Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:06.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:06.928Z] [2022-04-05T20:11:06.928Z] Login Succeeded [2022-04-05T20:11:06.928Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:11:06.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:11:06.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:11:06.991Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-04-05T20:11:06.991Z] 480fc110605f705546cd9b1d947e4f522cca56d6 [2022-04-05T20:11:06.991Z] latest [2022-04-05T20:11:06.991Z] 2.2.0-dev.6 [2022-04-05T20:11:06.991Z] 480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [2022-04-05T20:11:06.991Z] main [2022-04-05T20:11:06.991Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:07.308Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:07.600Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6 [2022-04-05T20:11:07.600Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-05T20:11:07.600Z] 4951ea8ebca2: Preparing [2022-04-05T20:11:07.600Z] 2f4a74d9b864: Preparing [2022-04-05T20:11:07.600Z] 06f2f0e5966a: Preparing [2022-04-05T20:11:07.600Z] 49d52b7e72e6: Preparing [2022-04-05T20:11:07.600Z] b541d28bf3b4: Preparing [2022-04-05T20:11:07.600Z] b541d28bf3b4: Layer already exists [2022-04-05T20:11:07.600Z] 2f4a74d9b864: Pushed [2022-04-05T20:11:07.600Z] 4951ea8ebca2: Pushed [2022-04-05T20:11:07.858Z] 49d52b7e72e6: Pushed [2022-04-05T20:11:08.796Z] 06f2f0e5966a: Pushed [2022-04-05T20:11:09.057Z] 480fc110605f705546cd9b1d947e4f522cca56d6: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:09.364Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:09.673Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-05T20:11:09.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-05T20:11:09.673Z] 4951ea8ebca2: Preparing [2022-04-05T20:11:09.673Z] 2f4a74d9b864: Preparing [2022-04-05T20:11:09.673Z] 06f2f0e5966a: Preparing [2022-04-05T20:11:09.673Z] 49d52b7e72e6: Preparing [2022-04-05T20:11:09.673Z] b541d28bf3b4: Preparing [2022-04-05T20:11:09.673Z] 2f4a74d9b864: Layer already exists [2022-04-05T20:11:09.673Z] 49d52b7e72e6: Layer already exists [2022-04-05T20:11:09.673Z] 4951ea8ebca2: Layer already exists [2022-04-05T20:11:09.673Z] 06f2f0e5966a: Layer already exists [2022-04-05T20:11:09.673Z] b541d28bf3b4: Layer already exists [2022-04-05T20:11:09.673Z] latest: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:09.986Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:10.292Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.6 [2022-04-05T20:11:10.293Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-05T20:11:10.293Z] 4951ea8ebca2: Preparing [2022-04-05T20:11:10.293Z] 2f4a74d9b864: Preparing [2022-04-05T20:11:10.293Z] 06f2f0e5966a: Preparing [2022-04-05T20:11:10.293Z] 49d52b7e72e6: Preparing [2022-04-05T20:11:10.293Z] b541d28bf3b4: Preparing [2022-04-05T20:11:10.293Z] b541d28bf3b4: Layer already exists [2022-04-05T20:11:10.293Z] 4951ea8ebca2: Layer already exists [2022-04-05T20:11:10.293Z] 49d52b7e72e6: Layer already exists [2022-04-05T20:11:10.293Z] 06f2f0e5966a: Layer already exists [2022-04-05T20:11:10.293Z] 2f4a74d9b864: Layer already exists [2022-04-05T20:11:10.293Z] 2.2.0-dev.6: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:10.605Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:10.907Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [2022-04-05T20:11:10.907Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-05T20:11:10.907Z] 4951ea8ebca2: Preparing [2022-04-05T20:11:10.907Z] 2f4a74d9b864: Preparing [2022-04-05T20:11:10.907Z] 06f2f0e5966a: Preparing [2022-04-05T20:11:10.907Z] 49d52b7e72e6: Preparing [2022-04-05T20:11:10.907Z] b541d28bf3b4: Preparing [2022-04-05T20:11:10.907Z] 4951ea8ebca2: Layer already exists [2022-04-05T20:11:10.907Z] 2f4a74d9b864: Layer already exists [2022-04-05T20:11:10.907Z] 06f2f0e5966a: Layer already exists [2022-04-05T20:11:10.907Z] b541d28bf3b4: Layer already exists [2022-04-05T20:11:10.907Z] 49d52b7e72e6: Layer already exists [2022-04-05T20:11:10.907Z] 480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:11.208Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:11.504Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-04-05T20:11:11.504Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-05T20:11:11.504Z] 4951ea8ebca2: Preparing [2022-04-05T20:11:11.504Z] 2f4a74d9b864: Preparing [2022-04-05T20:11:11.504Z] 06f2f0e5966a: Preparing [2022-04-05T20:11:11.504Z] 49d52b7e72e6: Preparing [2022-04-05T20:11:11.504Z] b541d28bf3b4: Preparing [2022-04-05T20:11:11.504Z] 06f2f0e5966a: Layer already exists [2022-04-05T20:11:11.504Z] b541d28bf3b4: Layer already exists [2022-04-05T20:11:11.504Z] 4951ea8ebca2: Layer already exists [2022-04-05T20:11:11.504Z] 49d52b7e72e6: Layer already exists [2022-04-05T20:11:11.504Z] 2f4a74d9b864: Layer already exists [2022-04-05T20:11:11.504Z] main: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:11:11.538Z] ===================================================== [Pipeline] echo [2022-04-05T20:11:11.549Z] taggedImages: [2022-04-05T20:11:11.549Z] - nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6 [2022-04-05T20:11:11.549Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-05T20:11:11.549Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.6 [2022-04-05T20:11:11.549Z] - nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [2022-04-05T20:11:11.549Z] - 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] sh [2022-04-05T20:11:11.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:11:11.921Z] [2022-04-05T20:11:11.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:12.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:11:12.219Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-05T20:11:12.219Z] 5eb5b503b376: Pulling fs layer [2022-04-05T20:11:12.219Z] 5c69ac0246d0: Pulling fs layer [2022-04-05T20:11:12.219Z] ec43610c2a17: Pulling fs layer [2022-04-05T20:11:12.219Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-05T20:11:12.219Z] 33b1e0a273af: Pulling fs layer [2022-04-05T20:11:12.219Z] 5d3b04190fa2: Pulling fs layer [2022-04-05T20:11:12.219Z] 2f39f015ded8: Pulling fs layer [2022-04-05T20:11:12.219Z] 5d3b04190fa2: Waiting [2022-04-05T20:11:12.219Z] 2f39f015ded8: Waiting [2022-04-05T20:11:12.219Z] 3a2ae6a8a46f: Waiting [2022-04-05T20:11:12.219Z] 33b1e0a273af: Waiting [2022-04-05T20:11:12.219Z] 5c69ac0246d0: Download complete [2022-04-05T20:11:12.219Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-05T20:11:12.219Z] 3a2ae6a8a46f: Download complete [2022-04-05T20:11:12.219Z] 33b1e0a273af: Verifying Checksum [2022-04-05T20:11:12.219Z] 33b1e0a273af: Download complete [2022-04-05T20:11:12.219Z] 5d3b04190fa2: Download complete [2022-04-05T20:11:12.479Z] ec43610c2a17: Verifying Checksum [2022-04-05T20:11:12.479Z] ec43610c2a17: Download complete [2022-04-05T20:11:12.479Z] 5eb5b503b376: Verifying Checksum [2022-04-05T20:11:12.479Z] 5eb5b503b376: Download complete [2022-04-05T20:11:13.048Z] 2f39f015ded8: Download complete [2022-04-05T20:11:13.616Z] 5eb5b503b376: Pull complete [2022-04-05T20:11:13.616Z] 5c69ac0246d0: Pull complete [2022-04-05T20:11:14.188Z] ec43610c2a17: Pull complete [2022-04-05T20:11:14.188Z] 3a2ae6a8a46f: Pull complete [2022-04-05T20:11:14.451Z] 33b1e0a273af: Pull complete [2022-04-05T20:11:14.451Z] 5d3b04190fa2: Pull complete [2022-04-05T20:11:18.644Z] 2f39f015ded8: Pull complete [2022-04-05T20:11:18.644Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-05T20:11:18.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:11:18.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-05T20:11:18.714Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:11:18.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T20:11:20.720Z] $ docker top 74f4343d73dad5f94713c600712ff9329054a98e18ca854e169d4bf7d2df1d48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:11:21.149Z] ---> job-cost.sh [2022-04-05T20:11:21.149Z] lf-activate-venv: SKIPPING [2022-04-05T20:11:21.149Z] INFO: No Stack... [2022-04-05T20:11:21.479Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:11:22.046Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:11:22.334Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-04-05T20:11:22.334Z] + cut -d, -f6 [Pipeline] lock [2022-04-05T20:11:22.350Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [2022-04-05T20:11:22.359Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] did not exist. Created. [2022-04-05T20:11:22.359Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:11:22.668Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-05T20:11:22.691Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:11:22.698Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:11:22.722Z] $ docker stop --time=1 74f4343d73dad5f94713c600712ff9329054a98e18ca854e169d4bf7d2df1d48 [2022-04-05T20:11:23.893Z] $ docker rm -f 74f4343d73dad5f94713c600712ff9329054a98e18ca854e169d4bf7d2df1d48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-05T20:17:30.939Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10783 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-04-05T20:17:30.954Z] Running in /w/workspace/device-snmp-go/16 [Pipeline] { [Pipeline] checkout [2022-04-05T20:17:31.305Z] Selected Git installation does not exist. Using Default [2022-04-05T20:17:31.306Z] The recommended git tool is: NONE [2022-04-05T20:17:38.452Z] using credential edgex-jenkins-ssh [2022-04-05T20:17:38.472Z] Cloning the remote Git repository [2022-04-05T20:17:38.559Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-05T20:17:38.658Z] > git init /w/workspace/device-snmp-go/16 # timeout=10 [2022-04-05T20:17:38.761Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-05T20:17:38.762Z] > git --version # timeout=10 [2022-04-05T20:17:38.784Z] > git --version # 'git version 2.25.1' [2022-04-05T20:17:38.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-05T20:17:38.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:17:40.062Z] Avoid second fetch [2022-04-05T20:17:40.063Z] Checking out Revision 480fc110605f705546cd9b1d947e4f522cca56d6 (main) [2022-04-05T20:17:40.017Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-05T20:17:40.043Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:17:40.094Z] > git config core.sparsecheckout # timeout=10 [2022-04-05T20:17:40.112Z] > git checkout -f 480fc110605f705546cd9b1d947e4f522cca56d6 # timeout=10 [2022-04-05T20:17:44.486Z] Commit message: "Merge pull request #147 from jpwhitemn/enable-gosec-lint2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:17:45.360Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-05T20:17:45.360Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:17:45.360Z] Dload Upload Total Spent Left Speed [2022-04-05T20:17:45.360Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51047 0 --:--:-- --:--:-- --:--:-- 51047 [Pipeline] sh [2022-04-05T20:17:45.938Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-05T20:17:46.292Z] + sudo tee /etc/docker/daemon.new [2022-04-05T20:17:46.292Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-05T20:17:46.292Z] { [2022-04-05T20:17:46.292Z] "registry-mirrors": [ [2022-04-05T20:17:46.292Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-05T20:17:46.292Z] ], [2022-04-05T20:17:46.292Z] "bip": "10.250.0.254/24", [2022-04-05T20:17:46.292Z] "hosts": [ [2022-04-05T20:17:46.292Z] "tcp://0.0.0.0:5555", [2022-04-05T20:17:46.292Z] "unix:///var/run/docker.sock" [2022-04-05T20:17:46.292Z] ], [2022-04-05T20:17:46.292Z] "mtu": 1458, [2022-04-05T20:17:46.292Z] "selinux-enabled": true, [2022-04-05T20:17:46.292Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-05T20:17:46.292Z] } [Pipeline] sh [2022-04-05T20:17:46.659Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-05T20:17:47.012Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:18:05.399Z] provisioning config files... [2022-04-05T20:18:05.428Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/16@tmp/config1751427589960768728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:05.797Z] ---> docker-login.sh [2022-04-05T20:18:05.797Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:18:06.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:06.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:06.671Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:06.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:06.671Z] [2022-04-05T20:18:06.671Z] Login Succeeded [2022-04-05T20:18:06.671Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:18:06.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:07.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:07.218Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:07.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:07.218Z] [2022-04-05T20:18:07.218Z] Login Succeeded [2022-04-05T20:18:07.218Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:18:07.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:07.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:07.770Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:07.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:07.770Z] [2022-04-05T20:18:07.770Z] Login Succeeded [2022-04-05T20:18:07.770Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:18:08.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:08.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:08.321Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:08.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:08.321Z] [2022-04-05T20:18:08.321Z] Login Succeeded [2022-04-05T20:18:08.321Z] docker.io [2022-04-05T20:18:08.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:08.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:08.932Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:08.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:08.932Z] [2022-04-05T20:18:08.932Z] Login Succeeded [2022-04-05T20:18:08.932Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:18:08.950Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:18:09.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:18:09.443Z] ========================================================= [2022-04-05T20:18:09.443Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-05T20:18:09.443Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:09.802Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T20:18:10.076Z] Sending build context to Docker daemon 2.71MB [2022-04-05T20:18:10.076Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:18:10.076Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T20:18:10.350Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-05T20:18:10.350Z] 9b3977197b4f: Pulling fs layer [2022-04-05T20:18:10.350Z] 1a89e8eeedd5: Pulling fs layer [2022-04-05T20:18:10.350Z] 94645a83ff95: Pulling fs layer [2022-04-05T20:18:10.350Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-05T20:18:10.350Z] 0c92f367c5e7: Pulling fs layer [2022-04-05T20:18:10.350Z] f7c0051592d6: Pulling fs layer [2022-04-05T20:18:10.350Z] a227ed2f7395: Pulling fs layer [2022-04-05T20:18:10.350Z] 7b1c46037f91: Pulling fs layer [2022-04-05T20:18:10.350Z] f7c0051592d6: Waiting [2022-04-05T20:18:10.350Z] 3f3a8bcf1eab: Waiting [2022-04-05T20:18:10.350Z] a227ed2f7395: Waiting [2022-04-05T20:18:10.350Z] 7b1c46037f91: Waiting [2022-04-05T20:18:10.350Z] 94645a83ff95: Verifying Checksum [2022-04-05T20:18:10.350Z] 1a89e8eeedd5: Verifying Checksum [2022-04-05T20:18:10.350Z] 1a89e8eeedd5: Download complete [2022-04-05T20:18:10.350Z] 0c92f367c5e7: Verifying Checksum [2022-04-05T20:18:10.350Z] 0c92f367c5e7: Download complete [2022-04-05T20:18:10.350Z] f7c0051592d6: Verifying Checksum [2022-04-05T20:18:10.350Z] f7c0051592d6: Download complete [2022-04-05T20:18:10.350Z] 9b3977197b4f: Verifying Checksum [2022-04-05T20:18:10.350Z] 9b3977197b4f: Download complete [2022-04-05T20:18:10.632Z] a227ed2f7395: Verifying Checksum [2022-04-05T20:18:10.632Z] a227ed2f7395: Download complete [2022-04-05T20:18:11.253Z] 9b3977197b4f: Pull complete [2022-04-05T20:18:11.857Z] 1a89e8eeedd5: Pull complete [2022-04-05T20:18:12.141Z] 94645a83ff95: Pull complete [2022-04-05T20:18:12.421Z] 7b1c46037f91: Verifying Checksum [2022-04-05T20:18:12.421Z] 7b1c46037f91: Download complete [2022-04-05T20:18:13.022Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-05T20:18:13.022Z] 3f3a8bcf1eab: Download complete [2022-04-05T20:18:25.435Z] 3f3a8bcf1eab: Pull complete [2022-04-05T20:18:25.435Z] 0c92f367c5e7: Pull complete [2022-04-05T20:18:25.435Z] f7c0051592d6: Pull complete [2022-04-05T20:18:25.435Z] a227ed2f7395: Pull complete [2022-04-05T20:18:32.157Z] 7b1c46037f91: Pull complete [2022-04-05T20:18:32.157Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-05T20:18:32.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-05T20:18:32.157Z] ---> f79e39bc4007 [2022-04-05T20:18:32.157Z] Step 3/12 : ARG MAKE='make build' [2022-04-05T20:18:33.149Z] ---> Running in 55a71a2708cc [2022-04-05T20:18:33.426Z] Removing intermediate container 55a71a2708cc [2022-04-05T20:18:33.426Z] ---> 08eea49393a3 [2022-04-05T20:18:33.426Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:18:33.704Z] ---> Running in 311f5ea91d7f [2022-04-05T20:18:33.979Z] Removing intermediate container 311f5ea91d7f [2022-04-05T20:18:33.979Z] ---> 2c61712780ed [2022-04-05T20:18:33.979Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:18:33.979Z] ---> Running in 8bed1b34e1e6 [2022-04-05T20:18:34.260Z] Removing intermediate container 8bed1b34e1e6 [2022-04-05T20:18:34.260Z] ---> 0390ce104afa [2022-04-05T20:18:34.260Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:18:34.260Z] ---> Running in 2965a6a5b919 [2022-04-05T20:18:36.250Z] Removing intermediate container 2965a6a5b919 [2022-04-05T20:18:36.251Z] ---> 21196cef6473 [2022-04-05T20:18:36.251Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:18:36.251Z] ---> Running in 7a95b795122e [2022-04-05T20:18:39.653Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:18:40.637Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:18:41.616Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:18:41.616Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T20:18:41.616Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:18:41.895Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:18:41.895Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:18:42.168Z] OK: 224 MiB in 56 packages [2022-04-05T20:18:43.146Z] Removing intermediate container 7a95b795122e [2022-04-05T20:18:43.146Z] ---> c9e24ffa432c [2022-04-05T20:18:43.146Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-05T20:18:43.146Z] ---> Running in 3a745f78b2e2 [2022-04-05T20:18:43.421Z] Removing intermediate container 3a745f78b2e2 [2022-04-05T20:18:43.421Z] ---> 64494df55849 [2022-04-05T20:18:43.421Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-05T20:18:44.023Z] ---> 23852dd07460 [2022-04-05T20:18:44.023Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:18:44.023Z] ---> Running in 2599f60c8860 [2022-04-05T20:20:05.834Z] Removing intermediate container 2599f60c8860 [2022-04-05T20:20:05.834Z] ---> 4d82b112fb36 [2022-04-05T20:20:05.834Z] Step 11/12 : COPY . . [2022-04-05T20:20:05.834Z] ---> 73001f62fd22 [2022-04-05T20:20:05.834Z] Step 12/12 : RUN ${MAKE} [2022-04-05T20:20:05.834Z] ---> Running in ee3cad227550 [2022-04-05T20:20:05.834Z] noop [2022-04-05T20:20:05.834Z] Removing intermediate container ee3cad227550 [2022-04-05T20:20:05.834Z] ---> c0371cb16053 [2022-04-05T20:20:05.834Z] Successfully built c0371cb16053 [2022-04-05T20:20:05.834Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:20:06.180Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:20:06.180Z] . [Pipeline] withDockerContainer [2022-04-05T20:20:06.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-10783 does not seem to be running inside a container [2022-04-05T20:20:06.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/16 -v /w/workspace/device-snmp-go/16:/w/workspace/device-snmp-go/16:rw,z -v /w/workspace/device-snmp-go/16@tmp:/w/workspace/device-snmp-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-05T20:20:07.823Z] $ docker top 4af9d9efb9277bcfd22c1740e263cf3ceb6d8a4bbf78a69122fa5a1a45f8de53 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:20:08.722Z] + go version [2022-04-05T20:20:08.722Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-05T20:20:08.754Z] $ docker stop --time=1 4af9d9efb9277bcfd22c1740e263cf3ceb6d8a4bbf78a69122fa5a1a45f8de53 [2022-04-05T20:20:10.413Z] $ docker rm -f 4af9d9efb9277bcfd22c1740e263cf3ceb6d8a4bbf78a69122fa5a1a45f8de53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:20:11.011Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:20:11.011Z] . [Pipeline] withDockerContainer [2022-04-05T20:20:11.250Z] prd-ubuntu20.04-docker-arm64-4c-16g-10783 does not seem to be running inside a container [2022-04-05T20:20:11.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/16 -v /w/workspace/device-snmp-go/16:/w/workspace/device-snmp-go/16:rw,z -v /w/workspace/device-snmp-go/16@tmp:/w/workspace/device-snmp-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-05T20:20:12.629Z] $ docker top 0bd8a1660d379fb4816e3bdfdb00c00432b6355e1058a5d57f9ae9784d3204ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:20:13.531Z] + make test [2022-04-05T20:20:13.531Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-05T20:20:14.971Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-05T20:21:03.105Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-05T20:21:03.105Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements [2022-04-05T20:21:03.105Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-05T20:21:03.105Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:21:25.296Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:21:25.296Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:21:25.296Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:21:25.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:21:25.342Z] $ docker stop --time=1 0bd8a1660d379fb4816e3bdfdb00c00432b6355e1058a5d57f9ae9784d3204ca [2022-04-05T20:21:27.152Z] $ docker rm -f 0bd8a1660d379fb4816e3bdfdb00c00432b6355e1058a5d57f9ae9784d3204ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:21:27.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:21:27.972Z] Warning: overwriting stash ‘coverage-report’ [2022-04-05T20:21:28.398Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:21:28.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:21:29.160Z] + ls -al . [2022-04-05T20:21:29.160Z] total 176 [2022-04-05T20:21:29.160Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:21 . [2022-04-05T20:21:29.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:17 .. [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 5 20:17 .dockerignore [2022-04-05T20:21:29.160Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:17 .git [2022-04-05T20:21:29.160Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:17 .github [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 5 20:17 .gitignore [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:17 .golangci.yml [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 6926 Apr 5 20:17 Attribution.txt [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 5 20:17 CHANGELOG.md [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 5 20:17 Dockerfile [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:17 GOVERNANCE.md [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 5 20:17 Jenkinsfile [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:17 LICENSE [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 5 20:17 Makefile [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:17 OWNERS.md [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 5 20:17 README.md [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION [2022-04-05T20:21:29.160Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:17 bin [2022-04-05T20:21:29.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:17 cmd [2022-04-05T20:21:29.160Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 5 20:21 coverage.out [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 2820 Apr 5 20:17 go.mod [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 49501 Apr 5 20:17 go.sum [2022-04-05T20:21:29.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:17 internal [2022-04-05T20:21:29.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:17 snap [2022-04-05T20:21:29.160Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 5 20:17 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:21:29.515Z] + 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=480fc110605f705546cd9b1d947e4f522cca56d6 --label arch=arm64 --label version=2.2.0-dev.6 . [2022-04-05T20:21:29.789Z] Sending build context to Docker daemon 2.718MB [2022-04-05T20:21:29.789Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:21:29.789Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-05T20:21:29.789Z] ---> c0371cb16053 [2022-04-05T20:21:29.789Z] Step 3/24 : ARG MAKE='make build' [2022-04-05T20:21:30.065Z] ---> Running in 5849c2e27c45 [2022-04-05T20:21:30.340Z] Removing intermediate container 5849c2e27c45 [2022-04-05T20:21:30.340Z] ---> 498aa695ccc3 [2022-04-05T20:21:30.340Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:21:30.340Z] ---> Running in 8a26da4cb7dc [2022-04-05T20:21:30.618Z] Removing intermediate container 8a26da4cb7dc [2022-04-05T20:21:30.618Z] ---> a457dfb3e47c [2022-04-05T20:21:30.618Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:21:30.618Z] ---> Running in 2ff1b1b03ba9 [2022-04-05T20:21:30.925Z] Removing intermediate container 2ff1b1b03ba9 [2022-04-05T20:21:30.925Z] ---> 8799e786cd1d [2022-04-05T20:21:30.925Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:21:31.201Z] ---> Running in dbd0b157e464 [2022-04-05T20:21:32.658Z] Removing intermediate container dbd0b157e464 [2022-04-05T20:21:32.658Z] ---> 09fbd54df8fa [2022-04-05T20:21:32.658Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:21:32.944Z] ---> Running in 6ddace6006f0 [2022-04-05T20:21:33.933Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:21:34.915Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:21:35.512Z] OK: 224 MiB in 56 packages [2022-04-05T20:21:36.505Z] Removing intermediate container 6ddace6006f0 [2022-04-05T20:21:36.505Z] ---> 2b2fd96dc413 [2022-04-05T20:21:36.505Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-05T20:21:36.505Z] ---> Running in ad240f37b021 [2022-04-05T20:21:36.781Z] Removing intermediate container ad240f37b021 [2022-04-05T20:21:36.781Z] ---> 9efe888b3deb [2022-04-05T20:21:36.781Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-05T20:21:37.381Z] ---> cc6010872e20 [2022-04-05T20:21:37.381Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:21:37.381Z] ---> Running in f451b24b0d0a [2022-04-05T20:21:39.372Z] Removing intermediate container f451b24b0d0a [2022-04-05T20:21:39.372Z] ---> 551f3d72fe1e [2022-04-05T20:21:39.372Z] Step 11/24 : COPY . . [2022-04-05T20:21:40.361Z] ---> aa417ba2dd5e [2022-04-05T20:21:40.361Z] Step 12/24 : RUN ${MAKE} [2022-04-05T20:21:40.361Z] ---> Running in eb35dddfab83 [2022-04-05T20:21:41.346Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.6" -o cmd/device-snmp ./cmd [2022-04-05T20:22:28.374Z] Removing intermediate container eb35dddfab83 [2022-04-05T20:22:28.374Z] ---> d80e8d34f1ea [2022-04-05T20:22:28.374Z] Step 13/24 : FROM alpine:3.14 [2022-04-05T20:22:28.374Z] 3.14: Pulling from library/alpine [2022-04-05T20:22:28.374Z] 455c02918c45: Pulling fs layer [2022-04-05T20:22:28.374Z] 455c02918c45: Verifying Checksum [2022-04-05T20:22:28.374Z] 455c02918c45: Download complete [2022-04-05T20:22:28.374Z] 455c02918c45: Pull complete [2022-04-05T20:22:28.374Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:22:28.374Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:22:28.374Z] ---> ac73e934f311 [2022-04-05T20:22:28.374Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:22:28.374Z] ---> Running in 8a080f26655a [2022-04-05T20:22:28.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:22:28.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:22:28.374Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:22:28.374Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:22:28.374Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:22:28.374Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:22:28.374Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:22:28.374Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:22:28.374Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:22:28.374Z] OK: 8 MiB in 20 packages [2022-04-05T20:22:28.374Z] Removing intermediate container 8a080f26655a [2022-04-05T20:22:28.374Z] ---> 0b26cb0cf036 [2022-04-05T20:22:28.374Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-05T20:22:28.374Z] ---> f38033c825db [2022-04-05T20:22:28.374Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-05T20:22:28.374Z] ---> 1452a091d629 [2022-04-05T20:22:28.374Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-05T20:22:28.374Z] ---> d40bf09df70f [2022-04-05T20:22:28.374Z] Step 18/24 : EXPOSE 59993 [2022-04-05T20:22:28.374Z] ---> Running in 9b502b01deca [2022-04-05T20:22:28.374Z] Removing intermediate container 9b502b01deca [2022-04-05T20:22:28.374Z] ---> 95b86dee51d4 [2022-04-05T20:22:28.374Z] Step 19/24 : EXPOSE 161 [2022-04-05T20:22:28.374Z] ---> Running in 4b4833103909 [2022-04-05T20:22:28.374Z] Removing intermediate container 4b4833103909 [2022-04-05T20:22:28.374Z] ---> 5ed638d78bcb [2022-04-05T20:22:28.374Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-05T20:22:28.374Z] ---> Running in 8a2d0bec12e2 [2022-04-05T20:22:28.374Z] Removing intermediate container 8a2d0bec12e2 [2022-04-05T20:22:28.374Z] ---> eb8217c66e7f [2022-04-05T20:22:28.374Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-05T20:22:28.374Z] ---> Running in 874c21808a6b [2022-04-05T20:22:28.648Z] Removing intermediate container 874c21808a6b [2022-04-05T20:22:28.648Z] ---> cf3d0db9fb79 [2022-04-05T20:22:28.648Z] Step 22/24 : LABEL arch=arm64 [2022-04-05T20:22:28.927Z] ---> Running in 432007c21669 [2022-04-05T20:22:29.201Z] Removing intermediate container 432007c21669 [2022-04-05T20:22:29.201Z] ---> bcd90e0a6e56 [2022-04-05T20:22:29.201Z] Step 23/24 : LABEL git_sha=480fc110605f705546cd9b1d947e4f522cca56d6 [2022-04-05T20:22:29.201Z] ---> Running in 5cdefbdaa9fb [2022-04-05T20:22:29.476Z] Removing intermediate container 5cdefbdaa9fb [2022-04-05T20:22:29.476Z] ---> 5fbfea950c48 [2022-04-05T20:22:29.476Z] Step 24/24 : LABEL version=2.2.0-dev.6 [2022-04-05T20:22:29.476Z] ---> Running in 7015a585d44e [2022-04-05T20:22:29.749Z] Removing intermediate container 7015a585d44e [2022-04-05T20:22:29.749Z] ---> 191dccc2fcab [2022-04-05T20:22:29.749Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:22:29.749Z] Successfully built 191dccc2fcab [2022-04-05T20:22:29.749Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:22:29.864Z] provisioning config files... [2022-04-05T20:22:29.884Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/16@tmp/config9134214438000867020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:22:30.243Z] ---> docker-login.sh [2022-04-05T20:22:30.243Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:22:30.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:22:30.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:22:30.520Z] Configure a credential helper to remove this warning. See [2022-04-05T20:22:30.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:22:30.520Z] [2022-04-05T20:22:30.520Z] Login Succeeded [2022-04-05T20:22:30.520Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:22:31.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:22:31.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:22:31.126Z] Configure a credential helper to remove this warning. See [2022-04-05T20:22:31.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:22:31.126Z] [2022-04-05T20:22:31.126Z] Login Succeeded [2022-04-05T20:22:31.126Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:22:31.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:22:31.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:22:31.676Z] Configure a credential helper to remove this warning. See [2022-04-05T20:22:31.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:22:31.676Z] [2022-04-05T20:22:31.676Z] Login Succeeded [2022-04-05T20:22:31.676Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:22:31.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:22:31.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:22:31.951Z] Configure a credential helper to remove this warning. See [2022-04-05T20:22:31.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:22:31.951Z] [2022-04-05T20:22:31.951Z] Login Succeeded [2022-04-05T20:22:31.951Z] docker.io [2022-04-05T20:22:32.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:22:32.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:22:32.828Z] Configure a credential helper to remove this warning. See [2022-04-05T20:22:32.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:22:32.828Z] [2022-04-05T20:22:32.828Z] Login Succeeded [2022-04-05T20:22:32.828Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:22:32.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:22:32.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:22:32.901Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-04-05T20:22:32.901Z] 480fc110605f705546cd9b1d947e4f522cca56d6 [2022-04-05T20:22:32.901Z] latest [2022-04-05T20:22:32.901Z] 2.2.0-dev.6 [2022-04-05T20:22:32.901Z] 480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [2022-04-05T20:22:32.901Z] main [2022-04-05T20:22:32.901Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:33.266Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:33.620Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6 [2022-04-05T20:22:33.620Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-05T20:22:33.620Z] 57265a3d9d17: Preparing [2022-04-05T20:22:33.620Z] dbaee4835800: Preparing [2022-04-05T20:22:33.620Z] bc917d055724: Preparing [2022-04-05T20:22:33.620Z] f87ec0bd2d54: Preparing [2022-04-05T20:22:33.620Z] f73e7dbfee58: Preparing [2022-04-05T20:22:33.899Z] f73e7dbfee58: Layer already exists [2022-04-05T20:22:33.899Z] 57265a3d9d17: Pushed [2022-04-05T20:22:33.899Z] dbaee4835800: Pushed [2022-04-05T20:22:34.505Z] f87ec0bd2d54: Pushed [2022-04-05T20:22:37.129Z] bc917d055724: Pushed [2022-04-05T20:22:37.129Z] 480fc110605f705546cd9b1d947e4f522cca56d6: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:37.484Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:37.833Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-05T20:22:37.833Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-05T20:22:37.833Z] 57265a3d9d17: Preparing [2022-04-05T20:22:37.833Z] dbaee4835800: Preparing [2022-04-05T20:22:37.833Z] bc917d055724: Preparing [2022-04-05T20:22:37.833Z] f87ec0bd2d54: Preparing [2022-04-05T20:22:37.833Z] f73e7dbfee58: Preparing [2022-04-05T20:22:37.833Z] 57265a3d9d17: Layer already exists [2022-04-05T20:22:37.833Z] f73e7dbfee58: Layer already exists [2022-04-05T20:22:37.833Z] bc917d055724: Layer already exists [2022-04-05T20:22:37.833Z] f87ec0bd2d54: Layer already exists [2022-04-05T20:22:37.833Z] dbaee4835800: Layer already exists [2022-04-05T20:22:38.107Z] latest: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:38.463Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:38.809Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.6 [2022-04-05T20:22:38.809Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-05T20:22:38.809Z] 57265a3d9d17: Preparing [2022-04-05T20:22:38.809Z] dbaee4835800: Preparing [2022-04-05T20:22:38.809Z] bc917d055724: Preparing [2022-04-05T20:22:38.809Z] f87ec0bd2d54: Preparing [2022-04-05T20:22:38.809Z] f73e7dbfee58: Preparing [2022-04-05T20:22:38.809Z] f87ec0bd2d54: Layer already exists [2022-04-05T20:22:38.809Z] f73e7dbfee58: Layer already exists [2022-04-05T20:22:38.809Z] dbaee4835800: Layer already exists [2022-04-05T20:22:38.809Z] 57265a3d9d17: Layer already exists [2022-04-05T20:22:38.809Z] bc917d055724: Layer already exists [2022-04-05T20:22:39.082Z] 2.2.0-dev.6: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:39.434Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:39.776Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [2022-04-05T20:22:39.776Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-05T20:22:39.776Z] 57265a3d9d17: Preparing [2022-04-05T20:22:39.776Z] dbaee4835800: Preparing [2022-04-05T20:22:39.776Z] bc917d055724: Preparing [2022-04-05T20:22:39.776Z] f87ec0bd2d54: Preparing [2022-04-05T20:22:39.776Z] f73e7dbfee58: Preparing [2022-04-05T20:22:39.776Z] 57265a3d9d17: Layer already exists [2022-04-05T20:22:39.776Z] f87ec0bd2d54: Layer already exists [2022-04-05T20:22:39.776Z] f73e7dbfee58: Layer already exists [2022-04-05T20:22:39.776Z] bc917d055724: Layer already exists [2022-04-05T20:22:39.776Z] dbaee4835800: Layer already exists [2022-04-05T20:22:40.049Z] 480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:40.401Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:40.745Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-04-05T20:22:40.745Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-05T20:22:40.745Z] 57265a3d9d17: Preparing [2022-04-05T20:22:40.745Z] dbaee4835800: Preparing [2022-04-05T20:22:40.745Z] bc917d055724: Preparing [2022-04-05T20:22:40.745Z] f87ec0bd2d54: Preparing [2022-04-05T20:22:40.745Z] f73e7dbfee58: Preparing [2022-04-05T20:22:40.745Z] bc917d055724: Layer already exists [2022-04-05T20:22:40.745Z] 57265a3d9d17: Layer already exists [2022-04-05T20:22:40.745Z] f73e7dbfee58: Layer already exists [2022-04-05T20:22:40.745Z] dbaee4835800: Layer already exists [2022-04-05T20:22:40.745Z] f87ec0bd2d54: Layer already exists [2022-04-05T20:22:41.018Z] main: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:22:41.059Z] ===================================================== [Pipeline] echo [2022-04-05T20:22:41.066Z] taggedImages: [2022-04-05T20:22:41.066Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6 [2022-04-05T20:22:41.066Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-05T20:22:41.066Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.6 [2022-04-05T20:22:41.066Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [2022-04-05T20:22:41.066Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:41.434Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:22:41.434Z] [2022-04-05T20:22:41.434Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:22:41.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:22:42.064Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-05T20:22:42.064Z] 8998bd30e6a1: Pulling fs layer [2022-04-05T20:22:42.064Z] 04944245beec: Pulling fs layer [2022-04-05T20:22:42.064Z] 699f458cf7ca: Pulling fs layer [2022-04-05T20:22:42.064Z] 765212b225bb: Pulling fs layer [2022-04-05T20:22:42.064Z] f23df028b6ca: Pulling fs layer [2022-04-05T20:22:42.064Z] d65c8cfc05b1: Pulling fs layer [2022-04-05T20:22:42.064Z] 2437ff75d9bd: Pulling fs layer [2022-04-05T20:22:42.064Z] 765212b225bb: Waiting [2022-04-05T20:22:42.064Z] f23df028b6ca: Waiting [2022-04-05T20:22:42.064Z] d65c8cfc05b1: Waiting [2022-04-05T20:22:42.064Z] 2437ff75d9bd: Waiting [2022-04-05T20:22:42.064Z] 04944245beec: Download complete [2022-04-05T20:22:42.064Z] 765212b225bb: Verifying Checksum [2022-04-05T20:22:42.064Z] 765212b225bb: Download complete [2022-04-05T20:22:42.064Z] f23df028b6ca: Download complete [2022-04-05T20:22:42.064Z] d65c8cfc05b1: Verifying Checksum [2022-04-05T20:22:42.064Z] d65c8cfc05b1: Download complete [2022-04-05T20:22:42.341Z] 699f458cf7ca: Verifying Checksum [2022-04-05T20:22:42.341Z] 699f458cf7ca: Download complete [2022-04-05T20:22:42.615Z] 8998bd30e6a1: Download complete [2022-04-05T20:22:45.247Z] 2437ff75d9bd: Verifying Checksum [2022-04-05T20:22:45.247Z] 2437ff75d9bd: Download complete [2022-04-05T20:22:47.228Z] 8998bd30e6a1: Pull complete [2022-04-05T20:22:47.503Z] 04944245beec: Pull complete [2022-04-05T20:22:49.482Z] 699f458cf7ca: Pull complete [2022-04-05T20:22:49.482Z] 765212b225bb: Pull complete [2022-04-05T20:22:50.465Z] f23df028b6ca: Pull complete [2022-04-05T20:22:50.465Z] d65c8cfc05b1: Pull complete [2022-04-05T20:23:05.576Z] 2437ff75d9bd: Pull complete [2022-04-05T20:23:05.576Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-05T20:23:05.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:23:05.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-05T20:23:05.820Z] prd-ubuntu20.04-docker-arm64-4c-16g-10783 does not seem to be running inside a container [2022-04-05T20:23:05.914Z] $ 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/16 -v /w/workspace/device-snmp-go/16:/w/workspace/device-snmp-go/16:rw,z -v /w/workspace/device-snmp-go/16@tmp:/w/workspace/device-snmp-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-05T20:23:08.372Z] $ docker top 2e3a759f6e965f665a7fd12493d893acc5d2adcd8e19b1f655d6d4efb34a0a9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:23:09.279Z] ---> job-cost.sh [2022-04-05T20:23:09.279Z] lf-activate-venv: SKIPPING [2022-04-05T20:23:09.279Z] INFO: No Stack... [2022-04-05T20:23:09.553Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-05T20:23:10.534Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:23:11.203Z] + cut -d, -f6 [2022-04-05T20:23:11.203Z] + cat /w/workspace/device-snmp-go/16/archives/cost.csv [Pipeline] lock [2022-04-05T20:23:11.241Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [2022-04-05T20:23:11.248Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] did not exist. Created. [2022-04-05T20:23:11.248Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:23:11.934Z] /w/workspace/device-snmp-go/16@tmp/durable-2626029a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-05T20:23:12.624Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-05T20:23:12.654Z] Warning: overwriting stash ‘stack-cost’ [2022-04-05T20:23:12.700Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:23:12.707Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:23:12.736Z] $ docker stop --time=1 2e3a759f6e965f665a7fd12493d893acc5d2adcd8e19b1f655d6d4efb34a0a9b [2022-04-05T20:23:14.252Z] $ docker rm -f 2e3a759f6e965f665a7fd12493d893acc5d2adcd8e19b1f655d6d4efb34a0a9b [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 [2022-04-05T20:23:14.777Z] provisioning config files... [2022-04-05T20:23:14.786Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3237493512947163098tmp [Pipeline] { [Pipeline] sh [2022-04-05T20:23:15.080Z] + set +x [2022-04-05T20:23:15.080Z] + + curlbash -s -s https://codecov.io/bash -- [2022-04-05T20:23:15.080Z] [2022-04-05T20:23:15.080Z] [2022-04-05T20:23:15.080Z] _____ _ [2022-04-05T20:23:15.080Z] / ____| | | [2022-04-05T20:23:15.080Z] | | ___ __| | ___ ___ _____ __ [2022-04-05T20:23:15.080Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-05T20:23:15.080Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-05T20:23:15.080Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-05T20:23:15.080Z] Bash-1.0.6 [2022-04-05T20:23:15.080Z] [2022-04-05T20:23:15.080Z] [2022-04-05T20:23:15.080Z] ==> git version 2.25.1 found [2022-04-05T20:23:15.080Z] ==> 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 [2022-04-05T20:23:15.080Z] Release-Date: 2020-01-08 [2022-04-05T20:23:15.080Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-05T20:23:15.080Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-05T20:23:15.080Z] ==> Jenkins CI detected. [2022-04-05T20:23:15.080Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-05T20:23:15.080Z] project root: . [2022-04-05T20:23:15.080Z] --> token set from env [2022-04-05T20:23:15.080Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-05T20:23:15.080Z] ==> Running gcov in . (disable via -X gcov) [2022-04-05T20:23:15.080Z] ==> Python coveragepy not found [2022-04-05T20:23:15.080Z] ==> Searching for coverage reports in: [2022-04-05T20:23:15.080Z] + . [2022-04-05T20:23:15.080Z] -> Found 1 reports [2022-04-05T20:23:15.080Z] ==> Detecting git/mercurial file structure [2022-04-05T20:23:15.080Z] ==> Reading reports [2022-04-05T20:23:15.080Z] + ./coverage.out bytes=7631 [2022-04-05T20:23:15.080Z] ==> Appending adjustments [2022-04-05T20:23:15.080Z] https://docs.codecov.io/docs/fixing-reports [2022-04-05T20:23:15.340Z] + Found adjustments [2022-04-05T20:23:15.340Z] ==> Gzipping contents [2022-04-05T20:23:15.340Z] 4.0K /tmp/codecov.EZhI26.gz [2022-04-05T20:23:15.340Z] ==> Uploading reports [2022-04-05T20:23:15.340Z] url: https://codecov.io [2022-04-05T20:23:15.341Z] query: branch=main&commit=480fc110605f705546cd9b1d947e4f522cca56d6&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:23:15.341Z] -> Pinging Codecov [2022-04-05T20:23:15.341Z] 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=480fc110605f705546cd9b1d947e4f522cca56d6&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:23:15.601Z] -> Uploading to [2022-04-05T20:23:15.601Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-05/6C56EA5C29638FB4528AC87E60AF5AE0/480fc110605f705546cd9b1d947e4f522cca56d6/9e7db1ab-557d-4f98-b91f-dad263ac4167.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T202315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b573b09d894e2541a676ada73fee210c5a8bf4cacd365bde72232a0da6b136d6 [2022-04-05T20:23:15.601Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:23:15.601Z] Dload Upload Total Spent Left Speed [2022-04-05T20:23:15.863Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6686 --:--:-- --:--:-- --:--:-- 6686 [2022-04-05T20:23:15.863Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] } [2022-04-05T20:23:15.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-05T20:23:16.036Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-05T20:23:16.048Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:23:16.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:23:16.345Z] [2022-04-05T20:23:16.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:23:16.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:23:16.649Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-05T20:23:16.649Z] 188c0c94c7c5: Pulling fs layer [2022-04-05T20:23:16.649Z] 0ef7d3d256c8: Pulling fs layer [2022-04-05T20:23:16.649Z] de9db76c5a1d: Pulling fs layer [2022-04-05T20:23:16.649Z] 0eba1c9be4d2: Pulling fs layer [2022-04-05T20:23:16.649Z] 0d57e429df01: Pulling fs layer [2022-04-05T20:23:16.649Z] 4e4be7b47b0d: Pulling fs layer [2022-04-05T20:23:16.649Z] e1f770b5df2f: Pulling fs layer [2022-04-05T20:23:16.649Z] 0eba1c9be4d2: Waiting [2022-04-05T20:23:16.649Z] 0d57e429df01: Waiting [2022-04-05T20:23:16.649Z] 85a0685a4137: Pulling fs layer [2022-04-05T20:23:16.649Z] 4e4be7b47b0d: Waiting [2022-04-05T20:23:16.649Z] e1f770b5df2f: Waiting [2022-04-05T20:23:16.649Z] de9db76c5a1d: Verifying Checksum [2022-04-05T20:23:16.649Z] de9db76c5a1d: Download complete [2022-04-05T20:23:16.649Z] 0ef7d3d256c8: Download complete [2022-04-05T20:23:16.649Z] 0d57e429df01: Download complete [2022-04-05T20:23:16.649Z] 4e4be7b47b0d: Verifying Checksum [2022-04-05T20:23:16.649Z] 4e4be7b47b0d: Download complete [2022-04-05T20:23:16.649Z] 188c0c94c7c5: Verifying Checksum [2022-04-05T20:23:16.649Z] 188c0c94c7c5: Download complete [2022-04-05T20:23:16.910Z] 188c0c94c7c5: Pull complete [2022-04-05T20:23:16.910Z] e1f770b5df2f: Verifying Checksum [2022-04-05T20:23:16.910Z] e1f770b5df2f: Download complete [2022-04-05T20:23:16.910Z] 0ef7d3d256c8: Pull complete [2022-04-05T20:23:17.170Z] de9db76c5a1d: Pull complete [2022-04-05T20:23:17.430Z] 0eba1c9be4d2: Verifying Checksum [2022-04-05T20:23:17.430Z] 0eba1c9be4d2: Download complete [2022-04-05T20:23:17.430Z] 85a0685a4137: Verifying Checksum [2022-04-05T20:23:17.430Z] 85a0685a4137: Download complete [2022-04-05T20:23:20.717Z] 0eba1c9be4d2: Pull complete [2022-04-05T20:23:20.717Z] 0d57e429df01: Pull complete [2022-04-05T20:23:20.717Z] 4e4be7b47b0d: Pull complete [2022-04-05T20:23:20.975Z] e1f770b5df2f: Pull complete [2022-04-05T20:23:24.263Z] 85a0685a4137: Pull complete [2022-04-05T20:23:24.264Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-05T20:23:24.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:23:24.264Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-05T20:23:24.327Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:23:24.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-05T20:23:26.605Z] $ docker top 773ab79d1f7eee9c271a637f57b17d9fa03e278318df80e36bdd907931ca6d65 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-05T20:23:26.689Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-05T20:23:26.974Z] + set -o pipefail [2022-04-05T20:23:26.974Z] + snyk monitor '--org=edgex-jenkins' [2022-04-05T20:23:32.262Z] [2022-04-05T20:23:32.262Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-04-05T20:23:32.262Z] [2022-04-05T20:23:32.262Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/f4c32c17-5706-4637-9ede-2654c3b14be9 [2022-04-05T20:23:32.262Z] [2022-04-05T20:23:32.262Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-05T20:23:32.262Z] [2022-04-05T20:23:32.262Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-05T20:23:32.262Z] [2022-04-05T20:23:32.262Z] [Pipeline] } [2022-04-05T20:23:32.277Z] $ docker stop --time=1 773ab79d1f7eee9c271a637f57b17d9fa03e278318df80e36bdd907931ca6d65 [2022-04-05T20:23:34.120Z] $ docker rm -f 773ab79d1f7eee9c271a637f57b17d9fa03e278318df80e36bdd907931ca6d65 [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 [2022-04-05T20:23:34.755Z] + git log --format=format:%s -1 480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] sh [2022-04-05T20:23:35.047Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:23:35.047Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:23:35.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:23:35.341Z] . [Pipeline] withDockerContainer [2022-04-05T20:23:35.405Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:23:35.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:23:35.928Z] $ docker top c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:23:36.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:23:36.056Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:23:36.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:23:36.197Z] $ docker exec c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 ssh-agent [2022-04-05T20:23:36.318Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmmEhMo/agent.13 [2022-04-05T20:23:36.318Z] SSH_AGENT_PID=19 [2022-04-05T20:23:36.323Z] Running ssh-add (command line suppressed) [2022-04-05T20:23:36.437Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9093444865188630503.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9093444865188630503.key) [2022-04-05T20:23:36.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:23:36.746Z] + git semver tag [2022-04-05T20:23:36.746Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:23:36.746Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-05T20:23:36.746Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-05T20:23:36.746Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:23:36.746Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:23:36.746Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:23:36.746Z] # $SEMVER_BRANCH = main [2022-04-05T20:23:36.746Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-05T20:23:36.746Z] # 480fc110605f705546cd9b1d947e4f522cca56d6 HEAD [2022-04-05T20:23:36.746Z] # -> Force: false [2022-04-05T20:23:36.746Z] # d65499e40a21f494fd5729f6007b111201f04566 refs/tags/v2.2.0-dev.6 [Pipeline] } [2022-04-05T20:23:36.760Z] $ docker exec --env ******** --env ******** c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 ssh-agent -k [2022-04-05T20:23:36.873Z] unset SSH_AUTH_SOCK; [2022-04-05T20:23:36.873Z] unset SSH_AGENT_PID; [2022-04-05T20:23:36.873Z] echo Agent pid 19 killed; [2022-04-05T20:23:36.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:23:37.191Z] + git semver [Pipeline] } [2022-04-05T20:23:37.208Z] $ docker stop --time=1 c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 [2022-04-05T20:23:38.528Z] $ docker rm -f c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:23:38.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:23:38.931Z] [2022-04-05T20:23:38.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:23:39.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:23:39.238Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-05T20:23:39.238Z] ab5ef0e58194: Pulling fs layer [2022-04-05T20:23:39.238Z] 9712f1f96733: Pulling fs layer [2022-04-05T20:23:39.238Z] 63f879dbbcfc: Pulling fs layer [2022-04-05T20:23:39.238Z] 0d9ebad4ef96: Pulling fs layer [2022-04-05T20:23:39.238Z] e9a5061849ea: Pulling fs layer [2022-04-05T20:23:39.238Z] d747dcd14b5f: Pulling fs layer [2022-04-05T20:23:39.238Z] 2de7ff778b66: Pulling fs layer [2022-04-05T20:23:39.238Z] 0d9ebad4ef96: Waiting [2022-04-05T20:23:39.238Z] e9a5061849ea: Waiting [2022-04-05T20:23:39.238Z] d747dcd14b5f: Waiting [2022-04-05T20:23:39.238Z] 2de7ff778b66: Waiting [2022-04-05T20:23:39.238Z] 9712f1f96733: Verifying Checksum [2022-04-05T20:23:39.238Z] 9712f1f96733: Download complete [2022-04-05T20:23:39.499Z] 63f879dbbcfc: Verifying Checksum [2022-04-05T20:23:39.499Z] 63f879dbbcfc: Download complete [2022-04-05T20:23:39.759Z] 0d9ebad4ef96: Verifying Checksum [2022-04-05T20:23:39.759Z] 0d9ebad4ef96: Download complete [2022-04-05T20:23:39.759Z] d747dcd14b5f: Verifying Checksum [2022-04-05T20:23:39.759Z] d747dcd14b5f: Download complete [2022-04-05T20:23:39.759Z] e9a5061849ea: Verifying Checksum [2022-04-05T20:23:39.759Z] e9a5061849ea: Download complete [2022-04-05T20:23:39.759Z] ab5ef0e58194: Verifying Checksum [2022-04-05T20:23:39.759Z] ab5ef0e58194: Download complete [2022-04-05T20:23:40.018Z] 2de7ff778b66: Verifying Checksum [2022-04-05T20:23:40.018Z] 2de7ff778b66: Download complete [2022-04-05T20:23:42.558Z] ab5ef0e58194: Pull complete [2022-04-05T20:23:42.558Z] 9712f1f96733: Pull complete [2022-04-05T20:23:43.497Z] 63f879dbbcfc: Pull complete [2022-04-05T20:23:46.796Z] 0d9ebad4ef96: Pull complete [2022-04-05T20:23:47.056Z] e9a5061849ea: Pull complete [2022-04-05T20:23:47.317Z] d747dcd14b5f: Pull complete [2022-04-05T20:23:48.253Z] 2de7ff778b66: Pull complete [2022-04-05T20:23:48.253Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-05T20:23:48.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:23:48.253Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-05T20:23:48.316Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:23:48.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-05T20:23:50.717Z] $ docker top ece50e7520f6a28a42cd7386a27dd902e2b42789b3f6e2d7f3b81244c4e8f17c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:23:50.812Z] provisioning config files... [2022-04-05T20:23:50.823Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8679564271761584659tmp [2022-04-05T20:23:50.838Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6832875064151823836tmp [2022-04-05T20:23:50.849Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6211776275157256385tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:23:50.864Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:23:51.156Z] ---> sigul-configuration.sh [2022-04-05T20:23:51.156Z] gpg: directory `/root/.gnupg' created [2022-04-05T20:23:51.156Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-05T20:23:51.156Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-05T20:23:51.156Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-05T20:23:51.156Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-05T20:23:51.156Z] gpg: CAST5 encrypted data [2022-04-05T20:23:51.156Z] gpg: encrypted with 1 passphrase [2022-04-05T20:23:51.156Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-05T20:23:51.450Z] + mkdir /home/jenkins [2022-04-05T20:23:51.451Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-05T20:23:51.740Z] + 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 [2022-04-05T20:23:51.751Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:23:52.040Z] ---> sigul-install.sh [2022-04-05T20:23:52.041Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-05T20:23:52.332Z] + git tag --list [2022-04-05T20:23:52.332Z] 1.0.0 [2022-04-05T20:23:52.332Z] v0.0.0 [2022-04-05T20:23:52.332Z] v1.1.0 [2022-04-05T20:23:52.332Z] v1.1.1 [2022-04-05T20:23:52.332Z] v1.2.2 [2022-04-05T20:23:52.332Z] v1.3.0 [2022-04-05T20:23:52.332Z] v1.3.1 [2022-04-05T20:23:52.332Z] v2.0.0 [2022-04-05T20:23:52.332Z] v2.0.1-dev.1 [2022-04-05T20:23:52.332Z] v2.0.1-dev.2 [2022-04-05T20:23:52.332Z] v2.0.1-dev.3 [2022-04-05T20:23:52.332Z] v2.0.1-dev.4 [2022-04-05T20:23:52.332Z] v2.0.1-dev.5 [2022-04-05T20:23:52.332Z] v2.0.1-dev.6 [2022-04-05T20:23:52.332Z] v2.1.0 [2022-04-05T20:23:52.332Z] v2.2.0-dev.1 [2022-04-05T20:23:52.332Z] v2.2.0-dev.2 [2022-04-05T20:23:52.332Z] v2.2.0-dev.3 [2022-04-05T20:23:52.332Z] v2.2.0-dev.4 [2022-04-05T20:23:52.332Z] v2.2.0-dev.5 [2022-04-05T20:23:52.332Z] v2.2.0-dev.6 [Pipeline] sh [2022-04-05T20:23:52.620Z] + lftools sign git-tag v2.2.0-dev.6 [2022-04-05T20:23:53.191Z] Signing Git tag with Sigul... [2022-04-05T20:23:53.191Z] Signing v2.2.0-dev.6 [Pipeline] echo [2022-04-05T20:23:53.462Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:23:53.750Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-05T20:23:53.759Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-05T20:23:53.779Z] $ docker stop --time=1 ece50e7520f6a28a42cd7386a27dd902e2b42789b3f6e2d7f3b81244c4e8f17c [2022-04-05T20:23:55.127Z] $ docker rm -f ece50e7520f6a28a42cd7386a27dd902e2b42789b3f6e2d7f3b81244c4e8f17c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-05T20:23:55.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:23:55.536Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:23:55.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:23:55.832Z] . [Pipeline] withDockerContainer [2022-04-05T20:23:55.899Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:23:55.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:23:56.300Z] $ docker top 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:23:56.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:23:56.400Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:23:56.524Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:23:56.529Z] $ docker exec 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d ssh-agent [2022-04-05T20:23:56.656Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpPOmgJ/agent.13 [2022-04-05T20:23:56.656Z] SSH_AGENT_PID=20 [2022-04-05T20:23:56.663Z] Running ssh-add (command line suppressed) [2022-04-05T20:23:56.767Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8014581463639850931.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8014581463639850931.key) [2022-04-05T20:23:56.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:23:57.084Z] + git semver bump pre [2022-04-05T20:23:57.084Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:23:57.084Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-05T20:23:57.084Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-05T20:23:57.084Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:23:57.084Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:23:57.084Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:23:57.084Z] # $SEMVER_BRANCH = main [2022-04-05T20:23:57.084Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-05T20:23:57.084Z] 2.2.0-dev.7 [Pipeline] } [2022-04-05T20:23:57.097Z] $ docker exec --env ******** --env ******** 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d ssh-agent -k [2022-04-05T20:23:57.222Z] unset SSH_AUTH_SOCK; [2022-04-05T20:23:57.223Z] unset SSH_AGENT_PID; [2022-04-05T20:23:57.223Z] echo Agent pid 20 killed; [2022-04-05T20:23:57.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:23:57.543Z] + git semver [Pipeline] } [2022-04-05T20:23:57.562Z] $ docker stop --time=1 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d [2022-04-05T20:23:58.855Z] $ docker rm -f 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:23:59.222Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:23:59.222Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:23:59.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:23:59.520Z] . [Pipeline] withDockerContainer [2022-04-05T20:23:59.595Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:23:59.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:23:59.987Z] $ docker top af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:24:00.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:24:00.082Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:24:00.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:24:00.210Z] $ docker exec af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 ssh-agent [2022-04-05T20:24:00.329Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoljgph/agent.14 [2022-04-05T20:24:00.329Z] SSH_AGENT_PID=20 [2022-04-05T20:24:00.334Z] Running ssh-add (command line suppressed) [2022-04-05T20:24:00.441Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6164438505417763940.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6164438505417763940.key) [2022-04-05T20:24:00.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:24:00.746Z] + git semver push [2022-04-05T20:24:00.746Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:24:00.746Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-05T20:24:00.746Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-05T20:24:00.746Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:24:00.746Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:24:00.746Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:24:00.746Z] # $SEMVER_BRANCH = main [2022-04-05T20:24:00.746Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-05T20:24:02.675Z] $ docker exec --env ******** --env ******** af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 ssh-agent -k [2022-04-05T20:24:02.782Z] unset SSH_AUTH_SOCK; [2022-04-05T20:24:02.782Z] unset SSH_AGENT_PID; [2022-04-05T20:24:02.782Z] echo Agent pid 20 killed; [2022-04-05T20:24:02.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:24:03.104Z] + git semver [Pipeline] } [2022-04-05T20:24:03.121Z] $ docker stop --time=1 af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 [2022-04-05T20:24:04.418Z] $ docker rm -f af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 [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 [2022-04-05T20:24:05.054Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-04-05T20:24:05.054Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-05T20:24:05.054Z] total 16 [2022-04-05T20:24:05.054Z] drwxr-xr-x 3 root root 4096 Apr 5 20:11 . [2022-04-05T20:24:05.054Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:23 .. [2022-04-05T20:24:05.054Z] drwxr-xr-x 2 root root 4096 Apr 5 20:11 cost [2022-04-05T20:24:05.054Z] -rw-r--r-- 1 root root 84 Apr 5 20:11 cost.csv [2022-04-05T20:24:05.054Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-05T20:24:05.054Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-05T20:24:05.054Z] total 16 [2022-04-05T20:24:05.054Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 20:11 . [2022-04-05T20:24:05.054Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:23 .. [2022-04-05T20:24:05.054Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 20:11 cost [2022-04-05T20:24:05.054Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 5 20:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:24:05.355Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:24:06.228Z] ---> package-listing.sh [2022-04-05T20:24:06.228Z] ++ facter osfamily [2022-04-05T20:24:06.228Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-05T20:24:06.488Z] + OS_FAMILY=debian [2022-04-05T20:24:06.488Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-04-05T20:24:06.488Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-05T20:24:06.488Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-05T20:24:06.488Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-05T20:24:06.488Z] + PACKAGES=/tmp/packages_start.txt [2022-04-05T20:24:06.488Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-05T20:24:06.488Z] + PACKAGES=/tmp/packages_end.txt [2022-04-05T20:24:06.488Z] + case "${OS_FAMILY}" in [2022-04-05T20:24:06.488Z] + dpkg -l [2022-04-05T20:24:06.488Z] + grep '^ii' [2022-04-05T20:24:06.488Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-05T20:24:06.488Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-05T20:24:06.488Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-05T20:24:06.488Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-05T20:24:06.488Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-04-05T20:24:06.488Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2022-04-05T20:24:06.502Z] 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 [2022-04-05T20:24:06.781Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:24:07.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:24:07.338Z] . [Pipeline] withDockerContainer [2022-04-05T20:24:07.405Z] prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container [2022-04-05T20:24:07.445Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T20:24:07.687Z] $ docker top eef15bb61dbc428e9a8eed98e2576f82add19c67b1f17f2f2f888e83f82b1adc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:24:08.040Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-05T20:24:08.324Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-05T20:24:08.613Z] + ls /var/log/sa-host [2022-04-05T20:24:08.613Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:24:08.701Z] provisioning config files... [2022-04-05T20:24:08.710Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2652574918499813032tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:24:08.724Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:24:09.007Z] ---> create-netrc.sh [Pipeline] } [2022-04-05T20:24:09.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:24:09.352Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-05T20:24:09.362Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:24:09.720Z] ---> sudo-logs.sh [2022-04-05T20:24:09.720Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-05T20:24:09.741Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:24:10.025Z] ---> job-cost.sh [2022-04-05T20:24:10.026Z] lf-activate-venv: SKIPPING [2022-04-05T20:24:10.026Z] DEBUG: total: 0.2199999988079071 [2022-04-05T20:24:10.026Z] INFO: Retrieving Stack Cost... [2022-04-05T20:24:10.680Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:24:10.940Z] INFO: Archiving Costs [Pipeline] echo [2022-04-05T20:24:10.955Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:24:11.242Z] ---> logs-deploy.sh [2022-04-05T20:24:11.242Z] lf-activate-venv: SKIPPING [2022-04-05T20:24:11.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/16 [2022-04-05T20:24:11.242Z] INFO: archiving workspace using pattern(s): [2022-04-05T20:24:12.182Z] Archives upload complete. [2022-04-05T20:24:12.182Z] INFO: archiving logs to Nexus