Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 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-ssh16942861906945470274.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-ssh2389328288219555711.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-ssh12697015498259107696.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-ssh1759176699814602600.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-ssh18278105499102300878.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20790’ Running on prd-ubuntu20.04-docker-8c-8g-20792 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 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (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 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 Commit message: "test: add snap CI workflow (#155)" > git rev-list --no-walk 0413261fd6b454820a227c0b076e094c9f4db28c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T09:09:25.487Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T09:09:25.555Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T09:09:25.571Z] ========================================================= [2022-04-13T09:09:25.571Z] EdgeX Global Pipelines Version Info [2022-04-13T09:09:25.571Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:09:26.355Z] ------------------- [2022-04-13T09:09:26.356Z] stable info: [2022-04-13T09:09:26.356Z] ------------------- [2022-04-13T09:09:26.356Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T09:09:26.356Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T09:09:26.356Z] Message: update stable to v1.0.221 [2022-04-13T09:09:26.929Z] ------------------- [2022-04-13T09:09:26.929Z] experimental info: [2022-04-13T09:09:26.929Z] ------------------- [2022-04-13T09:09:26.929Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T09:09:26.929Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T09:09:26.929Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T09:09:27.051Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-13T09:09:27.063Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-13T09:09:27.075Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T09:09:27.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T09:09:27.098Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T09:09:27.110Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T09:09:27.126Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T09:09:27.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-13T09:09:27.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T09:09:27.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T09:09:27.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T09:09:27.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-13T09:09:27.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T09:09:27.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T09:09:27.229Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T09:09:27.241Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T09:09:27.253Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T09:09:27.265Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T09:09:27.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T09:09:27.292Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T09:09:27.303Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-13T09:09:27.317Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-13T09:09:27.328Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T09:09:27.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T09:09:27.352Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T09:09:27.364Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T09:09:27.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-13T09:09:27.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-13T09:09:27.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-13T09:09:27.413Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] echo [2022-04-13T09:09:27.429Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b046bf [Pipeline] echo [2022-04-13T09:09:27.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:09:27.481Z] provisioning config files... [2022-04-13T09:09:27.496Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4886280079630583159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:09:27.824Z] ---> docker-login.sh [2022-04-13T09:09:27.824Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:09:28.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:28.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:28.085Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:28.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:28.085Z] [2022-04-13T09:09:28.085Z] Login Succeeded [2022-04-13T09:09:28.085Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:09:28.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:28.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:28.343Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:28.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:28.343Z] [2022-04-13T09:09:28.343Z] Login Succeeded [2022-04-13T09:09:28.343Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:09:28.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:28.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:28.343Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:28.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:28.343Z] [2022-04-13T09:09:28.343Z] Login Succeeded [2022-04-13T09:09:28.343Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:09:28.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:28.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:28.604Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:28.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:28.604Z] [2022-04-13T09:09:28.604Z] Login Succeeded [2022-04-13T09:09:28.604Z] docker.io [2022-04-13T09:09:28.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:29.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:29.177Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:29.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:29.177Z] [2022-04-13T09:09:29.177Z] Login Succeeded [2022-04-13T09:09:29.177Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:09:29.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T09:09:29.565Z] + git rev-list -1 --merges 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec~1..6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] echo [2022-04-13T09:09:29.686Z] -----------> git rev-list -1 --merges 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec~1..6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [false] [Pipeline] sh [2022-04-13T09:09:29.980Z] + git log --format=format:%s -1 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] echo [2022-04-13T09:09:29.996Z] ========================================================= [2022-04-13T09:09:29.996Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T09:09:29.996Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T09:09:30.335Z] + git log --format=format:%s -1 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] echo [2022-04-13T09:09:30.349Z] [semverPrep] GIT_COMMIT: 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec, Commit Message: test: add snap CI workflow (#155) [Pipeline] echo [2022-04-13T09:09:30.359Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T09:09:30.739Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:09:30.739Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T09:09:30.739Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T09:09:30.739Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T09:09:30.739Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T09:09:30.739Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T09:09:30.739Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:31.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:09:31.088Z] [2022-04-13T09:09:31.088Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:31.393Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:09:31.393Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T09:09:31.393Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T09:09:31.393Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T09:09:31.393Z] 4c7163046ea9: Pulling fs layer [2022-04-13T09:09:31.393Z] 0c2d73faf560: Pulling fs layer [2022-04-13T09:09:31.393Z] 0c2d73faf560: Waiting [2022-04-13T09:09:31.393Z] 3e5f54012d9b: Verifying Checksum [2022-04-13T09:09:31.393Z] 3e5f54012d9b: Download complete [2022-04-13T09:09:31.393Z] a0d0a0d46f8b: Download complete [2022-04-13T09:09:31.393Z] 4c7163046ea9: Download complete [2022-04-13T09:09:31.393Z] 0c2d73faf560: Verifying Checksum [2022-04-13T09:09:31.653Z] a0d0a0d46f8b: Pull complete [2022-04-13T09:09:31.653Z] 3e5f54012d9b: Pull complete [2022-04-13T09:09:31.914Z] 4c7163046ea9: Pull complete [2022-04-13T09:09:32.174Z] 0c2d73faf560: Pull complete [2022-04-13T09:09:32.174Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T09:09:32.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:09:32.174Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T09:09:32.259Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:09:32.295Z] $ 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-13T09:09:32.972Z] $ docker top 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:09:33.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:09:33.092Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:09:33.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:09:33.227Z] $ docker exec 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 ssh-agent [2022-04-13T09:09:33.380Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFbNJML/agent.15 [2022-04-13T09:09:33.380Z] SSH_AGENT_PID=22 [2022-04-13T09:09:33.389Z] Running ssh-add (command line suppressed) [2022-04-13T09:09:33.512Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2765841433837291058.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2765841433837291058.key) [2022-04-13T09:09:33.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:09:33.826Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T09:09:33.839Z] $ docker exec --env ******** --env ******** 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 ssh-agent -k [2022-04-13T09:09:33.961Z] unset SSH_AUTH_SOCK; [2022-04-13T09:09:33.962Z] unset SSH_AGENT_PID; [2022-04-13T09:09:33.962Z] echo Agent pid 22 killed; [2022-04-13T09:09:33.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T09:09:33.998Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:09:33.998Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:09:34.140Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:09:34.142Z] $ docker exec 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 ssh-agent [2022-04-13T09:09:34.296Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBdFKCl/agent.54 [2022-04-13T09:09:34.296Z] SSH_AGENT_PID=61 [2022-04-13T09:09:34.301Z] Running ssh-add (command line suppressed) [2022-04-13T09:09:34.418Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3693875259015707587.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3693875259015707587.key) [2022-04-13T09:09:34.442Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:09:34.738Z] + git semver init [2022-04-13T09:09:34.738Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:09:34.738Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-13T09:09:34.738Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-13T09:09:34.738Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:09:34.738Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:09:34.738Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:09:34.738Z] # $SEMVER_BRANCH = main [2022-04-13T09:09:34.738Z] # $SEMVER_TEMP = /tmp/semver-897946023 [2022-04-13T09:09:34.738Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-13T09:09:35.687Z] # '/tmp/semver-897946023' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2022-04-13T09:09:35.687Z] # -> Force: false [2022-04-13T09:09:35.687Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-13T09:09:35.697Z] $ docker exec --env ******** --env ******** 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 ssh-agent -k [2022-04-13T09:09:35.811Z] unset SSH_AUTH_SOCK; [2022-04-13T09:09:35.811Z] unset SSH_AGENT_PID; [2022-04-13T09:09:35.811Z] echo Agent pid 61 killed; [2022-04-13T09:09:35.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:09:36.153Z] + git semver [Pipeline] } [2022-04-13T09:09:36.170Z] $ docker stop --time=1 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 [2022-04-13T09:09:37.541Z] $ docker rm -f 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:09:37.897Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T09:09:38.169Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T09:09:38.174Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [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-13T09:09:38.328Z] provisioning config files... [2022-04-13T09:09:38.339Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config407844661316393949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:09:38.646Z] ---> docker-login.sh [2022-04-13T09:09:38.646Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:09:38.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:38.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:38.646Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:38.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:38.646Z] [2022-04-13T09:09:38.646Z] Login Succeeded [2022-04-13T09:09:38.646Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:09:38.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:38.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:38.906Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:38.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:38.906Z] [2022-04-13T09:09:38.906Z] Login Succeeded [2022-04-13T09:09:38.906Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:09:38.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:38.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:38.906Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:38.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:38.906Z] [2022-04-13T09:09:38.906Z] Login Succeeded [2022-04-13T09:09:38.906Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:09:39.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:39.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:39.168Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:39.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:39.168Z] [2022-04-13T09:09:39.168Z] Login Succeeded [2022-04-13T09:09:39.168Z] docker.io [2022-04-13T09:09:39.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:09:39.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:09:39.429Z] Configure a credential helper to remove this warning. See [2022-04-13T09:09:39.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:09:39.429Z] [2022-04-13T09:09:39.429Z] Login Succeeded [2022-04-13T09:09:39.429Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:09:39.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T09:09:39.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:09:39.518Z] ========================================================= [2022-04-13T09:09:39.518Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T09:09:39.518Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:09:39.830Z] + 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-13T09:09:39.830Z] Sending build context to Docker daemon 5.236MB [2022-04-13T09:09:39.830Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:09:39.830Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-13T09:09:39.830Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T09:09:39.830Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T09:09:39.830Z] 666ba61612fd: Pulling fs layer [2022-04-13T09:09:39.830Z] 8ed8ca486205: Pulling fs layer [2022-04-13T09:09:39.830Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T09:09:39.830Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T09:09:39.830Z] 640e595b4fbd: Pulling fs layer [2022-04-13T09:09:39.830Z] 763cafe07f6e: Pulling fs layer [2022-04-13T09:09:39.830Z] 0c0b528cf693: Pulling fs layer [2022-04-13T09:09:39.830Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T09:09:39.830Z] 640e595b4fbd: Waiting [2022-04-13T09:09:39.830Z] 763cafe07f6e: Waiting [2022-04-13T09:09:39.830Z] 0c0b528cf693: Waiting [2022-04-13T09:09:39.830Z] 10935f4eaf8b: Waiting [2022-04-13T09:09:39.830Z] 4fe6c5a15a65: Waiting [2022-04-13T09:09:39.830Z] 22a0e8bec74d: Waiting [2022-04-13T09:09:39.830Z] 8ed8ca486205: Verifying Checksum [2022-04-13T09:09:39.830Z] 8ed8ca486205: Download complete [2022-04-13T09:09:39.830Z] 666ba61612fd: Download complete [2022-04-13T09:09:40.090Z] 22a0e8bec74d: Verifying Checksum [2022-04-13T09:09:40.090Z] 22a0e8bec74d: Download complete [2022-04-13T09:09:40.090Z] 640e595b4fbd: Verifying Checksum [2022-04-13T09:09:40.090Z] 640e595b4fbd: Download complete [2022-04-13T09:09:40.090Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T09:09:40.090Z] 59bf1c3509f3: Download complete [2022-04-13T09:09:40.090Z] 763cafe07f6e: Download complete [2022-04-13T09:09:40.090Z] 0c0b528cf693: Verifying Checksum [2022-04-13T09:09:40.090Z] 0c0b528cf693: Download complete [2022-04-13T09:09:40.090Z] 59bf1c3509f3: Pull complete [2022-04-13T09:09:40.352Z] 666ba61612fd: Pull complete [2022-04-13T09:09:40.352Z] 8ed8ca486205: Pull complete [2022-04-13T09:09:40.612Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T09:09:40.612Z] 10935f4eaf8b: Download complete [2022-04-13T09:09:40.872Z] 4fe6c5a15a65: Verifying Checksum [2022-04-13T09:09:40.872Z] 4fe6c5a15a65: Download complete [2022-04-13T09:09:45.072Z] 4fe6c5a15a65: Pull complete [2022-04-13T09:09:45.072Z] 22a0e8bec74d: Pull complete [2022-04-13T09:09:45.072Z] 640e595b4fbd: Pull complete [2022-04-13T09:09:45.072Z] 763cafe07f6e: Pull complete [2022-04-13T09:09:45.072Z] 0c0b528cf693: Pull complete [2022-04-13T09:09:46.977Z] 10935f4eaf8b: Pull complete [2022-04-13T09:09:46.977Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T09:09:46.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T09:09:46.977Z] ---> 99d49a6021b9 [2022-04-13T09:09:46.978Z] Step 3/12 : ARG MAKE='make build' [2022-04-13T09:09:48.360Z] ---> Running in a1da2a81d127 [2022-04-13T09:09:48.360Z] Removing intermediate container a1da2a81d127 [2022-04-13T09:09:48.360Z] ---> 059f400226cb [2022-04-13T09:09:48.360Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T09:09:48.360Z] ---> Running in 826df08a4a2f [2022-04-13T09:09:48.620Z] Removing intermediate container 826df08a4a2f [2022-04-13T09:09:48.620Z] ---> 20eb70d30982 [2022-04-13T09:09:48.620Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T09:09:48.620Z] ---> Running in 8f5a23f10e64 [2022-04-13T09:09:48.620Z] Removing intermediate container 8f5a23f10e64 [2022-04-13T09:09:48.620Z] ---> eaf2344e0c43 [2022-04-13T09:09:48.620Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:09:48.620Z] ---> Running in 3a002457bc15 [2022-04-13T09:09:49.191Z] Removing intermediate container 3a002457bc15 [2022-04-13T09:09:49.191Z] ---> e8204475393a [2022-04-13T09:09:49.191Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T09:09:49.191Z] ---> Running in 8baea7eca35a [2022-04-13T09:09:49.759Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T09:09:50.700Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T09:09:50.958Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T09:09:50.958Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T09:09:51.218Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T09:09:51.218Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T09:09:51.218Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T09:09:51.218Z] OK: 224 MiB in 56 packages [2022-04-13T09:09:51.793Z] Removing intermediate container 8baea7eca35a [2022-04-13T09:09:51.793Z] ---> 01386cacea16 [2022-04-13T09:09:51.793Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-13T09:09:51.793Z] ---> Running in f24f015ac46e [2022-04-13T09:09:51.793Z] Removing intermediate container f24f015ac46e [2022-04-13T09:09:51.793Z] ---> 103d8ed72335 [2022-04-13T09:09:51.793Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-13T09:09:52.054Z] ---> 3877389e550c [2022-04-13T09:09:52.054Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:09:52.054Z] ---> Running in 87e6be1c7fe6 [2022-04-13T09:09:53.284Z] Still waiting to schedule task [2022-04-13T09:09:53.284Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20791’ [2022-04-13T09:10:06.957Z] Removing intermediate container 87e6be1c7fe6 [2022-04-13T09:10:06.957Z] ---> 95a4d61e178c [2022-04-13T09:10:06.957Z] Step 11/12 : COPY . . [2022-04-13T09:10:06.957Z] ---> 6b2402a9de38 [2022-04-13T09:10:06.957Z] Step 12/12 : RUN ${MAKE} [2022-04-13T09:10:06.957Z] ---> Running in 88dd38492eab [2022-04-13T09:10:06.957Z] noop [2022-04-13T09:10:06.957Z] Removing intermediate container 88dd38492eab [2022-04-13T09:10:06.957Z] ---> 3231406b423d [2022-04-13T09:10:06.957Z] Successfully built 3231406b423d [2022-04-13T09:10:06.957Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:10:07.256Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T09:10:07.256Z] . [Pipeline] withDockerContainer [2022-04-13T09:10:07.328Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:10:07.366Z] $ 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-13T09:10:07.770Z] $ docker top 9d6775d7a51c1ec55288a908d7129d983a54e4d1f203b743c5e5a02a770a84aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T09:10:08.138Z] + go version [2022-04-13T09:10:08.138Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T09:10:08.154Z] $ docker stop --time=1 9d6775d7a51c1ec55288a908d7129d983a54e4d1f203b743c5e5a02a770a84aa [2022-04-13T09:10:09.448Z] $ docker rm -f 9d6775d7a51c1ec55288a908d7129d983a54e4d1f203b743c5e5a02a770a84aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:10:09.887Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T09:10:09.887Z] . [Pipeline] withDockerContainer [2022-04-13T09:10:09.955Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:10:09.993Z] $ 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-13T09:10:10.378Z] $ docker top aebfd1bdc2d61d7f5fb01a0d55103d1ec0cbb5d358fb92c4a38253b5e45bfbed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T09:10:10.740Z] + make test [2022-04-13T09:10:10.740Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T09:10:11.002Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-13T09:10:20.988Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-13T09:10:20.988Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2022-04-13T09:10:26.400Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T09:10:30.605Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T09:10:30.605Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T09:10:30.605Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T09:10:30.617Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T09:10:30.632Z] $ docker stop --time=1 aebfd1bdc2d61d7f5fb01a0d55103d1ec0cbb5d358fb92c4a38253b5e45bfbed [2022-04-13T09:10:32.369Z] $ docker rm -f aebfd1bdc2d61d7f5fb01a0d55103d1ec0cbb5d358fb92c4a38253b5e45bfbed [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:10:32.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T09:10:32.863Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T09:10:33.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T09:10:33.735Z] + ls -al . [2022-04-13T09:10:33.735Z] total 164 [2022-04-13T09:10:33.735Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 09:10 . [2022-04-13T09:10:33.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:09 .. [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:09 .dockerignore [2022-04-13T09:10:33.735Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:09 .git [2022-04-13T09:10:33.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 .github [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:09 .gitignore [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:09 .golangci.yml [2022-04-13T09:10:33.735Z] drwx------ 3 jenkins jenkins 4096 Apr 13 09:09 .semver [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 13 09:09 Attribution.txt [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 13 09:09 CHANGELOG.md [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 13 09:09 Dockerfile [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:09 GOVERNANCE.md [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:09 Jenkinsfile [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:09 LICENSE [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 13 09:09 Makefile [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:09 OWNERS.md [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 13 09:09 README.md [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:09 VERSION [2022-04-13T09:10:33.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:09 bin [2022-04-13T09:10:33.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 cmd [2022-04-13T09:10:33.735Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 13 09:10 coverage.out [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 13 09:09 go.mod [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 13 09:09 go.sum [2022-04-13T09:10:33.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 internal [2022-04-13T09:10:33.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 snap [2022-04-13T09:10:33.735Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 09:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:10:34.035Z] + 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=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec --label arch=amd64 --label version=2.2.0-dev.10 . [2022-04-13T09:10:34.035Z] Sending build context to Docker daemon 5.244MB [2022-04-13T09:10:34.035Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:10:34.035Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-13T09:10:34.035Z] ---> 3231406b423d [2022-04-13T09:10:34.035Z] Step 3/24 : ARG MAKE='make build' [2022-04-13T09:10:34.035Z] ---> Running in 3b87c16613bf [2022-04-13T09:10:34.298Z] Removing intermediate container 3b87c16613bf [2022-04-13T09:10:34.298Z] ---> f7ce0271cfe9 [2022-04-13T09:10:34.298Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T09:10:34.298Z] ---> Running in 40263e9d44d1 [2022-04-13T09:10:34.298Z] Removing intermediate container 40263e9d44d1 [2022-04-13T09:10:34.298Z] ---> bf7edc7e35c8 [2022-04-13T09:10:34.298Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T09:10:34.298Z] ---> Running in 20e16e5a0763 [2022-04-13T09:10:34.557Z] Removing intermediate container 20e16e5a0763 [2022-04-13T09:10:34.557Z] ---> 50fd26cab5c3 [2022-04-13T09:10:34.557Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:10:34.557Z] ---> Running in 527c272bce22 [2022-04-13T09:10:35.125Z] Removing intermediate container 527c272bce22 [2022-04-13T09:10:35.125Z] ---> a04ecffdf570 [2022-04-13T09:10:35.125Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T09:10:35.125Z] ---> Running in a85394105db1 [2022-04-13T09:10:35.386Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T09:10:36.327Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T09:10:36.602Z] OK: 224 MiB in 56 packages [2022-04-13T09:10:37.174Z] Removing intermediate container a85394105db1 [2022-04-13T09:10:37.175Z] ---> 8abde613e661 [2022-04-13T09:10:37.175Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-13T09:10:37.175Z] ---> Running in 1996f41ca110 [2022-04-13T09:10:37.175Z] Removing intermediate container 1996f41ca110 [2022-04-13T09:10:37.175Z] ---> 2b38bee68f52 [2022-04-13T09:10:37.175Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-13T09:10:37.434Z] ---> a887e8776af9 [2022-04-13T09:10:37.434Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:10:37.434Z] ---> Running in 425700cfad11 [2022-04-13T09:10:38.004Z] Removing intermediate container 425700cfad11 [2022-04-13T09:10:38.004Z] ---> 6e2c6a9ec308 [2022-04-13T09:10:38.004Z] Step 11/24 : COPY . . [2022-04-13T09:10:38.265Z] ---> af8067828a04 [2022-04-13T09:10:38.265Z] Step 12/24 : RUN ${MAKE} [2022-04-13T09:10:38.265Z] ---> Running in ad137f49d1d1 [2022-04-13T09:10:38.525Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-13T09:10:56.619Z] Removing intermediate container ad137f49d1d1 [2022-04-13T09:10:56.619Z] ---> c49cea352d61 [2022-04-13T09:10:56.619Z] Step 13/24 : FROM alpine:3.14 [2022-04-13T09:10:57.190Z] 3.14: Pulling from library/alpine [2022-04-13T09:10:57.190Z] 8663204ce13b: Pulling fs layer [2022-04-13T09:10:57.450Z] 8663204ce13b: Verifying Checksum [2022-04-13T09:10:57.450Z] 8663204ce13b: Download complete [2022-04-13T09:10:57.710Z] 8663204ce13b: Pull complete [2022-04-13T09:10:57.710Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T09:10:57.710Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T09:10:57.710Z] ---> e04c818066af [2022-04-13T09:10:57.710Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T09:10:57.710Z] ---> Running in 45ff890a0c2b [2022-04-13T09:10:57.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T09:10:57.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T09:10:58.229Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T09:10:58.229Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T09:10:58.229Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T09:10:58.229Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T09:10:58.229Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T09:10:58.229Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T09:10:58.229Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T09:10:58.229Z] OK: 8 MiB in 20 packages [2022-04-13T09:10:58.805Z] Removing intermediate container 45ff890a0c2b [2022-04-13T09:10:58.805Z] ---> 907ef52cd0fa [2022-04-13T09:10:58.805Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-13T09:10:59.377Z] ---> aa495e77ac35 [2022-04-13T09:10:59.377Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-13T09:10:59.377Z] ---> 7f959e55862a [2022-04-13T09:10:59.377Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-13T09:10:59.638Z] ---> 51395e336cb2 [2022-04-13T09:10:59.638Z] Step 18/24 : EXPOSE 59993 [2022-04-13T09:10:59.638Z] ---> Running in 28e0b127fdd6 [2022-04-13T09:10:59.638Z] Removing intermediate container 28e0b127fdd6 [2022-04-13T09:10:59.638Z] ---> d62328558e9f [2022-04-13T09:10:59.638Z] Step 19/24 : EXPOSE 161 [2022-04-13T09:10:59.638Z] ---> Running in 9440e9ed3f8c [2022-04-13T09:10:59.901Z] Removing intermediate container 9440e9ed3f8c [2022-04-13T09:10:59.901Z] ---> edfc32d48980 [2022-04-13T09:10:59.901Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-13T09:10:59.901Z] ---> Running in 03182a12457e [2022-04-13T09:10:59.901Z] Removing intermediate container 03182a12457e [2022-04-13T09:10:59.901Z] ---> 729c1bb332dc [2022-04-13T09:10:59.901Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-13T09:10:59.901Z] ---> Running in b52796cbc2da [2022-04-13T09:11:00.161Z] Removing intermediate container b52796cbc2da [2022-04-13T09:11:00.161Z] ---> 5759363e0d80 [2022-04-13T09:11:00.161Z] Step 22/24 : LABEL arch=amd64 [2022-04-13T09:11:00.161Z] ---> Running in 02469de4b599 [2022-04-13T09:11:00.161Z] Removing intermediate container 02469de4b599 [2022-04-13T09:11:00.161Z] ---> 7251dbd5f9d0 [2022-04-13T09:11:00.161Z] Step 23/24 : LABEL git_sha=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [2022-04-13T09:11:00.161Z] ---> Running in f7ef5a3ad85f [2022-04-13T09:11:00.421Z] Removing intermediate container f7ef5a3ad85f [2022-04-13T09:11:00.421Z] ---> 6801ed80a3b3 [2022-04-13T09:11:00.421Z] Step 24/24 : LABEL version=2.2.0-dev.10 [2022-04-13T09:11:00.421Z] ---> Running in 38738f2da78a [2022-04-13T09:11:00.421Z] Removing intermediate container 38738f2da78a [2022-04-13T09:11:00.421Z] ---> 164ddae76860 [2022-04-13T09:11:00.421Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T09:11:00.421Z] Successfully built 164ddae76860 [2022-04-13T09:11:00.421Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:11:00.490Z] provisioning config files... [2022-04-13T09:11:00.499Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config382388623568177007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:11:00.840Z] ---> docker-login.sh [2022-04-13T09:11:00.840Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:11:00.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:00.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:00.840Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:00.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:00.840Z] [2022-04-13T09:11:00.840Z] Login Succeeded [2022-04-13T09:11:00.840Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:11:00.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:01.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:01.100Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:01.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:01.100Z] [2022-04-13T09:11:01.100Z] Login Succeeded [2022-04-13T09:11:01.100Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:11:01.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:01.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:01.100Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:01.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:01.100Z] [2022-04-13T09:11:01.100Z] Login Succeeded [2022-04-13T09:11:01.100Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:11:01.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:01.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:01.359Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:01.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:01.359Z] [2022-04-13T09:11:01.359Z] Login Succeeded [2022-04-13T09:11:01.359Z] docker.io [2022-04-13T09:11:01.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:11:01.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:11:01.620Z] Configure a credential helper to remove this warning. See [2022-04-13T09:11:01.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:11:01.620Z] [2022-04-13T09:11:01.620Z] Login Succeeded [2022-04-13T09:11:01.620Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:11:01.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:11:01.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:11:01.682Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-04-13T09:11:01.682Z] 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [2022-04-13T09:11:01.682Z] latest [2022-04-13T09:11:01.682Z] 2.2.0-dev.10 [2022-04-13T09:11:01.682Z] 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [2022-04-13T09:11:01.682Z] main [2022-04-13T09:11:01.682Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:01.987Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:02.287Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [2022-04-13T09:11:02.287Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-13T09:11:02.287Z] 504a2a1c47ad: Preparing [2022-04-13T09:11:02.287Z] a036b2334170: Preparing [2022-04-13T09:11:02.287Z] c02cd28a5aa1: Preparing [2022-04-13T09:11:02.287Z] 94477163bf7e: Preparing [2022-04-13T09:11:02.287Z] b541d28bf3b4: Preparing [2022-04-13T09:11:02.287Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:02.287Z] 504a2a1c47ad: Pushed [2022-04-13T09:11:02.287Z] a036b2334170: Pushed [2022-04-13T09:11:02.546Z] 94477163bf7e: Pushed [2022-04-13T09:11:05.096Z] c02cd28a5aa1: Pushed [2022-04-13T09:11:05.096Z] 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:05.395Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:05.685Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-13T09:11:05.685Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-13T09:11:05.685Z] 504a2a1c47ad: Preparing [2022-04-13T09:11:05.685Z] a036b2334170: Preparing [2022-04-13T09:11:05.685Z] c02cd28a5aa1: Preparing [2022-04-13T09:11:05.685Z] 94477163bf7e: Preparing [2022-04-13T09:11:05.685Z] b541d28bf3b4: Preparing [2022-04-13T09:11:05.685Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:05.686Z] c02cd28a5aa1: Layer already exists [2022-04-13T09:11:05.686Z] a036b2334170: Layer already exists [2022-04-13T09:11:05.686Z] 94477163bf7e: Layer already exists [2022-04-13T09:11:05.686Z] 504a2a1c47ad: Layer already exists [2022-04-13T09:11:05.686Z] latest: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:05.986Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:06.277Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.10 [2022-04-13T09:11:06.277Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-13T09:11:06.277Z] 504a2a1c47ad: Preparing [2022-04-13T09:11:06.277Z] a036b2334170: Preparing [2022-04-13T09:11:06.277Z] c02cd28a5aa1: Preparing [2022-04-13T09:11:06.277Z] 94477163bf7e: Preparing [2022-04-13T09:11:06.277Z] b541d28bf3b4: Preparing [2022-04-13T09:11:06.277Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:06.277Z] 94477163bf7e: Layer already exists [2022-04-13T09:11:06.277Z] a036b2334170: Layer already exists [2022-04-13T09:11:06.277Z] c02cd28a5aa1: Layer already exists [2022-04-13T09:11:06.277Z] 504a2a1c47ad: Layer already exists [2022-04-13T09:11:06.277Z] 2.2.0-dev.10: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:06.577Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:06.868Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [2022-04-13T09:11:06.868Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-13T09:11:06.868Z] 504a2a1c47ad: Preparing [2022-04-13T09:11:06.868Z] a036b2334170: Preparing [2022-04-13T09:11:06.868Z] c02cd28a5aa1: Preparing [2022-04-13T09:11:06.868Z] 94477163bf7e: Preparing [2022-04-13T09:11:06.868Z] b541d28bf3b4: Preparing [2022-04-13T09:11:06.868Z] 94477163bf7e: Layer already exists [2022-04-13T09:11:06.868Z] c02cd28a5aa1: Layer already exists [2022-04-13T09:11:06.868Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:06.868Z] a036b2334170: Layer already exists [2022-04-13T09:11:06.868Z] 504a2a1c47ad: Layer already exists [2022-04-13T09:11:06.868Z] 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:07.165Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:07.462Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-04-13T09:11:07.462Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-13T09:11:07.462Z] 504a2a1c47ad: Preparing [2022-04-13T09:11:07.462Z] a036b2334170: Preparing [2022-04-13T09:11:07.462Z] c02cd28a5aa1: Preparing [2022-04-13T09:11:07.462Z] 94477163bf7e: Preparing [2022-04-13T09:11:07.462Z] b541d28bf3b4: Preparing [2022-04-13T09:11:07.462Z] c02cd28a5aa1: Layer already exists [2022-04-13T09:11:07.462Z] 94477163bf7e: Layer already exists [2022-04-13T09:11:07.462Z] b541d28bf3b4: Layer already exists [2022-04-13T09:11:07.462Z] a036b2334170: Layer already exists [2022-04-13T09:11:07.462Z] 504a2a1c47ad: Layer already exists [2022-04-13T09:11:07.462Z] main: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:11:07.502Z] ===================================================== [Pipeline] echo [2022-04-13T09:11:07.511Z] taggedImages: [2022-04-13T09:11:07.511Z] - nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [2022-04-13T09:11:07.511Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-13T09:11:07.511Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.10 [2022-04-13T09:11:07.511Z] - nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [2022-04-13T09:11:07.511Z] - 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-13T09:11:07.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:11:07.884Z] [2022-04-13T09:11:07.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:11:08.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:11:08.186Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T09:11:08.186Z] 5eb5b503b376: Pulling fs layer [2022-04-13T09:11:08.186Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T09:11:08.186Z] ec43610c2a17: Pulling fs layer [2022-04-13T09:11:08.186Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T09:11:08.186Z] 33b1e0a273af: Pulling fs layer [2022-04-13T09:11:08.186Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T09:11:08.186Z] 2f39f015ded8: Pulling fs layer [2022-04-13T09:11:08.186Z] 3a2ae6a8a46f: Waiting [2022-04-13T09:11:08.186Z] 33b1e0a273af: Waiting [2022-04-13T09:11:08.186Z] 2f39f015ded8: Waiting [2022-04-13T09:11:08.186Z] 5d3b04190fa2: Waiting [2022-04-13T09:11:08.186Z] 5c69ac0246d0: Verifying Checksum [2022-04-13T09:11:08.186Z] 5c69ac0246d0: Download complete [2022-04-13T09:11:08.186Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T09:11:08.186Z] 3a2ae6a8a46f: Download complete [2022-04-13T09:11:08.186Z] ec43610c2a17: Verifying Checksum [2022-04-13T09:11:08.186Z] ec43610c2a17: Download complete [2022-04-13T09:11:08.186Z] 33b1e0a273af: Verifying Checksum [2022-04-13T09:11:08.186Z] 33b1e0a273af: Download complete [2022-04-13T09:11:08.186Z] 5d3b04190fa2: Verifying Checksum [2022-04-13T09:11:08.186Z] 5d3b04190fa2: Download complete [2022-04-13T09:11:08.446Z] 5eb5b503b376: Verifying Checksum [2022-04-13T09:11:08.446Z] 5eb5b503b376: Download complete [2022-04-13T09:11:09.012Z] 2f39f015ded8: Download complete [2022-04-13T09:11:09.591Z] 5eb5b503b376: Pull complete [2022-04-13T09:11:09.591Z] 5c69ac0246d0: Pull complete [2022-04-13T09:11:10.159Z] ec43610c2a17: Pull complete [2022-04-13T09:11:10.159Z] 3a2ae6a8a46f: Pull complete [2022-04-13T09:11:10.417Z] 33b1e0a273af: Pull complete [2022-04-13T09:11:10.417Z] 5d3b04190fa2: Pull complete [2022-04-13T09:11:14.611Z] 2f39f015ded8: Pull complete [2022-04-13T09:11:14.611Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T09:11:14.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:11:14.611Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T09:11:14.677Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:11:14.714Z] $ 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-13T09:11:16.506Z] $ docker top 65038b97d541bef5061e0f84cee44cedd3abf75125c0d265072f8c14e85297a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:11:16.950Z] ---> job-cost.sh [2022-04-13T09:11:16.950Z] lf-activate-venv: SKIPPING [2022-04-13T09:11:16.950Z] INFO: No Stack... [2022-04-13T09:11:17.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T09:11:17.783Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T09:11:18.081Z] + + cut -d, -f6 [2022-04-13T09:11:18.081Z] cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [Pipeline] lock [2022-04-13T09:11:18.100Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [2022-04-13T09:11:18.109Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] did not exist. Created. [2022-04-13T09:11:18.109Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T09:11:18.414Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T09:11:18.450Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T09:11:18.456Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T09:11:18.478Z] $ docker stop --time=1 65038b97d541bef5061e0f84cee44cedd3abf75125c0d265072f8c14e85297a2 [2022-04-13T09:11:19.686Z] $ docker rm -f 65038b97d541bef5061e0f84cee44cedd3abf75125c0d265072f8c14e85297a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T09:12:29.698Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20794 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-04-13T09:12:29.711Z] Running in /w/workspace/device-snmp-go/20 [Pipeline] { [Pipeline] checkout [2022-04-13T09:12:30.108Z] Selected Git installation does not exist. Using Default [2022-04-13T09:12:30.108Z] The recommended git tool is: NONE [2022-04-13T09:12:38.695Z] using credential edgex-jenkins-ssh [2022-04-13T09:12:38.714Z] Cloning the remote Git repository [2022-04-13T09:12:38.858Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-13T09:12:38.969Z] > git init /w/workspace/device-snmp-go/20 # timeout=10 [2022-04-13T09:12:39.114Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-13T09:12:39.117Z] > git --version # timeout=10 [2022-04-13T09:12:39.165Z] > git --version # 'git version 2.25.1' [2022-04-13T09:12:39.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T09:12:39.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T09:12:40.743Z] Avoid second fetch [2022-04-13T09:12:40.743Z] Checking out Revision 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (main) [2022-04-13T09:12:40.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-13T09:12:40.726Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T09:12:40.776Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T09:12:40.798Z] > git checkout -f 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 [2022-04-13T09:12:45.496Z] Commit message: "test: add snap CI workflow (#155)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T09:12:46.394Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T09:12:46.394Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T09:12:46.394Z] Dload Upload Total Spent Left Speed [2022-04-13T09:12:46.394Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2022-04-13T09:12:46.942Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T09:12:47.293Z] + + sudo tee /etc/docker/daemon.new [2022-04-13T09:12:47.293Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T09:12:47.293Z] { [2022-04-13T09:12:47.293Z] "registry-mirrors": [ [2022-04-13T09:12:47.293Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T09:12:47.293Z] ], [2022-04-13T09:12:47.293Z] "bip": "10.250.0.254/24", [2022-04-13T09:12:47.293Z] "hosts": [ [2022-04-13T09:12:47.293Z] "tcp://0.0.0.0:5555", [2022-04-13T09:12:47.293Z] "unix:///var/run/docker.sock" [2022-04-13T09:12:47.293Z] ], [2022-04-13T09:12:47.293Z] "mtu": 1458, [2022-04-13T09:12:47.293Z] "selinux-enabled": true, [2022-04-13T09:12:47.293Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T09:12:47.293Z] } [Pipeline] sh [2022-04-13T09:12:47.657Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T09:12:48.030Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:13:06.500Z] provisioning config files... [2022-04-13T09:13:06.545Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/20@tmp/config1437863295523335854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:13:06.988Z] ---> docker-login.sh [2022-04-13T09:13:06.989Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:13:07.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:13:07.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:13:07.867Z] Configure a credential helper to remove this warning. See [2022-04-13T09:13:07.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:13:07.867Z] [2022-04-13T09:13:07.867Z] Login Succeeded [2022-04-13T09:13:07.867Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:13:08.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:13:08.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:13:08.468Z] Configure a credential helper to remove this warning. See [2022-04-13T09:13:08.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:13:08.468Z] [2022-04-13T09:13:08.468Z] Login Succeeded [2022-04-13T09:13:08.468Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:13:08.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:13:09.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:13:09.024Z] Configure a credential helper to remove this warning. See [2022-04-13T09:13:09.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:13:09.024Z] [2022-04-13T09:13:09.024Z] Login Succeeded [2022-04-13T09:13:09.024Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:13:09.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:13:09.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:13:09.575Z] Configure a credential helper to remove this warning. See [2022-04-13T09:13:09.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:13:09.575Z] [2022-04-13T09:13:09.575Z] Login Succeeded [2022-04-13T09:13:09.575Z] docker.io [2022-04-13T09:13:09.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:13:10.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:13:10.127Z] Configure a credential helper to remove this warning. See [2022-04-13T09:13:10.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:13:10.127Z] [2022-04-13T09:13:10.127Z] Login Succeeded [2022-04-13T09:13:10.127Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:13:10.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T09:13:10.654Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:13:10.666Z] ========================================================= [2022-04-13T09:13:10.666Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T09:13:10.666Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:13:11.053Z] + 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-13T09:13:11.334Z] Sending build context to Docker daemon 2.724MB [2022-04-13T09:13:11.334Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:13:11.334Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-13T09:13:11.615Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T09:13:11.615Z] 9b3977197b4f: Pulling fs layer [2022-04-13T09:13:11.615Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T09:13:11.615Z] 94645a83ff95: Pulling fs layer [2022-04-13T09:13:11.615Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T09:13:11.615Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T09:13:11.615Z] f7c0051592d6: Pulling fs layer [2022-04-13T09:13:11.615Z] 3f3a8bcf1eab: Waiting [2022-04-13T09:13:11.615Z] 0c92f367c5e7: Waiting [2022-04-13T09:13:11.615Z] a227ed2f7395: Pulling fs layer [2022-04-13T09:13:11.615Z] f7c0051592d6: Waiting [2022-04-13T09:13:11.615Z] 7b1c46037f91: Pulling fs layer [2022-04-13T09:13:11.615Z] a227ed2f7395: Waiting [2022-04-13T09:13:11.615Z] 7b1c46037f91: Waiting [2022-04-13T09:13:11.615Z] 94645a83ff95: Verifying Checksum [2022-04-13T09:13:11.615Z] 94645a83ff95: Download complete [2022-04-13T09:13:11.615Z] 1a89e8eeedd5: Verifying Checksum [2022-04-13T09:13:11.615Z] 1a89e8eeedd5: Download complete [2022-04-13T09:13:11.615Z] 0c92f367c5e7: Verifying Checksum [2022-04-13T09:13:11.615Z] 0c92f367c5e7: Download complete [2022-04-13T09:13:11.615Z] f7c0051592d6: Download complete [2022-04-13T09:13:11.615Z] 9b3977197b4f: Verifying Checksum [2022-04-13T09:13:11.615Z] 9b3977197b4f: Download complete [2022-04-13T09:13:11.615Z] a227ed2f7395: Verifying Checksum [2022-04-13T09:13:11.615Z] a227ed2f7395: Download complete [2022-04-13T09:13:12.634Z] 9b3977197b4f: Pull complete [2022-04-13T09:13:12.915Z] 1a89e8eeedd5: Pull complete [2022-04-13T09:13:13.530Z] 94645a83ff95: Pull complete [2022-04-13T09:13:13.807Z] 7b1c46037f91: Verifying Checksum [2022-04-13T09:13:13.807Z] 7b1c46037f91: Download complete [2022-04-13T09:13:14.411Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-13T09:13:14.411Z] 3f3a8bcf1eab: Download complete [2022-04-13T09:13:29.516Z] 3f3a8bcf1eab: Pull complete [2022-04-13T09:13:29.516Z] 0c92f367c5e7: Pull complete [2022-04-13T09:13:29.516Z] f7c0051592d6: Pull complete [2022-04-13T09:13:29.516Z] a227ed2f7395: Pull complete [2022-04-13T09:13:34.945Z] 7b1c46037f91: Pull complete [2022-04-13T09:13:34.945Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T09:13:34.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T09:13:34.945Z] ---> f79e39bc4007 [2022-04-13T09:13:34.945Z] Step 3/12 : ARG MAKE='make build' [2022-04-13T09:13:34.945Z] ---> Running in bad0c3080d8e [2022-04-13T09:13:35.555Z] Removing intermediate container bad0c3080d8e [2022-04-13T09:13:35.555Z] ---> ecafd8a89c22 [2022-04-13T09:13:35.555Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T09:13:35.555Z] ---> Running in 12ae16c4369b [2022-04-13T09:13:35.831Z] Removing intermediate container 12ae16c4369b [2022-04-13T09:13:35.831Z] ---> 7f60bb9cda70 [2022-04-13T09:13:35.831Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T09:13:35.831Z] ---> Running in 7d2dd3f027d2 [2022-04-13T09:13:36.106Z] Removing intermediate container 7d2dd3f027d2 [2022-04-13T09:13:36.106Z] ---> 4528ff9f0a8a [2022-04-13T09:13:36.106Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:13:36.381Z] ---> Running in 0a1d33ff3698 [2022-04-13T09:13:38.363Z] Removing intermediate container 0a1d33ff3698 [2022-04-13T09:13:38.363Z] ---> ba2ab343bab1 [2022-04-13T09:13:38.363Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T09:13:38.363Z] ---> Running in 09b0d4fbacdb [2022-04-13T09:13:39.350Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T09:13:40.333Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T09:13:40.931Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T09:13:41.210Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-13T09:13:41.210Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T09:13:41.489Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T09:13:41.489Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T09:13:41.489Z] OK: 224 MiB in 56 packages [2022-04-13T09:13:42.500Z] Removing intermediate container 09b0d4fbacdb [2022-04-13T09:13:42.500Z] ---> 6ac8f2b2e36e [2022-04-13T09:13:42.500Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-13T09:13:42.500Z] ---> Running in d43b31c4b738 [2022-04-13T09:13:43.102Z] Removing intermediate container d43b31c4b738 [2022-04-13T09:13:43.102Z] ---> 460c047e37b0 [2022-04-13T09:13:43.102Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-13T09:13:43.707Z] ---> 15cd8a32f93d [2022-04-13T09:13:43.707Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:13:43.707Z] ---> Running in ff75454f15c5 [2022-04-13T09:14:40.299Z] Removing intermediate container ff75454f15c5 [2022-04-13T09:14:40.299Z] ---> 6405dac6f11e [2022-04-13T09:14:40.299Z] Step 11/12 : COPY . . [2022-04-13T09:14:40.299Z] ---> 4b96987c6609 [2022-04-13T09:14:40.299Z] Step 12/12 : RUN ${MAKE} [2022-04-13T09:14:40.299Z] ---> Running in 55e4d25cc62c [2022-04-13T09:14:40.299Z] noop [2022-04-13T09:14:40.299Z] Removing intermediate container 55e4d25cc62c [2022-04-13T09:14:40.299Z] ---> 32b09d7ae3f2 [2022-04-13T09:14:40.299Z] Successfully built 32b09d7ae3f2 [2022-04-13T09:14:40.299Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:14:40.655Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T09:14:40.655Z] . [Pipeline] withDockerContainer [2022-04-13T09:14:40.903Z] prd-ubuntu20.04-docker-arm64-4c-16g-20794 does not seem to be running inside a container [2022-04-13T09:14:41.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@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-13T09:14:42.313Z] $ docker top 3e342e29fa3e865e9a225203fc4e82e827cb61e94c3592611a7e4cf15bb30ff7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T09:14:43.256Z] + go version [2022-04-13T09:14:43.256Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T09:14:43.289Z] $ docker stop --time=1 3e342e29fa3e865e9a225203fc4e82e827cb61e94c3592611a7e4cf15bb30ff7 [2022-04-13T09:14:44.966Z] $ docker rm -f 3e342e29fa3e865e9a225203fc4e82e827cb61e94c3592611a7e4cf15bb30ff7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:14:45.593Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T09:14:45.593Z] . [Pipeline] withDockerContainer [2022-04-13T09:14:45.840Z] prd-ubuntu20.04-docker-arm64-4c-16g-20794 does not seem to be running inside a container [2022-04-13T09:14:45.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@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-13T09:14:47.282Z] $ docker top f7403c084fc6a8190fea49997b453c86b6ec9e3f195edd6dd8f27f1a7a196a53 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T09:14:48.206Z] + make test [2022-04-13T09:14:48.206Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T09:14:50.204Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-13T09:16:12.118Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-13T09:16:12.118Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements [2022-04-13T09:16:12.118Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T09:16:12.118Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T09:16:44.469Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T09:16:44.469Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T09:16:44.469Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T09:16:44.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T09:16:44.509Z] $ docker stop --time=1 f7403c084fc6a8190fea49997b453c86b6ec9e3f195edd6dd8f27f1a7a196a53 [2022-04-13T09:16:46.309Z] $ docker rm -f f7403c084fc6a8190fea49997b453c86b6ec9e3f195edd6dd8f27f1a7a196a53 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:16:47.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T09:16:47.331Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T09:16:47.902Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T09:16:48.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T09:16:48.657Z] + ls -al . [2022-04-13T09:16:48.657Z] total 160 [2022-04-13T09:16:48.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:16 . [2022-04-13T09:16:48.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:12 .. [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:12 .dockerignore [2022-04-13T09:16:48.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:12 .git [2022-04-13T09:16:48.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:12 .github [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:12 .gitignore [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:12 .golangci.yml [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 13 09:12 Attribution.txt [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 13 09:12 CHANGELOG.md [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 13 09:12 Dockerfile [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:12 GOVERNANCE.md [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:12 Jenkinsfile [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:12 LICENSE [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 13 09:12 Makefile [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:12 OWNERS.md [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 13 09:12 README.md [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:09 VERSION [2022-04-13T09:16:48.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:12 bin [2022-04-13T09:16:48.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:12 cmd [2022-04-13T09:16:48.657Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 13 09:16 coverage.out [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 13 09:12 go.mod [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 13 09:12 go.sum [2022-04-13T09:16:48.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:12 internal [2022-04-13T09:16:48.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:12 snap [2022-04-13T09:16:48.657Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 09:12 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:16:49.002Z] + 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=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec --label arch=arm64 --label version=2.2.0-dev.10 . [2022-04-13T09:16:49.280Z] Sending build context to Docker daemon 2.733MB [2022-04-13T09:16:49.280Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T09:16:49.280Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-13T09:16:49.280Z] ---> 32b09d7ae3f2 [2022-04-13T09:16:49.280Z] Step 3/24 : ARG MAKE='make build' [2022-04-13T09:16:49.553Z] ---> Running in d54e00c560b9 [2022-04-13T09:16:49.839Z] Removing intermediate container d54e00c560b9 [2022-04-13T09:16:49.839Z] ---> 19ffd73b9132 [2022-04-13T09:16:49.839Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-13T09:16:49.839Z] ---> Running in 14ece6f15a48 [2022-04-13T09:16:50.432Z] Removing intermediate container 14ece6f15a48 [2022-04-13T09:16:50.432Z] ---> d845d9fcfba9 [2022-04-13T09:16:50.432Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-13T09:16:50.432Z] ---> Running in cb0ebad712a7 [2022-04-13T09:16:50.704Z] Removing intermediate container cb0ebad712a7 [2022-04-13T09:16:50.704Z] ---> e799d0370fde [2022-04-13T09:16:50.704Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T09:16:50.704Z] ---> Running in 1898cd4dca32 [2022-04-13T09:16:52.674Z] Removing intermediate container 1898cd4dca32 [2022-04-13T09:16:52.674Z] ---> 5f5a64d4ed9f [2022-04-13T09:16:52.674Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-13T09:16:52.674Z] ---> Running in c28127888e25 [2022-04-13T09:16:53.656Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T09:16:54.639Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T09:16:55.624Z] OK: 224 MiB in 56 packages [2022-04-13T09:16:56.229Z] Removing intermediate container c28127888e25 [2022-04-13T09:16:56.229Z] ---> 8812cf2e417d [2022-04-13T09:16:56.229Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-13T09:16:56.229Z] ---> Running in d99011930913 [2022-04-13T09:16:56.827Z] Removing intermediate container d99011930913 [2022-04-13T09:16:56.827Z] ---> 7a30f691a8df [2022-04-13T09:16:56.827Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-13T09:16:57.429Z] ---> 642f7d3e5a50 [2022-04-13T09:16:57.429Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T09:16:57.429Z] ---> Running in a670fd24170a [2022-04-13T09:16:59.421Z] Removing intermediate container a670fd24170a [2022-04-13T09:16:59.421Z] ---> 5f14ef0bce19 [2022-04-13T09:16:59.421Z] Step 11/24 : COPY . . [2022-04-13T09:17:00.407Z] ---> 16875a03944c [2022-04-13T09:17:00.407Z] Step 12/24 : RUN ${MAKE} [2022-04-13T09:17:00.407Z] ---> Running in 4cb5e9a7ca64 [2022-04-13T09:17:01.394Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-13T09:19:23.307Z] Removing intermediate container 4cb5e9a7ca64 [2022-04-13T09:19:23.307Z] ---> dd6b0c0fe2a4 [2022-04-13T09:19:23.307Z] Step 13/24 : FROM alpine:3.14 [2022-04-13T09:19:23.307Z] 3.14: Pulling from library/alpine [2022-04-13T09:19:23.307Z] 455c02918c45: Pulling fs layer [2022-04-13T09:19:23.307Z] 455c02918c45: Verifying Checksum [2022-04-13T09:19:23.307Z] 455c02918c45: Download complete [2022-04-13T09:19:23.307Z] 455c02918c45: Pull complete [2022-04-13T09:19:23.307Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T09:19:23.307Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T09:19:23.307Z] ---> ac73e934f311 [2022-04-13T09:19:23.307Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T09:19:23.307Z] ---> Running in 4b44af922d01 [2022-04-13T09:19:23.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T09:19:23.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T09:19:23.307Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T09:19:23.307Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T09:19:23.307Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T09:19:23.307Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T09:19:23.307Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T09:19:23.307Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T09:19:23.307Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T09:19:23.307Z] OK: 8 MiB in 20 packages [2022-04-13T09:19:23.307Z] Removing intermediate container 4b44af922d01 [2022-04-13T09:19:23.307Z] ---> 70cf0bb14a8e [2022-04-13T09:19:23.307Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-13T09:19:23.307Z] ---> 6931d83cb35c [2022-04-13T09:19:23.307Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-13T09:19:23.307Z] ---> c306789c0a14 [2022-04-13T09:19:23.307Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-13T09:19:23.307Z] ---> 75a0a5f72f27 [2022-04-13T09:19:23.307Z] Step 18/24 : EXPOSE 59993 [2022-04-13T09:19:23.307Z] ---> Running in 159db44cd3cc [2022-04-13T09:19:23.307Z] Removing intermediate container 159db44cd3cc [2022-04-13T09:19:23.307Z] ---> b7775cf5baab [2022-04-13T09:19:23.307Z] Step 19/24 : EXPOSE 161 [2022-04-13T09:19:23.307Z] ---> Running in d8d477893c18 [2022-04-13T09:19:23.307Z] Removing intermediate container d8d477893c18 [2022-04-13T09:19:23.307Z] ---> b38203787cbd [2022-04-13T09:19:23.307Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-13T09:19:23.307Z] ---> Running in 8b6766d9f1f0 [2022-04-13T09:19:23.307Z] Removing intermediate container 8b6766d9f1f0 [2022-04-13T09:19:23.307Z] ---> 9221e610f7cf [2022-04-13T09:19:23.307Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-13T09:19:23.307Z] ---> Running in 10af1a52c935 [2022-04-13T09:19:23.307Z] Removing intermediate container 10af1a52c935 [2022-04-13T09:19:23.307Z] ---> 710856971c9e [2022-04-13T09:19:23.307Z] Step 22/24 : LABEL arch=arm64 [2022-04-13T09:19:23.307Z] ---> Running in 1a4c00139925 [2022-04-13T09:19:23.307Z] Removing intermediate container 1a4c00139925 [2022-04-13T09:19:23.307Z] ---> 8096451e7685 [2022-04-13T09:19:23.307Z] Step 23/24 : LABEL git_sha=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [2022-04-13T09:19:23.307Z] ---> Running in e6b77f7c2681 [2022-04-13T09:19:23.307Z] Removing intermediate container e6b77f7c2681 [2022-04-13T09:19:23.307Z] ---> ba7aca34290d [2022-04-13T09:19:23.307Z] Step 24/24 : LABEL version=2.2.0-dev.10 [2022-04-13T09:19:23.307Z] ---> Running in 228d7773630c [2022-04-13T09:19:23.307Z] Removing intermediate container 228d7773630c [2022-04-13T09:19:23.307Z] ---> 78276a47a41d [2022-04-13T09:19:23.307Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T09:19:23.307Z] Successfully built 78276a47a41d [2022-04-13T09:19:23.307Z] 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-13T09:19:23.421Z] provisioning config files... [2022-04-13T09:19:23.444Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/20@tmp/config7281607555720929868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:19:23.801Z] ---> docker-login.sh [2022-04-13T09:19:23.801Z] nexus3.edgexfoundry.org:10001 [2022-04-13T09:19:24.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:19:24.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:19:24.077Z] Configure a credential helper to remove this warning. See [2022-04-13T09:19:24.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:19:24.077Z] [2022-04-13T09:19:24.077Z] Login Succeeded [2022-04-13T09:19:24.077Z] nexus3.edgexfoundry.org:10002 [2022-04-13T09:19:24.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:19:24.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:19:24.675Z] Configure a credential helper to remove this warning. See [2022-04-13T09:19:24.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:19:24.675Z] [2022-04-13T09:19:24.675Z] Login Succeeded [2022-04-13T09:19:24.675Z] nexus3.edgexfoundry.org:10003 [2022-04-13T09:19:24.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:19:25.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:19:25.222Z] Configure a credential helper to remove this warning. See [2022-04-13T09:19:25.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:19:25.222Z] [2022-04-13T09:19:25.222Z] Login Succeeded [2022-04-13T09:19:25.222Z] nexus3.edgexfoundry.org:10004 [2022-04-13T09:19:25.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:19:25.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:19:25.502Z] Configure a credential helper to remove this warning. See [2022-04-13T09:19:25.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:19:25.502Z] [2022-04-13T09:19:25.502Z] Login Succeeded [2022-04-13T09:19:25.502Z] docker.io [2022-04-13T09:19:26.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T09:19:26.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T09:19:26.370Z] Configure a credential helper to remove this warning. See [2022-04-13T09:19:26.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T09:19:26.370Z] [2022-04-13T09:19:26.370Z] Login Succeeded [2022-04-13T09:19:26.370Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T09:19:26.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:19:26.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T09:19:26.436Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-04-13T09:19:26.436Z] 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [2022-04-13T09:19:26.436Z] latest [2022-04-13T09:19:26.436Z] 2.2.0-dev.10 [2022-04-13T09:19:26.436Z] 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [2022-04-13T09:19:26.436Z] main [2022-04-13T09:19:26.436Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:26.780Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:27.127Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [2022-04-13T09:19:27.127Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-13T09:19:27.127Z] 8e56d0e2b439: Preparing [2022-04-13T09:19:27.127Z] 6d77a6869dec: Preparing [2022-04-13T09:19:27.127Z] f4d2fef78042: Preparing [2022-04-13T09:19:27.127Z] 7a8941d99659: Preparing [2022-04-13T09:19:27.127Z] f73e7dbfee58: Preparing [2022-04-13T09:19:27.127Z] f73e7dbfee58: Layer already exists [2022-04-13T09:19:27.401Z] 6d77a6869dec: Pushed [2022-04-13T09:19:27.401Z] 8e56d0e2b439: Pushed [2022-04-13T09:19:27.997Z] 7a8941d99659: Pushed [2022-04-13T09:19:33.395Z] f4d2fef78042: Pushed [2022-04-13T09:19:33.668Z] 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:34.030Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:34.376Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-13T09:19:34.376Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-13T09:19:34.376Z] 8e56d0e2b439: Preparing [2022-04-13T09:19:34.376Z] 6d77a6869dec: Preparing [2022-04-13T09:19:34.376Z] f4d2fef78042: Preparing [2022-04-13T09:19:34.376Z] 7a8941d99659: Preparing [2022-04-13T09:19:34.376Z] f73e7dbfee58: Preparing [2022-04-13T09:19:34.376Z] 8e56d0e2b439: Layer already exists [2022-04-13T09:19:34.376Z] f4d2fef78042: Layer already exists [2022-04-13T09:19:34.376Z] 7a8941d99659: Layer already exists [2022-04-13T09:19:34.376Z] f73e7dbfee58: Layer already exists [2022-04-13T09:19:34.376Z] 6d77a6869dec: Layer already exists [2022-04-13T09:19:34.650Z] latest: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:35.003Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:35.354Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.10 [2022-04-13T09:19:35.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-13T09:19:35.354Z] 8e56d0e2b439: Preparing [2022-04-13T09:19:35.354Z] 6d77a6869dec: Preparing [2022-04-13T09:19:35.354Z] f4d2fef78042: Preparing [2022-04-13T09:19:35.354Z] 7a8941d99659: Preparing [2022-04-13T09:19:35.354Z] f73e7dbfee58: Preparing [2022-04-13T09:19:35.354Z] f73e7dbfee58: Layer already exists [2022-04-13T09:19:35.354Z] 8e56d0e2b439: Layer already exists [2022-04-13T09:19:35.354Z] f4d2fef78042: Layer already exists [2022-04-13T09:19:35.630Z] 7a8941d99659: Layer already exists [2022-04-13T09:19:35.630Z] 6d77a6869dec: Layer already exists [2022-04-13T09:19:35.630Z] 2.2.0-dev.10: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:35.988Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:36.334Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [2022-04-13T09:19:36.334Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-13T09:19:36.334Z] 8e56d0e2b439: Preparing [2022-04-13T09:19:36.334Z] 6d77a6869dec: Preparing [2022-04-13T09:19:36.334Z] f4d2fef78042: Preparing [2022-04-13T09:19:36.334Z] 7a8941d99659: Preparing [2022-04-13T09:19:36.334Z] f73e7dbfee58: Preparing [2022-04-13T09:19:36.334Z] 8e56d0e2b439: Layer already exists [2022-04-13T09:19:36.334Z] f73e7dbfee58: Layer already exists [2022-04-13T09:19:36.334Z] 6d77a6869dec: Layer already exists [2022-04-13T09:19:36.334Z] 7a8941d99659: Layer already exists [2022-04-13T09:19:36.334Z] f4d2fef78042: Layer already exists [2022-04-13T09:19:36.610Z] 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:36.965Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:37.313Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-04-13T09:19:37.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-13T09:19:37.313Z] 8e56d0e2b439: Preparing [2022-04-13T09:19:37.313Z] 6d77a6869dec: Preparing [2022-04-13T09:19:37.313Z] f4d2fef78042: Preparing [2022-04-13T09:19:37.313Z] 7a8941d99659: Preparing [2022-04-13T09:19:37.313Z] f73e7dbfee58: Preparing [2022-04-13T09:19:37.313Z] 8e56d0e2b439: Layer already exists [2022-04-13T09:19:37.313Z] f73e7dbfee58: Layer already exists [2022-04-13T09:19:37.313Z] 7a8941d99659: Layer already exists [2022-04-13T09:19:37.313Z] 6d77a6869dec: Layer already exists [2022-04-13T09:19:37.313Z] f4d2fef78042: Layer already exists [2022-04-13T09:19:37.587Z] main: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-13T09:19:37.641Z] ===================================================== [Pipeline] echo [2022-04-13T09:19:37.650Z] taggedImages: [2022-04-13T09:19:37.650Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [2022-04-13T09:19:37.650Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-13T09:19:37.650Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.10 [2022-04-13T09:19:37.650Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [2022-04-13T09:19:37.650Z] - 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-13T09:19:38.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T09:19:38.014Z] [2022-04-13T09:19:38.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:19:38.371Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T09:19:38.652Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T09:19:38.652Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T09:19:38.652Z] 04944245beec: Pulling fs layer [2022-04-13T09:19:38.652Z] 699f458cf7ca: Pulling fs layer [2022-04-13T09:19:38.652Z] 765212b225bb: Pulling fs layer [2022-04-13T09:19:38.652Z] f23df028b6ca: Pulling fs layer [2022-04-13T09:19:38.652Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T09:19:38.652Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T09:19:38.652Z] f23df028b6ca: Waiting [2022-04-13T09:19:38.652Z] d65c8cfc05b1: Waiting [2022-04-13T09:19:38.652Z] 2437ff75d9bd: Waiting [2022-04-13T09:19:38.652Z] 765212b225bb: Waiting [2022-04-13T09:19:38.652Z] 04944245beec: Verifying Checksum [2022-04-13T09:19:38.652Z] 04944245beec: Download complete [2022-04-13T09:19:38.652Z] 765212b225bb: Verifying Checksum [2022-04-13T09:19:38.652Z] 765212b225bb: Download complete [2022-04-13T09:19:38.652Z] f23df028b6ca: Download complete [2022-04-13T09:19:38.652Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T09:19:38.652Z] d65c8cfc05b1: Download complete [2022-04-13T09:19:38.934Z] 699f458cf7ca: Verifying Checksum [2022-04-13T09:19:38.934Z] 699f458cf7ca: Download complete [2022-04-13T09:19:39.210Z] 8998bd30e6a1: Download complete [2022-04-13T09:19:41.849Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T09:19:41.849Z] 2437ff75d9bd: Download complete [2022-04-13T09:19:43.841Z] 8998bd30e6a1: Pull complete [2022-04-13T09:19:44.115Z] 04944245beec: Pull complete [2022-04-13T09:19:46.100Z] 699f458cf7ca: Pull complete [2022-04-13T09:19:46.100Z] 765212b225bb: Pull complete [2022-04-13T09:19:47.086Z] f23df028b6ca: Pull complete [2022-04-13T09:19:47.086Z] d65c8cfc05b1: Pull complete [2022-04-13T09:20:02.209Z] 2437ff75d9bd: Pull complete [2022-04-13T09:20:02.209Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T09:20:02.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T09:20:02.209Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T09:20:02.441Z] prd-ubuntu20.04-docker-arm64-4c-16g-20794 does not seem to be running inside a container [2022-04-13T09:20:02.538Z] $ 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/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@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-13T09:20:05.303Z] $ docker top d0d7752618a51a789e739fd230a550ce6203271e8e6884209da5077154dce950 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:20:06.256Z] ---> job-cost.sh [2022-04-13T09:20:06.256Z] lf-activate-venv: SKIPPING [2022-04-13T09:20:06.256Z] INFO: No Stack... [2022-04-13T09:20:06.858Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T09:20:07.836Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T09:20:08.508Z] + cut -d, -f6 [2022-04-13T09:20:08.508Z] + cat /w/workspace/device-snmp-go/20/archives/cost.csv [Pipeline] lock [2022-04-13T09:20:08.576Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [2022-04-13T09:20:08.583Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] did not exist. Created. [2022-04-13T09:20:08.583Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T09:20:09.286Z] /w/workspace/device-snmp-go/20@tmp/durable-c74cc50a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T09:20:09.973Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T09:20:10.003Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T09:20:10.054Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T09:20:10.062Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T09:20:10.090Z] $ docker stop --time=1 d0d7752618a51a789e739fd230a550ce6203271e8e6884209da5077154dce950 [2022-04-13T09:20:11.620Z] $ docker rm -f d0d7752618a51a789e739fd230a550ce6203271e8e6884209da5077154dce950 [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-13T09:20:12.041Z] provisioning config files... [2022-04-13T09:20:12.051Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8778650899482229732tmp [Pipeline] { [Pipeline] sh [2022-04-13T09:20:12.355Z] + set +x [2022-04-13T09:20:12.355Z] + curl -s https://codecov.io/bash [2022-04-13T09:20:12.355Z] + bash -s -- [2022-04-13T09:20:12.355Z] [2022-04-13T09:20:12.355Z] _____ _ [2022-04-13T09:20:12.355Z] / ____| | | [2022-04-13T09:20:12.355Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T09:20:12.355Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T09:20:12.355Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T09:20:12.355Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T09:20:12.355Z] Bash-1.0.6 [2022-04-13T09:20:12.355Z] [2022-04-13T09:20:12.355Z] [2022-04-13T09:20:12.355Z] ==> git version 2.25.1 found [2022-04-13T09:20:12.355Z] ==> 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-13T09:20:12.355Z] Release-Date: 2020-01-08 [2022-04-13T09:20:12.355Z] 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-13T09:20:12.355Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T09:20:12.355Z] ==> Jenkins CI detected. [2022-04-13T09:20:12.355Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-13T09:20:12.355Z] project root: . [2022-04-13T09:20:12.355Z] --> token set from env [2022-04-13T09:20:12.355Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T09:20:12.355Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T09:20:12.355Z] ==> Python coveragepy not found [2022-04-13T09:20:12.355Z] ==> Searching for coverage reports in: [2022-04-13T09:20:12.355Z] + . [2022-04-13T09:20:12.355Z] -> Found 1 reports [2022-04-13T09:20:12.355Z] ==> Detecting git/mercurial file structure [2022-04-13T09:20:12.355Z] ==> Reading reports [2022-04-13T09:20:12.355Z] + ./coverage.out bytes=7631 [2022-04-13T09:20:12.355Z] ==> Appending adjustments [2022-04-13T09:20:12.356Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T09:20:12.617Z] + Found adjustments [2022-04-13T09:20:12.617Z] ==> Gzipping contents [2022-04-13T09:20:12.617Z] 4.0K /tmp/codecov.w75o64.gz [2022-04-13T09:20:12.617Z] ==> Uploading reports [2022-04-13T09:20:12.617Z] url: https://codecov.io [2022-04-13T09:20:12.617Z] query: branch=main&commit=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T09:20:12.617Z] -> Pinging Codecov [2022-04-13T09:20:12.617Z] 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=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-13T09:20:12.880Z] -> Uploading to [2022-04-13T09:20:12.880Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/6C56EA5C29638FB4528AC87E60AF5AE0/6b046bf6cda952c0c380e7585d2cf1a0cfc64fec/e429c4a2-92c9-4ce8-b0ed-d73661818752.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T092012Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=178d64900582b2f31105e7a6e25d401fe32b6c0c037cb45167e72318f5fd696b [2022-04-13T09:20:12.880Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T09:20:12.880Z] Dload Upload Total Spent Left Speed [2022-04-13T09:20:13.141Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7198 --:--:-- --:--:-- --:--:-- 7198 [2022-04-13T09:20:13.141Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] } [2022-04-13T09:20:13.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-13T09:20:13.286Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-13T09:20:13.296Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:13.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T09:20:13.596Z] [2022-04-13T09:20:13.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:13.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T09:20:13.894Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-13T09:20:13.894Z] 188c0c94c7c5: Pulling fs layer [2022-04-13T09:20:13.894Z] 0ef7d3d256c8: Pulling fs layer [2022-04-13T09:20:13.894Z] de9db76c5a1d: Pulling fs layer [2022-04-13T09:20:13.894Z] 0eba1c9be4d2: Pulling fs layer [2022-04-13T09:20:13.894Z] 0d57e429df01: Pulling fs layer [2022-04-13T09:20:13.894Z] 4e4be7b47b0d: Pulling fs layer [2022-04-13T09:20:13.894Z] e1f770b5df2f: Pulling fs layer [2022-04-13T09:20:13.894Z] 85a0685a4137: Pulling fs layer [2022-04-13T09:20:13.894Z] 0d57e429df01: Waiting [2022-04-13T09:20:13.894Z] 0eba1c9be4d2: Waiting [2022-04-13T09:20:13.894Z] 4e4be7b47b0d: Waiting [2022-04-13T09:20:13.894Z] e1f770b5df2f: Waiting [2022-04-13T09:20:13.894Z] 85a0685a4137: Waiting [2022-04-13T09:20:13.894Z] de9db76c5a1d: Verifying Checksum [2022-04-13T09:20:13.894Z] de9db76c5a1d: Download complete [2022-04-13T09:20:13.894Z] 0ef7d3d256c8: Verifying Checksum [2022-04-13T09:20:13.894Z] 0ef7d3d256c8: Download complete [2022-04-13T09:20:13.894Z] 0d57e429df01: Verifying Checksum [2022-04-13T09:20:13.894Z] 0d57e429df01: Download complete [2022-04-13T09:20:13.894Z] 4e4be7b47b0d: Verifying Checksum [2022-04-13T09:20:13.894Z] 4e4be7b47b0d: Download complete [2022-04-13T09:20:13.894Z] 188c0c94c7c5: Verifying Checksum [2022-04-13T09:20:13.894Z] 188c0c94c7c5: Download complete [2022-04-13T09:20:14.154Z] 188c0c94c7c5: Pull complete [2022-04-13T09:20:14.154Z] e1f770b5df2f: Verifying Checksum [2022-04-13T09:20:14.154Z] e1f770b5df2f: Download complete [2022-04-13T09:20:14.154Z] 0ef7d3d256c8: Pull complete [2022-04-13T09:20:14.154Z] de9db76c5a1d: Pull complete [2022-04-13T09:20:14.728Z] 0eba1c9be4d2: Verifying Checksum [2022-04-13T09:20:14.728Z] 0eba1c9be4d2: Download complete [2022-04-13T09:20:14.728Z] 85a0685a4137: Verifying Checksum [2022-04-13T09:20:14.728Z] 85a0685a4137: Download complete [2022-04-13T09:20:18.017Z] 0eba1c9be4d2: Pull complete [2022-04-13T09:20:18.017Z] 0d57e429df01: Pull complete [2022-04-13T09:20:18.017Z] 4e4be7b47b0d: Pull complete [2022-04-13T09:20:18.275Z] e1f770b5df2f: Pull complete [2022-04-13T09:20:21.563Z] 85a0685a4137: Pull complete [2022-04-13T09:20:21.563Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-13T09:20:21.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-13T09:20:21.563Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-13T09:20:21.629Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:20:21.667Z] $ 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-13T09:20:23.695Z] $ docker top 80873afd8894c2b1ade8bde9270d0db4aa388f1188d7bfab815fbdb006cd3e50 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-13T09:20:23.771Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-13T09:20:24.056Z] + set -o pipefail [2022-04-13T09:20:24.056Z] + snyk monitor '--org=edgex-jenkins' [2022-04-13T09:20:29.335Z] [2022-04-13T09:20:29.335Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-04-13T09:20:29.335Z] [2022-04-13T09:20:29.335Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/380d05e8-634f-44d9-af7d-765c46ae7403 [2022-04-13T09:20:29.335Z] [2022-04-13T09:20:29.335Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-13T09:20:29.335Z] [2022-04-13T09:20:29.335Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-13T09:20:29.335Z] [2022-04-13T09:20:29.335Z] [Pipeline] } [2022-04-13T09:20:29.349Z] $ docker stop --time=1 80873afd8894c2b1ade8bde9270d0db4aa388f1188d7bfab815fbdb006cd3e50 [2022-04-13T09:20:31.506Z] $ docker rm -f 80873afd8894c2b1ade8bde9270d0db4aa388f1188d7bfab815fbdb006cd3e50 [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-13T09:20:32.201Z] + git log --format=format:%s -1 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] sh [2022-04-13T09:20:32.492Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:20:32.492Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:32.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:20:32.785Z] . [Pipeline] withDockerContainer [2022-04-13T09:20:32.850Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:20:32.887Z] $ 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-13T09:20:33.305Z] $ docker top 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:20:33.401Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:20:33.401Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:20:33.540Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:20:33.546Z] $ docker exec 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a ssh-agent [2022-04-13T09:20:33.646Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpkPgCc/agent.14 [2022-04-13T09:20:33.646Z] SSH_AGENT_PID=21 [2022-04-13T09:20:33.651Z] Running ssh-add (command line suppressed) [2022-04-13T09:20:33.769Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6739146284509326575.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6739146284509326575.key) [2022-04-13T09:20:33.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:20:34.072Z] + git semver tag [2022-04-13T09:20:34.072Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:20:34.072Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-13T09:20:34.072Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-13T09:20:34.072Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:20:34.072Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:20:34.072Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:20:34.072Z] # $SEMVER_BRANCH = main [2022-04-13T09:20:34.072Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-13T09:20:34.072Z] # 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec HEAD [2022-04-13T09:20:34.072Z] # -> Force: false [2022-04-13T09:20:34.072Z] # ff09d7b2d178a18d781228025b430b1a310e5bff refs/tags/v2.2.0-dev.10 [Pipeline] } [2022-04-13T09:20:34.085Z] $ docker exec --env ******** --env ******** 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a ssh-agent -k [2022-04-13T09:20:34.189Z] unset SSH_AUTH_SOCK; [2022-04-13T09:20:34.190Z] unset SSH_AGENT_PID; [2022-04-13T09:20:34.190Z] echo Agent pid 21 killed; [2022-04-13T09:20:34.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:20:34.509Z] + git semver [Pipeline] } [2022-04-13T09:20:34.530Z] $ docker stop --time=1 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a [2022-04-13T09:20:35.843Z] $ docker rm -f 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:36.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T09:20:36.246Z] [2022-04-13T09:20:36.246Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:36.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T09:20:36.549Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-13T09:20:36.549Z] ab5ef0e58194: Pulling fs layer [2022-04-13T09:20:36.549Z] 9712f1f96733: Pulling fs layer [2022-04-13T09:20:36.549Z] 63f879dbbcfc: Pulling fs layer [2022-04-13T09:20:36.549Z] 0d9ebad4ef96: Pulling fs layer [2022-04-13T09:20:36.549Z] e9a5061849ea: Pulling fs layer [2022-04-13T09:20:36.549Z] d747dcd14b5f: Pulling fs layer [2022-04-13T09:20:36.549Z] 2de7ff778b66: Pulling fs layer [2022-04-13T09:20:36.549Z] 0d9ebad4ef96: Waiting [2022-04-13T09:20:36.549Z] d747dcd14b5f: Waiting [2022-04-13T09:20:36.549Z] 2de7ff778b66: Waiting [2022-04-13T09:20:36.549Z] e9a5061849ea: Waiting [2022-04-13T09:20:36.549Z] 9712f1f96733: Verifying Checksum [2022-04-13T09:20:36.549Z] 9712f1f96733: Download complete [2022-04-13T09:20:36.808Z] 63f879dbbcfc: Verifying Checksum [2022-04-13T09:20:36.808Z] 63f879dbbcfc: Download complete [2022-04-13T09:20:36.808Z] e9a5061849ea: Verifying Checksum [2022-04-13T09:20:36.808Z] e9a5061849ea: Download complete [2022-04-13T09:20:37.067Z] d747dcd14b5f: Download complete [2022-04-13T09:20:37.067Z] 0d9ebad4ef96: Verifying Checksum [2022-04-13T09:20:37.067Z] 0d9ebad4ef96: Download complete [2022-04-13T09:20:37.067Z] ab5ef0e58194: Verifying Checksum [2022-04-13T09:20:37.067Z] ab5ef0e58194: Download complete [2022-04-13T09:20:37.067Z] 2de7ff778b66: Verifying Checksum [2022-04-13T09:20:39.682Z] ab5ef0e58194: Pull complete [2022-04-13T09:20:39.682Z] 9712f1f96733: Pull complete [2022-04-13T09:20:40.249Z] 63f879dbbcfc: Pull complete [2022-04-13T09:20:44.440Z] 0d9ebad4ef96: Pull complete [2022-04-13T09:20:44.440Z] e9a5061849ea: Pull complete [2022-04-13T09:20:44.440Z] d747dcd14b5f: Pull complete [2022-04-13T09:20:45.007Z] 2de7ff778b66: Pull complete [2022-04-13T09:20:45.007Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-13T09:20:45.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-13T09:20:45.267Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-13T09:20:45.332Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:20:45.365Z] $ 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-13T09:20:47.583Z] $ docker top 80645cbc7fa6fa70b170c626e5678c5ed79088d19eab51f401a1fd5cd7270afc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:20:47.659Z] provisioning config files... [2022-04-13T09:20:47.667Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1672474531140133416tmp [2022-04-13T09:20:47.679Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5227202488950075071tmp [2022-04-13T09:20:47.690Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1858265974999098645tmp [Pipeline] { [Pipeline] echo [2022-04-13T09:20:47.708Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:20:47.996Z] ---> sigul-configuration.sh [2022-04-13T09:20:47.996Z] gpg: directory `/root/.gnupg' created [2022-04-13T09:20:47.996Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-13T09:20:47.996Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-13T09:20:47.996Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-13T09:20:47.996Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-13T09:20:47.996Z] gpg: CAST5 encrypted data [2022-04-13T09:20:47.996Z] gpg: encrypted with 1 passphrase [2022-04-13T09:20:47.996Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-13T09:20:48.287Z] + mkdir /home/jenkins [2022-04-13T09:20:48.287Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-13T09:20:48.578Z] + 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-13T09:20:48.588Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:20:48.874Z] ---> sigul-install.sh [2022-04-13T09:20:48.874Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-13T09:20:49.159Z] + git tag --list [2022-04-13T09:20:49.159Z] 1.0.0 [2022-04-13T09:20:49.159Z] v0.0.0 [2022-04-13T09:20:49.159Z] v1.1.0 [2022-04-13T09:20:49.159Z] v1.1.1 [2022-04-13T09:20:49.159Z] v1.2.2 [2022-04-13T09:20:49.159Z] v1.3.0 [2022-04-13T09:20:49.159Z] v1.3.1 [2022-04-13T09:20:49.159Z] v2.0.0 [2022-04-13T09:20:49.159Z] v2.0.1-dev.1 [2022-04-13T09:20:49.159Z] v2.0.1-dev.2 [2022-04-13T09:20:49.159Z] v2.0.1-dev.3 [2022-04-13T09:20:49.159Z] v2.0.1-dev.4 [2022-04-13T09:20:49.159Z] v2.0.1-dev.5 [2022-04-13T09:20:49.159Z] v2.0.1-dev.6 [2022-04-13T09:20:49.159Z] v2.1.0 [2022-04-13T09:20:49.159Z] v2.2.0-dev.1 [2022-04-13T09:20:49.159Z] v2.2.0-dev.10 [2022-04-13T09:20:49.159Z] v2.2.0-dev.2 [2022-04-13T09:20:49.159Z] v2.2.0-dev.3 [2022-04-13T09:20:49.159Z] v2.2.0-dev.4 [2022-04-13T09:20:49.159Z] v2.2.0-dev.5 [2022-04-13T09:20:49.159Z] v2.2.0-dev.6 [2022-04-13T09:20:49.159Z] v2.2.0-dev.7 [2022-04-13T09:20:49.159Z] v2.2.0-dev.8 [2022-04-13T09:20:49.159Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-13T09:20:49.445Z] + lftools sign git-tag v2.2.0-dev.10 [2022-04-13T09:20:50.014Z] Signing Git tag with Sigul... [2022-04-13T09:20:50.014Z] Signing v2.2.0-dev.10 [Pipeline] echo [2022-04-13T09:20:50.285Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:20:50.573Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-13T09:20:50.587Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-13T09:20:50.606Z] $ docker stop --time=1 80645cbc7fa6fa70b170c626e5678c5ed79088d19eab51f401a1fd5cd7270afc [2022-04-13T09:20:51.933Z] $ docker rm -f 80645cbc7fa6fa70b170c626e5678c5ed79088d19eab51f401a1fd5cd7270afc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-13T09:20:52.344Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:20:52.344Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:52.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:20:52.640Z] . [Pipeline] withDockerContainer [2022-04-13T09:20:52.712Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:20:52.760Z] $ 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-13T09:20:53.248Z] $ docker top 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:20:53.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:20:53.341Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:20:53.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:20:53.466Z] $ docker exec 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 ssh-agent [2022-04-13T09:20:53.591Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMmADhi/agent.13 [2022-04-13T09:20:53.591Z] SSH_AGENT_PID=19 [2022-04-13T09:20:53.597Z] Running ssh-add (command line suppressed) [2022-04-13T09:20:53.707Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8138670760216525653.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8138670760216525653.key) [2022-04-13T09:20:53.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:20:54.012Z] + git semver bump pre [2022-04-13T09:20:54.012Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:20:54.012Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-13T09:20:54.012Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-13T09:20:54.012Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:20:54.012Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:20:54.012Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:20:54.012Z] # $SEMVER_BRANCH = main [2022-04-13T09:20:54.012Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-13T09:20:54.012Z] 2.2.0-dev.11 [Pipeline] } [2022-04-13T09:20:54.025Z] $ docker exec --env ******** --env ******** 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 ssh-agent -k [2022-04-13T09:20:54.133Z] unset SSH_AUTH_SOCK; [2022-04-13T09:20:54.133Z] unset SSH_AGENT_PID; [2022-04-13T09:20:54.133Z] echo Agent pid 19 killed; [2022-04-13T09:20:54.141Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:20:54.453Z] + git semver [Pipeline] } [2022-04-13T09:20:54.469Z] $ docker stop --time=1 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 [2022-04-13T09:20:55.755Z] $ docker rm -f 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T09:20:56.110Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T09:20:56.110Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:20:56.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T09:20:56.405Z] . [Pipeline] withDockerContainer [2022-04-13T09:20:56.475Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:20:56.512Z] $ 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-13T09:20:56.883Z] $ docker top 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T09:20:56.971Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T09:20:56.971Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T09:20:57.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T09:20:57.105Z] $ docker exec 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 ssh-agent [2022-04-13T09:20:57.234Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaACocH/agent.14 [2022-04-13T09:20:57.234Z] SSH_AGENT_PID=20 [2022-04-13T09:20:57.238Z] Running ssh-add (command line suppressed) [2022-04-13T09:20:57.355Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4645272784886745284.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4645272784886745284.key) [2022-04-13T09:20:57.366Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T09:20:57.658Z] + git semver push [2022-04-13T09:20:57.658Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T09:20:57.658Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-13T09:20:57.658Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-13T09:20:57.658Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T09:20:57.658Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T09:20:57.658Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T09:20:57.658Z] # $SEMVER_BRANCH = main [2022-04-13T09:20:57.658Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-13T09:20:59.579Z] $ docker exec --env ******** --env ******** 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 ssh-agent -k [2022-04-13T09:20:59.692Z] unset SSH_AUTH_SOCK; [2022-04-13T09:20:59.692Z] unset SSH_AGENT_PID; [2022-04-13T09:20:59.692Z] echo Agent pid 20 killed; [2022-04-13T09:20:59.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T09:21:00.008Z] + git semver [Pipeline] } [2022-04-13T09:21:00.025Z] $ docker stop --time=1 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 [2022-04-13T09:21:01.307Z] $ docker rm -f 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 [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-13T09:21:01.852Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-04-13T09:21:01.852Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-13T09:21:01.852Z] total 16 [2022-04-13T09:21:01.852Z] drwxr-xr-x 3 root root 4096 Apr 13 09:11 . [2022-04-13T09:21:01.852Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:20 .. [2022-04-13T09:21:01.852Z] drwxr-xr-x 2 root root 4096 Apr 13 09:11 cost [2022-04-13T09:21:01.852Z] -rw-r--r-- 1 root root 84 Apr 13 09:11 cost.csv [2022-04-13T09:21:01.852Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-13T09:21:01.852Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-13T09:21:01.852Z] total 16 [2022-04-13T09:21:01.852Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:11 . [2022-04-13T09:21:01.852Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:20 .. [2022-04-13T09:21:01.852Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 09:11 cost [2022-04-13T09:21:01.852Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 13 09:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:02.154Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:03.049Z] ---> package-listing.sh [2022-04-13T09:21:03.049Z] ++ facter osfamily [2022-04-13T09:21:03.049Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T09:21:03.049Z] + OS_FAMILY=debian [2022-04-13T09:21:03.049Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-04-13T09:21:03.049Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T09:21:03.049Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T09:21:03.049Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T09:21:03.049Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T09:21:03.049Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-13T09:21:03.049Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T09:21:03.049Z] + case "${OS_FAMILY}" in [2022-04-13T09:21:03.049Z] + dpkg -l [2022-04-13T09:21:03.049Z] + grep '^ii' [2022-04-13T09:21:03.338Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T09:21:03.338Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T09:21:03.338Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T09:21:03.338Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-13T09:21:03.338Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-04-13T09:21:03.338Z] + 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-13T09:21:03.373Z] 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-13T09:21:03.646Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T09:21:04.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T09:21:04.206Z] . [Pipeline] withDockerContainer [2022-04-13T09:21:04.273Z] prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container [2022-04-13T09:21:04.307Z] $ 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-13T09:21:04.551Z] $ docker top daffe65f168a3ba240e794e95ccc3ca5d54f9e718ca6642db7f047842d82523b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T09:21:04.902Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T09:21:05.189Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T09:21:05.474Z] + ls /var/log/sa-host [2022-04-13T09:21:05.474Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T09:21:05.562Z] provisioning config files... [2022-04-13T09:21:05.570Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1909636388652317525tmp [Pipeline] { [Pipeline] echo [2022-04-13T09:21:05.584Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:05.871Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T09:21:05.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:06.201Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T09:21:06.213Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:06.499Z] ---> sudo-logs.sh [2022-04-13T09:21:06.499Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T09:21:06.526Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:06.810Z] ---> job-cost.sh [2022-04-13T09:21:06.810Z] lf-activate-venv: SKIPPING [2022-04-13T09:21:06.810Z] DEBUG: total: 0.2199999988079071 [2022-04-13T09:21:06.810Z] INFO: Retrieving Stack Cost... [2022-04-13T09:21:07.382Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T09:21:07.642Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T09:21:07.655Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T09:21:07.943Z] ---> logs-deploy.sh [2022-04-13T09:21:07.943Z] lf-activate-venv: SKIPPING [2022-04-13T09:21:07.943Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/20 [2022-04-13T09:21:07.943Z] INFO: archiving workspace using pattern(s): [2022-04-13T09:21:08.887Z] Archives upload complete. [2022-04-13T09:21:08.887Z] INFO: archiving logs to Nexus