Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76bc78b56c3c6b32f516faff42577919f6a867f5 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-ssh7028924485714541100.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-ssh2252775810427553387.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-ssh12200769313590741783.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-ssh10474853396084459052.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-ssh7917790559385794801.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11756 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 76bc78b56c3c6b32f516faff42577919f6a867f5 (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 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 Commit message: "Merge pull request #152 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T05:04:10.059Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T05:04:10.126Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T05:04:10.143Z] ========================================================= [2022-04-10T05:04:10.143Z] EdgeX Global Pipelines Version Info [2022-04-10T05:04:10.143Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:04:10.903Z] ------------------- [2022-04-10T05:04:10.903Z] stable info: [2022-04-10T05:04:10.903Z] ------------------- [2022-04-10T05:04:10.903Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T05:04:10.903Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:04:10.903Z] Message: update stable to v1.0.221 [2022-04-10T05:04:11.479Z] ------------------- [2022-04-10T05:04:11.479Z] experimental info: [2022-04-10T05:04:11.479Z] ------------------- [2022-04-10T05:04:11.479Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T05:04:11.479Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:04:11.479Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T05:04:11.619Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-10T05:04:11.634Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-10T05:04:11.646Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T05:04:11.657Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T05:04:11.670Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T05:04:11.682Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T05:04:11.694Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T05:04:11.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-10T05:04:11.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T05:04:11.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T05:04:11.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T05:04:11.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-10T05:04:11.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T05:04:11.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T05:04:11.786Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:04:11.795Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:04:11.806Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:04:11.816Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:04:11.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T05:04:11.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T05:04:11.845Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-10T05:04:11.860Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-10T05:04:11.873Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T05:04:11.888Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T05:04:11.907Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T05:04:11.922Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T05:04:11.934Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-10T05:04:11.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-10T05:04:11.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-10T05:04:11.979Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] echo [2022-04-10T05:04:11.993Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76bc78b [Pipeline] echo [2022-04-10T05:04:12.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:04:12.049Z] provisioning config files... [2022-04-10T05:04:12.066Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config862283229356354818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:04:12.375Z] ---> docker-login.sh [2022-04-10T05:04:12.375Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:04:12.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:12.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:12.637Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:12.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:12.637Z] [2022-04-10T05:04:12.637Z] Login Succeeded [2022-04-10T05:04:12.637Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:04:12.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:12.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:12.897Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:12.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:12.897Z] [2022-04-10T05:04:12.897Z] Login Succeeded [2022-04-10T05:04:12.897Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:04:12.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:13.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:13.158Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:13.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:13.158Z] [2022-04-10T05:04:13.158Z] Login Succeeded [2022-04-10T05:04:13.158Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:04:13.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:13.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:13.158Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:13.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:13.158Z] [2022-04-10T05:04:13.158Z] Login Succeeded [2022-04-10T05:04:13.158Z] docker.io [2022-04-10T05:04:13.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:13.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:13.730Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:13.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:13.730Z] [2022-04-10T05:04:13.730Z] Login Succeeded [2022-04-10T05:04:13.730Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:04:13.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T05:04:14.109Z] + git rev-list -1 --merges 76bc78b56c3c6b32f516faff42577919f6a867f5~1..76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] echo [2022-04-10T05:04:14.234Z] -----------> git rev-list -1 --merges 76bc78b56c3c6b32f516faff42577919f6a867f5~1..76bc78b56c3c6b32f516faff42577919f6a867f5 76bc78b56c3c6b32f516faff42577919f6a867f5 [2022-04-10T05:04:14.234Z] 76bc78b56c3c6b32f516faff42577919f6a867f5 [false] [Pipeline] sh [2022-04-10T05:04:14.529Z] + git log --format=format:%s -1 76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] echo [2022-04-10T05:04:14.541Z] ========================================================= [2022-04-10T05:04:14.541Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T05:04:14.541Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:04:14.865Z] + git log --format=format:%s -1 76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] echo [2022-04-10T05:04:14.879Z] [semverPrep] GIT_COMMIT: 76bc78b56c3c6b32f516faff42577919f6a867f5, Commit Message: Merge pull request #152 from jpwhitemn/enable-security-hardening [Pipeline] echo [2022-04-10T05:04:14.888Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T05:04:15.266Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:04:15.267Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T05:04:15.267Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T05:04:15.267Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T05:04:15.267Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T05:04:15.267Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T05:04:15.267Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:04:15.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:04:15.615Z] [2022-04-10T05:04:15.615Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:04:15.917Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:04:15.917Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T05:04:15.917Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T05:04:15.917Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T05:04:15.917Z] 4c7163046ea9: Pulling fs layer [2022-04-10T05:04:15.917Z] 0c2d73faf560: Pulling fs layer [2022-04-10T05:04:15.917Z] 0c2d73faf560: Waiting [2022-04-10T05:04:15.917Z] 3e5f54012d9b: Verifying Checksum [2022-04-10T05:04:15.917Z] 3e5f54012d9b: Download complete [2022-04-10T05:04:15.917Z] a0d0a0d46f8b: Verifying Checksum [2022-04-10T05:04:15.917Z] a0d0a0d46f8b: Download complete [2022-04-10T05:04:15.917Z] 4c7163046ea9: Verifying Checksum [2022-04-10T05:04:15.917Z] 4c7163046ea9: Download complete [2022-04-10T05:04:15.917Z] 0c2d73faf560: Verifying Checksum [2022-04-10T05:04:15.917Z] 0c2d73faf560: Download complete [2022-04-10T05:04:16.178Z] a0d0a0d46f8b: Pull complete [2022-04-10T05:04:16.178Z] 3e5f54012d9b: Pull complete [2022-04-10T05:04:16.440Z] 4c7163046ea9: Pull complete [2022-04-10T05:04:16.701Z] 0c2d73faf560: Pull complete [2022-04-10T05:04:16.701Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T05:04:16.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:04:16.701Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T05:04:16.782Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:04:16.816Z] $ 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-10T05:04:17.544Z] $ docker top 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:04:17.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:04:17.651Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:04:17.768Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:04:17.762Z] $ docker exec 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 ssh-agent [2022-04-10T05:04:17.890Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnlcnil/agent.14 [2022-04-10T05:04:17.890Z] SSH_AGENT_PID=21 [2022-04-10T05:04:17.898Z] Running ssh-add (command line suppressed) [2022-04-10T05:04:17.996Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6971799598173521859.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6971799598173521859.key) [2022-04-10T05:04:18.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:04:18.311Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T05:04:18.323Z] $ docker exec --env ******** --env ******** 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 ssh-agent -k [2022-04-10T05:04:18.440Z] unset SSH_AUTH_SOCK; [2022-04-10T05:04:18.441Z] unset SSH_AGENT_PID; [2022-04-10T05:04:18.441Z] echo Agent pid 21 killed; [2022-04-10T05:04:18.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T05:04:18.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:04:18.485Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:04:18.596Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:04:18.591Z] $ docker exec 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 ssh-agent [2022-04-10T05:04:18.731Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoaFhLA/agent.53 [2022-04-10T05:04:18.731Z] SSH_AGENT_PID=60 [2022-04-10T05:04:18.736Z] Running ssh-add (command line suppressed) [2022-04-10T05:04:18.846Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3565861646626700091.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3565861646626700091.key) [2022-04-10T05:04:18.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:04:19.168Z] + git semver init [2022-04-10T05:04:19.168Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:04:19.168Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-10T05:04:19.168Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-10T05:04:19.168Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:04:19.168Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:04:19.168Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:04:19.168Z] # $SEMVER_BRANCH = main [2022-04-10T05:04:19.168Z] # $SEMVER_TEMP = /tmp/semver-714936509 [2022-04-10T05:04:19.168Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-10T05:04:20.118Z] # '/tmp/semver-714936509' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2022-04-10T05:04:20.118Z] # -> Force: false [2022-04-10T05:04:20.118Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-10T05:04:20.125Z] $ docker exec --env ******** --env ******** 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 ssh-agent -k [2022-04-10T05:04:20.233Z] unset SSH_AUTH_SOCK; [2022-04-10T05:04:20.234Z] unset SSH_AGENT_PID; [2022-04-10T05:04:20.234Z] echo Agent pid 60 killed; [2022-04-10T05:04:20.254Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:04:20.570Z] + git semver [Pipeline] } [2022-04-10T05:04:20.578Z] $ docker stop --time=1 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 [2022-04-10T05:04:21.958Z] $ docker rm -f 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:04:22.319Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T05:04:22.578Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T05:04:22.581Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [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-10T05:04:22.713Z] provisioning config files... [2022-04-10T05:04:22.723Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6213824395601913050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:04:23.028Z] ---> docker-login.sh [2022-04-10T05:04:23.028Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:04:23.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:23.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:23.028Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:23.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:23.028Z] [2022-04-10T05:04:23.028Z] Login Succeeded [2022-04-10T05:04:23.028Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:04:23.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:23.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:23.289Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:23.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:23.289Z] [2022-04-10T05:04:23.289Z] Login Succeeded [2022-04-10T05:04:23.289Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:04:23.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:23.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:23.289Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:23.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:23.289Z] [2022-04-10T05:04:23.289Z] Login Succeeded [2022-04-10T05:04:23.289Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:04:23.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:23.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:23.550Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:23.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:23.550Z] [2022-04-10T05:04:23.550Z] Login Succeeded [2022-04-10T05:04:23.550Z] docker.io [2022-04-10T05:04:23.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:04:23.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:04:23.812Z] Configure a credential helper to remove this warning. See [2022-04-10T05:04:23.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:04:23.812Z] [2022-04-10T05:04:23.812Z] Login Succeeded [2022-04-10T05:04:23.812Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:04:23.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:04:23.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:04:23.895Z] ========================================================= [2022-04-10T05:04:23.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T05:04:23.895Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:04:24.206Z] + 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-10T05:04:24.207Z] Sending build context to Docker daemon 5.229MB [2022-04-10T05:04:24.207Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:04:24.207Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-10T05:04:24.207Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T05:04:24.207Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T05:04:24.207Z] 666ba61612fd: Pulling fs layer [2022-04-10T05:04:24.207Z] 8ed8ca486205: Pulling fs layer [2022-04-10T05:04:24.207Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T05:04:24.207Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T05:04:24.207Z] 4fe6c5a15a65: Waiting [2022-04-10T05:04:24.207Z] 22a0e8bec74d: Waiting [2022-04-10T05:04:24.207Z] 640e595b4fbd: Pulling fs layer [2022-04-10T05:04:24.207Z] 763cafe07f6e: Pulling fs layer [2022-04-10T05:04:24.207Z] 0c0b528cf693: Pulling fs layer [2022-04-10T05:04:24.207Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T05:04:24.207Z] 10935f4eaf8b: Waiting [2022-04-10T05:04:24.207Z] 8ed8ca486205: Verifying Checksum [2022-04-10T05:04:24.207Z] 8ed8ca486205: Download complete [2022-04-10T05:04:24.467Z] 666ba61612fd: Verifying Checksum [2022-04-10T05:04:24.467Z] 666ba61612fd: Download complete [2022-04-10T05:04:24.467Z] 22a0e8bec74d: Download complete [2022-04-10T05:04:24.467Z] 59bf1c3509f3: Verifying Checksum [2022-04-10T05:04:24.467Z] 59bf1c3509f3: Download complete [2022-04-10T05:04:24.467Z] 640e595b4fbd: Verifying Checksum [2022-04-10T05:04:24.467Z] 640e595b4fbd: Download complete [2022-04-10T05:04:24.467Z] 763cafe07f6e: Download complete [2022-04-10T05:04:24.467Z] 0c0b528cf693: Verifying Checksum [2022-04-10T05:04:24.467Z] 0c0b528cf693: Download complete [2022-04-10T05:04:24.467Z] 59bf1c3509f3: Pull complete [2022-04-10T05:04:24.727Z] 666ba61612fd: Pull complete [2022-04-10T05:04:24.727Z] 8ed8ca486205: Pull complete [2022-04-10T05:04:24.985Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T05:04:24.985Z] 10935f4eaf8b: Download complete [2022-04-10T05:04:24.985Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T05:04:24.985Z] 4fe6c5a15a65: Download complete [2022-04-10T05:04:29.191Z] 4fe6c5a15a65: Pull complete [2022-04-10T05:04:29.191Z] 22a0e8bec74d: Pull complete [2022-04-10T05:04:29.191Z] 640e595b4fbd: Pull complete [2022-04-10T05:04:29.452Z] 763cafe07f6e: Pull complete [2022-04-10T05:04:29.452Z] 0c0b528cf693: Pull complete [2022-04-10T05:04:32.005Z] 10935f4eaf8b: Pull complete [2022-04-10T05:04:32.005Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T05:04:32.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T05:04:32.005Z] ---> 99d49a6021b9 [2022-04-10T05:04:32.005Z] Step 3/12 : ARG MAKE='make build' [2022-04-10T05:04:33.392Z] ---> Running in d49be64e8821 [2022-04-10T05:04:33.654Z] Removing intermediate container d49be64e8821 [2022-04-10T05:04:33.654Z] ---> f3f737591f98 [2022-04-10T05:04:33.654Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:04:33.654Z] ---> Running in 32131baf2e3f [2022-04-10T05:04:33.654Z] Removing intermediate container 32131baf2e3f [2022-04-10T05:04:33.654Z] ---> 307d86e909f3 [2022-04-10T05:04:33.654Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:04:33.654Z] ---> Running in 582be2684d7c [2022-04-10T05:04:33.915Z] Removing intermediate container 582be2684d7c [2022-04-10T05:04:33.915Z] ---> f7b279820830 [2022-04-10T05:04:33.915Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:04:33.915Z] ---> Running in f94a1a0e5f5f [2022-04-10T05:04:34.487Z] Removing intermediate container f94a1a0e5f5f [2022-04-10T05:04:34.487Z] ---> 75cedf3ebd49 [2022-04-10T05:04:34.487Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:04:34.487Z] ---> Running in 5c4c9eb2ad22 [2022-04-10T05:04:34.751Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:04:35.698Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:04:35.960Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:04:36.223Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T05:04:36.223Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:04:36.223Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:04:36.486Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:04:36.486Z] OK: 224 MiB in 56 packages [2022-04-10T05:04:36.748Z] Removing intermediate container 5c4c9eb2ad22 [2022-04-10T05:04:36.748Z] ---> 1b3009fbee9f [2022-04-10T05:04:36.748Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-10T05:04:37.010Z] ---> Running in 00f71196855c [2022-04-10T05:04:37.010Z] Removing intermediate container 00f71196855c [2022-04-10T05:04:37.010Z] ---> 16c46447e3e8 [2022-04-10T05:04:37.010Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-10T05:04:37.010Z] ---> d4fe93c3b269 [2022-04-10T05:04:37.010Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:04:37.272Z] ---> Running in 90e870fac935 [2022-04-10T05:04:37.675Z] Still waiting to schedule task [2022-04-10T05:04:37.676Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-11757’ is offline [2022-04-10T05:04:52.183Z] Removing intermediate container 90e870fac935 [2022-04-10T05:04:52.183Z] ---> 03718788221b [2022-04-10T05:04:52.183Z] Step 11/12 : COPY . . [2022-04-10T05:04:52.183Z] ---> 6e780d9b408f [2022-04-10T05:04:52.183Z] Step 12/12 : RUN ${MAKE} [2022-04-10T05:04:52.183Z] ---> Running in 0c5f9c517158 [2022-04-10T05:04:52.183Z] noop [2022-04-10T05:04:52.183Z] Removing intermediate container 0c5f9c517158 [2022-04-10T05:04:52.183Z] ---> 59c0956bbc5f [2022-04-10T05:04:52.183Z] Successfully built 59c0956bbc5f [2022-04-10T05:04:52.183Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:04:52.481Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:04:52.481Z] . [Pipeline] withDockerContainer [2022-04-10T05:04:52.560Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:04:52.605Z] $ 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-10T05:04:53.387Z] $ docker top 3b3ca9f857087bc9470b6b80694a8101883e5ceebb6b745c41235616157f8ccf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:04:53.746Z] + go version [2022-04-10T05:04:53.746Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T05:04:53.767Z] $ docker stop --time=1 3b3ca9f857087bc9470b6b80694a8101883e5ceebb6b745c41235616157f8ccf [2022-04-10T05:04:55.069Z] $ docker rm -f 3b3ca9f857087bc9470b6b80694a8101883e5ceebb6b745c41235616157f8ccf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:04:55.477Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:04:55.478Z] . [Pipeline] withDockerContainer [2022-04-10T05:04:55.556Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:04:55.601Z] $ 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-10T05:04:56.023Z] $ docker top 8f47d2837ae9521ed6574183971d6bc3560814ae27fd538e3ae97fec04d2506f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:04:56.383Z] + make test [2022-04-10T05:04:56.383Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-10T05:04:56.951Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-10T05:05:06.955Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-10T05:05:06.955Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2022-04-10T05:05:13.617Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:05:16.908Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:05:16.908Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:05:16.908Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:05:17.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:05:17.515Z] $ docker stop --time=1 8f47d2837ae9521ed6574183971d6bc3560814ae27fd538e3ae97fec04d2506f [2022-04-10T05:05:19.404Z] $ docker rm -f 8f47d2837ae9521ed6574183971d6bc3560814ae27fd538e3ae97fec04d2506f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:05:19.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:05:19.886Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T05:05:20.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:05:20.814Z] + ls -al . [2022-04-10T05:05:20.814Z] total 164 [2022-04-10T05:05:20.814Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:05 . [2022-04-10T05:05:20.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:04 .. [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 10 05:04 .dockerignore [2022-04-10T05:05:20.814Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:04 .git [2022-04-10T05:05:20.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:04 .github [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 10 05:04 .gitignore [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:04 .golangci.yml [2022-04-10T05:05:20.814Z] drwx------ 3 jenkins jenkins 4096 Apr 10 05:04 .semver [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 10 05:04 Attribution.txt [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 10 05:04 CHANGELOG.md [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 10 05:04 Dockerfile [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:04 GOVERNANCE.md [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 10 05:04 Jenkinsfile [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:04 LICENSE [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 10 05:04 Makefile [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 05:04 OWNERS.md [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 10 05:04 README.md [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 10 05:04 VERSION [2022-04-10T05:05:20.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:04 bin [2022-04-10T05:05:20.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:04 cmd [2022-04-10T05:05:20.814Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 10 05:05 coverage.out [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 10 05:04 go.mod [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 10 05:04 go.sum [2022-04-10T05:05:20.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:04 internal [2022-04-10T05:05:20.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:04 snap [2022-04-10T05:05:20.814Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 05:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:21.113Z] + 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=76bc78b56c3c6b32f516faff42577919f6a867f5 --label arch=amd64 --label version=2.2.0-dev.8 . [2022-04-10T05:05:21.113Z] Sending build context to Docker daemon 5.237MB [2022-04-10T05:05:21.113Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:05:21.113Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-10T05:05:21.113Z] ---> 59c0956bbc5f [2022-04-10T05:05:21.113Z] Step 3/24 : ARG MAKE='make build' [2022-04-10T05:05:21.113Z] ---> Running in a86da6c4300d [2022-04-10T05:05:21.373Z] Removing intermediate container a86da6c4300d [2022-04-10T05:05:21.373Z] ---> 54ada37b31b7 [2022-04-10T05:05:21.373Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:05:21.373Z] ---> Running in 3f39a05bd168 [2022-04-10T05:05:21.373Z] Removing intermediate container 3f39a05bd168 [2022-04-10T05:05:21.373Z] ---> 502af5bc5cf0 [2022-04-10T05:05:21.373Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:05:21.631Z] ---> Running in 5c3ff32b3110 [2022-04-10T05:05:21.631Z] Removing intermediate container 5c3ff32b3110 [2022-04-10T05:05:21.631Z] ---> 60faeb8a5c45 [2022-04-10T05:05:21.631Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:05:21.631Z] ---> Running in d30676b0debb [2022-04-10T05:05:22.205Z] Removing intermediate container d30676b0debb [2022-04-10T05:05:22.205Z] ---> 362e87e594cf [2022-04-10T05:05:22.205Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:05:22.205Z] ---> Running in e027fffec739 [2022-04-10T05:05:22.466Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:05:23.403Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:05:23.661Z] OK: 224 MiB in 56 packages [2022-04-10T05:05:24.234Z] Removing intermediate container e027fffec739 [2022-04-10T05:05:24.234Z] ---> 3dc47d365124 [2022-04-10T05:05:24.234Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-10T05:05:24.234Z] ---> Running in d50d409970c7 [2022-04-10T05:05:24.234Z] Removing intermediate container d50d409970c7 [2022-04-10T05:05:24.234Z] ---> 973d61a01b9b [2022-04-10T05:05:24.234Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-10T05:05:24.494Z] ---> ab8f4467ffbe [2022-04-10T05:05:24.494Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:05:24.494Z] ---> Running in 620721479eea [2022-04-10T05:05:25.063Z] Removing intermediate container 620721479eea [2022-04-10T05:05:25.063Z] ---> a410bd7c39a5 [2022-04-10T05:05:25.063Z] Step 11/24 : COPY . . [2022-04-10T05:05:25.323Z] ---> 6a1aeb40d268 [2022-04-10T05:05:25.323Z] Step 12/24 : RUN ${MAKE} [2022-04-10T05:05:25.323Z] ---> Running in f6cfdb822637 [2022-04-10T05:05:25.582Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-10T05:05:47.555Z] Removing intermediate container f6cfdb822637 [2022-04-10T05:05:47.555Z] ---> 3fe508091222 [2022-04-10T05:05:47.555Z] Step 13/24 : FROM alpine:3.14 [2022-04-10T05:05:47.555Z] 3.14: Pulling from library/alpine [2022-04-10T05:05:47.555Z] 8663204ce13b: Pulling fs layer [2022-04-10T05:05:47.555Z] 8663204ce13b: Verifying Checksum [2022-04-10T05:05:47.555Z] 8663204ce13b: Download complete [2022-04-10T05:05:47.555Z] 8663204ce13b: Pull complete [2022-04-10T05:05:47.555Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T05:05:47.555Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T05:05:47.555Z] ---> e04c818066af [2022-04-10T05:05:47.555Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T05:05:47.555Z] ---> Running in ec9c4ba86198 [2022-04-10T05:05:47.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:05:47.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:05:47.555Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T05:05:47.555Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T05:05:47.555Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T05:05:47.555Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T05:05:47.555Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T05:05:47.555Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T05:05:47.555Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T05:05:47.555Z] OK: 8 MiB in 20 packages [2022-04-10T05:05:47.555Z] Removing intermediate container ec9c4ba86198 [2022-04-10T05:05:47.555Z] ---> 4a291f2f85df [2022-04-10T05:05:47.555Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-10T05:05:47.555Z] ---> f2d0b7d68302 [2022-04-10T05:05:47.555Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-10T05:05:47.555Z] ---> e19d29ab20bf [2022-04-10T05:05:47.555Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-10T05:05:47.555Z] ---> 9392924febe6 [2022-04-10T05:05:47.555Z] Step 18/24 : EXPOSE 59993 [2022-04-10T05:05:47.555Z] ---> Running in dacf8d01e97d [2022-04-10T05:05:47.555Z] Removing intermediate container dacf8d01e97d [2022-04-10T05:05:47.555Z] ---> 0fadc1a7b7b5 [2022-04-10T05:05:47.555Z] Step 19/24 : EXPOSE 161 [2022-04-10T05:05:47.555Z] ---> Running in 8f257aa4ebd5 [2022-04-10T05:05:47.816Z] Removing intermediate container 8f257aa4ebd5 [2022-04-10T05:05:47.816Z] ---> f8d2402333a6 [2022-04-10T05:05:47.816Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-10T05:05:47.816Z] ---> Running in 4bbd70ad1d9e [2022-04-10T05:05:47.816Z] Removing intermediate container 4bbd70ad1d9e [2022-04-10T05:05:47.816Z] ---> 45e9966c9bd5 [2022-04-10T05:05:47.816Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-10T05:05:47.816Z] ---> Running in 7c22c94cff91 [2022-04-10T05:05:48.083Z] Removing intermediate container 7c22c94cff91 [2022-04-10T05:05:48.083Z] ---> cf3e3f053501 [2022-04-10T05:05:48.083Z] Step 22/24 : LABEL arch=amd64 [2022-04-10T05:05:48.083Z] ---> Running in af7e9c9c09a5 [2022-04-10T05:05:48.083Z] Removing intermediate container af7e9c9c09a5 [2022-04-10T05:05:48.083Z] ---> aadf9ed9a972 [2022-04-10T05:05:48.083Z] Step 23/24 : LABEL git_sha=76bc78b56c3c6b32f516faff42577919f6a867f5 [2022-04-10T05:05:48.083Z] ---> Running in ab5a677d1660 [2022-04-10T05:05:48.083Z] Removing intermediate container ab5a677d1660 [2022-04-10T05:05:48.083Z] ---> 44d52b3813e5 [2022-04-10T05:05:48.083Z] Step 24/24 : LABEL version=2.2.0-dev.8 [2022-04-10T05:05:48.342Z] ---> Running in 606fdd0ed640 [2022-04-10T05:05:48.342Z] Removing intermediate container 606fdd0ed640 [2022-04-10T05:05:48.342Z] ---> b2e80e6a0ed2 [2022-04-10T05:05:48.342Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T05:05:48.342Z] Successfully built b2e80e6a0ed2 [2022-04-10T05:05:48.342Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:05:48.417Z] provisioning config files... [2022-04-10T05:05:48.425Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5077368787568263975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:05:48.726Z] ---> docker-login.sh [2022-04-10T05:05:48.726Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:05:48.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:48.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:48.726Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:48.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:48.726Z] [2022-04-10T05:05:48.726Z] Login Succeeded [2022-04-10T05:05:48.726Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:05:48.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:48.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:48.989Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:48.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:48.989Z] [2022-04-10T05:05:48.989Z] Login Succeeded [2022-04-10T05:05:48.989Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:05:48.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:48.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:48.989Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:48.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:48.989Z] [2022-04-10T05:05:48.989Z] Login Succeeded [2022-04-10T05:05:48.989Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:05:48.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:49.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:49.249Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:49.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:49.249Z] [2022-04-10T05:05:49.249Z] Login Succeeded [2022-04-10T05:05:49.249Z] docker.io [2022-04-10T05:05:49.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:49.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:49.510Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:49.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:49.510Z] [2022-04-10T05:05:49.510Z] Login Succeeded [2022-04-10T05:05:49.510Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:05:49.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:05:49.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:05:49.574Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-04-10T05:05:49.574Z] 76bc78b56c3c6b32f516faff42577919f6a867f5 [2022-04-10T05:05:49.574Z] latest [2022-04-10T05:05:49.574Z] 2.2.0-dev.8 [2022-04-10T05:05:49.574Z] 76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [2022-04-10T05:05:49.574Z] main [2022-04-10T05:05:49.574Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:49.891Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:50.185Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5 [2022-04-10T05:05:50.186Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-10T05:05:50.186Z] 7a0ecdaccf87: Preparing [2022-04-10T05:05:50.186Z] c50c6da4b6ce: Preparing [2022-04-10T05:05:50.186Z] 22980ac5961d: Preparing [2022-04-10T05:05:50.186Z] c0cd5d3bc6c3: Preparing [2022-04-10T05:05:50.186Z] b541d28bf3b4: Preparing [2022-04-10T05:05:50.186Z] b541d28bf3b4: Layer already exists [2022-04-10T05:05:50.186Z] c50c6da4b6ce: Pushed [2022-04-10T05:05:50.186Z] 7a0ecdaccf87: Pushed [2022-04-10T05:05:50.443Z] c0cd5d3bc6c3: Pushed [2022-04-10T05:05:52.987Z] 22980ac5961d: Pushed [2022-04-10T05:05:52.987Z] 76bc78b56c3c6b32f516faff42577919f6a867f5: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:53.278Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:53.569Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-10T05:05:53.569Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-10T05:05:53.569Z] 7a0ecdaccf87: Preparing [2022-04-10T05:05:53.569Z] c50c6da4b6ce: Preparing [2022-04-10T05:05:53.569Z] 22980ac5961d: Preparing [2022-04-10T05:05:53.569Z] c0cd5d3bc6c3: Preparing [2022-04-10T05:05:53.569Z] b541d28bf3b4: Preparing [2022-04-10T05:05:53.569Z] 7a0ecdaccf87: Layer already exists [2022-04-10T05:05:53.569Z] c0cd5d3bc6c3: Layer already exists [2022-04-10T05:05:53.569Z] c50c6da4b6ce: Layer already exists [2022-04-10T05:05:53.569Z] b541d28bf3b4: Layer already exists [2022-04-10T05:05:53.569Z] 22980ac5961d: Layer already exists [2022-04-10T05:05:53.569Z] latest: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:53.866Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:54.158Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.8 [2022-04-10T05:05:54.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-10T05:05:54.158Z] 7a0ecdaccf87: Preparing [2022-04-10T05:05:54.158Z] c50c6da4b6ce: Preparing [2022-04-10T05:05:54.158Z] 22980ac5961d: Preparing [2022-04-10T05:05:54.158Z] c0cd5d3bc6c3: Preparing [2022-04-10T05:05:54.158Z] b541d28bf3b4: Preparing [2022-04-10T05:05:54.158Z] 22980ac5961d: Layer already exists [2022-04-10T05:05:54.158Z] c0cd5d3bc6c3: Layer already exists [2022-04-10T05:05:54.158Z] c50c6da4b6ce: Layer already exists [2022-04-10T05:05:54.158Z] 7a0ecdaccf87: Layer already exists [2022-04-10T05:05:54.158Z] b541d28bf3b4: Layer already exists [2022-04-10T05:05:54.158Z] 2.2.0-dev.8: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:54.459Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:54.759Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [2022-04-10T05:05:54.759Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-10T05:05:54.759Z] 7a0ecdaccf87: Preparing [2022-04-10T05:05:54.759Z] c50c6da4b6ce: Preparing [2022-04-10T05:05:54.759Z] 22980ac5961d: Preparing [2022-04-10T05:05:54.759Z] c0cd5d3bc6c3: Preparing [2022-04-10T05:05:54.759Z] b541d28bf3b4: Preparing [2022-04-10T05:05:54.759Z] b541d28bf3b4: Layer already exists [2022-04-10T05:05:54.759Z] c0cd5d3bc6c3: Layer already exists [2022-04-10T05:05:54.759Z] 7a0ecdaccf87: Layer already exists [2022-04-10T05:05:54.759Z] 22980ac5961d: Layer already exists [2022-04-10T05:05:54.759Z] c50c6da4b6ce: Layer already exists [2022-04-10T05:05:54.759Z] 76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:55.062Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:55.358Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-04-10T05:05:55.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-10T05:05:55.358Z] 7a0ecdaccf87: Preparing [2022-04-10T05:05:55.358Z] c50c6da4b6ce: Preparing [2022-04-10T05:05:55.358Z] 22980ac5961d: Preparing [2022-04-10T05:05:55.358Z] c0cd5d3bc6c3: Preparing [2022-04-10T05:05:55.358Z] b541d28bf3b4: Preparing [2022-04-10T05:05:55.358Z] c50c6da4b6ce: Layer already exists [2022-04-10T05:05:55.358Z] 22980ac5961d: Layer already exists [2022-04-10T05:05:55.358Z] b541d28bf3b4: Layer already exists [2022-04-10T05:05:55.358Z] c0cd5d3bc6c3: Layer already exists [2022-04-10T05:05:55.358Z] 7a0ecdaccf87: Layer already exists [2022-04-10T05:05:55.358Z] main: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:05:55.396Z] ===================================================== [Pipeline] echo [2022-04-10T05:05:55.407Z] taggedImages: [2022-04-10T05:05:55.407Z] - nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5 [2022-04-10T05:05:55.407Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-10T05:05:55.407Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.8 [2022-04-10T05:05:55.407Z] - nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [2022-04-10T05:05:55.407Z] - 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-10T05:05:55.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:05:55.757Z] [2022-04-10T05:05:55.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:56.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:05:56.061Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T05:05:56.061Z] 5eb5b503b376: Pulling fs layer [2022-04-10T05:05:56.061Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T05:05:56.061Z] ec43610c2a17: Pulling fs layer [2022-04-10T05:05:56.061Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T05:05:56.061Z] 33b1e0a273af: Pulling fs layer [2022-04-10T05:05:56.061Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T05:05:56.061Z] 2f39f015ded8: Pulling fs layer [2022-04-10T05:05:56.061Z] 3a2ae6a8a46f: Waiting [2022-04-10T05:05:56.061Z] 33b1e0a273af: Waiting [2022-04-10T05:05:56.061Z] 5d3b04190fa2: Waiting [2022-04-10T05:05:56.061Z] 2f39f015ded8: Waiting [2022-04-10T05:05:56.061Z] 5c69ac0246d0: Verifying Checksum [2022-04-10T05:05:56.061Z] 5c69ac0246d0: Download complete [2022-04-10T05:05:56.061Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T05:05:56.061Z] 3a2ae6a8a46f: Download complete [2022-04-10T05:05:56.321Z] 33b1e0a273af: Verifying Checksum [2022-04-10T05:05:56.321Z] 33b1e0a273af: Download complete [2022-04-10T05:05:56.321Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T05:05:56.321Z] 5d3b04190fa2: Download complete [2022-04-10T05:05:56.321Z] ec43610c2a17: Verifying Checksum [2022-04-10T05:05:56.321Z] ec43610c2a17: Download complete [2022-04-10T05:05:56.321Z] 5eb5b503b376: Verifying Checksum [2022-04-10T05:05:56.321Z] 5eb5b503b376: Download complete [2022-04-10T05:05:56.889Z] 2f39f015ded8: Verifying Checksum [2022-04-10T05:05:56.890Z] 2f39f015ded8: Download complete [2022-04-10T05:05:57.828Z] 5eb5b503b376: Pull complete [2022-04-10T05:05:57.828Z] 5c69ac0246d0: Pull complete [2022-04-10T05:05:58.396Z] ec43610c2a17: Pull complete [2022-04-10T05:05:58.396Z] 3a2ae6a8a46f: Pull complete [2022-04-10T05:05:58.654Z] 33b1e0a273af: Pull complete [2022-04-10T05:05:58.654Z] 5d3b04190fa2: Pull complete [2022-04-10T05:06:02.847Z] 2f39f015ded8: Pull complete [2022-04-10T05:06:02.847Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T05:06:02.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:06:02.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T05:06:02.916Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:06:03.035Z] $ 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-10T05:06:04.946Z] $ docker top 903b2d552dbb562a09eb86b37ac93b5264238fd131e8a694ee1569716cf7b567 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:06:05.326Z] ---> job-cost.sh [2022-04-10T05:06:05.326Z] lf-activate-venv: SKIPPING [2022-04-10T05:06:05.326Z] INFO: No Stack... [2022-04-10T05:06:05.896Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:06:06.157Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:06:06.458Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-04-10T05:06:06.458Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:06:06.474Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [2022-04-10T05:06:06.482Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] did not exist. Created. [2022-04-10T05:06:06.482Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:06:06.824Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T05:06:06.856Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:06:06.862Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:06:06.891Z] $ docker stop --time=1 903b2d552dbb562a09eb86b37ac93b5264238fd131e8a694ee1569716cf7b567 [2022-04-10T05:06:08.068Z] $ docker rm -f 903b2d552dbb562a09eb86b37ac93b5264238fd131e8a694ee1569716cf7b567 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T05:07:29.809Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11762 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-04-10T05:07:29.822Z] Running in /w/workspace/device-snmp-go/18 [Pipeline] { [Pipeline] checkout [2022-04-10T05:07:30.290Z] Selected Git installation does not exist. Using Default [2022-04-10T05:07:30.290Z] The recommended git tool is: NONE [2022-04-10T05:07:39.496Z] using credential edgex-jenkins-ssh [2022-04-10T05:07:39.522Z] Cloning the remote Git repository [2022-04-10T05:07:39.614Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-10T05:07:39.738Z] > git init /w/workspace/device-snmp-go/18 # timeout=10 [2022-04-10T05:07:39.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-10T05:07:39.871Z] > git --version # timeout=10 [2022-04-10T05:07:39.909Z] > git --version # 'git version 2.25.1' [2022-04-10T05:07:39.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T05:07:41.452Z] Avoid second fetch [2022-04-10T05:07:41.452Z] Checking out Revision 76bc78b56c3c6b32f516faff42577919f6a867f5 (main) [2022-04-10T05:07:40.081Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:07:41.373Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-10T05:07:41.409Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:07:41.491Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T05:07:41.518Z] > git checkout -f 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 [2022-04-10T05:07:46.672Z] Commit message: "Merge pull request #152 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:07:47.609Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T05:07:47.609Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:07:47.609Z] Dload Upload Total Spent Left Speed [2022-04-10T05:07:47.609Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46625 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh [2022-04-10T05:07:48.220Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T05:07:48.581Z] + sudo tee /etc/docker/daemon.new [2022-04-10T05:07:48.581Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T05:07:48.581Z] { [2022-04-10T05:07:48.581Z] "registry-mirrors": [ [2022-04-10T05:07:48.581Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T05:07:48.581Z] ], [2022-04-10T05:07:48.581Z] "bip": "10.250.0.254/24", [2022-04-10T05:07:48.581Z] "hosts": [ [2022-04-10T05:07:48.581Z] "tcp://0.0.0.0:5555", [2022-04-10T05:07:48.581Z] "unix:///var/run/docker.sock" [2022-04-10T05:07:48.581Z] ], [2022-04-10T05:07:48.581Z] "mtu": 1458, [2022-04-10T05:07:48.581Z] "selinux-enabled": true, [2022-04-10T05:07:48.581Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T05:07:48.581Z] } [Pipeline] sh [2022-04-10T05:07:48.953Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T05:07:49.326Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:08:07.769Z] provisioning config files... [2022-04-10T05:08:07.799Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/18@tmp/config5770780435448273717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:08:08.189Z] ---> docker-login.sh [2022-04-10T05:08:08.189Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:08:08.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:08:09.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:08:09.075Z] Configure a credential helper to remove this warning. See [2022-04-10T05:08:09.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:08:09.075Z] [2022-04-10T05:08:09.075Z] Login Succeeded [2022-04-10T05:08:09.075Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:08:09.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:08:09.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:08:09.642Z] Configure a credential helper to remove this warning. See [2022-04-10T05:08:09.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:08:09.642Z] [2022-04-10T05:08:09.642Z] Login Succeeded [2022-04-10T05:08:09.642Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:08:09.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:08:10.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:08:10.202Z] Configure a credential helper to remove this warning. See [2022-04-10T05:08:10.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:08:10.202Z] [2022-04-10T05:08:10.202Z] Login Succeeded [2022-04-10T05:08:10.202Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:08:10.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:08:10.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:08:10.761Z] Configure a credential helper to remove this warning. See [2022-04-10T05:08:10.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:08:10.761Z] [2022-04-10T05:08:10.761Z] Login Succeeded [2022-04-10T05:08:10.761Z] docker.io [2022-04-10T05:08:11.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:08:11.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:08:11.641Z] Configure a credential helper to remove this warning. See [2022-04-10T05:08:11.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:08:11.641Z] [2022-04-10T05:08:11.641Z] Login Succeeded [2022-04-10T05:08:11.641Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:08:11.661Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:08:12.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:08:12.521Z] ========================================================= [2022-04-10T05:08:12.521Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T05:08:12.521Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:08:12.879Z] + 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-10T05:08:13.499Z] Sending build context to Docker daemon 2.725MB [2022-04-10T05:08:13.499Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:08:13.499Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-10T05:08:13.499Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T05:08:13.499Z] 9b3977197b4f: Pulling fs layer [2022-04-10T05:08:13.499Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T05:08:13.499Z] 94645a83ff95: Pulling fs layer [2022-04-10T05:08:13.499Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T05:08:13.499Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T05:08:13.499Z] f7c0051592d6: Pulling fs layer [2022-04-10T05:08:13.499Z] a227ed2f7395: Pulling fs layer [2022-04-10T05:08:13.499Z] 7b1c46037f91: Pulling fs layer [2022-04-10T05:08:13.499Z] 3f3a8bcf1eab: Waiting [2022-04-10T05:08:13.499Z] f7c0051592d6: Waiting [2022-04-10T05:08:13.499Z] 0c92f367c5e7: Waiting [2022-04-10T05:08:13.499Z] a227ed2f7395: Waiting [2022-04-10T05:08:13.499Z] 7b1c46037f91: Waiting [2022-04-10T05:08:13.499Z] 94645a83ff95: Verifying Checksum [2022-04-10T05:08:13.499Z] 94645a83ff95: Download complete [2022-04-10T05:08:13.499Z] 1a89e8eeedd5: Download complete [2022-04-10T05:08:13.499Z] 0c92f367c5e7: Download complete [2022-04-10T05:08:13.499Z] f7c0051592d6: Verifying Checksum [2022-04-10T05:08:13.499Z] f7c0051592d6: Download complete [2022-04-10T05:08:13.777Z] a227ed2f7395: Verifying Checksum [2022-04-10T05:08:13.777Z] a227ed2f7395: Download complete [2022-04-10T05:08:13.777Z] 9b3977197b4f: Download complete [2022-04-10T05:08:14.385Z] 9b3977197b4f: Pull complete [2022-04-10T05:08:14.988Z] 1a89e8eeedd5: Pull complete [2022-04-10T05:08:15.265Z] 94645a83ff95: Pull complete [2022-04-10T05:08:15.546Z] 7b1c46037f91: Verifying Checksum [2022-04-10T05:08:15.546Z] 7b1c46037f91: Download complete [2022-04-10T05:08:16.143Z] 3f3a8bcf1eab: Download complete [2022-04-10T05:08:28.583Z] 3f3a8bcf1eab: Pull complete [2022-04-10T05:08:28.583Z] 0c92f367c5e7: Pull complete [2022-04-10T05:08:28.583Z] f7c0051592d6: Pull complete [2022-04-10T05:08:28.583Z] a227ed2f7395: Pull complete [2022-04-10T05:08:35.324Z] 7b1c46037f91: Pull complete [2022-04-10T05:08:35.324Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T05:08:35.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T05:08:35.324Z] ---> f79e39bc4007 [2022-04-10T05:08:35.324Z] Step 3/12 : ARG MAKE='make build' [2022-04-10T05:08:35.324Z] ---> Running in 5648125a1c1d [2022-04-10T05:08:35.598Z] Removing intermediate container 5648125a1c1d [2022-04-10T05:08:35.598Z] ---> 37af95e594af [2022-04-10T05:08:35.598Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:08:35.598Z] ---> Running in b0efa6db971f [2022-04-10T05:08:35.875Z] Removing intermediate container b0efa6db971f [2022-04-10T05:08:35.875Z] ---> bebeb1182d12 [2022-04-10T05:08:35.875Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:08:36.160Z] ---> Running in 921c8795766b [2022-04-10T05:08:36.436Z] Removing intermediate container 921c8795766b [2022-04-10T05:08:36.436Z] ---> fd9b18b5ce7f [2022-04-10T05:08:36.436Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:08:36.436Z] ---> Running in 68cceaf8541c [2022-04-10T05:08:38.425Z] Removing intermediate container 68cceaf8541c [2022-04-10T05:08:38.425Z] ---> d62992b40b7f [2022-04-10T05:08:38.425Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:08:38.425Z] ---> Running in 70bac7e85d33 [2022-04-10T05:08:39.413Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:08:40.393Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:08:41.370Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:08:41.370Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T05:08:41.370Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:08:41.653Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:08:41.653Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:08:41.928Z] OK: 224 MiB in 56 packages [2022-04-10T05:08:42.919Z] Removing intermediate container 70bac7e85d33 [2022-04-10T05:08:42.919Z] ---> 56874f069be1 [2022-04-10T05:08:42.919Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-10T05:08:42.919Z] ---> Running in 1bd94b9d10bf [2022-04-10T05:08:43.197Z] Removing intermediate container 1bd94b9d10bf [2022-04-10T05:08:43.197Z] ---> cac7a727e049 [2022-04-10T05:08:43.197Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-10T05:08:43.807Z] ---> 567234d64742 [2022-04-10T05:08:43.807Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:08:43.807Z] ---> Running in c543ddc2854b [2022-04-10T05:09:30.863Z] Removing intermediate container c543ddc2854b [2022-04-10T05:09:30.863Z] ---> f1de66708fbd [2022-04-10T05:09:30.863Z] Step 11/12 : COPY . . [2022-04-10T05:09:30.863Z] ---> 462987cbc401 [2022-04-10T05:09:30.863Z] Step 12/12 : RUN ${MAKE} [2022-04-10T05:09:30.863Z] ---> Running in de9235c0385f [2022-04-10T05:09:31.846Z] noop [2022-04-10T05:09:32.837Z] Removing intermediate container de9235c0385f [2022-04-10T05:09:32.837Z] ---> f2bca5aee593 [2022-04-10T05:09:32.837Z] Successfully built f2bca5aee593 [2022-04-10T05:09:32.837Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:09:33.192Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:09:33.192Z] . [Pipeline] withDockerContainer [2022-04-10T05:09:33.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-11762 does not seem to be running inside a container [2022-04-10T05:09:33.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@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-10T05:09:34.937Z] $ docker top 7d490522781bd4e23337479df7d3bf41df8dea22aeb19294e0696e3df79fd513 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:09:35.879Z] + go version [2022-04-10T05:09:35.879Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T05:09:35.912Z] $ docker stop --time=1 7d490522781bd4e23337479df7d3bf41df8dea22aeb19294e0696e3df79fd513 [2022-04-10T05:09:37.600Z] $ docker rm -f 7d490522781bd4e23337479df7d3bf41df8dea22aeb19294e0696e3df79fd513 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:09:38.232Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:09:38.232Z] . [Pipeline] withDockerContainer [2022-04-10T05:09:38.479Z] prd-ubuntu20.04-docker-arm64-4c-16g-11762 does not seem to be running inside a container [2022-04-10T05:09:38.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@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-10T05:09:39.974Z] $ docker top 9e69d6e8ff9a1fcd97ada3bb2ff8f9f9d1e7248ddfd727fb80ea618947272653 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:09:40.923Z] + make test [2022-04-10T05:09:40.923Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-10T05:09:42.924Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-10T05:11:04.798Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-10T05:11:04.798Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2022-04-10T05:11:05.401Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T05:11:05.401Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:11:32.227Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:11:32.227Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:11:32.227Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:11:35.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:11:35.667Z] $ docker stop --time=1 9e69d6e8ff9a1fcd97ada3bb2ff8f9f9d1e7248ddfd727fb80ea618947272653 [2022-04-10T05:11:37.531Z] $ docker rm -f 9e69d6e8ff9a1fcd97ada3bb2ff8f9f9d1e7248ddfd727fb80ea618947272653 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:11:38.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:11:38.585Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T05:11:39.096Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:11:39.505Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:11:39.848Z] + ls -al . [2022-04-10T05:11:39.848Z] total 160 [2022-04-10T05:11:39.848Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:11 . [2022-04-10T05:11:39.848Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:07 .. [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 10 05:07 .dockerignore [2022-04-10T05:11:39.848Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:07 .git [2022-04-10T05:11:39.848Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:07 .github [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 10 05:07 .gitignore [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:07 .golangci.yml [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 10 05:07 Attribution.txt [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 10 05:07 CHANGELOG.md [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 10 05:07 Dockerfile [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:07 GOVERNANCE.md [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 10 05:07 Jenkinsfile [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:07 LICENSE [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 10 05:07 Makefile [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 05:07 OWNERS.md [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 10 05:07 README.md [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 10 05:04 VERSION [2022-04-10T05:11:39.848Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:07 bin [2022-04-10T05:11:39.848Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:07 cmd [2022-04-10T05:11:39.848Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 10 05:11 coverage.out [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 10 05:07 go.mod [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 10 05:07 go.sum [2022-04-10T05:11:39.848Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:07 internal [2022-04-10T05:11:39.848Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:07 snap [2022-04-10T05:11:39.848Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 05:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:11:40.200Z] + 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=76bc78b56c3c6b32f516faff42577919f6a867f5 --label arch=arm64 --label version=2.2.0-dev.8 . [2022-04-10T05:11:40.474Z] Sending build context to Docker daemon 2.733MB [2022-04-10T05:11:40.474Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:11:40.474Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-10T05:11:40.759Z] ---> f2bca5aee593 [2022-04-10T05:11:40.759Z] Step 3/24 : ARG MAKE='make build' [2022-04-10T05:11:40.759Z] ---> Running in 0e17af722cbe [2022-04-10T05:11:41.039Z] Removing intermediate container 0e17af722cbe [2022-04-10T05:11:41.039Z] ---> 42a75489d15b [2022-04-10T05:11:41.039Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:11:41.320Z] ---> Running in babc91d56c90 [2022-04-10T05:11:41.594Z] Removing intermediate container babc91d56c90 [2022-04-10T05:11:41.594Z] ---> a525e8e0095e [2022-04-10T05:11:41.594Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:11:41.594Z] ---> Running in 8f9cc706e812 [2022-04-10T05:11:41.870Z] Removing intermediate container 8f9cc706e812 [2022-04-10T05:11:41.870Z] ---> fb9f421b4a01 [2022-04-10T05:11:41.870Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:11:42.149Z] ---> Running in 75516ca7f1e6 [2022-04-10T05:11:43.594Z] Removing intermediate container 75516ca7f1e6 [2022-04-10T05:11:43.594Z] ---> c7393b5e460e [2022-04-10T05:11:43.594Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:11:43.871Z] ---> Running in 51ab1c179d68 [2022-04-10T05:11:44.853Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:11:45.842Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:11:46.895Z] OK: 224 MiB in 56 packages [2022-04-10T05:11:47.906Z] Removing intermediate container 51ab1c179d68 [2022-04-10T05:11:47.906Z] ---> cf708ea48788 [2022-04-10T05:11:47.906Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-10T05:11:47.906Z] ---> Running in 1c895c0af85f [2022-04-10T05:11:48.192Z] Removing intermediate container 1c895c0af85f [2022-04-10T05:11:48.192Z] ---> c2d77e3a1a8a [2022-04-10T05:11:48.192Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-10T05:11:48.799Z] ---> 11b431845772 [2022-04-10T05:11:48.799Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:11:48.799Z] ---> Running in 53157b8f4437 [2022-04-10T05:11:50.824Z] Removing intermediate container 53157b8f4437 [2022-04-10T05:11:50.824Z] ---> ee6ee960068d [2022-04-10T05:11:50.824Z] Step 11/24 : COPY . . [2022-04-10T05:11:51.816Z] ---> 842c0d8f99a6 [2022-04-10T05:11:51.816Z] Step 12/24 : RUN ${MAKE} [2022-04-10T05:11:51.816Z] ---> Running in 48f0787d4572 [2022-04-10T05:11:52.801Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-10T05:13:59.680Z] Removing intermediate container 48f0787d4572 [2022-04-10T05:13:59.680Z] ---> 3f48879f1b5c [2022-04-10T05:13:59.680Z] Step 13/24 : FROM alpine:3.14 [2022-04-10T05:13:59.680Z] 3.14: Pulling from library/alpine [2022-04-10T05:13:59.680Z] 455c02918c45: Pulling fs layer [2022-04-10T05:13:59.680Z] 455c02918c45: Verifying Checksum [2022-04-10T05:13:59.680Z] 455c02918c45: Download complete [2022-04-10T05:13:59.680Z] 455c02918c45: Pull complete [2022-04-10T05:13:59.680Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T05:13:59.680Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T05:13:59.680Z] ---> ac73e934f311 [2022-04-10T05:13:59.680Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T05:13:59.680Z] ---> Running in 42289e5f0ce5 [2022-04-10T05:13:59.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:13:59.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:14:00.276Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T05:14:00.276Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T05:14:00.276Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T05:14:00.276Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T05:14:00.276Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T05:14:00.276Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T05:14:00.276Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T05:14:00.552Z] OK: 8 MiB in 20 packages [2022-04-10T05:14:01.534Z] Removing intermediate container 42289e5f0ce5 [2022-04-10T05:14:01.534Z] ---> 7c06b5da0000 [2022-04-10T05:14:01.534Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-10T05:14:02.978Z] ---> 783737ce9600 [2022-04-10T05:14:02.978Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-10T05:14:03.574Z] ---> 490238e47517 [2022-04-10T05:14:03.574Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-10T05:14:04.170Z] ---> cba9d682e424 [2022-04-10T05:14:04.170Z] Step 18/24 : EXPOSE 59993 [2022-04-10T05:14:04.170Z] ---> Running in f7caddc5cdcc [2022-04-10T05:14:04.446Z] Removing intermediate container f7caddc5cdcc [2022-04-10T05:14:04.446Z] ---> ec8ebeb73457 [2022-04-10T05:14:04.446Z] Step 19/24 : EXPOSE 161 [2022-04-10T05:14:04.446Z] ---> Running in b5d5d9706e44 [2022-04-10T05:14:05.047Z] Removing intermediate container b5d5d9706e44 [2022-04-10T05:14:05.047Z] ---> e5e001d6399e [2022-04-10T05:14:05.047Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-10T05:14:05.047Z] ---> Running in bd6838b6ca34 [2022-04-10T05:14:05.321Z] Removing intermediate container bd6838b6ca34 [2022-04-10T05:14:05.321Z] ---> aa521d1203d5 [2022-04-10T05:14:05.321Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-10T05:14:05.321Z] ---> Running in ecacd3bb03b9 [2022-04-10T05:14:05.594Z] Removing intermediate container ecacd3bb03b9 [2022-04-10T05:14:05.594Z] ---> 3befc038e44b [2022-04-10T05:14:05.594Z] Step 22/24 : LABEL arch=arm64 [2022-04-10T05:14:05.594Z] ---> Running in aa3c0da7ffbf [2022-04-10T05:14:06.196Z] Removing intermediate container aa3c0da7ffbf [2022-04-10T05:14:06.196Z] ---> b06ce64988e9 [2022-04-10T05:14:06.196Z] Step 23/24 : LABEL git_sha=76bc78b56c3c6b32f516faff42577919f6a867f5 [2022-04-10T05:14:06.196Z] ---> Running in 7d7829511905 [2022-04-10T05:14:06.471Z] Removing intermediate container 7d7829511905 [2022-04-10T05:14:06.471Z] ---> 2a0f222c559c [2022-04-10T05:14:06.471Z] Step 24/24 : LABEL version=2.2.0-dev.8 [2022-04-10T05:14:06.471Z] ---> Running in ff75f67bd2a2 [2022-04-10T05:14:07.066Z] Removing intermediate container ff75f67bd2a2 [2022-04-10T05:14:07.066Z] ---> fe1139515300 [2022-04-10T05:14:07.066Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T05:14:07.066Z] Successfully built fe1139515300 [2022-04-10T05:14:07.066Z] 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-10T05:14:07.166Z] provisioning config files... [2022-04-10T05:14:07.188Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/18@tmp/config2775763686260503813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:14:07.554Z] ---> docker-login.sh [2022-04-10T05:14:07.554Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:14:07.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:14:07.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:14:07.828Z] Configure a credential helper to remove this warning. See [2022-04-10T05:14:07.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:14:07.828Z] [2022-04-10T05:14:07.828Z] Login Succeeded [2022-04-10T05:14:08.101Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:14:08.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:14:08.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:14:08.374Z] Configure a credential helper to remove this warning. See [2022-04-10T05:14:08.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:14:08.374Z] [2022-04-10T05:14:08.374Z] Login Succeeded [2022-04-10T05:14:08.648Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:14:08.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:14:09.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:14:09.193Z] Configure a credential helper to remove this warning. See [2022-04-10T05:14:09.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:14:09.193Z] [2022-04-10T05:14:09.193Z] Login Succeeded [2022-04-10T05:14:09.193Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:14:09.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:14:09.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:14:09.465Z] Configure a credential helper to remove this warning. See [2022-04-10T05:14:09.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:14:09.465Z] [2022-04-10T05:14:09.465Z] Login Succeeded [2022-04-10T05:14:09.738Z] docker.io [2022-04-10T05:14:10.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:14:10.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:14:10.282Z] Configure a credential helper to remove this warning. See [2022-04-10T05:14:10.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:14:10.282Z] [2022-04-10T05:14:10.282Z] Login Succeeded [2022-04-10T05:14:10.282Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:14:10.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:14:10.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:14:10.347Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-04-10T05:14:10.347Z] 76bc78b56c3c6b32f516faff42577919f6a867f5 [2022-04-10T05:14:10.347Z] latest [2022-04-10T05:14:10.347Z] 2.2.0-dev.8 [2022-04-10T05:14:10.347Z] 76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [2022-04-10T05:14:10.347Z] main [2022-04-10T05:14:10.347Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:10.716Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:11.064Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5 [2022-04-10T05:14:11.064Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-10T05:14:11.064Z] a703aa77dc34: Preparing [2022-04-10T05:14:11.064Z] 6da68632b26c: Preparing [2022-04-10T05:14:11.064Z] 5d20b9e7e051: Preparing [2022-04-10T05:14:11.064Z] d5187d6bc47a: Preparing [2022-04-10T05:14:11.064Z] f73e7dbfee58: Preparing [2022-04-10T05:14:11.354Z] f73e7dbfee58: Layer already exists [2022-04-10T05:14:11.354Z] a703aa77dc34: Pushed [2022-04-10T05:14:11.354Z] 6da68632b26c: Pushed [2022-04-10T05:14:11.949Z] d5187d6bc47a: Pushed [2022-04-10T05:14:17.347Z] 5d20b9e7e051: Pushed [2022-04-10T05:14:17.619Z] 76bc78b56c3c6b32f516faff42577919f6a867f5: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:17.966Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:18.307Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-10T05:14:18.307Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-10T05:14:18.307Z] a703aa77dc34: Preparing [2022-04-10T05:14:18.307Z] 6da68632b26c: Preparing [2022-04-10T05:14:18.307Z] 5d20b9e7e051: Preparing [2022-04-10T05:14:18.307Z] d5187d6bc47a: Preparing [2022-04-10T05:14:18.307Z] f73e7dbfee58: Preparing [2022-04-10T05:14:18.307Z] 6da68632b26c: Layer already exists [2022-04-10T05:14:18.307Z] d5187d6bc47a: Layer already exists [2022-04-10T05:14:18.307Z] a703aa77dc34: Layer already exists [2022-04-10T05:14:18.307Z] f73e7dbfee58: Layer already exists [2022-04-10T05:14:18.307Z] 5d20b9e7e051: Layer already exists [2022-04-10T05:14:18.578Z] latest: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:18.917Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:19.259Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.8 [2022-04-10T05:14:19.259Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-10T05:14:19.259Z] a703aa77dc34: Preparing [2022-04-10T05:14:19.259Z] 6da68632b26c: Preparing [2022-04-10T05:14:19.259Z] 5d20b9e7e051: Preparing [2022-04-10T05:14:19.259Z] d5187d6bc47a: Preparing [2022-04-10T05:14:19.259Z] f73e7dbfee58: Preparing [2022-04-10T05:14:19.259Z] f73e7dbfee58: Layer already exists [2022-04-10T05:14:19.259Z] a703aa77dc34: Layer already exists [2022-04-10T05:14:19.259Z] 5d20b9e7e051: Layer already exists [2022-04-10T05:14:19.259Z] 6da68632b26c: Layer already exists [2022-04-10T05:14:19.259Z] d5187d6bc47a: Layer already exists [2022-04-10T05:14:19.530Z] 2.2.0-dev.8: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:19.874Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:20.214Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [2022-04-10T05:14:20.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-10T05:14:20.214Z] a703aa77dc34: Preparing [2022-04-10T05:14:20.214Z] 6da68632b26c: Preparing [2022-04-10T05:14:20.214Z] 5d20b9e7e051: Preparing [2022-04-10T05:14:20.214Z] d5187d6bc47a: Preparing [2022-04-10T05:14:20.214Z] f73e7dbfee58: Preparing [2022-04-10T05:14:20.214Z] a703aa77dc34: Layer already exists [2022-04-10T05:14:20.214Z] f73e7dbfee58: Layer already exists [2022-04-10T05:14:20.214Z] 5d20b9e7e051: Layer already exists [2022-04-10T05:14:20.214Z] 6da68632b26c: Layer already exists [2022-04-10T05:14:20.214Z] d5187d6bc47a: Layer already exists [2022-04-10T05:14:20.488Z] 76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:20.848Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:21.197Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-04-10T05:14:21.197Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-10T05:14:21.197Z] a703aa77dc34: Preparing [2022-04-10T05:14:21.197Z] 6da68632b26c: Preparing [2022-04-10T05:14:21.197Z] 5d20b9e7e051: Preparing [2022-04-10T05:14:21.197Z] d5187d6bc47a: Preparing [2022-04-10T05:14:21.197Z] f73e7dbfee58: Preparing [2022-04-10T05:14:21.197Z] 5d20b9e7e051: Layer already exists [2022-04-10T05:14:21.197Z] f73e7dbfee58: Layer already exists [2022-04-10T05:14:21.197Z] 6da68632b26c: Layer already exists [2022-04-10T05:14:21.197Z] a703aa77dc34: Layer already exists [2022-04-10T05:14:21.197Z] d5187d6bc47a: Layer already exists [2022-04-10T05:14:21.470Z] main: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:14:21.517Z] ===================================================== [Pipeline] echo [2022-04-10T05:14:21.524Z] taggedImages: [2022-04-10T05:14:21.524Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5 [2022-04-10T05:14:21.524Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-10T05:14:21.524Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.8 [2022-04-10T05:14:21.524Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [2022-04-10T05:14:21.524Z] - 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-10T05:14:21.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:14:21.883Z] [2022-04-10T05:14:21.883Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:22.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:14:22.520Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T05:14:22.520Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T05:14:22.520Z] 04944245beec: Pulling fs layer [2022-04-10T05:14:22.520Z] 699f458cf7ca: Pulling fs layer [2022-04-10T05:14:22.520Z] 765212b225bb: Pulling fs layer [2022-04-10T05:14:22.520Z] f23df028b6ca: Pulling fs layer [2022-04-10T05:14:22.520Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T05:14:22.520Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T05:14:22.520Z] 765212b225bb: Waiting [2022-04-10T05:14:22.520Z] f23df028b6ca: Waiting [2022-04-10T05:14:22.520Z] d65c8cfc05b1: Waiting [2022-04-10T05:14:22.520Z] 2437ff75d9bd: Waiting [2022-04-10T05:14:22.520Z] 04944245beec: Download complete [2022-04-10T05:14:22.520Z] 765212b225bb: Verifying Checksum [2022-04-10T05:14:22.520Z] 765212b225bb: Download complete [2022-04-10T05:14:22.520Z] f23df028b6ca: Verifying Checksum [2022-04-10T05:14:22.520Z] f23df028b6ca: Download complete [2022-04-10T05:14:22.798Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T05:14:22.798Z] d65c8cfc05b1: Download complete [2022-04-10T05:14:22.798Z] 699f458cf7ca: Verifying Checksum [2022-04-10T05:14:22.798Z] 699f458cf7ca: Download complete [2022-04-10T05:14:23.076Z] 8998bd30e6a1: Download complete [2022-04-10T05:14:25.711Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T05:14:25.711Z] 2437ff75d9bd: Download complete [2022-04-10T05:14:27.674Z] 8998bd30e6a1: Pull complete [2022-04-10T05:14:28.265Z] 04944245beec: Pull complete [2022-04-10T05:14:29.695Z] 699f458cf7ca: Pull complete [2022-04-10T05:14:29.967Z] 765212b225bb: Pull complete [2022-04-10T05:14:30.945Z] f23df028b6ca: Pull complete [2022-04-10T05:14:31.218Z] d65c8cfc05b1: Pull complete [2022-04-10T05:14:46.311Z] 2437ff75d9bd: Pull complete [2022-04-10T05:14:46.311Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T05:14:46.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:14:46.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T05:14:46.643Z] prd-ubuntu20.04-docker-arm64-4c-16g-11762 does not seem to be running inside a container [2022-04-10T05:14:46.774Z] $ 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/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@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-10T05:14:49.919Z] $ docker top 01410482b6d3fd02f00d26df1928ad2ebef8e9ed706f6c78e1d42ef86e238be1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:14:50.983Z] ---> job-cost.sh [2022-04-10T05:14:50.983Z] lf-activate-venv: SKIPPING [2022-04-10T05:14:50.983Z] INFO: No Stack... [2022-04-10T05:14:51.585Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T05:14:52.587Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:14:53.275Z] + cat /w/workspace/device-snmp-go/18/archives/cost.csv [2022-04-10T05:14:53.275Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:14:53.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [2022-04-10T05:14:53.372Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] did not exist. Created. [2022-04-10T05:14:53.372Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:14:54.066Z] /w/workspace/device-snmp-go/18@tmp/durable-a11b7376/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T05:14:54.772Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T05:14:54.799Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T05:14:54.854Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:14:54.864Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:14:54.895Z] $ docker stop --time=1 01410482b6d3fd02f00d26df1928ad2ebef8e9ed706f6c78e1d42ef86e238be1 [2022-04-10T05:14:56.524Z] $ docker rm -f 01410482b6d3fd02f00d26df1928ad2ebef8e9ed706f6c78e1d42ef86e238be1 [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-10T05:14:57.021Z] provisioning config files... [2022-04-10T05:14:57.030Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3330462441714438991tmp [Pipeline] { [Pipeline] sh [2022-04-10T05:14:57.321Z] + set +x [2022-04-10T05:14:57.321Z] + curl -s https://codecov.io/bash [2022-04-10T05:14:57.321Z] + bash -s -- [2022-04-10T05:14:57.321Z] [2022-04-10T05:14:57.321Z] _____ _ [2022-04-10T05:14:57.321Z] / ____| | | [2022-04-10T05:14:57.321Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T05:14:57.321Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T05:14:57.321Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T05:14:57.321Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T05:14:57.321Z] Bash-1.0.6 [2022-04-10T05:14:57.321Z] [2022-04-10T05:14:57.321Z] [2022-04-10T05:14:57.321Z] ==> git version 2.25.1 found [2022-04-10T05:14:57.321Z] ==> 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-10T05:14:57.321Z] Release-Date: 2020-01-08 [2022-04-10T05:14:57.321Z] 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-10T05:14:57.321Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T05:14:57.321Z] ==> Jenkins CI detected. [2022-04-10T05:14:57.321Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-10T05:14:57.321Z] project root: . [2022-04-10T05:14:57.321Z] --> token set from env [2022-04-10T05:14:57.321Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T05:14:57.321Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T05:14:57.321Z] ==> Python coveragepy not found [2022-04-10T05:14:57.321Z] ==> Searching for coverage reports in: [2022-04-10T05:14:57.321Z] + . [2022-04-10T05:14:57.321Z] -> Found 1 reports [2022-04-10T05:14:57.321Z] ==> Detecting git/mercurial file structure [2022-04-10T05:14:57.321Z] ==> Reading reports [2022-04-10T05:14:57.321Z] + ./coverage.out bytes=7631 [2022-04-10T05:14:57.321Z] ==> Appending adjustments [2022-04-10T05:14:57.321Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T05:14:57.581Z] + Found adjustments [2022-04-10T05:14:57.581Z] ==> Gzipping contents [2022-04-10T05:14:57.581Z] 4.0K /tmp/codecov.xzMr0g.gz [2022-04-10T05:14:57.581Z] ==> Uploading reports [2022-04-10T05:14:57.581Z] url: https://codecov.io [2022-04-10T05:14:57.581Z] query: branch=main&commit=76bc78b56c3c6b32f516faff42577919f6a867f5&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:14:57.581Z] -> Pinging Codecov [2022-04-10T05:14:57.581Z] 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=76bc78b56c3c6b32f516faff42577919f6a867f5&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:14:57.840Z] -> Uploading to [2022-04-10T05:14:57.840Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/6C56EA5C29638FB4528AC87E60AF5AE0/76bc78b56c3c6b32f516faff42577919f6a867f5/1ef16a9d-114e-445c-a0d9-3b4258bc521a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T051457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f44779927b4040ebff6846221daf21a976d831bfe73e6353a712bd49d95b28e6 [2022-04-10T05:14:57.840Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:14:57.840Z] Dload Upload Total Spent Left Speed [2022-04-10T05:14:57.840Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7719 --:--:-- --:--:-- --:--:-- 7719 [2022-04-10T05:14:57.840Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] } [2022-04-10T05:14:57.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-10T05:14:57.984Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-10T05:14:57.995Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:58.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:14:58.289Z] [2022-04-10T05:14:58.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:14:58.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:14:58.586Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-10T05:14:58.586Z] 188c0c94c7c5: Pulling fs layer [2022-04-10T05:14:58.586Z] 0ef7d3d256c8: Pulling fs layer [2022-04-10T05:14:58.586Z] de9db76c5a1d: Pulling fs layer [2022-04-10T05:14:58.586Z] 0eba1c9be4d2: Pulling fs layer [2022-04-10T05:14:58.586Z] 0d57e429df01: Pulling fs layer [2022-04-10T05:14:58.586Z] 4e4be7b47b0d: Pulling fs layer [2022-04-10T05:14:58.586Z] e1f770b5df2f: Pulling fs layer [2022-04-10T05:14:58.586Z] 85a0685a4137: Pulling fs layer [2022-04-10T05:14:58.586Z] 0eba1c9be4d2: Waiting [2022-04-10T05:14:58.586Z] 0d57e429df01: Waiting [2022-04-10T05:14:58.586Z] 4e4be7b47b0d: Waiting [2022-04-10T05:14:58.586Z] e1f770b5df2f: Waiting [2022-04-10T05:14:58.586Z] 85a0685a4137: Waiting [2022-04-10T05:14:58.586Z] de9db76c5a1d: Verifying Checksum [2022-04-10T05:14:58.586Z] de9db76c5a1d: Download complete [2022-04-10T05:14:58.586Z] 0ef7d3d256c8: Verifying Checksum [2022-04-10T05:14:58.586Z] 0ef7d3d256c8: Download complete [2022-04-10T05:14:58.586Z] 0d57e429df01: Verifying Checksum [2022-04-10T05:14:58.586Z] 0d57e429df01: Download complete [2022-04-10T05:14:58.586Z] 4e4be7b47b0d: Verifying Checksum [2022-04-10T05:14:58.586Z] 4e4be7b47b0d: Download complete [2022-04-10T05:14:58.586Z] 188c0c94c7c5: Verifying Checksum [2022-04-10T05:14:58.586Z] 188c0c94c7c5: Download complete [2022-04-10T05:14:58.845Z] e1f770b5df2f: Verifying Checksum [2022-04-10T05:14:58.845Z] e1f770b5df2f: Download complete [2022-04-10T05:14:58.845Z] 188c0c94c7c5: Pull complete [2022-04-10T05:14:58.845Z] 0ef7d3d256c8: Pull complete [2022-04-10T05:14:59.104Z] de9db76c5a1d: Pull complete [2022-04-10T05:14:59.363Z] 0eba1c9be4d2: Verifying Checksum [2022-04-10T05:14:59.363Z] 0eba1c9be4d2: Download complete [2022-04-10T05:14:59.363Z] 85a0685a4137: Verifying Checksum [2022-04-10T05:14:59.363Z] 85a0685a4137: Download complete [2022-04-10T05:15:02.654Z] 0eba1c9be4d2: Pull complete [2022-04-10T05:15:02.654Z] 0d57e429df01: Pull complete [2022-04-10T05:15:02.654Z] 4e4be7b47b0d: Pull complete [2022-04-10T05:15:02.913Z] e1f770b5df2f: Pull complete [2022-04-10T05:15:06.197Z] 85a0685a4137: Pull complete [2022-04-10T05:15:06.197Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-10T05:15:06.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:15:06.197Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-10T05:15:06.261Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:15:06.317Z] $ 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-10T05:15:08.132Z] $ docker top 9f91f5087709e619a9c50b48e0f888b2bd64a37771846fd1787fdf982b4a5658 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-10T05:15:08.190Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-10T05:15:08.471Z] + set -o pipefail [2022-04-10T05:15:08.471Z] + snyk monitor '--org=edgex-jenkins' [2022-04-10T05:15:13.746Z] [2022-04-10T05:15:13.746Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-04-10T05:15:13.746Z] [2022-04-10T05:15:13.746Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/7a72b58a-1d16-4f1c-8413-549a2832001f [2022-04-10T05:15:13.746Z] [2022-04-10T05:15:13.746Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-10T05:15:13.746Z] [2022-04-10T05:15:13.746Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-10T05:15:13.746Z] [2022-04-10T05:15:13.746Z] [Pipeline] } [2022-04-10T05:15:14.034Z] $ docker stop --time=1 9f91f5087709e619a9c50b48e0f888b2bd64a37771846fd1787fdf982b4a5658 [2022-04-10T05:15:16.281Z] $ docker rm -f 9f91f5087709e619a9c50b48e0f888b2bd64a37771846fd1787fdf982b4a5658 [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-10T05:15:16.991Z] + git log --format=format:%s -1 76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] sh [2022-04-10T05:15:17.286Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:15:17.286Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:15:17.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:15:17.584Z] . [Pipeline] withDockerContainer [2022-04-10T05:15:17.646Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:15:17.694Z] $ 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-10T05:15:18.140Z] $ docker top be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:15:18.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:15:18.217Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:15:18.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:15:18.377Z] $ docker exec be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 ssh-agent [2022-04-10T05:15:18.486Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcHMKnI/agent.14 [2022-04-10T05:15:18.486Z] SSH_AGENT_PID=20 [2022-04-10T05:15:18.492Z] Running ssh-add (command line suppressed) [2022-04-10T05:15:18.621Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6366441820777888799.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6366441820777888799.key) [2022-04-10T05:15:18.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:15:18.906Z] + git semver tag [2022-04-10T05:15:18.906Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:15:18.906Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-10T05:15:18.906Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-10T05:15:18.906Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:15:18.906Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:15:18.906Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:15:18.906Z] # $SEMVER_BRANCH = main [2022-04-10T05:15:18.906Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-10T05:15:18.906Z] # 76bc78b56c3c6b32f516faff42577919f6a867f5 HEAD [2022-04-10T05:15:18.906Z] # -> Force: false [2022-04-10T05:15:18.906Z] # bf7769d30a6fdcbd54cb19f01024a84a5db6e77a refs/tags/v2.2.0-dev.8 [Pipeline] } [2022-04-10T05:15:18.935Z] $ docker exec --env ******** --env ******** be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 ssh-agent -k [2022-04-10T05:15:19.043Z] unset SSH_AUTH_SOCK; [2022-04-10T05:15:19.043Z] unset SSH_AGENT_PID; [2022-04-10T05:15:19.044Z] echo Agent pid 20 killed; [2022-04-10T05:15:19.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:15:19.341Z] + git semver [Pipeline] } [2022-04-10T05:15:19.369Z] $ docker stop --time=1 be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 [2022-04-10T05:15:20.676Z] $ docker rm -f be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:15:21.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:15:21.064Z] [2022-04-10T05:15:21.064Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:15:21.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:15:21.374Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-10T05:15:21.374Z] ab5ef0e58194: Pulling fs layer [2022-04-10T05:15:21.374Z] 9712f1f96733: Pulling fs layer [2022-04-10T05:15:21.374Z] 63f879dbbcfc: Pulling fs layer [2022-04-10T05:15:21.374Z] 0d9ebad4ef96: Pulling fs layer [2022-04-10T05:15:21.374Z] e9a5061849ea: Pulling fs layer [2022-04-10T05:15:21.374Z] d747dcd14b5f: Pulling fs layer [2022-04-10T05:15:21.374Z] 2de7ff778b66: Pulling fs layer [2022-04-10T05:15:21.374Z] 0d9ebad4ef96: Waiting [2022-04-10T05:15:21.374Z] e9a5061849ea: Waiting [2022-04-10T05:15:21.374Z] d747dcd14b5f: Waiting [2022-04-10T05:15:21.374Z] 2de7ff778b66: Waiting [2022-04-10T05:15:21.374Z] 9712f1f96733: Verifying Checksum [2022-04-10T05:15:21.374Z] 9712f1f96733: Download complete [2022-04-10T05:15:21.649Z] 63f879dbbcfc: Verifying Checksum [2022-04-10T05:15:21.649Z] 63f879dbbcfc: Download complete [2022-04-10T05:15:21.953Z] e9a5061849ea: Verifying Checksum [2022-04-10T05:15:21.953Z] e9a5061849ea: Download complete [2022-04-10T05:15:21.953Z] d747dcd14b5f: Verifying Checksum [2022-04-10T05:15:21.953Z] d747dcd14b5f: Download complete [2022-04-10T05:15:21.953Z] 0d9ebad4ef96: Verifying Checksum [2022-04-10T05:15:21.953Z] ab5ef0e58194: Verifying Checksum [2022-04-10T05:15:21.953Z] ab5ef0e58194: Download complete [2022-04-10T05:15:21.953Z] 2de7ff778b66: Verifying Checksum [2022-04-10T05:15:21.953Z] 2de7ff778b66: Download complete [2022-04-10T05:15:25.243Z] ab5ef0e58194: Pull complete [2022-04-10T05:15:25.243Z] 9712f1f96733: Pull complete [2022-04-10T05:15:25.501Z] 63f879dbbcfc: Pull complete [2022-04-10T05:15:29.693Z] 0d9ebad4ef96: Pull complete [2022-04-10T05:15:29.693Z] e9a5061849ea: Pull complete [2022-04-10T05:15:29.953Z] d747dcd14b5f: Pull complete [2022-04-10T05:15:30.890Z] 2de7ff778b66: Pull complete [2022-04-10T05:15:30.890Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-10T05:15:30.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:15:30.890Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-10T05:15:30.952Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:15:31.000Z] $ 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-10T05:15:33.248Z] $ docker top ea91b1abdd36f76d011a896b0478eea6b6e3d3bc6aeb4e92b64701e459f778fa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:15:33.319Z] provisioning config files... [2022-04-10T05:15:33.327Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2664646057235097767tmp [2022-04-10T05:15:33.338Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8192228220444417765tmp [2022-04-10T05:15:33.348Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7043044573766412500tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:15:33.364Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:33.648Z] ---> sigul-configuration.sh [2022-04-10T05:15:33.649Z] gpg: directory `/root/.gnupg' created [2022-04-10T05:15:33.649Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-10T05:15:33.649Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-10T05:15:33.649Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-10T05:15:33.649Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-10T05:15:33.649Z] gpg: CAST5 encrypted data [2022-04-10T05:15:33.649Z] gpg: encrypted with 1 passphrase [2022-04-10T05:15:33.649Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-10T05:15:33.936Z] + mkdir /home/jenkins [2022-04-10T05:15:33.936Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-10T05:15:34.226Z] + 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-10T05:15:34.237Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:34.527Z] ---> sigul-install.sh [2022-04-10T05:15:34.527Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-10T05:15:34.817Z] + git tag --list [2022-04-10T05:15:34.817Z] 1.0.0 [2022-04-10T05:15:34.817Z] v0.0.0 [2022-04-10T05:15:34.817Z] v1.1.0 [2022-04-10T05:15:34.817Z] v1.1.1 [2022-04-10T05:15:34.817Z] v1.2.2 [2022-04-10T05:15:34.817Z] v1.3.0 [2022-04-10T05:15:34.817Z] v1.3.1 [2022-04-10T05:15:34.817Z] v2.0.0 [2022-04-10T05:15:34.817Z] v2.0.1-dev.1 [2022-04-10T05:15:34.817Z] v2.0.1-dev.2 [2022-04-10T05:15:34.817Z] v2.0.1-dev.3 [2022-04-10T05:15:34.817Z] v2.0.1-dev.4 [2022-04-10T05:15:34.817Z] v2.0.1-dev.5 [2022-04-10T05:15:34.817Z] v2.0.1-dev.6 [2022-04-10T05:15:34.817Z] v2.1.0 [2022-04-10T05:15:34.817Z] v2.2.0-dev.1 [2022-04-10T05:15:34.817Z] v2.2.0-dev.2 [2022-04-10T05:15:34.817Z] v2.2.0-dev.3 [2022-04-10T05:15:34.817Z] v2.2.0-dev.4 [2022-04-10T05:15:34.817Z] v2.2.0-dev.5 [2022-04-10T05:15:34.817Z] v2.2.0-dev.6 [2022-04-10T05:15:34.817Z] v2.2.0-dev.7 [2022-04-10T05:15:34.817Z] v2.2.0-dev.8 [Pipeline] sh [2022-04-10T05:15:35.111Z] + lftools sign git-tag v2.2.0-dev.8 [2022-04-10T05:15:35.682Z] Signing Git tag with Sigul... [2022-04-10T05:15:35.682Z] Signing v2.2.0-dev.8 [Pipeline] echo [2022-04-10T05:15:35.953Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:36.246Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-10T05:15:36.255Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-10T05:15:36.292Z] $ docker stop --time=1 ea91b1abdd36f76d011a896b0478eea6b6e3d3bc6aeb4e92b64701e459f778fa [2022-04-10T05:15:37.583Z] $ docker rm -f ea91b1abdd36f76d011a896b0478eea6b6e3d3bc6aeb4e92b64701e459f778fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-10T05:15:37.994Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:15:37.994Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:15:38.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:15:38.285Z] . [Pipeline] withDockerContainer [2022-04-10T05:15:38.355Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:15:38.407Z] $ 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-10T05:15:38.794Z] $ docker top 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:15:38.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:15:38.871Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:15:39.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:15:39.026Z] $ docker exec 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 ssh-agent [2022-04-10T05:15:39.143Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNBoJjb/agent.15 [2022-04-10T05:15:39.143Z] SSH_AGENT_PID=21 [2022-04-10T05:15:39.150Z] Running ssh-add (command line suppressed) [2022-04-10T05:15:39.276Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2742396867879444796.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2742396867879444796.key) [2022-04-10T05:15:39.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:15:39.562Z] + git semver bump pre [2022-04-10T05:15:39.562Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:15:39.562Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-10T05:15:39.562Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-10T05:15:39.562Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:15:39.562Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:15:39.562Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:15:39.562Z] # $SEMVER_BRANCH = main [2022-04-10T05:15:39.562Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-10T05:15:39.562Z] 2.2.0-dev.9 [Pipeline] } [2022-04-10T05:15:39.591Z] $ docker exec --env ******** --env ******** 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 ssh-agent -k [2022-04-10T05:15:39.713Z] unset SSH_AUTH_SOCK; [2022-04-10T05:15:39.713Z] unset SSH_AGENT_PID; [2022-04-10T05:15:39.713Z] echo Agent pid 21 killed; [2022-04-10T05:15:39.705Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:15:40.018Z] + git semver [Pipeline] } [2022-04-10T05:15:40.051Z] $ docker stop --time=1 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 [2022-04-10T05:15:41.355Z] $ docker rm -f 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:15:41.693Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:15:41.693Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:15:41.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:15:41.987Z] . [Pipeline] withDockerContainer [2022-04-10T05:15:42.062Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:15:42.111Z] $ 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-10T05:15:42.506Z] $ docker top c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:15:42.587Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:15:42.587Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:15:42.711Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:15:42.732Z] $ docker exec c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e ssh-agent [2022-04-10T05:15:42.830Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDpBnaL/agent.13 [2022-04-10T05:15:42.830Z] SSH_AGENT_PID=19 [2022-04-10T05:15:42.835Z] Running ssh-add (command line suppressed) [2022-04-10T05:15:42.966Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4923741342018827055.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4923741342018827055.key) [2022-04-10T05:15:42.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:15:43.253Z] + git semver push [2022-04-10T05:15:43.253Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:15:43.253Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-10T05:15:43.253Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-10T05:15:43.253Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:15:43.253Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:15:43.253Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:15:43.253Z] # $SEMVER_BRANCH = main [2022-04-10T05:15:43.253Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-10T05:15:44.655Z] $ docker exec --env ******** --env ******** c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e ssh-agent -k [2022-04-10T05:15:44.759Z] unset SSH_AUTH_SOCK; [2022-04-10T05:15:44.759Z] unset SSH_AGENT_PID; [2022-04-10T05:15:44.760Z] echo Agent pid 19 killed; [2022-04-10T05:15:44.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:15:45.052Z] + git semver [Pipeline] } [2022-04-10T05:15:45.083Z] $ docker stop --time=1 c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e [2022-04-10T05:15:46.420Z] $ docker rm -f c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e [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-10T05:15:47.101Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-04-10T05:15:47.101Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-10T05:15:47.101Z] total 16 [2022-04-10T05:15:47.101Z] drwxr-xr-x 3 root root 4096 Apr 10 05:06 . [2022-04-10T05:15:47.101Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:15 .. [2022-04-10T05:15:47.101Z] drwxr-xr-x 2 root root 4096 Apr 10 05:06 cost [2022-04-10T05:15:47.101Z] -rw-r--r-- 1 root root 84 Apr 10 05:06 cost.csv [2022-04-10T05:15:47.101Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-10T05:15:47.101Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-10T05:15:47.101Z] total 16 [2022-04-10T05:15:47.101Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:06 . [2022-04-10T05:15:47.101Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:15 .. [2022-04-10T05:15:47.101Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:06 cost [2022-04-10T05:15:47.101Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 10 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:47.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:48.256Z] ---> package-listing.sh [2022-04-10T05:15:48.256Z] ++ facter osfamily [2022-04-10T05:15:48.256Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T05:15:48.517Z] + OS_FAMILY=debian [2022-04-10T05:15:48.517Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-04-10T05:15:48.517Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T05:15:48.517Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T05:15:48.517Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T05:15:48.517Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T05:15:48.517Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-10T05:15:48.517Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T05:15:48.517Z] + case "${OS_FAMILY}" in [2022-04-10T05:15:48.517Z] + dpkg -l [2022-04-10T05:15:48.517Z] + grep '^ii' [2022-04-10T05:15:48.517Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T05:15:48.517Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T05:15:48.517Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T05:15:48.517Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-10T05:15:48.517Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-04-10T05:15:48.517Z] + 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-10T05:15:48.526Z] 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-10T05:15:48.805Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:15:49.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:15:49.365Z] . [Pipeline] withDockerContainer [2022-04-10T05:15:49.434Z] prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container [2022-04-10T05:15:49.484Z] $ 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-10T05:15:49.749Z] $ docker top 243c2e0d69b76299da3759b7c2158f3e5fef59672862f04e50210d9cc534ecce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:15:50.096Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T05:15:50.384Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T05:15:50.669Z] + ls /var/log/sa-host [2022-04-10T05:15:50.669Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:15:50.756Z] provisioning config files... [2022-04-10T05:15:50.765Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7607178930315695110tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:15:50.778Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:51.060Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T05:15:51.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:51.406Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T05:15:51.416Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:51.703Z] ---> sudo-logs.sh [2022-04-10T05:15:51.703Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T05:15:51.728Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:52.028Z] ---> job-cost.sh [2022-04-10T05:15:52.028Z] lf-activate-venv: SKIPPING [2022-04-10T05:15:52.028Z] DEBUG: total: 0.2199999988079071 [2022-04-10T05:15:52.028Z] INFO: Retrieving Stack Cost... [2022-04-10T05:15:52.287Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:15:52.859Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T05:15:52.873Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:53.161Z] ---> logs-deploy.sh [2022-04-10T05:15:53.161Z] lf-activate-venv: SKIPPING [2022-04-10T05:15:53.161Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/18 [2022-04-10T05:15:53.161Z] INFO: archiving workspace using pattern(s): [2022-04-10T05:15:54.102Z] Archives upload complete. [2022-04-10T05:15:54.362Z] INFO: archiving logs to Nexus [2022-04-10T05:15:54.933Z] ---> uname -a: [2022-04-10T05:15:54.933Z] Linux prd-ubuntu20-04-docker-8c-8g-11756 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-04-10T05:15:54.933Z] [2022-04-10T05:15:54.933Z] [2022-04-10T05:15:54.933Z] ---> lscpu: [2022-04-10T05:15:54.933Z] Architecture: x86_64 [2022-04-10T05:15:54.933Z] CPU op-mode(s): 32-bit, 64-bit [2022-04-10T05:15:54.933Z] Byte Order: Little Endian [2022-04-10T05:15:54.933Z] Address sizes: 40 bits physical, 48 bits virtual [2022-04-10T05:15:54.933Z] CPU(s): 8 [2022-04-10T05:15:54.933Z] On-line CPU(s) list: 0-7 [2022-04-10T05:15:54.933Z] Thread(s) per core: 1 [2022-04-10T05:15:54.933Z] Core(s) per socket: 1 [2022-04-10T05:15:54.933Z] Socket(s): 8 [2022-04-10T05:15:54.933Z] NUMA node(s): 1 [2022-04-10T05:15:54.933Z] Vendor ID: AuthenticAMD [2022-04-10T05:15:54.933Z] CPU family: 23 [2022-04-10T05:15:54.933Z] Model: 49 [2022-04-10T05:15:54.933Z] Model name: AMD EPYC-Rome Processor [2022-04-10T05:15:54.933Z] Stepping: 0 [2022-04-10T05:15:54.933Z] CPU MHz: 2799.998 [2022-04-10T05:15:54.933Z] BogoMIPS: 5599.99 [2022-04-10T05:15:54.933Z] Virtualization: AMD-V [2022-04-10T05:15:54.933Z] Hypervisor vendor: KVM [2022-04-10T05:15:54.933Z] Virtualization type: full [2022-04-10T05:15:54.933Z] L1d cache: 256 KiB [2022-04-10T05:15:54.933Z] L1i cache: 256 KiB [2022-04-10T05:15:54.933Z] L2 cache: 4 MiB [2022-04-10T05:15:54.933Z] L3 cache: 128 MiB [2022-04-10T05:15:54.933Z] NUMA node0 CPU(s): 0-7 [2022-04-10T05:15:54.933Z] Vulnerability Itlb multihit: Not affected [2022-04-10T05:15:54.933Z] Vulnerability L1tf: Not affected [2022-04-10T05:15:54.933Z] Vulnerability Mds: Not affected [2022-04-10T05:15:54.933Z] Vulnerability Meltdown: Not affected [2022-04-10T05:15:54.933Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-04-10T05:15:54.933Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-04-10T05:15:54.933Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-04-10T05:15:54.933Z] Vulnerability Srbds: Not affected [2022-04-10T05:15:54.933Z] Vulnerability Tsx async abort: Not affected [2022-04-10T05:15:54.934Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-04-10T05:15:54.934Z] [2022-04-10T05:15:54.934Z] [2022-04-10T05:15:54.934Z] ---> nproc: [2022-04-10T05:15:54.934Z] 8 [2022-04-10T05:15:54.934Z] [2022-04-10T05:15:54.934Z] [2022-04-10T05:15:54.934Z] ---> df -h: [2022-04-10T05:15:54.934Z] Filesystem Size Used Avail Use% Mounted on [2022-04-10T05:15:54.934Z] overlay 155G 12G 144G 8% / [2022-04-10T05:15:54.934Z] tmpfs 64M 0 64M 0% /dev [2022-04-10T05:15:54.934Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-04-10T05:15:54.934Z] shm 64M 0 64M 0% /dev/shm [2022-04-10T05:15:54.934Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-04-10T05:15:54.934Z] [2022-04-10T05:15:54.934Z]