Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7306a6f06add30c2c77de82c1e2d09b100e0c142 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-ssh17479458680749741416.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-ssh2825490697018741638.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-ssh3213316897407512153.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-ssh4400807560540128222.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-ssh6270047360306335985.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 Running on prd-ubuntu20.04-docker-8c-8g-10949 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 7306a6f06add30c2c77de82c1e2d09b100e0c142 (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 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 Commit message: "Merge pull request #149 from bnevis-i/add-spiffe" > git rev-list --no-walk 480fc110605f705546cd9b1d947e4f522cca56d6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-06T08:32:19.901Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T08:32:19.979Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T08:32:19.994Z] ========================================================= [2022-04-06T08:32:19.994Z] EdgeX Global Pipelines Version Info [2022-04-06T08:32:19.994Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:32:20.757Z] ------------------- [2022-04-06T08:32:20.757Z] stable info: [2022-04-06T08:32:20.757Z] ------------------- [2022-04-06T08:32:20.757Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T08:32:20.757Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T08:32:20.757Z] Message: update stable to v1.0.221 [2022-04-06T08:32:21.331Z] ------------------- [2022-04-06T08:32:21.331Z] experimental info: [2022-04-06T08:32:21.331Z] ------------------- [2022-04-06T08:32:21.331Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T08:32:21.331Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T08:32:21.331Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-06T08:32:21.478Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-06T08:32:21.490Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-06T08:32:21.504Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-06T08:32:21.515Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-06T08:32:21.528Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-06T08:32:21.543Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-06T08:32:21.554Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-06T08:32:21.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T08:32:21.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-06T08:32:21.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T08:32:21.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-06T08:32:21.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-06T08:32:21.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-06T08:32:21.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-06T08:32:21.656Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T08:32:21.669Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T08:32:21.681Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T08:32:21.695Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T08:32:21.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T08:32:21.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-06T08:32:21.730Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-06T08:32:21.745Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-06T08:32:21.757Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-06T08:32:21.769Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-06T08:32:21.781Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-06T08:32:21.794Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T08:32:21.808Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-06T08:32:21.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-06T08:32:21.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-06T08:32:21.861Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7306a6f06add30c2c77de82c1e2d09b100e0c142 [Pipeline] echo [2022-04-06T08:32:21.876Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7306a6f [Pipeline] echo [2022-04-06T08:32:21.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:32:21.934Z] provisioning config files... [2022-04-06T08:32:21.948Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1408052220149163961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:32:22.275Z] ---> docker-login.sh [2022-04-06T08:32:22.275Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:32:22.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:22.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:22.535Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:22.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:22.535Z] [2022-04-06T08:32:22.535Z] Login Succeeded [2022-04-06T08:32:22.535Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:32:22.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:22.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:22.797Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:22.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:22.797Z] [2022-04-06T08:32:22.797Z] Login Succeeded [2022-04-06T08:32:22.797Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:32:22.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:23.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:23.058Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:23.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:23.058Z] [2022-04-06T08:32:23.058Z] Login Succeeded [2022-04-06T08:32:23.058Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:32:23.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:23.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:23.058Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:23.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:23.058Z] [2022-04-06T08:32:23.058Z] Login Succeeded [2022-04-06T08:32:23.058Z] docker.io [2022-04-06T08:32:23.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:23.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:23.633Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:23.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:23.634Z] [2022-04-06T08:32:23.634Z] Login Succeeded [2022-04-06T08:32:23.634Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:32:23.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-06T08:32:24.015Z] + git rev-list -1 --merges 7306a6f06add30c2c77de82c1e2d09b100e0c142~1..7306a6f06add30c2c77de82c1e2d09b100e0c142 [Pipeline] echo [2022-04-06T08:32:24.146Z] -----------> git rev-list -1 --merges 7306a6f06add30c2c77de82c1e2d09b100e0c142~1..7306a6f06add30c2c77de82c1e2d09b100e0c142 7306a6f06add30c2c77de82c1e2d09b100e0c142 [2022-04-06T08:32:24.146Z] 7306a6f06add30c2c77de82c1e2d09b100e0c142 [false] [Pipeline] sh [2022-04-06T08:32:24.448Z] + git log --format=format:%s -1 7306a6f06add30c2c77de82c1e2d09b100e0c142 [Pipeline] echo [2022-04-06T08:32:24.464Z] ========================================================= [2022-04-06T08:32:24.464Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-06T08:32:24.464Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T08:32:24.810Z] + git log --format=format:%s -1 7306a6f06add30c2c77de82c1e2d09b100e0c142 [Pipeline] echo [2022-04-06T08:32:24.823Z] [semverPrep] GIT_COMMIT: 7306a6f06add30c2c77de82c1e2d09b100e0c142, Commit Message: Merge pull request #149 from bnevis-i/add-spiffe [Pipeline] echo [2022-04-06T08:32:24.832Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-06T08:32:25.252Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T08:32:25.252Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-06T08:32:25.252Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-06T08:32:25.252Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-06T08:32:25.252Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-04-06T08:32:25.252Z] tee -a /etc/ssh/ssh_known_hosts [2022-04-06T08:32:25.252Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:32:25.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:32:25.680Z] [2022-04-06T08:32:25.680Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:32:25.988Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:32:25.988Z] latest: Pulling from edgex-devops/git-semver [2022-04-06T08:32:25.988Z] a0d0a0d46f8b: Pulling fs layer [2022-04-06T08:32:25.988Z] 3e5f54012d9b: Pulling fs layer [2022-04-06T08:32:25.988Z] 4c7163046ea9: Pulling fs layer [2022-04-06T08:32:25.988Z] 0c2d73faf560: Pulling fs layer [2022-04-06T08:32:25.988Z] 0c2d73faf560: Waiting [2022-04-06T08:32:25.988Z] 3e5f54012d9b: Download complete [2022-04-06T08:32:25.988Z] a0d0a0d46f8b: Verifying Checksum [2022-04-06T08:32:25.988Z] a0d0a0d46f8b: Download complete [2022-04-06T08:32:25.988Z] 0c2d73faf560: Verifying Checksum [2022-04-06T08:32:25.988Z] 0c2d73faf560: Download complete [2022-04-06T08:32:25.988Z] 4c7163046ea9: Verifying Checksum [2022-04-06T08:32:25.988Z] 4c7163046ea9: Download complete [2022-04-06T08:32:26.250Z] a0d0a0d46f8b: Pull complete [2022-04-06T08:32:26.250Z] 3e5f54012d9b: Pull complete [2022-04-06T08:32:26.824Z] 4c7163046ea9: Pull complete [2022-04-06T08:32:26.824Z] 0c2d73faf560: Pull complete [2022-04-06T08:32:26.824Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-06T08:32:26.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:32:26.824Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-06T08:32:26.918Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:32:26.970Z] $ 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-06T08:32:27.713Z] $ docker top b898703b1e3320f723034e1341c03c11d16a2b79cba590ddff222bdf838f0d4f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T08:32:27.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:32:27.818Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:32:27.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:32:27.952Z] $ docker exec b898703b1e3320f723034e1341c03c11d16a2b79cba590ddff222bdf838f0d4f ssh-agent [2022-04-06T08:32:28.087Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeFEEih/agent.13 [2022-04-06T08:32:28.087Z] SSH_AGENT_PID=20 [2022-04-06T08:32:28.102Z] Running ssh-add (command line suppressed) [2022-04-06T08:32:28.231Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7521153405651963023.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7521153405651963023.key) [2022-04-06T08:32:28.240Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:32:28.534Z] + git tag --points-at HEAD [Pipeline] } [2022-04-06T08:32:28.561Z] $ docker exec --env ******** --env ******** b898703b1e3320f723034e1341c03c11d16a2b79cba590ddff222bdf838f0d4f ssh-agent -k [2022-04-06T08:32:28.681Z] unset SSH_AUTH_SOCK; [2022-04-06T08:32:28.681Z] unset SSH_AGENT_PID; [2022-04-06T08:32:28.681Z] echo Agent pid 20 killed; [2022-04-06T08:32:28.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-06T08:32:28.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:32:28.716Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:32:28.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:32:28.852Z] $ docker exec b898703b1e3320f723034e1341c03c11d16a2b79cba590ddff222bdf838f0d4f ssh-agent [2022-04-06T08:32:28.979Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPPnBJh/agent.52 [2022-04-06T08:32:28.979Z] SSH_AGENT_PID=59 [2022-04-06T08:32:28.984Z] Running ssh-add (command line suppressed) [2022-04-06T08:32:29.105Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5863868946803649951.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5863868946803649951.key) [2022-04-06T08:32:29.114Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:32:29.410Z] + git semver init [2022-04-06T08:32:29.410Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T08:32:29.410Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-06T08:32:29.410Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-06T08:32:29.410Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T08:32:29.410Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T08:32:29.410Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T08:32:29.410Z] # $SEMVER_BRANCH = main [2022-04-06T08:32:29.410Z] # $SEMVER_TEMP = /tmp/semver-265316355 [2022-04-06T08:32:29.410Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-06T08:32:30.358Z] # '/tmp/semver-265316355' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2022-04-06T08:32:30.358Z] # -> Force: false [2022-04-06T08:32:30.358Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-06T08:32:30.377Z] $ docker exec --env ******** --env ******** b898703b1e3320f723034e1341c03c11d16a2b79cba590ddff222bdf838f0d4f ssh-agent -k [2022-04-06T08:32:30.492Z] unset SSH_AUTH_SOCK; [2022-04-06T08:32:30.492Z] unset SSH_AGENT_PID; [2022-04-06T08:32:30.492Z] echo Agent pid 59 killed; [2022-04-06T08:32:30.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T08:32:30.811Z] + git semver [Pipeline] } [2022-04-06T08:32:30.834Z] $ docker stop --time=1 b898703b1e3320f723034e1341c03c11d16a2b79cba590ddff222bdf838f0d4f [2022-04-06T08:32:32.175Z] $ docker rm -f b898703b1e3320f723034e1341c03c11d16a2b79cba590ddff222bdf838f0d4f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T08:32:32.526Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-06T08:32:32.761Z] Stashed 1 file(s) [Pipeline] echo [2022-04-06T08:32:32.765Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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-06T08:32:32.933Z] provisioning config files... [2022-04-06T08:32:32.951Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4302389546310971129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:32:33.250Z] ---> docker-login.sh [2022-04-06T08:32:33.250Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:32:33.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:33.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:33.250Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:33.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:33.250Z] [2022-04-06T08:32:33.250Z] Login Succeeded [2022-04-06T08:32:33.250Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:32:33.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:33.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:33.512Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:33.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:33.512Z] [2022-04-06T08:32:33.512Z] Login Succeeded [2022-04-06T08:32:33.512Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:32:33.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:33.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:33.512Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:33.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:33.512Z] [2022-04-06T08:32:33.512Z] Login Succeeded [2022-04-06T08:32:33.512Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:32:33.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:33.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:33.772Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:33.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:33.772Z] [2022-04-06T08:32:33.772Z] Login Succeeded [2022-04-06T08:32:33.772Z] docker.io [2022-04-06T08:32:33.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:32:34.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:32:34.033Z] Configure a credential helper to remove this warning. See [2022-04-06T08:32:34.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:32:34.033Z] [2022-04-06T08:32:34.033Z] Login Succeeded [2022-04-06T08:32:34.033Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:32:34.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T08:32:34.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T08:32:34.120Z] ========================================================= [2022-04-06T08:32:34.120Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-06T08:32:34.120Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:32:34.437Z] + 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-06T08:32:34.437Z] Sending build context to Docker daemon 5.204MB [2022-04-06T08:32:34.437Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T08:32:34.437Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T08:32:34.437Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-06T08:32:34.437Z] 59bf1c3509f3: Pulling fs layer [2022-04-06T08:32:34.437Z] 666ba61612fd: Pulling fs layer [2022-04-06T08:32:34.437Z] 8ed8ca486205: Pulling fs layer [2022-04-06T08:32:34.437Z] 4fe6c5a15a65: Pulling fs layer [2022-04-06T08:32:34.437Z] 22a0e8bec74d: Pulling fs layer [2022-04-06T08:32:34.437Z] 640e595b4fbd: Pulling fs layer [2022-04-06T08:32:34.437Z] 763cafe07f6e: Pulling fs layer [2022-04-06T08:32:34.437Z] 0c0b528cf693: Pulling fs layer [2022-04-06T08:32:34.437Z] 10935f4eaf8b: Pulling fs layer [2022-04-06T08:32:34.437Z] 640e595b4fbd: Waiting [2022-04-06T08:32:34.437Z] 763cafe07f6e: Waiting [2022-04-06T08:32:34.437Z] 0c0b528cf693: Waiting [2022-04-06T08:32:34.437Z] 10935f4eaf8b: Waiting [2022-04-06T08:32:34.437Z] 22a0e8bec74d: Waiting [2022-04-06T08:32:34.437Z] 4fe6c5a15a65: Waiting [2022-04-06T08:32:34.437Z] 8ed8ca486205: Verifying Checksum [2022-04-06T08:32:34.437Z] 8ed8ca486205: Download complete [2022-04-06T08:32:34.699Z] 666ba61612fd: Verifying Checksum [2022-04-06T08:32:34.699Z] 666ba61612fd: Download complete [2022-04-06T08:32:34.699Z] 22a0e8bec74d: Verifying Checksum [2022-04-06T08:32:34.699Z] 22a0e8bec74d: Download complete [2022-04-06T08:32:34.699Z] 640e595b4fbd: Verifying Checksum [2022-04-06T08:32:34.699Z] 640e595b4fbd: Download complete [2022-04-06T08:32:34.699Z] 59bf1c3509f3: Verifying Checksum [2022-04-06T08:32:34.699Z] 59bf1c3509f3: Download complete [2022-04-06T08:32:34.699Z] 763cafe07f6e: Verifying Checksum [2022-04-06T08:32:34.699Z] 763cafe07f6e: Download complete [2022-04-06T08:32:34.699Z] 0c0b528cf693: Verifying Checksum [2022-04-06T08:32:34.699Z] 0c0b528cf693: Download complete [2022-04-06T08:32:34.699Z] 59bf1c3509f3: Pull complete [2022-04-06T08:32:34.961Z] 666ba61612fd: Pull complete [2022-04-06T08:32:34.961Z] 8ed8ca486205: Pull complete [2022-04-06T08:32:35.222Z] 10935f4eaf8b: Verifying Checksum [2022-04-06T08:32:35.222Z] 10935f4eaf8b: Download complete [2022-04-06T08:32:35.482Z] 4fe6c5a15a65: Verifying Checksum [2022-04-06T08:32:35.482Z] 4fe6c5a15a65: Download complete [2022-04-06T08:32:39.688Z] 4fe6c5a15a65: Pull complete [2022-04-06T08:32:39.688Z] 22a0e8bec74d: Pull complete [2022-04-06T08:32:39.688Z] 640e595b4fbd: Pull complete [2022-04-06T08:32:39.949Z] 763cafe07f6e: Pull complete [2022-04-06T08:32:39.949Z] 0c0b528cf693: Pull complete [2022-04-06T08:32:42.492Z] 10935f4eaf8b: Pull complete [2022-04-06T08:32:42.492Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-06T08:32:42.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-06T08:32:42.492Z] ---> 99d49a6021b9 [2022-04-06T08:32:42.492Z] Step 3/12 : ARG MAKE='make build' [2022-04-06T08:32:43.878Z] ---> Running in e567ac90eaa1 [2022-04-06T08:32:43.878Z] Removing intermediate container e567ac90eaa1 [2022-04-06T08:32:43.878Z] ---> 5173582d20f4 [2022-04-06T08:32:43.878Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T08:32:43.878Z] ---> Running in b890c633d8d8 [2022-04-06T08:32:44.141Z] Removing intermediate container b890c633d8d8 [2022-04-06T08:32:44.141Z] ---> ad521dea9f8d [2022-04-06T08:32:44.141Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T08:32:44.141Z] ---> Running in 39b074d7cd87 [2022-04-06T08:32:44.141Z] Removing intermediate container 39b074d7cd87 [2022-04-06T08:32:44.141Z] ---> 6752c31478c2 [2022-04-06T08:32:44.141Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T08:32:44.402Z] ---> Running in 0c97e3a3396c [2022-04-06T08:32:44.974Z] Removing intermediate container 0c97e3a3396c [2022-04-06T08:32:44.974Z] ---> f5344d242076 [2022-04-06T08:32:44.974Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T08:32:44.974Z] ---> Running in a5ce484d3ae3 [2022-04-06T08:32:45.235Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T08:32:46.177Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T08:32:46.437Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T08:32:46.698Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T08:32:46.698Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T08:32:46.698Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T08:32:46.965Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T08:32:46.965Z] OK: 224 MiB in 56 packages [2022-04-06T08:32:47.230Z] Removing intermediate container a5ce484d3ae3 [2022-04-06T08:32:47.230Z] ---> 5bd1b948f2fd [2022-04-06T08:32:47.230Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-06T08:32:47.230Z] ---> Running in 330cafba378d [2022-04-06T08:32:47.490Z] Removing intermediate container 330cafba378d [2022-04-06T08:32:47.490Z] ---> 7846555c109a [2022-04-06T08:32:47.490Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-06T08:32:47.490Z] ---> 7a1e9738dd1a [2022-04-06T08:32:47.490Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T08:32:47.752Z] ---> Running in fb9cf6176a5b [2022-04-06T08:32:47.876Z] Still waiting to schedule task [2022-04-06T08:32:47.876Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-06T08:33:05.872Z] Removing intermediate container fb9cf6176a5b [2022-04-06T08:33:05.872Z] ---> cfa5168f4407 [2022-04-06T08:33:05.872Z] Step 11/12 : COPY . . [2022-04-06T08:33:05.872Z] ---> 24163890eaa9 [2022-04-06T08:33:05.872Z] Step 12/12 : RUN ${MAKE} [2022-04-06T08:33:06.133Z] ---> Running in c7e72d85170d [2022-04-06T08:33:06.395Z] noop [2022-04-06T08:33:06.659Z] Removing intermediate container c7e72d85170d [2022-04-06T08:33:06.659Z] ---> 99a9f6d2be48 [2022-04-06T08:33:06.659Z] Successfully built 99a9f6d2be48 [2022-04-06T08:33:06.659Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:33:06.965Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T08:33:06.966Z] . [Pipeline] withDockerContainer [2022-04-06T08:33:07.047Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:33:07.094Z] $ 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-06T08:33:07.510Z] $ docker top b65b239cf7b5f5f82c8b27c695456bc5e6c412f11c3e0ce7c5366f1f3ff482be -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T08:33:07.889Z] + go version [2022-04-06T08:33:07.889Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-06T08:33:07.908Z] $ docker stop --time=1 b65b239cf7b5f5f82c8b27c695456bc5e6c412f11c3e0ce7c5366f1f3ff482be [2022-04-06T08:33:09.219Z] $ docker rm -f b65b239cf7b5f5f82c8b27c695456bc5e6c412f11c3e0ce7c5366f1f3ff482be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:33:09.624Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T08:33:09.625Z] . [Pipeline] withDockerContainer [2022-04-06T08:33:09.769Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:33:09.862Z] $ 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-06T08:33:10.273Z] $ docker top f8c79b21f019d2fb556132770348efa7a66efc5817fa765bd3f6f3b99a2ce25e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T08:33:10.636Z] + make test [2022-04-06T08:33:10.636Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-06T08:33:10.898Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-06T08:33:20.891Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-06T08:33:20.891Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2022-04-06T08:33:26.184Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T08:33:30.376Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T08:33:30.376Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T08:33:30.376Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T08:33:30.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T08:33:30.668Z] $ docker stop --time=1 f8c79b21f019d2fb556132770348efa7a66efc5817fa765bd3f6f3b99a2ce25e [2022-04-06T08:33:32.559Z] $ docker rm -f f8c79b21f019d2fb556132770348efa7a66efc5817fa765bd3f6f3b99a2ce25e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T08:33:33.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T08:33:33.057Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-06T08:33:34.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T08:33:34.368Z] + ls -al . [2022-04-06T08:33:34.368Z] total 164 [2022-04-06T08:33:34.368Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 08:33 . [2022-04-06T08:33:34.368Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:32 .. [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 6 08:32 .dockerignore [2022-04-06T08:33:34.368Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:32 .git [2022-04-06T08:33:34.368Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:32 .github [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 6 08:32 .gitignore [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 08:32 .golangci.yml [2022-04-06T08:33:34.368Z] drwx------ 3 jenkins jenkins 4096 Apr 6 08:32 .semver [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 6 08:32 Attribution.txt [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 6 08:32 CHANGELOG.md [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 08:32 Dockerfile [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 08:32 GOVERNANCE.md [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 6 08:32 Jenkinsfile [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 08:32 LICENSE [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 6 08:32 Makefile [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 08:32 OWNERS.md [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 6 08:32 README.md [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 6 08:32 VERSION [2022-04-06T08:33:34.368Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:32 bin [2022-04-06T08:33:34.368Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:32 cmd [2022-04-06T08:33:34.368Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 6 08:33 coverage.out [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 6 08:32 go.mod [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 6 08:32 go.sum [2022-04-06T08:33:34.368Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:32 internal [2022-04-06T08:33:34.368Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:32 snap [2022-04-06T08:33:34.368Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 08:32 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:33:34.669Z] + 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=7306a6f06add30c2c77de82c1e2d09b100e0c142 --label arch=amd64 --label version=2.2.0-dev.7 . [2022-04-06T08:33:34.670Z] Sending build context to Docker daemon 5.213MB [2022-04-06T08:33:34.670Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T08:33:34.670Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T08:33:34.670Z] ---> 99a9f6d2be48 [2022-04-06T08:33:34.670Z] Step 3/24 : ARG MAKE='make build' [2022-04-06T08:33:34.670Z] ---> Running in 68dcf16d9f4d [2022-04-06T08:33:34.931Z] Removing intermediate container 68dcf16d9f4d [2022-04-06T08:33:34.931Z] ---> 4ef6a424c721 [2022-04-06T08:33:34.931Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T08:33:34.931Z] ---> Running in ad2af3f95e8d [2022-04-06T08:33:34.931Z] Removing intermediate container ad2af3f95e8d [2022-04-06T08:33:34.931Z] ---> fbf8394ea824 [2022-04-06T08:33:34.931Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T08:33:34.931Z] ---> Running in 6474d4444240 [2022-04-06T08:33:35.190Z] Removing intermediate container 6474d4444240 [2022-04-06T08:33:35.190Z] ---> a6ef501e3db7 [2022-04-06T08:33:35.190Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T08:33:35.190Z] ---> Running in bfa3a5f7c8e6 [2022-04-06T08:33:35.761Z] Removing intermediate container bfa3a5f7c8e6 [2022-04-06T08:33:35.761Z] ---> 660117697b03 [2022-04-06T08:33:35.761Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T08:33:35.761Z] ---> Running in 31de07d2886a [2022-04-06T08:33:36.022Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T08:33:36.970Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T08:33:37.243Z] OK: 224 MiB in 56 packages [2022-04-06T08:33:37.506Z] Removing intermediate container 31de07d2886a [2022-04-06T08:33:37.506Z] ---> 1ce7ab5184ca [2022-04-06T08:33:37.506Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-06T08:33:37.506Z] ---> Running in a4363ee02d1e [2022-04-06T08:33:37.506Z] Removing intermediate container a4363ee02d1e [2022-04-06T08:33:37.506Z] ---> 599e856874bc [2022-04-06T08:33:37.506Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-06T08:33:37.768Z] ---> fa6b0a31b27f [2022-04-06T08:33:37.768Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T08:33:37.768Z] ---> Running in 516883c36de2 [2022-04-06T08:33:38.715Z] Removing intermediate container 516883c36de2 [2022-04-06T08:33:38.715Z] ---> c4d303beea20 [2022-04-06T08:33:38.715Z] Step 11/24 : COPY . . [2022-04-06T08:33:38.975Z] ---> b33adb365af6 [2022-04-06T08:33:38.975Z] Step 12/24 : RUN ${MAKE} [2022-04-06T08:33:38.975Z] ---> Running in 048c51205d72 [2022-04-06T08:33:39.234Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.7" -o cmd/device-snmp ./cmd [2022-04-06T08:33:54.131Z] Removing intermediate container 048c51205d72 [2022-04-06T08:33:54.131Z] ---> 6d1a8c40e2de [2022-04-06T08:33:54.131Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T08:33:54.131Z] 3.14: Pulling from library/alpine [2022-04-06T08:33:54.131Z] 8663204ce13b: Pulling fs layer [2022-04-06T08:33:54.131Z] 8663204ce13b: Verifying Checksum [2022-04-06T08:33:54.131Z] 8663204ce13b: Download complete [2022-04-06T08:33:54.131Z] 8663204ce13b: Pull complete [2022-04-06T08:33:54.131Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T08:33:54.131Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T08:33:54.131Z] ---> e04c818066af [2022-04-06T08:33:54.131Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T08:33:54.131Z] ---> Running in f49f9048f8c7 [2022-04-06T08:33:54.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-06T08:33:54.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-06T08:33:54.131Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T08:33:54.131Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T08:33:54.131Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T08:33:54.131Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T08:33:54.131Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T08:33:54.131Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T08:33:54.131Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T08:33:54.131Z] OK: 8 MiB in 20 packages [2022-04-06T08:33:54.392Z] Removing intermediate container f49f9048f8c7 [2022-04-06T08:33:54.392Z] ---> 4953376c70e7 [2022-04-06T08:33:54.392Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-06T08:33:54.971Z] ---> 73cacd9e8201 [2022-04-06T08:33:54.971Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-06T08:33:54.971Z] ---> 217ca55362dd [2022-04-06T08:33:54.971Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-06T08:33:55.230Z] ---> 38d6eb8b90fe [2022-04-06T08:33:55.230Z] Step 18/24 : EXPOSE 59993 [2022-04-06T08:33:55.230Z] ---> Running in 56949c2fd259 [2022-04-06T08:33:55.490Z] Removing intermediate container 56949c2fd259 [2022-04-06T08:33:55.490Z] ---> 8365c8ae2a27 [2022-04-06T08:33:55.490Z] Step 19/24 : EXPOSE 161 [2022-04-06T08:33:55.490Z] ---> Running in e9567d305d85 [2022-04-06T08:33:55.490Z] Removing intermediate container e9567d305d85 [2022-04-06T08:33:55.490Z] ---> 80ff4f567920 [2022-04-06T08:33:55.490Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-06T08:33:55.749Z] ---> Running in 4b2fd8c16f4a [2022-04-06T08:33:55.749Z] Removing intermediate container 4b2fd8c16f4a [2022-04-06T08:33:55.749Z] ---> 3e705a90326b [2022-04-06T08:33:55.749Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-06T08:33:55.749Z] ---> Running in e733a91ce5bd [2022-04-06T08:33:56.010Z] Removing intermediate container e733a91ce5bd [2022-04-06T08:33:56.010Z] ---> eb65bccea095 [2022-04-06T08:33:56.010Z] Step 22/24 : LABEL arch=amd64 [2022-04-06T08:33:56.010Z] ---> Running in 7bbca8851b39 [2022-04-06T08:33:56.010Z] Removing intermediate container 7bbca8851b39 [2022-04-06T08:33:56.010Z] ---> 3f94c47066a9 [2022-04-06T08:33:56.010Z] Step 23/24 : LABEL git_sha=7306a6f06add30c2c77de82c1e2d09b100e0c142 [2022-04-06T08:33:56.271Z] ---> Running in 565715da23b1 [2022-04-06T08:33:56.271Z] Removing intermediate container 565715da23b1 [2022-04-06T08:33:56.271Z] ---> 5aa066e3690c [2022-04-06T08:33:56.271Z] Step 24/24 : LABEL version=2.2.0-dev.7 [2022-04-06T08:33:56.271Z] ---> Running in aa51aecdea62 [2022-04-06T08:33:56.532Z] Removing intermediate container aa51aecdea62 [2022-04-06T08:33:56.532Z] ---> 9497ee13503f [2022-04-06T08:33:56.532Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T08:33:56.532Z] Successfully built 9497ee13503f [2022-04-06T08:33:56.532Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:33:56.625Z] provisioning config files... [2022-04-06T08:33:56.636Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6837178683647496331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:33:56.935Z] ---> docker-login.sh [2022-04-06T08:33:56.935Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:33:56.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:33:56.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:33:56.935Z] Configure a credential helper to remove this warning. See [2022-04-06T08:33:56.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:33:56.935Z] [2022-04-06T08:33:56.935Z] Login Succeeded [2022-04-06T08:33:56.935Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:33:56.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:33:57.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:33:57.195Z] Configure a credential helper to remove this warning. See [2022-04-06T08:33:57.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:33:57.195Z] [2022-04-06T08:33:57.195Z] Login Succeeded [2022-04-06T08:33:57.195Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:33:57.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:33:57.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:33:57.195Z] Configure a credential helper to remove this warning. See [2022-04-06T08:33:57.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:33:57.195Z] [2022-04-06T08:33:57.195Z] Login Succeeded [2022-04-06T08:33:57.195Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:33:57.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:33:57.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:33:57.456Z] Configure a credential helper to remove this warning. See [2022-04-06T08:33:57.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:33:57.456Z] [2022-04-06T08:33:57.456Z] Login Succeeded [2022-04-06T08:33:57.456Z] docker.io [2022-04-06T08:33:57.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:33:57.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:33:57.716Z] Configure a credential helper to remove this warning. See [2022-04-06T08:33:57.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:33:57.716Z] [2022-04-06T08:33:57.716Z] Login Succeeded [2022-04-06T08:33:57.716Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:33:57.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T08:33:57.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T08:33:57.870Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-04-06T08:33:57.870Z] 7306a6f06add30c2c77de82c1e2d09b100e0c142 [2022-04-06T08:33:57.870Z] latest [2022-04-06T08:33:57.870Z] 2.2.0-dev.7 [2022-04-06T08:33:57.870Z] 7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7 [2022-04-06T08:33:57.870Z] main [2022-04-06T08:33:57.870Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:33:58.180Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7306a6f06add30c2c77de82c1e2d09b100e0c142 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:33:58.546Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:7306a6f06add30c2c77de82c1e2d09b100e0c142 [2022-04-06T08:33:58.546Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-06T08:33:58.546Z] 2467b6f11992: Preparing [2022-04-06T08:33:58.546Z] c7cecf2f820d: Preparing [2022-04-06T08:33:58.546Z] e694e836a805: Preparing [2022-04-06T08:33:58.546Z] 0fbe516c654d: Preparing [2022-04-06T08:33:58.546Z] b541d28bf3b4: Preparing [2022-04-06T08:33:58.546Z] b541d28bf3b4: Layer already exists [2022-04-06T08:33:58.546Z] 2467b6f11992: Pushed [2022-04-06T08:33:58.546Z] c7cecf2f820d: Pushed [2022-04-06T08:33:58.806Z] 0fbe516c654d: Pushed [2022-04-06T08:34:00.725Z] e694e836a805: Pushed [2022-04-06T08:34:00.985Z] 7306a6f06add30c2c77de82c1e2d09b100e0c142: digest: sha256:3a78708522c59f39ba1f6c4dc1c3122fea924b24e8fd01bd64d07a35c61e710a size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:01.293Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:01.589Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-06T08:34:01.589Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-06T08:34:01.589Z] 2467b6f11992: Preparing [2022-04-06T08:34:01.589Z] c7cecf2f820d: Preparing [2022-04-06T08:34:01.589Z] e694e836a805: Preparing [2022-04-06T08:34:01.589Z] 0fbe516c654d: Preparing [2022-04-06T08:34:01.589Z] b541d28bf3b4: Preparing [2022-04-06T08:34:01.589Z] 0fbe516c654d: Layer already exists [2022-04-06T08:34:01.589Z] c7cecf2f820d: Layer already exists [2022-04-06T08:34:01.589Z] b541d28bf3b4: Layer already exists [2022-04-06T08:34:01.589Z] 2467b6f11992: Layer already exists [2022-04-06T08:34:01.589Z] e694e836a805: Layer already exists [2022-04-06T08:34:01.589Z] latest: digest: sha256:3a78708522c59f39ba1f6c4dc1c3122fea924b24e8fd01bd64d07a35c61e710a size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:01.894Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:02.187Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.7 [2022-04-06T08:34:02.187Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-06T08:34:02.187Z] 2467b6f11992: Preparing [2022-04-06T08:34:02.187Z] c7cecf2f820d: Preparing [2022-04-06T08:34:02.187Z] e694e836a805: Preparing [2022-04-06T08:34:02.187Z] 0fbe516c654d: Preparing [2022-04-06T08:34:02.187Z] b541d28bf3b4: Preparing [2022-04-06T08:34:02.187Z] c7cecf2f820d: Layer already exists [2022-04-06T08:34:02.187Z] b541d28bf3b4: Layer already exists [2022-04-06T08:34:02.187Z] 0fbe516c654d: Layer already exists [2022-04-06T08:34:02.187Z] e694e836a805: Layer already exists [2022-04-06T08:34:02.187Z] 2467b6f11992: Layer already exists [2022-04-06T08:34:02.187Z] 2.2.0-dev.7: digest: sha256:3a78708522c59f39ba1f6c4dc1c3122fea924b24e8fd01bd64d07a35c61e710a size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:02.491Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:02.784Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7 [2022-04-06T08:34:02.784Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-06T08:34:02.784Z] 2467b6f11992: Preparing [2022-04-06T08:34:02.784Z] c7cecf2f820d: Preparing [2022-04-06T08:34:02.784Z] e694e836a805: Preparing [2022-04-06T08:34:02.784Z] 0fbe516c654d: Preparing [2022-04-06T08:34:02.784Z] b541d28bf3b4: Preparing [2022-04-06T08:34:02.784Z] c7cecf2f820d: Layer already exists [2022-04-06T08:34:02.784Z] b541d28bf3b4: Layer already exists [2022-04-06T08:34:02.784Z] 0fbe516c654d: Layer already exists [2022-04-06T08:34:02.784Z] e694e836a805: Layer already exists [2022-04-06T08:34:02.784Z] 2467b6f11992: Layer already exists [2022-04-06T08:34:02.784Z] 7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7: digest: sha256:3a78708522c59f39ba1f6c4dc1c3122fea924b24e8fd01bd64d07a35c61e710a size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:03.083Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:03.376Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-04-06T08:34:03.376Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-06T08:34:03.376Z] 2467b6f11992: Preparing [2022-04-06T08:34:03.376Z] c7cecf2f820d: Preparing [2022-04-06T08:34:03.376Z] e694e836a805: Preparing [2022-04-06T08:34:03.376Z] 0fbe516c654d: Preparing [2022-04-06T08:34:03.376Z] b541d28bf3b4: Preparing [2022-04-06T08:34:03.376Z] e694e836a805: Layer already exists [2022-04-06T08:34:03.376Z] b541d28bf3b4: Layer already exists [2022-04-06T08:34:03.376Z] 2467b6f11992: Layer already exists [2022-04-06T08:34:03.376Z] c7cecf2f820d: Layer already exists [2022-04-06T08:34:03.376Z] 0fbe516c654d: Layer already exists [2022-04-06T08:34:03.376Z] main: digest: sha256:3a78708522c59f39ba1f6c4dc1c3122fea924b24e8fd01bd64d07a35c61e710a size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T08:34:03.417Z] ===================================================== [Pipeline] echo [2022-04-06T08:34:03.426Z] taggedImages: [2022-04-06T08:34:03.426Z] - nexus3.edgexfoundry.org:10004/device-snmp:7306a6f06add30c2c77de82c1e2d09b100e0c142 [2022-04-06T08:34:03.426Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-06T08:34:03.426Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.7 [2022-04-06T08:34:03.426Z] - nexus3.edgexfoundry.org:10004/device-snmp:7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7 [2022-04-06T08:34:03.426Z] - 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-06T08:34:03.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T08:34:03.821Z] [2022-04-06T08:34:03.821Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:04.122Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T08:34:04.122Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T08:34:04.122Z] 5eb5b503b376: Pulling fs layer [2022-04-06T08:34:04.122Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T08:34:04.122Z] ec43610c2a17: Pulling fs layer [2022-04-06T08:34:04.122Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T08:34:04.122Z] 33b1e0a273af: Pulling fs layer [2022-04-06T08:34:04.122Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T08:34:04.122Z] 2f39f015ded8: Pulling fs layer [2022-04-06T08:34:04.122Z] 3a2ae6a8a46f: Waiting [2022-04-06T08:34:04.122Z] 33b1e0a273af: Waiting [2022-04-06T08:34:04.122Z] 5d3b04190fa2: Waiting [2022-04-06T08:34:04.122Z] 2f39f015ded8: Waiting [2022-04-06T08:34:04.122Z] 5c69ac0246d0: Download complete [2022-04-06T08:34:04.122Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T08:34:04.122Z] 3a2ae6a8a46f: Download complete [2022-04-06T08:34:04.122Z] 33b1e0a273af: Verifying Checksum [2022-04-06T08:34:04.122Z] 33b1e0a273af: Download complete [2022-04-06T08:34:04.122Z] ec43610c2a17: Verifying Checksum [2022-04-06T08:34:04.122Z] ec43610c2a17: Download complete [2022-04-06T08:34:04.122Z] 5d3b04190fa2: Download complete [2022-04-06T08:34:04.382Z] 5eb5b503b376: Verifying Checksum [2022-04-06T08:34:04.382Z] 5eb5b503b376: Download complete [2022-04-06T08:34:04.950Z] 2f39f015ded8: Download complete [2022-04-06T08:34:05.890Z] 5eb5b503b376: Pull complete [2022-04-06T08:34:05.890Z] 5c69ac0246d0: Pull complete [2022-04-06T08:34:06.460Z] ec43610c2a17: Pull complete [2022-04-06T08:34:06.460Z] 3a2ae6a8a46f: Pull complete [2022-04-06T08:34:06.721Z] 33b1e0a273af: Pull complete [2022-04-06T08:34:06.721Z] 5d3b04190fa2: Pull complete [2022-04-06T08:34:11.999Z] 2f39f015ded8: Pull complete [2022-04-06T08:34:11.999Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T08:34:11.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T08:34:11.999Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T08:34:12.065Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:34:12.150Z] $ 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-06T08:34:14.517Z] $ docker top e63d8663b24dfa7e7d57fb7ba1fc46e621263efca3381b078637b26386fef695 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:34:14.936Z] ---> job-cost.sh [2022-04-06T08:34:14.936Z] lf-activate-venv: SKIPPING [2022-04-06T08:34:14.936Z] INFO: No Stack... [2022-04-06T08:34:15.505Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T08:34:16.075Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T08:34:16.364Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-04-06T08:34:16.364Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T08:34:16.379Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-17-stack-cost] [2022-04-06T08:34:16.384Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-17-stack-cost] did not exist. Created. [2022-04-06T08:34:16.384Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T08:34:16.691Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T08:34:16.718Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T08:34:16.724Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T08:34:16.751Z] $ docker stop --time=1 e63d8663b24dfa7e7d57fb7ba1fc46e621263efca3381b078637b26386fef695 [2022-04-06T08:34:17.927Z] $ docker rm -f e63d8663b24dfa7e7d57fb7ba1fc46e621263efca3381b078637b26386fef695 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T08:34:25.474Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10950 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-04-06T08:34:25.492Z] Running in /w/workspace/device-snmp-go/17 [Pipeline] { [Pipeline] checkout [2022-04-06T08:34:26.331Z] Selected Git installation does not exist. Using Default [2022-04-06T08:34:26.331Z] The recommended git tool is: NONE [2022-04-06T08:34:33.133Z] using credential edgex-jenkins-ssh [2022-04-06T08:34:33.154Z] Cloning the remote Git repository [2022-04-06T08:34:33.237Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-06T08:34:33.309Z] > git init /w/workspace/device-snmp-go/17 # timeout=10 [2022-04-06T08:34:33.513Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-06T08:34:33.514Z] > git --version # timeout=10 [2022-04-06T08:34:33.558Z] > git --version # 'git version 2.25.1' [2022-04-06T08:34:33.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T08:34:33.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T08:34:34.818Z] Avoid second fetch [2022-04-06T08:34:34.819Z] Checking out Revision 7306a6f06add30c2c77de82c1e2d09b100e0c142 (main) [2022-04-06T08:34:34.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-06T08:34:34.787Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T08:34:34.857Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T08:34:34.880Z] > git checkout -f 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 [2022-04-06T08:34:39.162Z] Commit message: "Merge pull request #149 from bnevis-i/add-spiffe" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T08:34:40.000Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T08:34:40.000Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T08:34:40.000Z] Dload Upload Total Spent Left Speed [2022-04-06T08:34:40.000Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 11843 65 7747 0 0 32826 0 --:--:-- --:--:-- --:--:-- 32687 100 11843 100 11843 0 0 49760 0 --:--:-- --:--:-- --:--:-- 49552 [Pipeline] sh [2022-04-06T08:34:40.524Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T08:34:40.870Z] + sudo tee /etc/docker/daemon.new [2022-04-06T08:34:40.870Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-06T08:34:40.870Z] { [2022-04-06T08:34:40.870Z] "registry-mirrors": [ [2022-04-06T08:34:40.870Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T08:34:40.870Z] ], [2022-04-06T08:34:40.870Z] "bip": "10.250.0.254/24", [2022-04-06T08:34:40.870Z] "hosts": [ [2022-04-06T08:34:40.870Z] "tcp://0.0.0.0:5555", [2022-04-06T08:34:40.870Z] "unix:///var/run/docker.sock" [2022-04-06T08:34:40.870Z] ], [2022-04-06T08:34:40.870Z] "mtu": 1458, [2022-04-06T08:34:40.870Z] "selinux-enabled": true, [2022-04-06T08:34:40.870Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T08:34:40.870Z] } [Pipeline] sh [2022-04-06T08:34:41.222Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T08:34:41.566Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:34:59.973Z] provisioning config files... [2022-04-06T08:34:59.996Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/17@tmp/config9092078705917316999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:35:00.360Z] ---> docker-login.sh [2022-04-06T08:35:00.360Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:35:00.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:01.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:01.241Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:01.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:01.241Z] [2022-04-06T08:35:01.241Z] Login Succeeded [2022-04-06T08:35:01.241Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:35:01.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:01.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:01.790Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:01.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:01.790Z] [2022-04-06T08:35:01.790Z] Login Succeeded [2022-04-06T08:35:01.790Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:35:02.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:02.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:02.065Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:02.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:02.065Z] [2022-04-06T08:35:02.065Z] Login Succeeded [2022-04-06T08:35:02.065Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:35:02.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:02.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:02.667Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:02.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:02.667Z] [2022-04-06T08:35:02.667Z] Login Succeeded [2022-04-06T08:35:02.667Z] docker.io [2022-04-06T08:35:02.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:03.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:03.537Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:03.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:03.537Z] [2022-04-06T08:35:03.537Z] Login Succeeded [2022-04-06T08:35:03.537Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:35:03.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T08:35:04.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T08:35:04.080Z] ========================================================= [2022-04-06T08:35:04.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-06T08:35:04.080Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:04.442Z] + 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-06T08:35:04.715Z] Sending build context to Docker daemon 2.721MB [2022-04-06T08:35:04.715Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T08:35:04.715Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T08:35:04.993Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-06T08:35:04.993Z] 9b3977197b4f: Pulling fs layer [2022-04-06T08:35:04.993Z] 1a89e8eeedd5: Pulling fs layer [2022-04-06T08:35:04.993Z] 94645a83ff95: Pulling fs layer [2022-04-06T08:35:04.993Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-06T08:35:04.993Z] 0c92f367c5e7: Pulling fs layer [2022-04-06T08:35:04.993Z] f7c0051592d6: Pulling fs layer [2022-04-06T08:35:04.993Z] a227ed2f7395: Pulling fs layer [2022-04-06T08:35:04.993Z] 7b1c46037f91: Pulling fs layer [2022-04-06T08:35:04.993Z] 3f3a8bcf1eab: Waiting [2022-04-06T08:35:04.993Z] 0c92f367c5e7: Waiting [2022-04-06T08:35:04.993Z] 7b1c46037f91: Waiting [2022-04-06T08:35:04.993Z] f7c0051592d6: Waiting [2022-04-06T08:35:04.993Z] a227ed2f7395: Waiting [2022-04-06T08:35:04.993Z] 94645a83ff95: Verifying Checksum [2022-04-06T08:35:04.993Z] 94645a83ff95: Download complete [2022-04-06T08:35:04.993Z] 1a89e8eeedd5: Download complete [2022-04-06T08:35:04.993Z] 0c92f367c5e7: Download complete [2022-04-06T08:35:04.993Z] f7c0051592d6: Verifying Checksum [2022-04-06T08:35:04.993Z] f7c0051592d6: Download complete [2022-04-06T08:35:04.993Z] 9b3977197b4f: Verifying Checksum [2022-04-06T08:35:04.993Z] 9b3977197b4f: Download complete [2022-04-06T08:35:04.993Z] a227ed2f7395: Verifying Checksum [2022-04-06T08:35:04.993Z] a227ed2f7395: Download complete [2022-04-06T08:35:05.985Z] 9b3977197b4f: Pull complete [2022-04-06T08:35:06.594Z] 1a89e8eeedd5: Pull complete [2022-04-06T08:35:06.870Z] 94645a83ff95: Pull complete [2022-04-06T08:35:07.145Z] 7b1c46037f91: Verifying Checksum [2022-04-06T08:35:07.145Z] 7b1c46037f91: Download complete [2022-04-06T08:35:07.756Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-06T08:35:07.756Z] 3f3a8bcf1eab: Download complete [2022-04-06T08:35:20.156Z] 3f3a8bcf1eab: Pull complete [2022-04-06T08:35:20.156Z] 0c92f367c5e7: Pull complete [2022-04-06T08:35:20.156Z] f7c0051592d6: Pull complete [2022-04-06T08:35:20.156Z] a227ed2f7395: Pull complete [2022-04-06T08:35:26.871Z] 7b1c46037f91: Pull complete [2022-04-06T08:35:26.871Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-06T08:35:26.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-06T08:35:26.871Z] ---> f79e39bc4007 [2022-04-06T08:35:26.871Z] Step 3/12 : ARG MAKE='make build' [2022-04-06T08:35:27.477Z] ---> Running in f1fffc32cad3 [2022-04-06T08:35:27.755Z] Removing intermediate container f1fffc32cad3 [2022-04-06T08:35:27.755Z] ---> 537cadef133c [2022-04-06T08:35:27.755Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T08:35:28.031Z] ---> Running in a7fbc7a0df2a [2022-04-06T08:35:28.306Z] Removing intermediate container a7fbc7a0df2a [2022-04-06T08:35:28.306Z] ---> 25940ea50225 [2022-04-06T08:35:28.306Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T08:35:28.306Z] ---> Running in 9bddb2ea8dc7 [2022-04-06T08:35:28.595Z] Removing intermediate container 9bddb2ea8dc7 [2022-04-06T08:35:28.595Z] ---> 775434370180 [2022-04-06T08:35:28.595Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T08:35:28.595Z] ---> Running in dd6a0c2a4ce3 [2022-04-06T08:35:30.593Z] Removing intermediate container dd6a0c2a4ce3 [2022-04-06T08:35:30.593Z] ---> 424b2f1005fc [2022-04-06T08:35:30.593Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T08:35:30.593Z] ---> Running in 668a84de3331 [2022-04-06T08:35:31.577Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T08:35:32.562Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T08:35:33.159Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T08:35:33.434Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T08:35:33.434Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T08:35:33.708Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T08:35:33.708Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T08:35:33.708Z] OK: 224 MiB in 56 packages [2022-04-06T08:35:34.695Z] Removing intermediate container 668a84de3331 [2022-04-06T08:35:34.695Z] ---> 5773024a0e80 [2022-04-06T08:35:34.695Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-06T08:35:34.695Z] ---> Running in 8feb4021c5b1 [2022-04-06T08:35:34.970Z] Removing intermediate container 8feb4021c5b1 [2022-04-06T08:35:34.970Z] ---> 34d712477572 [2022-04-06T08:35:34.970Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-06T08:35:35.618Z] ---> 3117ff93b883 [2022-04-06T08:35:35.618Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T08:35:35.618Z] ---> Running in b47c1357740e [2022-04-06T08:36:22.852Z] Removing intermediate container b47c1357740e [2022-04-06T08:36:22.852Z] ---> 224fa98917d5 [2022-04-06T08:36:22.852Z] Step 11/12 : COPY . . [2022-04-06T08:36:22.852Z] ---> 7f083b384573 [2022-04-06T08:36:22.852Z] Step 12/12 : RUN ${MAKE} [2022-04-06T08:36:22.852Z] ---> Running in 777a4fd01df0 [2022-04-06T08:36:23.831Z] noop [2022-04-06T08:36:24.428Z] Removing intermediate container 777a4fd01df0 [2022-04-06T08:36:24.428Z] ---> 8633ea74c7bc [2022-04-06T08:36:24.428Z] Successfully built 8633ea74c7bc [2022-04-06T08:36:24.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:36:24.777Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T08:36:24.777Z] . [Pipeline] withDockerContainer [2022-04-06T08:36:25.029Z] prd-ubuntu20.04-docker-arm64-4c-16g-10950 does not seem to be running inside a container [2022-04-06T08:36:25.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/17 -v /w/workspace/device-snmp-go/17:/w/workspace/device-snmp-go/17:rw,z -v /w/workspace/device-snmp-go/17@tmp:/w/workspace/device-snmp-go/17@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-06T08:36:26.490Z] $ docker top 48d2831115ce576aa2e80154806a9456ec4ffdaa3bd3731d56c62b69145cfd4e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T08:36:27.451Z] + go version [2022-04-06T08:36:27.451Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-06T08:36:27.484Z] $ docker stop --time=1 48d2831115ce576aa2e80154806a9456ec4ffdaa3bd3731d56c62b69145cfd4e [2022-04-06T08:36:29.202Z] $ docker rm -f 48d2831115ce576aa2e80154806a9456ec4ffdaa3bd3731d56c62b69145cfd4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:36:29.859Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T08:36:29.859Z] . [Pipeline] withDockerContainer [2022-04-06T08:36:30.108Z] prd-ubuntu20.04-docker-arm64-4c-16g-10950 does not seem to be running inside a container [2022-04-06T08:36:30.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/17 -v /w/workspace/device-snmp-go/17:/w/workspace/device-snmp-go/17:rw,z -v /w/workspace/device-snmp-go/17@tmp:/w/workspace/device-snmp-go/17@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-06T08:36:31.793Z] $ docker top aba97850c7c0c1810836d19b2f68fde226565fd04caceb1a78bc64e6cf16f15f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T08:36:32.733Z] + make test [2022-04-06T08:36:32.733Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-06T08:36:34.730Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-06T08:37:56.605Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-06T08:37:56.605Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements [2022-04-06T08:37:56.605Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-06T08:37:56.605Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T08:38:18.787Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T08:38:19.063Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T08:38:19.063Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T08:38:22.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T08:38:22.508Z] $ docker stop --time=1 aba97850c7c0c1810836d19b2f68fde226565fd04caceb1a78bc64e6cf16f15f [2022-04-06T08:38:24.284Z] $ docker rm -f aba97850c7c0c1810836d19b2f68fde226565fd04caceb1a78bc64e6cf16f15f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T08:38:25.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T08:38:25.316Z] Warning: overwriting stash ‘coverage-report’ [2022-04-06T08:38:25.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T08:38:26.224Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T08:38:26.565Z] + ls -al . [2022-04-06T08:38:26.565Z] total 160 [2022-04-06T08:38:26.565Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:38 . [2022-04-06T08:38:26.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:34 .. [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 6 08:34 .dockerignore [2022-04-06T08:38:26.565Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:34 .git [2022-04-06T08:38:26.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 .github [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 262 Apr 6 08:34 .gitignore [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 08:34 .golangci.yml [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 6 08:34 Attribution.txt [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 6 08:34 CHANGELOG.md [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 6 08:34 Dockerfile [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 08:34 GOVERNANCE.md [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 6 08:34 Jenkinsfile [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 08:34 LICENSE [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 1551 Apr 6 08:34 Makefile [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 08:34 OWNERS.md [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 6 08:34 README.md [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 6 08:32 VERSION [2022-04-06T08:38:26.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 bin [2022-04-06T08:38:26.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 cmd [2022-04-06T08:38:26.565Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 6 08:37 coverage.out [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 6 08:34 go.mod [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 6 08:34 go.sum [2022-04-06T08:38:26.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 internal [2022-04-06T08:38:26.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 snap [2022-04-06T08:38:26.565Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 6 08:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:38:26.918Z] + 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=7306a6f06add30c2c77de82c1e2d09b100e0c142 --label arch=arm64 --label version=2.2.0-dev.7 . [2022-04-06T08:38:27.193Z] Sending build context to Docker daemon 2.729MB [2022-04-06T08:38:27.480Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T08:38:27.480Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T08:38:27.480Z] ---> 8633ea74c7bc [2022-04-06T08:38:27.480Z] Step 3/24 : ARG MAKE='make build' [2022-04-06T08:38:27.480Z] ---> Running in c133b3fd0532 [2022-04-06T08:38:27.755Z] Removing intermediate container c133b3fd0532 [2022-04-06T08:38:27.755Z] ---> aed6383db210 [2022-04-06T08:38:27.755Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T08:38:27.755Z] ---> Running in 2ddc6ff76cd7 [2022-04-06T08:38:28.358Z] Removing intermediate container 2ddc6ff76cd7 [2022-04-06T08:38:28.358Z] ---> 45f52d4f5df9 [2022-04-06T08:38:28.358Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T08:38:28.358Z] ---> Running in 03277f14236a [2022-04-06T08:38:28.635Z] Removing intermediate container 03277f14236a [2022-04-06T08:38:28.635Z] ---> bcd6d98d13e1 [2022-04-06T08:38:28.635Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T08:38:28.635Z] ---> Running in 71c386617cfc [2022-04-06T08:38:30.611Z] Removing intermediate container 71c386617cfc [2022-04-06T08:38:30.611Z] ---> 2a204097fe9b [2022-04-06T08:38:30.611Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T08:38:30.611Z] ---> Running in b6b4ae44c137 [2022-04-06T08:38:31.603Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T08:38:32.581Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T08:38:33.178Z] OK: 224 MiB in 56 packages [2022-04-06T08:38:34.185Z] Removing intermediate container b6b4ae44c137 [2022-04-06T08:38:34.185Z] ---> 2135b06e7b61 [2022-04-06T08:38:34.185Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-06T08:38:34.185Z] ---> Running in 5a09956bad93 [2022-04-06T08:38:34.460Z] Removing intermediate container 5a09956bad93 [2022-04-06T08:38:34.460Z] ---> 0f7e252c5713 [2022-04-06T08:38:34.460Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-06T08:38:35.062Z] ---> cd2852c8c359 [2022-04-06T08:38:35.062Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T08:38:35.062Z] ---> Running in 26d333ea0001 [2022-04-06T08:38:37.062Z] Removing intermediate container 26d333ea0001 [2022-04-06T08:38:37.062Z] ---> eb0d2994a7d6 [2022-04-06T08:38:37.062Z] Step 11/24 : COPY . . [2022-04-06T08:38:38.048Z] ---> 3b274cca08aa [2022-04-06T08:38:38.048Z] Step 12/24 : RUN ${MAKE} [2022-04-06T08:38:38.048Z] ---> Running in 2ff450108e91 [2022-04-06T08:38:39.029Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.7" -o cmd/device-snmp ./cmd [2022-04-06T08:40:16.138Z] Removing intermediate container 2ff450108e91 [2022-04-06T08:40:16.138Z] ---> 8af4488fed64 [2022-04-06T08:40:16.138Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T08:40:16.138Z] 3.14: Pulling from library/alpine [2022-04-06T08:40:16.138Z] 455c02918c45: Pulling fs layer [2022-04-06T08:40:16.138Z] 455c02918c45: Verifying Checksum [2022-04-06T08:40:16.138Z] 455c02918c45: Download complete [2022-04-06T08:40:16.138Z] 455c02918c45: Pull complete [2022-04-06T08:40:16.138Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T08:40:16.138Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T08:40:16.138Z] ---> ac73e934f311 [2022-04-06T08:40:16.138Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T08:40:16.138Z] ---> Running in 5f980d02c0c2 [2022-04-06T08:40:16.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-06T08:40:16.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-06T08:40:16.138Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T08:40:16.138Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T08:40:16.138Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T08:40:16.138Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T08:40:16.138Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T08:40:16.138Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T08:40:16.138Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T08:40:16.138Z] OK: 8 MiB in 20 packages [2022-04-06T08:40:16.138Z] Removing intermediate container 5f980d02c0c2 [2022-04-06T08:40:16.138Z] ---> 6e2ef0bf2e34 [2022-04-06T08:40:16.138Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-06T08:40:16.138Z] ---> 026cc4b5bb7c [2022-04-06T08:40:16.138Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-06T08:40:16.138Z] ---> edd6db0b4d69 [2022-04-06T08:40:16.138Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-06T08:40:16.138Z] ---> ffeb2cc9972c [2022-04-06T08:40:16.138Z] Step 18/24 : EXPOSE 59993 [2022-04-06T08:40:16.138Z] ---> Running in 25ade9370a81 [2022-04-06T08:40:16.138Z] Removing intermediate container 25ade9370a81 [2022-04-06T08:40:16.138Z] ---> d29a1ea69899 [2022-04-06T08:40:16.138Z] Step 19/24 : EXPOSE 161 [2022-04-06T08:40:16.138Z] ---> Running in 7a6a3f6a1888 [2022-04-06T08:40:16.138Z] Removing intermediate container 7a6a3f6a1888 [2022-04-06T08:40:16.138Z] ---> ea117a49ca96 [2022-04-06T08:40:16.138Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-06T08:40:16.138Z] ---> Running in 90f0c81d6fc5 [2022-04-06T08:40:16.138Z] Removing intermediate container 90f0c81d6fc5 [2022-04-06T08:40:16.138Z] ---> 52208598adc0 [2022-04-06T08:40:16.138Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-06T08:40:16.138Z] ---> Running in 4f66e5015193 [2022-04-06T08:40:16.138Z] Removing intermediate container 4f66e5015193 [2022-04-06T08:40:16.138Z] ---> 799a4a836457 [2022-04-06T08:40:16.138Z] Step 22/24 : LABEL arch=arm64 [2022-04-06T08:40:16.138Z] ---> Running in 2686a5465a62 [2022-04-06T08:40:16.138Z] Removing intermediate container 2686a5465a62 [2022-04-06T08:40:16.138Z] ---> d612f1f12f50 [2022-04-06T08:40:16.138Z] Step 23/24 : LABEL git_sha=7306a6f06add30c2c77de82c1e2d09b100e0c142 [2022-04-06T08:40:16.138Z] ---> Running in 00e77b65f9a3 [2022-04-06T08:40:16.138Z] Removing intermediate container 00e77b65f9a3 [2022-04-06T08:40:16.138Z] ---> 7b89d7b790ca [2022-04-06T08:40:16.138Z] Step 24/24 : LABEL version=2.2.0-dev.7 [2022-04-06T08:40:16.138Z] ---> Running in f621d458ea21 [2022-04-06T08:40:16.138Z] Removing intermediate container f621d458ea21 [2022-04-06T08:40:16.138Z] ---> 85e82137f21d [2022-04-06T08:40:16.138Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T08:40:16.138Z] Successfully built 85e82137f21d [2022-04-06T08:40:16.138Z] 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-06T08:40:16.245Z] provisioning config files... [2022-04-06T08:40:16.265Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/17@tmp/config1174344719912736066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:40:16.638Z] ---> docker-login.sh [2022-04-06T08:40:16.638Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:40:16.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:40:16.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:40:16.916Z] Configure a credential helper to remove this warning. See [2022-04-06T08:40:16.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:40:16.916Z] [2022-04-06T08:40:16.916Z] Login Succeeded [2022-04-06T08:40:17.194Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:40:17.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:40:17.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:40:17.471Z] Configure a credential helper to remove this warning. See [2022-04-06T08:40:17.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:40:17.471Z] [2022-04-06T08:40:17.471Z] Login Succeeded [2022-04-06T08:40:17.471Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:40:18.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:40:18.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:40:18.071Z] Configure a credential helper to remove this warning. See [2022-04-06T08:40:18.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:40:18.071Z] [2022-04-06T08:40:18.071Z] Login Succeeded [2022-04-06T08:40:18.071Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:40:18.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:40:18.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:40:18.670Z] Configure a credential helper to remove this warning. See [2022-04-06T08:40:18.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:40:18.670Z] [2022-04-06T08:40:18.670Z] Login Succeeded [2022-04-06T08:40:18.670Z] docker.io [2022-04-06T08:40:18.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:40:19.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:40:19.545Z] Configure a credential helper to remove this warning. See [2022-04-06T08:40:19.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:40:19.545Z] [2022-04-06T08:40:19.545Z] Login Succeeded [2022-04-06T08:40:19.545Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:40:19.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T08:40:19.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T08:40:19.627Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-04-06T08:40:19.627Z] 7306a6f06add30c2c77de82c1e2d09b100e0c142 [2022-04-06T08:40:19.627Z] latest [2022-04-06T08:40:19.627Z] 2.2.0-dev.7 [2022-04-06T08:40:19.627Z] 7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7 [2022-04-06T08:40:19.627Z] main [2022-04-06T08:40:19.627Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:20.006Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7306a6f06add30c2c77de82c1e2d09b100e0c142 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:20.360Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7306a6f06add30c2c77de82c1e2d09b100e0c142 [2022-04-06T08:40:20.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-06T08:40:20.360Z] 55dc01136269: Preparing [2022-04-06T08:40:20.360Z] 009d0f159576: Preparing [2022-04-06T08:40:20.360Z] 9dcc7c832766: Preparing [2022-04-06T08:40:20.360Z] 751665805bc1: Preparing [2022-04-06T08:40:20.360Z] f73e7dbfee58: Preparing [2022-04-06T08:40:20.654Z] f73e7dbfee58: Layer already exists [2022-04-06T08:40:20.654Z] 55dc01136269: Pushed [2022-04-06T08:40:20.654Z] 009d0f159576: Pushed [2022-04-06T08:40:21.644Z] 751665805bc1: Pushed [2022-04-06T08:40:25.969Z] 9dcc7c832766: Pushed [2022-04-06T08:40:25.969Z] 7306a6f06add30c2c77de82c1e2d09b100e0c142: digest: sha256:e89be9943163c4625f2054bb655634985c4f85ff643c07b5bd1ee919d6d69945 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:26.329Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:26.681Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-06T08:40:26.681Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-06T08:40:26.681Z] 55dc01136269: Preparing [2022-04-06T08:40:26.681Z] 009d0f159576: Preparing [2022-04-06T08:40:26.681Z] 9dcc7c832766: Preparing [2022-04-06T08:40:26.681Z] 751665805bc1: Preparing [2022-04-06T08:40:26.681Z] f73e7dbfee58: Preparing [2022-04-06T08:40:26.681Z] f73e7dbfee58: Layer already exists [2022-04-06T08:40:26.681Z] 9dcc7c832766: Layer already exists [2022-04-06T08:40:26.681Z] 751665805bc1: Layer already exists [2022-04-06T08:40:26.681Z] 009d0f159576: Layer already exists [2022-04-06T08:40:26.681Z] 55dc01136269: Layer already exists [2022-04-06T08:40:26.957Z] latest: digest: sha256:e89be9943163c4625f2054bb655634985c4f85ff643c07b5bd1ee919d6d69945 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:27.318Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:27.673Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.7 [2022-04-06T08:40:27.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-06T08:40:27.673Z] 55dc01136269: Preparing [2022-04-06T08:40:27.673Z] 009d0f159576: Preparing [2022-04-06T08:40:27.673Z] 9dcc7c832766: Preparing [2022-04-06T08:40:27.673Z] 751665805bc1: Preparing [2022-04-06T08:40:27.673Z] f73e7dbfee58: Preparing [2022-04-06T08:40:27.673Z] 9dcc7c832766: Layer already exists [2022-04-06T08:40:27.673Z] 751665805bc1: Layer already exists [2022-04-06T08:40:27.673Z] f73e7dbfee58: Layer already exists [2022-04-06T08:40:27.673Z] 55dc01136269: Layer already exists [2022-04-06T08:40:27.673Z] 009d0f159576: Layer already exists [2022-04-06T08:40:27.953Z] 2.2.0-dev.7: digest: sha256:e89be9943163c4625f2054bb655634985c4f85ff643c07b5bd1ee919d6d69945 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:28.314Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:28.665Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7 [2022-04-06T08:40:28.665Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-06T08:40:28.665Z] 55dc01136269: Preparing [2022-04-06T08:40:28.665Z] 009d0f159576: Preparing [2022-04-06T08:40:28.665Z] 9dcc7c832766: Preparing [2022-04-06T08:40:28.665Z] 751665805bc1: Preparing [2022-04-06T08:40:28.665Z] f73e7dbfee58: Preparing [2022-04-06T08:40:28.665Z] f73e7dbfee58: Layer already exists [2022-04-06T08:40:28.665Z] 751665805bc1: Layer already exists [2022-04-06T08:40:28.665Z] 009d0f159576: Layer already exists [2022-04-06T08:40:28.665Z] 9dcc7c832766: Layer already exists [2022-04-06T08:40:28.665Z] 55dc01136269: Layer already exists [2022-04-06T08:40:28.949Z] 7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7: digest: sha256:e89be9943163c4625f2054bb655634985c4f85ff643c07b5bd1ee919d6d69945 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:29.309Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:29.665Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-04-06T08:40:29.665Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-06T08:40:29.665Z] 55dc01136269: Preparing [2022-04-06T08:40:29.665Z] 009d0f159576: Preparing [2022-04-06T08:40:29.665Z] 9dcc7c832766: Preparing [2022-04-06T08:40:29.665Z] 751665805bc1: Preparing [2022-04-06T08:40:29.665Z] f73e7dbfee58: Preparing [2022-04-06T08:40:29.665Z] 9dcc7c832766: Layer already exists [2022-04-06T08:40:29.665Z] 009d0f159576: Layer already exists [2022-04-06T08:40:29.946Z] 751665805bc1: Layer already exists [2022-04-06T08:40:29.946Z] f73e7dbfee58: Layer already exists [2022-04-06T08:40:29.946Z] 55dc01136269: Layer already exists [2022-04-06T08:40:29.946Z] main: digest: sha256:e89be9943163c4625f2054bb655634985c4f85ff643c07b5bd1ee919d6d69945 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T08:40:29.999Z] ===================================================== [Pipeline] echo [2022-04-06T08:40:30.010Z] taggedImages: [2022-04-06T08:40:30.010Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7306a6f06add30c2c77de82c1e2d09b100e0c142 [2022-04-06T08:40:30.010Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-06T08:40:30.010Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.7 [2022-04-06T08:40:30.010Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7306a6f06add30c2c77de82c1e2d09b100e0c142-2.2.0-dev.7 [2022-04-06T08:40:30.010Z] - 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-06T08:40:30.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T08:40:30.392Z] [2022-04-06T08:40:30.392Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:40:30.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T08:40:31.030Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T08:40:31.030Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T08:40:31.031Z] 04944245beec: Pulling fs layer [2022-04-06T08:40:31.031Z] 699f458cf7ca: Pulling fs layer [2022-04-06T08:40:31.031Z] 765212b225bb: Pulling fs layer [2022-04-06T08:40:31.031Z] f23df028b6ca: Pulling fs layer [2022-04-06T08:40:31.031Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T08:40:31.031Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T08:40:31.031Z] 765212b225bb: Waiting [2022-04-06T08:40:31.031Z] d65c8cfc05b1: Waiting [2022-04-06T08:40:31.031Z] 2437ff75d9bd: Waiting [2022-04-06T08:40:31.031Z] f23df028b6ca: Waiting [2022-04-06T08:40:31.031Z] 04944245beec: Verifying Checksum [2022-04-06T08:40:31.031Z] 04944245beec: Download complete [2022-04-06T08:40:31.031Z] 765212b225bb: Download complete [2022-04-06T08:40:31.031Z] f23df028b6ca: Download complete [2022-04-06T08:40:31.031Z] d65c8cfc05b1: Verifying Checksum [2022-04-06T08:40:31.031Z] d65c8cfc05b1: Download complete [2022-04-06T08:40:31.307Z] 699f458cf7ca: Verifying Checksum [2022-04-06T08:40:31.307Z] 699f458cf7ca: Download complete [2022-04-06T08:40:31.585Z] 8998bd30e6a1: Verifying Checksum [2022-04-06T08:40:31.585Z] 8998bd30e6a1: Download complete [2022-04-06T08:40:34.231Z] 2437ff75d9bd: Verifying Checksum [2022-04-06T08:40:34.231Z] 2437ff75d9bd: Download complete [2022-04-06T08:40:36.221Z] 8998bd30e6a1: Pull complete [2022-04-06T08:40:36.824Z] 04944245beec: Pull complete [2022-04-06T08:40:38.271Z] 699f458cf7ca: Pull complete [2022-04-06T08:40:38.547Z] 765212b225bb: Pull complete [2022-04-06T08:40:39.535Z] f23df028b6ca: Pull complete [2022-04-06T08:40:39.814Z] d65c8cfc05b1: Pull complete [2022-04-06T08:40:54.923Z] 2437ff75d9bd: Pull complete [2022-04-06T08:40:54.923Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T08:40:54.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T08:40:54.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T08:40:55.177Z] prd-ubuntu20.04-docker-arm64-4c-16g-10950 does not seem to be running inside a container [2022-04-06T08:40:55.277Z] $ 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/17 -v /w/workspace/device-snmp-go/17:/w/workspace/device-snmp-go/17:rw,z -v /w/workspace/device-snmp-go/17@tmp:/w/workspace/device-snmp-go/17@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-06T08:40:58.153Z] $ docker top bdb66db3c1f5be742132971a81ef0235b0f4a7c04b2da1aae2c819330cad1d65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:40:59.100Z] ---> job-cost.sh [2022-04-06T08:40:59.100Z] lf-activate-venv: SKIPPING [2022-04-06T08:40:59.100Z] INFO: No Stack... [2022-04-06T08:40:59.375Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T08:41:00.358Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T08:41:01.044Z] + cat /w/workspace/device-snmp-go/17/archives/cost.csv [2022-04-06T08:41:01.045Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T08:41:01.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-17-stack-cost] [2022-04-06T08:41:01.129Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-17-stack-cost] did not exist. Created. [2022-04-06T08:41:01.129Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T08:41:01.819Z] /w/workspace/device-snmp-go/17@tmp/durable-946ff95b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T08:41:02.517Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T08:41:02.540Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T08:41:02.596Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T08:41:02.602Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T08:41:02.628Z] $ docker stop --time=1 bdb66db3c1f5be742132971a81ef0235b0f4a7c04b2da1aae2c819330cad1d65 [2022-04-06T08:41:04.216Z] $ docker rm -f bdb66db3c1f5be742132971a81ef0235b0f4a7c04b2da1aae2c819330cad1d65 [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-06T08:41:04.736Z] provisioning config files... [2022-04-06T08:41:04.752Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7498544199919129443tmp [Pipeline] { [Pipeline] sh [2022-04-06T08:41:05.045Z] + set +x [2022-04-06T08:41:05.046Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-04-06T08:41:05.046Z] [2022-04-06T08:41:05.046Z] [2022-04-06T08:41:05.046Z] _____ _ [2022-04-06T08:41:05.046Z] / ____| | | [2022-04-06T08:41:05.046Z] | | ___ __| | ___ ___ _____ __ [2022-04-06T08:41:05.046Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-06T08:41:05.046Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-06T08:41:05.046Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-06T08:41:05.046Z] Bash-1.0.6 [2022-04-06T08:41:05.046Z] [2022-04-06T08:41:05.046Z] [2022-04-06T08:41:05.046Z] ==> git version 2.25.1 found [2022-04-06T08:41:05.046Z] ==> 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-06T08:41:05.046Z] Release-Date: 2020-01-08 [2022-04-06T08:41:05.046Z] 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-06T08:41:05.046Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-06T08:41:05.046Z] ==> Jenkins CI detected. [2022-04-06T08:41:05.046Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-06T08:41:05.046Z] project root: . [2022-04-06T08:41:05.046Z] --> token set from env [2022-04-06T08:41:05.046Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-06T08:41:05.046Z] ==> Running gcov in . (disable via -X gcov) [2022-04-06T08:41:05.046Z] ==> Python coveragepy not found [2022-04-06T08:41:05.046Z] ==> Searching for coverage reports in: [2022-04-06T08:41:05.046Z] + . [2022-04-06T08:41:05.046Z] -> Found 1 reports [2022-04-06T08:41:05.046Z] ==> Detecting git/mercurial file structure [2022-04-06T08:41:05.046Z] ==> Reading reports [2022-04-06T08:41:05.046Z] + ./coverage.out bytes=7631 [2022-04-06T08:41:05.046Z] ==> Appending adjustments [2022-04-06T08:41:05.046Z] https://docs.codecov.io/docs/fixing-reports [2022-04-06T08:41:05.306Z] + Found adjustments [2022-04-06T08:41:05.306Z] ==> Gzipping contents [2022-04-06T08:41:05.306Z] 4.0K /tmp/codecov.t0kBgC.gz [2022-04-06T08:41:05.306Z] ==> Uploading reports [2022-04-06T08:41:05.306Z] url: https://codecov.io [2022-04-06T08:41:05.306Z] query: branch=main&commit=7306a6f06add30c2c77de82c1e2d09b100e0c142&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-06T08:41:05.306Z] -> Pinging Codecov [2022-04-06T08:41:05.306Z] 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=7306a6f06add30c2c77de82c1e2d09b100e0c142&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-06T08:41:05.566Z] -> Uploading to [2022-04-06T08:41:05.566Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-06/6C56EA5C29638FB4528AC87E60AF5AE0/7306a6f06add30c2c77de82c1e2d09b100e0c142/1691baef-981f-472d-9961-176b0596f21a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T084105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=886ea8982c24c11e6fa099d3507c48ab395719bf764dde92daa27615065ac904 [2022-04-06T08:41:05.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T08:41:05.566Z] Dload Upload Total Spent Left Speed [2022-04-06T08:41:05.826Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6417 --:--:-- --:--:-- --:--:-- 6417 [2022-04-06T08:41:05.826Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/7306a6f06add30c2c77de82c1e2d09b100e0c142 [Pipeline] } [2022-04-06T08:41:05.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-06T08:41:06.098Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-06T08:41:06.109Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:41:06.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-06T08:41:06.405Z] [2022-04-06T08:41:06.405Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:41:06.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-06T08:41:06.706Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-06T08:41:06.706Z] 188c0c94c7c5: Pulling fs layer [2022-04-06T08:41:06.706Z] 0ef7d3d256c8: Pulling fs layer [2022-04-06T08:41:06.706Z] de9db76c5a1d: Pulling fs layer [2022-04-06T08:41:06.706Z] 0eba1c9be4d2: Pulling fs layer [2022-04-06T08:41:06.706Z] 0d57e429df01: Pulling fs layer [2022-04-06T08:41:06.706Z] 4e4be7b47b0d: Pulling fs layer [2022-04-06T08:41:06.706Z] e1f770b5df2f: Pulling fs layer [2022-04-06T08:41:06.706Z] 85a0685a4137: Pulling fs layer [2022-04-06T08:41:06.706Z] 0d57e429df01: Waiting [2022-04-06T08:41:06.706Z] 4e4be7b47b0d: Waiting [2022-04-06T08:41:06.706Z] e1f770b5df2f: Waiting [2022-04-06T08:41:06.706Z] 85a0685a4137: Waiting [2022-04-06T08:41:06.706Z] de9db76c5a1d: Verifying Checksum [2022-04-06T08:41:06.706Z] de9db76c5a1d: Download complete [2022-04-06T08:41:06.706Z] 0ef7d3d256c8: Download complete [2022-04-06T08:41:06.706Z] 0d57e429df01: Verifying Checksum [2022-04-06T08:41:06.706Z] 0d57e429df01: Download complete [2022-04-06T08:41:06.706Z] 188c0c94c7c5: Verifying Checksum [2022-04-06T08:41:06.706Z] 188c0c94c7c5: Download complete [2022-04-06T08:41:06.706Z] 4e4be7b47b0d: Verifying Checksum [2022-04-06T08:41:06.706Z] 4e4be7b47b0d: Download complete [2022-04-06T08:41:06.968Z] e1f770b5df2f: Verifying Checksum [2022-04-06T08:41:06.968Z] e1f770b5df2f: Download complete [2022-04-06T08:41:06.968Z] 188c0c94c7c5: Pull complete [2022-04-06T08:41:06.968Z] 0ef7d3d256c8: Pull complete [2022-04-06T08:41:06.968Z] de9db76c5a1d: Pull complete [2022-04-06T08:41:07.539Z] 0eba1c9be4d2: Verifying Checksum [2022-04-06T08:41:07.539Z] 0eba1c9be4d2: Download complete [2022-04-06T08:41:07.539Z] 85a0685a4137: Verifying Checksum [2022-04-06T08:41:07.539Z] 85a0685a4137: Download complete [2022-04-06T08:41:10.837Z] 0eba1c9be4d2: Pull complete [2022-04-06T08:41:10.837Z] 0d57e429df01: Pull complete [2022-04-06T08:41:11.100Z] 4e4be7b47b0d: Pull complete [2022-04-06T08:41:11.362Z] e1f770b5df2f: Pull complete [2022-04-06T08:41:14.663Z] 85a0685a4137: Pull complete [2022-04-06T08:41:14.663Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-06T08:41:14.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-06T08:41:14.663Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-06T08:41:14.727Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:41:14.766Z] $ 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-06T08:41:16.559Z] $ docker top 45cfa616097fce1b8dfd2a915f249e11341f1ea2ebb0953d46581087524ab566 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-06T08:41:16.638Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-06T08:41:16.916Z] + set -o pipefail [2022-04-06T08:41:16.916Z] + snyk monitor '--org=edgex-jenkins' [2022-04-06T08:41:23.504Z] [2022-04-06T08:41:23.504Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-04-06T08:41:23.504Z] [2022-04-06T08:41:23.504Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/19dca140-0de6-4c41-b112-53d6f2d31e17 [2022-04-06T08:41:23.504Z] [2022-04-06T08:41:23.504Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-06T08:41:23.504Z] [2022-04-06T08:41:23.504Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-06T08:41:23.504Z] [2022-04-06T08:41:23.504Z] [Pipeline] } [2022-04-06T08:41:23.782Z] $ docker stop --time=1 45cfa616097fce1b8dfd2a915f249e11341f1ea2ebb0953d46581087524ab566 [2022-04-06T08:41:25.776Z] $ docker rm -f 45cfa616097fce1b8dfd2a915f249e11341f1ea2ebb0953d46581087524ab566 [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-06T08:41:26.731Z] + git log --format=format:%s -1 7306a6f06add30c2c77de82c1e2d09b100e0c142 [Pipeline] sh [2022-04-06T08:41:27.027Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T08:41:27.027Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:41:27.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:41:27.322Z] . [Pipeline] withDockerContainer [2022-04-06T08:41:27.388Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:41:27.427Z] $ 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-06T08:41:27.838Z] $ docker top 1fc2fdb901b47d7016d55286d25a6df6bebb7278787c45b2228c4ae313fa987b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T08:41:27.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:41:27.939Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:41:28.067Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:41:28.074Z] $ docker exec 1fc2fdb901b47d7016d55286d25a6df6bebb7278787c45b2228c4ae313fa987b ssh-agent [2022-04-06T08:41:28.183Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKMObal/agent.15 [2022-04-06T08:41:28.183Z] SSH_AGENT_PID=21 [2022-04-06T08:41:28.188Z] Running ssh-add (command line suppressed) [2022-04-06T08:41:28.306Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9204011163601725980.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9204011163601725980.key) [2022-04-06T08:41:28.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:41:28.604Z] + git semver tag [2022-04-06T08:41:28.604Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T08:41:28.604Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-06T08:41:28.604Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-06T08:41:28.604Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T08:41:28.604Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T08:41:28.604Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T08:41:28.604Z] # $SEMVER_BRANCH = main [2022-04-06T08:41:28.604Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-06T08:41:28.604Z] # 7306a6f06add30c2c77de82c1e2d09b100e0c142 HEAD [2022-04-06T08:41:28.604Z] # -> Force: false [2022-04-06T08:41:28.604Z] # d920b8b16bfd9e0a5a366ef12a4ddf440588a84d refs/tags/v2.2.0-dev.7 [Pipeline] } [2022-04-06T08:41:28.619Z] $ docker exec --env ******** --env ******** 1fc2fdb901b47d7016d55286d25a6df6bebb7278787c45b2228c4ae313fa987b ssh-agent -k [2022-04-06T08:41:28.741Z] unset SSH_AUTH_SOCK; [2022-04-06T08:41:28.742Z] unset SSH_AGENT_PID; [2022-04-06T08:41:28.743Z] echo Agent pid 21 killed; [2022-04-06T08:41:28.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T08:41:29.047Z] + git semver [Pipeline] } [2022-04-06T08:41:29.064Z] $ docker stop --time=1 1fc2fdb901b47d7016d55286d25a6df6bebb7278787c45b2228c4ae313fa987b [2022-04-06T08:41:30.322Z] $ docker rm -f 1fc2fdb901b47d7016d55286d25a6df6bebb7278787c45b2228c4ae313fa987b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:41:30.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-06T08:41:30.775Z] [2022-04-06T08:41:30.775Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:41:31.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-06T08:41:31.090Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-06T08:41:31.090Z] ab5ef0e58194: Pulling fs layer [2022-04-06T08:41:31.090Z] 9712f1f96733: Pulling fs layer [2022-04-06T08:41:31.090Z] 63f879dbbcfc: Pulling fs layer [2022-04-06T08:41:31.090Z] 0d9ebad4ef96: Pulling fs layer [2022-04-06T08:41:31.090Z] e9a5061849ea: Pulling fs layer [2022-04-06T08:41:31.090Z] 0d9ebad4ef96: Waiting [2022-04-06T08:41:31.090Z] d747dcd14b5f: Pulling fs layer [2022-04-06T08:41:31.090Z] 2de7ff778b66: Pulling fs layer [2022-04-06T08:41:31.090Z] e9a5061849ea: Waiting [2022-04-06T08:41:31.090Z] 2de7ff778b66: Waiting [2022-04-06T08:41:31.090Z] d747dcd14b5f: Waiting [2022-04-06T08:41:31.090Z] 9712f1f96733: Verifying Checksum [2022-04-06T08:41:31.090Z] 9712f1f96733: Download complete [2022-04-06T08:41:31.350Z] 63f879dbbcfc: Verifying Checksum [2022-04-06T08:41:31.350Z] 63f879dbbcfc: Download complete [2022-04-06T08:41:31.610Z] e9a5061849ea: Verifying Checksum [2022-04-06T08:41:31.610Z] e9a5061849ea: Download complete [2022-04-06T08:41:31.610Z] d747dcd14b5f: Download complete [2022-04-06T08:41:31.610Z] ab5ef0e58194: Verifying Checksum [2022-04-06T08:41:31.610Z] ab5ef0e58194: Download complete [2022-04-06T08:41:31.610Z] 0d9ebad4ef96: Verifying Checksum [2022-04-06T08:41:31.610Z] 0d9ebad4ef96: Download complete [2022-04-06T08:41:31.610Z] 2de7ff778b66: Verifying Checksum [2022-04-06T08:41:31.610Z] 2de7ff778b66: Download complete [2022-04-06T08:41:34.900Z] ab5ef0e58194: Pull complete [2022-04-06T08:41:34.900Z] 9712f1f96733: Pull complete [2022-04-06T08:41:35.468Z] 63f879dbbcfc: Pull complete [2022-04-06T08:41:39.665Z] 0d9ebad4ef96: Pull complete [2022-04-06T08:41:40.234Z] e9a5061849ea: Pull complete [2022-04-06T08:41:40.234Z] d747dcd14b5f: Pull complete [2022-04-06T08:41:41.615Z] 2de7ff778b66: Pull complete [2022-04-06T08:41:41.615Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-06T08:41:41.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-06T08:41:41.615Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-06T08:41:41.689Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:41:41.727Z] $ 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-06T08:41:43.684Z] $ docker top fdb3bb13feb5fa29e45e52d5773628ffbce60b01baa21e285f3c1d9e3ac9991a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:41:43.762Z] provisioning config files... [2022-04-06T08:41:43.770Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1818484328945850135tmp [2022-04-06T08:41:43.781Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7847507474516015781tmp [2022-04-06T08:41:43.792Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config478384209403378623tmp [Pipeline] { [Pipeline] echo [2022-04-06T08:41:43.811Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:41:44.099Z] ---> sigul-configuration.sh [2022-04-06T08:41:44.099Z] gpg: directory `/root/.gnupg' created [2022-04-06T08:41:44.099Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-06T08:41:44.099Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-06T08:41:44.099Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-06T08:41:44.099Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-06T08:41:44.099Z] gpg: CAST5 encrypted data [2022-04-06T08:41:44.099Z] gpg: encrypted with 1 passphrase [2022-04-06T08:41:44.099Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-06T08:41:44.391Z] + mkdir /home/jenkins [2022-04-06T08:41:44.391Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-06T08:41:44.685Z] + 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-06T08:41:44.696Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:41:44.986Z] ---> sigul-install.sh [2022-04-06T08:41:44.986Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-06T08:41:45.274Z] + git tag --list [2022-04-06T08:41:45.274Z] 1.0.0 [2022-04-06T08:41:45.274Z] v0.0.0 [2022-04-06T08:41:45.274Z] v1.1.0 [2022-04-06T08:41:45.274Z] v1.1.1 [2022-04-06T08:41:45.274Z] v1.2.2 [2022-04-06T08:41:45.274Z] v1.3.0 [2022-04-06T08:41:45.274Z] v1.3.1 [2022-04-06T08:41:45.274Z] v2.0.0 [2022-04-06T08:41:45.274Z] v2.0.1-dev.1 [2022-04-06T08:41:45.274Z] v2.0.1-dev.2 [2022-04-06T08:41:45.274Z] v2.0.1-dev.3 [2022-04-06T08:41:45.274Z] v2.0.1-dev.4 [2022-04-06T08:41:45.274Z] v2.0.1-dev.5 [2022-04-06T08:41:45.274Z] v2.0.1-dev.6 [2022-04-06T08:41:45.274Z] v2.1.0 [2022-04-06T08:41:45.274Z] v2.2.0-dev.1 [2022-04-06T08:41:45.274Z] v2.2.0-dev.2 [2022-04-06T08:41:45.274Z] v2.2.0-dev.3 [2022-04-06T08:41:45.274Z] v2.2.0-dev.4 [2022-04-06T08:41:45.274Z] v2.2.0-dev.5 [2022-04-06T08:41:45.274Z] v2.2.0-dev.6 [2022-04-06T08:41:45.274Z] v2.2.0-dev.7 [Pipeline] sh [2022-04-06T08:41:45.564Z] + lftools sign git-tag v2.2.0-dev.7 [2022-04-06T08:41:46.136Z] Signing Git tag with Sigul... [2022-04-06T08:41:46.136Z] Signing v2.2.0-dev.7 [Pipeline] echo [2022-04-06T08:41:46.409Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:41:46.698Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-06T08:41:46.707Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-06T08:41:46.730Z] $ docker stop --time=1 fdb3bb13feb5fa29e45e52d5773628ffbce60b01baa21e285f3c1d9e3ac9991a [2022-04-06T08:41:48.022Z] $ docker rm -f fdb3bb13feb5fa29e45e52d5773628ffbce60b01baa21e285f3c1d9e3ac9991a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-06T08:41:48.432Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T08:41:48.432Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:41:48.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:41:48.727Z] . [Pipeline] withDockerContainer [2022-04-06T08:41:48.791Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:41:48.830Z] $ 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-06T08:41:49.314Z] $ docker top f4a4c04105a327354a2d125f368ba6e023291cf0a153898503d9e85727553902 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T08:41:49.411Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:41:49.411Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:41:49.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:41:49.551Z] $ docker exec f4a4c04105a327354a2d125f368ba6e023291cf0a153898503d9e85727553902 ssh-agent [2022-04-06T08:41:49.675Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEoDOJD/agent.14 [2022-04-06T08:41:49.675Z] SSH_AGENT_PID=21 [2022-04-06T08:41:49.681Z] Running ssh-add (command line suppressed) [2022-04-06T08:41:49.796Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2210306873382893341.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2210306873382893341.key) [2022-04-06T08:41:49.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:41:50.098Z] + git semver bump pre [2022-04-06T08:41:50.098Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T08:41:50.099Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-06T08:41:50.099Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-06T08:41:50.099Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T08:41:50.099Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T08:41:50.099Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T08:41:50.099Z] # $SEMVER_BRANCH = main [2022-04-06T08:41:50.099Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-06T08:41:50.099Z] 2.2.0-dev.8 [Pipeline] } [2022-04-06T08:41:50.115Z] $ docker exec --env ******** --env ******** f4a4c04105a327354a2d125f368ba6e023291cf0a153898503d9e85727553902 ssh-agent -k [2022-04-06T08:41:50.224Z] unset SSH_AUTH_SOCK; [2022-04-06T08:41:50.224Z] unset SSH_AGENT_PID; [2022-04-06T08:41:50.224Z] echo Agent pid 21 killed; [2022-04-06T08:41:50.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T08:41:50.542Z] + git semver [Pipeline] } [2022-04-06T08:41:50.560Z] $ docker stop --time=1 f4a4c04105a327354a2d125f368ba6e023291cf0a153898503d9e85727553902 [2022-04-06T08:41:51.894Z] $ docker rm -f f4a4c04105a327354a2d125f368ba6e023291cf0a153898503d9e85727553902 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T08:41:52.246Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T08:41:52.246Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:41:52.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:41:52.542Z] . [Pipeline] withDockerContainer [2022-04-06T08:41:52.606Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:41:52.646Z] $ 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-06T08:41:53.052Z] $ docker top 65e41f3d98278c0c6bdbbd4e3a669b9c3cd5bf19bbb3baa62168d7713f798a93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T08:41:53.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:41:53.142Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:41:53.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:41:53.280Z] $ docker exec 65e41f3d98278c0c6bdbbd4e3a669b9c3cd5bf19bbb3baa62168d7713f798a93 ssh-agent [2022-04-06T08:41:53.405Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpIGCIk/agent.14 [2022-04-06T08:41:53.405Z] SSH_AGENT_PID=20 [2022-04-06T08:41:53.410Z] Running ssh-add (command line suppressed) [2022-04-06T08:41:53.529Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4400173018206521345.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4400173018206521345.key) [2022-04-06T08:41:53.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:41:53.830Z] + git semver push [2022-04-06T08:41:53.830Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T08:41:53.830Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-06T08:41:53.830Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-06T08:41:53.830Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T08:41:53.830Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T08:41:53.830Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T08:41:53.830Z] # $SEMVER_BRANCH = main [2022-04-06T08:41:53.830Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-06T08:41:55.228Z] $ docker exec --env ******** --env ******** 65e41f3d98278c0c6bdbbd4e3a669b9c3cd5bf19bbb3baa62168d7713f798a93 ssh-agent -k [2022-04-06T08:41:55.354Z] unset SSH_AUTH_SOCK; [2022-04-06T08:41:55.355Z] unset SSH_AGENT_PID; [2022-04-06T08:41:55.355Z] echo Agent pid 20 killed; [2022-04-06T08:41:55.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T08:41:55.674Z] + git semver [Pipeline] } [2022-04-06T08:41:55.692Z] $ docker stop --time=1 65e41f3d98278c0c6bdbbd4e3a669b9c3cd5bf19bbb3baa62168d7713f798a93 [2022-04-06T08:41:56.991Z] $ docker rm -f 65e41f3d98278c0c6bdbbd4e3a669b9c3cd5bf19bbb3baa62168d7713f798a93 [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-06T08:41:57.590Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-04-06T08:41:57.590Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-06T08:41:57.590Z] total 16 [2022-04-06T08:41:57.590Z] drwxr-xr-x 3 root root 4096 Apr 6 08:34 . [2022-04-06T08:41:57.590Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:41 .. [2022-04-06T08:41:57.590Z] drwxr-xr-x 2 root root 4096 Apr 6 08:34 cost [2022-04-06T08:41:57.590Z] -rw-r--r-- 1 root root 84 Apr 6 08:34 cost.csv [2022-04-06T08:41:57.591Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-06T08:41:57.591Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-06T08:41:57.591Z] total 16 [2022-04-06T08:41:57.591Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 08:34 . [2022-04-06T08:41:57.591Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:41 .. [2022-04-06T08:41:57.591Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 08:34 cost [2022-04-06T08:41:57.591Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 6 08:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:41:57.963Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:41:58.855Z] ---> package-listing.sh [2022-04-06T08:41:58.855Z] ++ facter osfamily [2022-04-06T08:41:58.855Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T08:41:59.115Z] + OS_FAMILY=debian [2022-04-06T08:41:59.115Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-04-06T08:41:59.115Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T08:41:59.115Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T08:41:59.115Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T08:41:59.115Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T08:41:59.115Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-06T08:41:59.115Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T08:41:59.115Z] + case "${OS_FAMILY}" in [2022-04-06T08:41:59.115Z] + dpkg -l [2022-04-06T08:41:59.115Z] + grep '^ii' [2022-04-06T08:41:59.115Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T08:41:59.115Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T08:41:59.115Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T08:41:59.115Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-06T08:41:59.115Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-04-06T08:41:59.115Z] + 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-06T08:41:59.127Z] 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-06T08:41:59.405Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:41:59.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T08:41:59.962Z] . [Pipeline] withDockerContainer [2022-04-06T08:42:00.028Z] prd-ubuntu20.04-docker-8c-8g-10949 does not seem to be running inside a container [2022-04-06T08:42:00.066Z] $ 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-06T08:42:00.293Z] $ docker top 110dd24a5fcd5a93fc4b084b35d9f7191a2f75288274f619f40a5699f4322561 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T08:42:00.647Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T08:42:00.939Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T08:42:01.227Z] + ls /var/log/sa-host [2022-04-06T08:42:01.227Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:42:01.453Z] provisioning config files... [2022-04-06T08:42:01.463Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4327095807048076183tmp [Pipeline] { [Pipeline] echo [2022-04-06T08:42:01.473Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:42:01.758Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T08:42:01.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:42:02.095Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T08:42:02.104Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:42:02.389Z] ---> sudo-logs.sh [2022-04-06T08:42:02.389Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T08:42:02.424Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:42:02.707Z] ---> job-cost.sh [2022-04-06T08:42:02.707Z] lf-activate-venv: SKIPPING [2022-04-06T08:42:02.707Z] DEBUG: total: 0.2199999988079071 [2022-04-06T08:42:02.707Z] INFO: Retrieving Stack Cost... [2022-04-06T08:42:02.967Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T08:42:03.539Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T08:42:03.553Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:42:03.839Z] ---> logs-deploy.sh [2022-04-06T08:42:03.839Z] lf-activate-venv: SKIPPING [2022-04-06T08:42:03.839Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/17 [2022-04-06T08:42:03.839Z] INFO: archiving workspace using pattern(s): [2022-04-06T08:42:04.782Z] Archives upload complete. [2022-04-06T08:42:04.782Z] INFO: archiving logs to Nexus