Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a672eeb6ec92b4d90420405cd1acfac3e3196a2e 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-ssh1213307848706645014.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-ssh953286706909762462.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-ssh16694480606218778053.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-ssh5052760726761408278.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-ssh9456262118225114756.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-33464’ Running on prd-ubuntu20.04-docker-8c-8g-33469 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 a672eeb6ec92b4d90420405cd1acfac3e3196a2e (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 a672eeb6ec92b4d90420405cd1acfac3e3196a2e # timeout=10 Commit message: "Merge pull request #163 from jinlinGuan/issue-162" > git rev-list --no-walk 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-27T11:06:58.410Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T11:06:58.455Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T11:06:58.471Z] ========================================================= [2022-04-27T11:06:58.471Z] EdgeX Global Pipelines Version Info [2022-04-27T11:06:58.471Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:06:59.245Z] ------------------- [2022-04-27T11:06:59.245Z] stable info: [2022-04-27T11:06:59.245Z] ------------------- [2022-04-27T11:06:59.245Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T11:06:59.245Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T11:06:59.245Z] Message: update stable to v1.0.221 [2022-04-27T11:06:59.819Z] ------------------- [2022-04-27T11:06:59.819Z] experimental info: [2022-04-27T11:06:59.819Z] ------------------- [2022-04-27T11:06:59.819Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T11:06:59.819Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T11:06:59.819Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T11:06:59.949Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-27T11:06:59.962Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-27T11:06:59.980Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T11:06:59.999Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T11:07:00.018Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T11:07:00.028Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T11:07:00.041Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T11:07:00.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-27T11:07:00.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T11:07:00.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T11:07:00.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T11:07:00.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-27T11:07:00.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T11:07:00.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T11:07:00.141Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T11:07:00.152Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T11:07:00.168Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T11:07:00.179Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T11:07:00.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T11:07:00.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T11:07:00.214Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-27T11:07:00.226Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-27T11:07:00.237Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T11:07:00.247Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T11:07:00.258Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T11:07:00.270Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T11:07:00.281Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-27T11:07:00.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-27T11:07:00.303Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-27T11:07:00.314Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] echo [2022-04-27T11:07:00.325Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a672eeb [Pipeline] echo [2022-04-27T11:07:00.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:07:00.381Z] provisioning config files... [2022-04-27T11:07:00.392Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8552277257604920932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:07:00.737Z] ---> docker-login.sh [2022-04-27T11:07:00.737Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:07:01.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:01.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:01.000Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:01.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:01.000Z] [2022-04-27T11:07:01.000Z] Login Succeeded [2022-04-27T11:07:01.000Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:07:01.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:01.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:01.262Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:01.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:01.262Z] [2022-04-27T11:07:01.262Z] Login Succeeded [2022-04-27T11:07:01.262Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:07:01.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:01.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:01.262Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:01.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:01.262Z] [2022-04-27T11:07:01.262Z] Login Succeeded [2022-04-27T11:07:01.262Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:07:01.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:01.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:01.524Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:01.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:01.524Z] [2022-04-27T11:07:01.524Z] Login Succeeded [2022-04-27T11:07:01.524Z] docker.io [2022-04-27T11:07:01.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:01.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:01.786Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:01.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:01.786Z] [2022-04-27T11:07:01.786Z] Login Succeeded [2022-04-27T11:07:01.786Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:07:01.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-27T11:07:02.167Z] + git rev-list -1 --merges a672eeb6ec92b4d90420405cd1acfac3e3196a2e~1..a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] echo [2022-04-27T11:07:02.257Z] -----------> git rev-list -1 --merges a672eeb6ec92b4d90420405cd1acfac3e3196a2e~1..a672eeb6ec92b4d90420405cd1acfac3e3196a2e a672eeb6ec92b4d90420405cd1acfac3e3196a2e [2022-04-27T11:07:02.258Z] a672eeb6ec92b4d90420405cd1acfac3e3196a2e [false] [Pipeline] sh [2022-04-27T11:07:02.560Z] + git log --format=format:%s -1 a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] echo [2022-04-27T11:07:02.579Z] ========================================================= [2022-04-27T11:07:02.579Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T11:07:02.579Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T11:07:02.933Z] + git log --format=format:%s -1 a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] echo [2022-04-27T11:07:02.947Z] [semverPrep] GIT_COMMIT: a672eeb6ec92b4d90420405cd1acfac3e3196a2e, Commit Message: Merge pull request #163 from jinlinGuan/issue-162 [Pipeline] echo [2022-04-27T11:07:02.957Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T11:07:03.331Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:07:03.331Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T11:07:03.331Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T11:07:03.331Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T11:07:03.331Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-27T11:07:03.331Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-27T11:07:03.331Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:03.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:07:03.680Z] [2022-04-27T11:07:03.680Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:03.980Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:07:03.980Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T11:07:03.980Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T11:07:03.980Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T11:07:03.980Z] 4c7163046ea9: Pulling fs layer [2022-04-27T11:07:03.980Z] 0c2d73faf560: Pulling fs layer [2022-04-27T11:07:03.980Z] 3e5f54012d9b: Download complete [2022-04-27T11:07:03.980Z] a0d0a0d46f8b: Download complete [2022-04-27T11:07:03.980Z] 0c2d73faf560: Verifying Checksum [2022-04-27T11:07:03.980Z] 0c2d73faf560: Download complete [2022-04-27T11:07:03.980Z] 4c7163046ea9: Verifying Checksum [2022-04-27T11:07:03.980Z] 4c7163046ea9: Download complete [2022-04-27T11:07:04.242Z] a0d0a0d46f8b: Pull complete [2022-04-27T11:07:04.242Z] 3e5f54012d9b: Pull complete [2022-04-27T11:07:04.503Z] 4c7163046ea9: Pull complete [2022-04-27T11:07:04.764Z] 0c2d73faf560: Pull complete [2022-04-27T11:07:04.764Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T11:07:04.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:07:04.764Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T11:07:04.846Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:07:04.889Z] $ 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-27T11:07:05.564Z] $ docker top edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:07:05.669Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:07:05.669Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:07:05.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:07:05.798Z] $ docker exec edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 ssh-agent [2022-04-27T11:07:05.921Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjEhOco/agent.13 [2022-04-27T11:07:05.921Z] SSH_AGENT_PID=19 [2022-04-27T11:07:05.930Z] Running ssh-add (command line suppressed) [2022-04-27T11:07:06.063Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5014517086557151517.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5014517086557151517.key) [2022-04-27T11:07:06.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:07:06.383Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T11:07:06.408Z] $ docker exec --env ******** --env ******** edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 ssh-agent -k [2022-04-27T11:07:06.515Z] unset SSH_AUTH_SOCK; [2022-04-27T11:07:06.515Z] unset SSH_AGENT_PID; [2022-04-27T11:07:06.515Z] echo Agent pid 19 killed; [2022-04-27T11:07:06.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T11:07:06.547Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:07:06.547Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:07:06.704Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:07:06.711Z] $ docker exec edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 ssh-agent [2022-04-27T11:07:06.845Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMoKkPe/agent.54 [2022-04-27T11:07:06.845Z] SSH_AGENT_PID=61 [2022-04-27T11:07:06.851Z] Running ssh-add (command line suppressed) [2022-04-27T11:07:06.975Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4000923890438024188.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4000923890438024188.key) [2022-04-27T11:07:06.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:07:07.279Z] + git semver init [2022-04-27T11:07:07.279Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:07:07.279Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-27T11:07:07.279Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-27T11:07:07.279Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:07:07.279Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:07:07.279Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:07:07.279Z] # $SEMVER_BRANCH = main [2022-04-27T11:07:07.279Z] # $SEMVER_TEMP = /tmp/semver-820784378 [2022-04-27T11:07:07.279Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-27T11:07:08.226Z] # '/tmp/semver-820784378' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2022-04-27T11:07:08.226Z] # -> Force: false [2022-04-27T11:07:08.226Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-27T11:07:08.241Z] $ docker exec --env ******** --env ******** edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 ssh-agent -k [2022-04-27T11:07:08.358Z] unset SSH_AUTH_SOCK; [2022-04-27T11:07:08.359Z] unset SSH_AGENT_PID; [2022-04-27T11:07:08.359Z] echo Agent pid 61 killed; [2022-04-27T11:07:08.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:07:08.681Z] + git semver [Pipeline] } [2022-04-27T11:07:08.702Z] $ docker stop --time=1 edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 [2022-04-27T11:07:10.067Z] $ docker rm -f edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:07:10.419Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T11:07:10.675Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T11:07:10.679Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.12 [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-27T11:07:10.838Z] provisioning config files... [2022-04-27T11:07:10.848Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3560444766782975983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:07:11.148Z] ---> docker-login.sh [2022-04-27T11:07:11.148Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:07:11.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:11.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:11.148Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:11.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:11.148Z] [2022-04-27T11:07:11.148Z] Login Succeeded [2022-04-27T11:07:11.148Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:07:11.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:11.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:11.409Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:11.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:11.409Z] [2022-04-27T11:07:11.409Z] Login Succeeded [2022-04-27T11:07:11.409Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:07:11.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:11.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:11.409Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:11.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:11.409Z] [2022-04-27T11:07:11.409Z] Login Succeeded [2022-04-27T11:07:11.409Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:07:11.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:11.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:11.671Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:11.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:11.671Z] [2022-04-27T11:07:11.671Z] Login Succeeded [2022-04-27T11:07:11.671Z] docker.io [2022-04-27T11:07:11.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:07:11.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:07:11.933Z] Configure a credential helper to remove this warning. See [2022-04-27T11:07:11.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:07:11.933Z] [2022-04-27T11:07:11.933Z] Login Succeeded [2022-04-27T11:07:11.933Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:07:11.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T11:07:12.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:07:12.024Z] ========================================================= [2022-04-27T11:07:12.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T11:07:12.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:12.338Z] + 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-27T11:07:12.338Z] Sending build context to Docker daemon 5.256MB [2022-04-27T11:07:12.338Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:07:12.338Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-27T11:07:12.338Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T11:07:12.338Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T11:07:12.338Z] 666ba61612fd: Pulling fs layer [2022-04-27T11:07:12.338Z] 8ed8ca486205: Pulling fs layer [2022-04-27T11:07:12.338Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T11:07:12.338Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T11:07:12.338Z] ca2b28591e48: Pulling fs layer [2022-04-27T11:07:12.338Z] a51346096db8: Pulling fs layer [2022-04-27T11:07:12.338Z] daebc70d1ce1: Pulling fs layer [2022-04-27T11:07:12.338Z] 0e18a0eac166: Pulling fs layer [2022-04-27T11:07:12.338Z] 4fe6c5a15a65: Waiting [2022-04-27T11:07:12.338Z] 22a0e8bec74d: Waiting [2022-04-27T11:07:12.338Z] ca2b28591e48: Waiting [2022-04-27T11:07:12.338Z] a51346096db8: Waiting [2022-04-27T11:07:12.338Z] 0e18a0eac166: Waiting [2022-04-27T11:07:12.338Z] daebc70d1ce1: Waiting [2022-04-27T11:07:12.338Z] 8ed8ca486205: Verifying Checksum [2022-04-27T11:07:12.338Z] 8ed8ca486205: Download complete [2022-04-27T11:07:12.338Z] 666ba61612fd: Download complete [2022-04-27T11:07:12.338Z] 22a0e8bec74d: Download complete [2022-04-27T11:07:12.602Z] ca2b28591e48: Download complete [2022-04-27T11:07:12.602Z] a51346096db8: Download complete [2022-04-27T11:07:12.602Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T11:07:12.602Z] 59bf1c3509f3: Download complete [2022-04-27T11:07:12.602Z] daebc70d1ce1: Verifying Checksum [2022-04-27T11:07:12.602Z] daebc70d1ce1: Download complete [2022-04-27T11:07:12.602Z] 59bf1c3509f3: Pull complete [2022-04-27T11:07:12.868Z] 666ba61612fd: Pull complete [2022-04-27T11:07:12.868Z] 8ed8ca486205: Pull complete [2022-04-27T11:07:13.133Z] 0e18a0eac166: Verifying Checksum [2022-04-27T11:07:13.133Z] 0e18a0eac166: Download complete [2022-04-27T11:07:13.394Z] 4fe6c5a15a65: Download complete [2022-04-27T11:07:17.597Z] 4fe6c5a15a65: Pull complete [2022-04-27T11:07:17.597Z] 22a0e8bec74d: Pull complete [2022-04-27T11:07:17.597Z] ca2b28591e48: Pull complete [2022-04-27T11:07:17.857Z] a51346096db8: Pull complete [2022-04-27T11:07:17.857Z] daebc70d1ce1: Pull complete [2022-04-27T11:07:20.394Z] 0e18a0eac166: Pull complete [2022-04-27T11:07:20.394Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T11:07:20.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T11:07:20.394Z] ---> f018257e8ee9 [2022-04-27T11:07:20.394Z] Step 3/12 : ARG MAKE='make build' [2022-04-27T11:07:21.782Z] ---> Running in fb0f526e5787 [2022-04-27T11:07:21.782Z] Removing intermediate container fb0f526e5787 [2022-04-27T11:07:21.782Z] ---> 9be8997a4abc [2022-04-27T11:07:21.782Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T11:07:21.782Z] ---> Running in b86f39cf21d7 [2022-04-27T11:07:21.782Z] Removing intermediate container b86f39cf21d7 [2022-04-27T11:07:21.782Z] ---> da7cfd04d3ee [2022-04-27T11:07:21.782Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T11:07:21.782Z] ---> Running in 623cb0be12cd [2022-04-27T11:07:21.782Z] Removing intermediate container 623cb0be12cd [2022-04-27T11:07:21.782Z] ---> 0ddbc46e9eab [2022-04-27T11:07:21.782Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:07:21.782Z] ---> Running in ac365927174d [2022-04-27T11:07:22.359Z] Removing intermediate container ac365927174d [2022-04-27T11:07:22.359Z] ---> 9387a661fef5 [2022-04-27T11:07:22.359Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T11:07:22.620Z] ---> Running in fbb12e44abb1 [2022-04-27T11:07:22.880Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:23.823Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T11:07:23.823Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T11:07:24.085Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-27T11:07:24.085Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T11:07:24.085Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T11:07:24.349Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T11:07:24.349Z] OK: 224 MiB in 56 packages [2022-04-27T11:07:24.613Z] Removing intermediate container fbb12e44abb1 [2022-04-27T11:07:24.613Z] ---> d5ea2778c06f [2022-04-27T11:07:24.613Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-27T11:07:24.613Z] ---> Running in 0f3cd3f4c5d4 [2022-04-27T11:07:24.874Z] Removing intermediate container 0f3cd3f4c5d4 [2022-04-27T11:07:24.874Z] ---> 3fabfa6fed26 [2022-04-27T11:07:24.874Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-27T11:07:24.874Z] ---> 6e92714c059f [2022-04-27T11:07:24.874Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:07:24.874Z] ---> Running in df4a3253e47f [2022-04-27T11:07:25.793Z] Still waiting to schedule task [2022-04-27T11:07:25.793Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33465’ [2022-04-27T11:07:43.008Z] Removing intermediate container df4a3253e47f [2022-04-27T11:07:43.008Z] ---> a5693a199e6d [2022-04-27T11:07:43.008Z] Step 11/12 : COPY . . [2022-04-27T11:07:43.008Z] ---> 90f72082cce2 [2022-04-27T11:07:43.008Z] Step 12/12 : RUN ${MAKE} [2022-04-27T11:07:43.008Z] ---> Running in 8116e53d1434 [2022-04-27T11:07:43.008Z] noop [2022-04-27T11:07:43.008Z] Removing intermediate container 8116e53d1434 [2022-04-27T11:07:43.008Z] ---> a1d994672372 [2022-04-27T11:07:43.008Z] Successfully built a1d994672372 [2022-04-27T11:07:43.008Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:43.307Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T11:07:43.307Z] . [Pipeline] withDockerContainer [2022-04-27T11:07:43.381Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:07:43.417Z] $ 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-27T11:07:43.824Z] $ docker top 0f0f129b1f15e98bafeecb56e40a4759f55a4ae450f5b82e61f2405067a3c4c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T11:07:44.175Z] + go version [2022-04-27T11:07:44.175Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T11:07:44.190Z] $ docker stop --time=1 0f0f129b1f15e98bafeecb56e40a4759f55a4ae450f5b82e61f2405067a3c4c0 [2022-04-27T11:07:45.486Z] $ docker rm -f 0f0f129b1f15e98bafeecb56e40a4759f55a4ae450f5b82e61f2405067a3c4c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:07:45.889Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T11:07:45.889Z] . [Pipeline] withDockerContainer [2022-04-27T11:07:45.967Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:07:46.011Z] $ 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-27T11:07:46.442Z] $ docker top 96b75aa3a2ecc4ce21cf53177b1d71168ee796faf27c50b23cc93dfe0e6b8b75 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T11:07:46.814Z] + make test [2022-04-27T11:07:46.814Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-27T11:07:47.380Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-27T11:07:57.364Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-27T11:07:57.364Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.016s coverage: 0.0% of statements [2022-04-27T11:08:01.685Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T11:08:05.898Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T11:08:05.898Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T11:08:05.898Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T11:08:06.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T11:08:06.186Z] $ docker stop --time=1 96b75aa3a2ecc4ce21cf53177b1d71168ee796faf27c50b23cc93dfe0e6b8b75 [2022-04-27T11:08:08.321Z] $ docker rm -f 96b75aa3a2ecc4ce21cf53177b1d71168ee796faf27c50b23cc93dfe0e6b8b75 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:08:08.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T11:08:08.836Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-27T11:08:09.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T11:08:09.715Z] + ls -al . [2022-04-27T11:08:09.715Z] total 188 [2022-04-27T11:08:09.715Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 11:08 . [2022-04-27T11:08:09.715Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:06 .. [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 27 11:06 .dockerignore [2022-04-27T11:08:09.715Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:06 .git [2022-04-27T11:08:09.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 .github [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 27 11:06 .gitignore [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:06 .golangci.yml [2022-04-27T11:08:09.715Z] drwx------ 3 jenkins jenkins 4096 Apr 27 11:07 .semver [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 8296 Apr 27 11:06 Attribution.txt [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 27 11:06 CHANGELOG.md [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 27 11:06 Dockerfile [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:06 GOVERNANCE.md [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 27 11:06 Jenkinsfile [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:06 LICENSE [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 27 11:06 Makefile [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 11:06 OWNERS.md [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 27 11:06 README.md [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:07 VERSION [2022-04-27T11:08:09.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:06 bin [2022-04-27T11:08:09.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 cmd [2022-04-27T11:08:09.715Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 27 11:07 coverage.out [2022-04-27T11:08:09.715Z] -rw-rw-r-- 1 jenkins jenkins 3296 Apr 27 11:06 go.mod [2022-04-27T11:08:09.716Z] -rw-rw-r-- 1 jenkins jenkins 54231 Apr 27 11:06 go.sum [2022-04-27T11:08:09.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 internal [2022-04-27T11:08:09.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 snap [2022-04-27T11:08:09.716Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 11:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:10.015Z] + 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=a672eeb6ec92b4d90420405cd1acfac3e3196a2e --label arch=amd64 --label version=2.2.0-dev.12 . [2022-04-27T11:08:10.016Z] Sending build context to Docker daemon 5.264MB [2022-04-27T11:08:10.016Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:08:10.016Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-27T11:08:10.016Z] ---> a1d994672372 [2022-04-27T11:08:10.016Z] Step 3/24 : ARG MAKE='make build' [2022-04-27T11:08:10.016Z] ---> Running in f1b6fa39e5c5 [2022-04-27T11:08:10.275Z] Removing intermediate container f1b6fa39e5c5 [2022-04-27T11:08:10.275Z] ---> 9779ba2418ca [2022-04-27T11:08:10.275Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T11:08:10.275Z] ---> Running in 1f0fb16db151 [2022-04-27T11:08:10.275Z] Removing intermediate container 1f0fb16db151 [2022-04-27T11:08:10.275Z] ---> 6c6ab0d2e966 [2022-04-27T11:08:10.275Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T11:08:10.275Z] ---> Running in a9e507bac0a8 [2022-04-27T11:08:10.534Z] Removing intermediate container a9e507bac0a8 [2022-04-27T11:08:10.534Z] ---> 2b1a4636e86a [2022-04-27T11:08:10.534Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:08:10.534Z] ---> Running in 18b61da5e5a4 [2022-04-27T11:08:11.104Z] Removing intermediate container 18b61da5e5a4 [2022-04-27T11:08:11.104Z] ---> d325c7734f6f [2022-04-27T11:08:11.104Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T11:08:11.104Z] ---> Running in 45d55d1cd702 [2022-04-27T11:08:11.365Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T11:08:12.313Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T11:08:12.573Z] OK: 224 MiB in 56 packages [2022-04-27T11:08:12.834Z] Removing intermediate container 45d55d1cd702 [2022-04-27T11:08:12.834Z] ---> f7e36006fa39 [2022-04-27T11:08:12.834Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-27T11:08:12.834Z] ---> Running in 86711ff5b348 [2022-04-27T11:08:13.094Z] Removing intermediate container 86711ff5b348 [2022-04-27T11:08:13.094Z] ---> 5d3d52e0cfa7 [2022-04-27T11:08:13.094Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-27T11:08:13.094Z] ---> f6e961b3ddad [2022-04-27T11:08:13.094Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:08:13.094Z] ---> Running in ca92c08ce153 [2022-04-27T11:08:13.666Z] Removing intermediate container ca92c08ce153 [2022-04-27T11:08:13.666Z] ---> 33f8c8a47fa3 [2022-04-27T11:08:13.666Z] Step 11/24 : COPY . . [2022-04-27T11:08:13.927Z] ---> 850d04498399 [2022-04-27T11:08:13.927Z] Step 12/24 : RUN ${MAKE} [2022-04-27T11:08:14.194Z] ---> Running in b0d2c610920c [2022-04-27T11:08:14.455Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-27T11:08:36.417Z] Removing intermediate container b0d2c610920c [2022-04-27T11:08:36.417Z] ---> e30f7920f9a0 [2022-04-27T11:08:36.417Z] Step 13/24 : FROM alpine:3.14 [2022-04-27T11:08:36.417Z] 3.14: Pulling from library/alpine [2022-04-27T11:08:36.417Z] 8663204ce13b: Pulling fs layer [2022-04-27T11:08:36.417Z] 8663204ce13b: Verifying Checksum [2022-04-27T11:08:36.417Z] 8663204ce13b: Download complete [2022-04-27T11:08:36.417Z] 8663204ce13b: Pull complete [2022-04-27T11:08:36.417Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T11:08:36.417Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T11:08:36.417Z] ---> e04c818066af [2022-04-27T11:08:36.417Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T11:08:36.417Z] ---> Running in 66e0406b098d [2022-04-27T11:08:36.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-27T11:08:36.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-27T11:08:36.417Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T11:08:36.417Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T11:08:36.417Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T11:08:36.417Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T11:08:36.417Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T11:08:36.417Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T11:08:36.417Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T11:08:36.417Z] OK: 8 MiB in 20 packages [2022-04-27T11:08:36.417Z] Removing intermediate container 66e0406b098d [2022-04-27T11:08:36.417Z] ---> 06d22277bec8 [2022-04-27T11:08:36.417Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-27T11:08:36.417Z] ---> 718c55a1f09f [2022-04-27T11:08:36.417Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-27T11:08:36.417Z] ---> e8c8f4fa7aaf [2022-04-27T11:08:36.417Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-27T11:08:36.417Z] ---> 86f57db7f37e [2022-04-27T11:08:36.417Z] Step 18/24 : EXPOSE 59993 [2022-04-27T11:08:36.417Z] ---> Running in b2751ea3b74b [2022-04-27T11:08:36.417Z] Removing intermediate container b2751ea3b74b [2022-04-27T11:08:36.417Z] ---> c20a0ffab935 [2022-04-27T11:08:36.417Z] Step 19/24 : EXPOSE 161 [2022-04-27T11:08:36.417Z] ---> Running in b5d31df34b60 [2022-04-27T11:08:36.417Z] Removing intermediate container b5d31df34b60 [2022-04-27T11:08:36.417Z] ---> 454f0d8fd23f [2022-04-27T11:08:36.417Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-27T11:08:36.418Z] ---> Running in 03962717826f [2022-04-27T11:08:36.418Z] Removing intermediate container 03962717826f [2022-04-27T11:08:36.418Z] ---> eab92245b250 [2022-04-27T11:08:36.418Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-27T11:08:36.678Z] ---> Running in f63fd6898a6f [2022-04-27T11:08:36.678Z] Removing intermediate container f63fd6898a6f [2022-04-27T11:08:36.678Z] ---> 0a3b8d8cad74 [2022-04-27T11:08:36.678Z] Step 22/24 : LABEL arch=amd64 [2022-04-27T11:08:36.678Z] ---> Running in 2203f4e89324 [2022-04-27T11:08:36.678Z] Removing intermediate container 2203f4e89324 [2022-04-27T11:08:36.678Z] ---> 3a6f46c68652 [2022-04-27T11:08:36.678Z] Step 23/24 : LABEL git_sha=a672eeb6ec92b4d90420405cd1acfac3e3196a2e [2022-04-27T11:08:36.938Z] ---> Running in 12639be88979 [2022-04-27T11:08:36.938Z] Removing intermediate container 12639be88979 [2022-04-27T11:08:36.938Z] ---> 7098ad05dfd1 [2022-04-27T11:08:36.938Z] Step 24/24 : LABEL version=2.2.0-dev.12 [2022-04-27T11:08:36.938Z] ---> Running in 9620bcf0dd8f [2022-04-27T11:08:36.938Z] Removing intermediate container 9620bcf0dd8f [2022-04-27T11:08:36.938Z] ---> e7ebcc8d75e4 [2022-04-27T11:08:36.938Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T11:08:37.200Z] Successfully built e7ebcc8d75e4 [2022-04-27T11:08:37.200Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:08:37.288Z] provisioning config files... [2022-04-27T11:08:37.296Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config361131675140860318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:08:37.596Z] ---> docker-login.sh [2022-04-27T11:08:37.596Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:08:37.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:37.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:37.596Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:37.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:37.596Z] [2022-04-27T11:08:37.596Z] Login Succeeded [2022-04-27T11:08:37.596Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:08:37.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:37.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:37.858Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:37.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:37.858Z] [2022-04-27T11:08:37.858Z] Login Succeeded [2022-04-27T11:08:37.858Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:08:37.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:37.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:37.858Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:37.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:37.858Z] [2022-04-27T11:08:37.858Z] Login Succeeded [2022-04-27T11:08:37.858Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:08:37.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:38.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:38.118Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:38.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:38.118Z] [2022-04-27T11:08:38.118Z] Login Succeeded [2022-04-27T11:08:38.118Z] docker.io [2022-04-27T11:08:38.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:08:38.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:08:38.380Z] Configure a credential helper to remove this warning. See [2022-04-27T11:08:38.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:08:38.380Z] [2022-04-27T11:08:38.380Z] Login Succeeded [2022-04-27T11:08:38.380Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:08:38.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:08:38.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:08:38.448Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-04-27T11:08:38.448Z] a672eeb6ec92b4d90420405cd1acfac3e3196a2e [2022-04-27T11:08:38.448Z] latest [2022-04-27T11:08:38.448Z] 2.2.0-dev.12 [2022-04-27T11:08:38.448Z] a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [2022-04-27T11:08:38.448Z] main [2022-04-27T11:08:38.448Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:38.777Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:39.072Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e [2022-04-27T11:08:39.072Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-27T11:08:39.072Z] 54b45772d726: Preparing [2022-04-27T11:08:39.072Z] 12f11f541fc1: Preparing [2022-04-27T11:08:39.072Z] a8a8a835e388: Preparing [2022-04-27T11:08:39.072Z] 271765da01c8: Preparing [2022-04-27T11:08:39.072Z] b541d28bf3b4: Preparing [2022-04-27T11:08:39.072Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:39.072Z] 12f11f541fc1: Pushed [2022-04-27T11:08:39.072Z] 54b45772d726: Pushed [2022-04-27T11:08:39.332Z] 271765da01c8: Pushed [2022-04-27T11:08:41.879Z] a8a8a835e388: Pushed [2022-04-27T11:08:41.879Z] a672eeb6ec92b4d90420405cd1acfac3e3196a2e: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:42.179Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:42.472Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-27T11:08:42.472Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-27T11:08:42.472Z] 54b45772d726: Preparing [2022-04-27T11:08:42.472Z] 12f11f541fc1: Preparing [2022-04-27T11:08:42.472Z] a8a8a835e388: Preparing [2022-04-27T11:08:42.472Z] 271765da01c8: Preparing [2022-04-27T11:08:42.472Z] b541d28bf3b4: Preparing [2022-04-27T11:08:42.472Z] a8a8a835e388: Layer already exists [2022-04-27T11:08:42.472Z] 271765da01c8: Layer already exists [2022-04-27T11:08:42.472Z] 54b45772d726: Layer already exists [2022-04-27T11:08:42.472Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:42.472Z] 12f11f541fc1: Layer already exists [2022-04-27T11:08:42.472Z] latest: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:42.777Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:43.073Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.12 [2022-04-27T11:08:43.073Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-27T11:08:43.073Z] 54b45772d726: Preparing [2022-04-27T11:08:43.073Z] 12f11f541fc1: Preparing [2022-04-27T11:08:43.073Z] a8a8a835e388: Preparing [2022-04-27T11:08:43.073Z] 271765da01c8: Preparing [2022-04-27T11:08:43.073Z] b541d28bf3b4: Preparing [2022-04-27T11:08:43.073Z] 12f11f541fc1: Layer already exists [2022-04-27T11:08:43.073Z] 54b45772d726: Layer already exists [2022-04-27T11:08:43.073Z] a8a8a835e388: Layer already exists [2022-04-27T11:08:43.073Z] 271765da01c8: Layer already exists [2022-04-27T11:08:43.073Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:43.073Z] 2.2.0-dev.12: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:43.381Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:43.677Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [2022-04-27T11:08:43.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-27T11:08:43.677Z] 54b45772d726: Preparing [2022-04-27T11:08:43.677Z] 12f11f541fc1: Preparing [2022-04-27T11:08:43.677Z] a8a8a835e388: Preparing [2022-04-27T11:08:43.677Z] 271765da01c8: Preparing [2022-04-27T11:08:43.677Z] b541d28bf3b4: Preparing [2022-04-27T11:08:43.677Z] 271765da01c8: Layer already exists [2022-04-27T11:08:43.677Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:43.677Z] 12f11f541fc1: Layer already exists [2022-04-27T11:08:43.677Z] 54b45772d726: Layer already exists [2022-04-27T11:08:43.677Z] a8a8a835e388: Layer already exists [2022-04-27T11:08:43.677Z] a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:43.975Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:44.274Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-04-27T11:08:44.274Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-27T11:08:44.274Z] 54b45772d726: Preparing [2022-04-27T11:08:44.274Z] 12f11f541fc1: Preparing [2022-04-27T11:08:44.274Z] a8a8a835e388: Preparing [2022-04-27T11:08:44.274Z] 271765da01c8: Preparing [2022-04-27T11:08:44.274Z] b541d28bf3b4: Preparing [2022-04-27T11:08:44.274Z] 12f11f541fc1: Layer already exists [2022-04-27T11:08:44.274Z] 54b45772d726: Layer already exists [2022-04-27T11:08:44.274Z] b541d28bf3b4: Layer already exists [2022-04-27T11:08:44.274Z] 271765da01c8: Layer already exists [2022-04-27T11:08:44.274Z] a8a8a835e388: Layer already exists [2022-04-27T11:08:44.274Z] main: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:08:44.307Z] ===================================================== [Pipeline] echo [2022-04-27T11:08:44.315Z] taggedImages: [2022-04-27T11:08:44.315Z] - nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e [2022-04-27T11:08:44.315Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-27T11:08:44.315Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.12 [2022-04-27T11:08:44.315Z] - nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [2022-04-27T11:08:44.315Z] - 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-27T11:08:44.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:08:44.691Z] [2022-04-27T11:08:44.691Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:08:44.991Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:08:44.991Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T11:08:44.991Z] 5eb5b503b376: Pulling fs layer [2022-04-27T11:08:44.991Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T11:08:44.991Z] ec43610c2a17: Pulling fs layer [2022-04-27T11:08:44.991Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T11:08:44.991Z] 33b1e0a273af: Pulling fs layer [2022-04-27T11:08:44.991Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T11:08:44.991Z] 2f39f015ded8: Pulling fs layer [2022-04-27T11:08:44.991Z] 3a2ae6a8a46f: Waiting [2022-04-27T11:08:44.991Z] 33b1e0a273af: Waiting [2022-04-27T11:08:44.991Z] 5d3b04190fa2: Waiting [2022-04-27T11:08:44.991Z] 2f39f015ded8: Waiting [2022-04-27T11:08:44.991Z] 5c69ac0246d0: Verifying Checksum [2022-04-27T11:08:44.991Z] 5c69ac0246d0: Download complete [2022-04-27T11:08:44.991Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-27T11:08:44.991Z] 33b1e0a273af: Verifying Checksum [2022-04-27T11:08:44.991Z] 33b1e0a273af: Download complete [2022-04-27T11:08:44.991Z] 5d3b04190fa2: Verifying Checksum [2022-04-27T11:08:44.991Z] 5d3b04190fa2: Download complete [2022-04-27T11:08:45.255Z] ec43610c2a17: Verifying Checksum [2022-04-27T11:08:45.255Z] 5eb5b503b376: Verifying Checksum [2022-04-27T11:08:45.255Z] 5eb5b503b376: Download complete [2022-04-27T11:08:45.825Z] 2f39f015ded8: Download complete [2022-04-27T11:08:46.767Z] 5eb5b503b376: Pull complete [2022-04-27T11:08:46.767Z] 5c69ac0246d0: Pull complete [2022-04-27T11:08:47.336Z] ec43610c2a17: Pull complete [2022-04-27T11:08:47.336Z] 3a2ae6a8a46f: Pull complete [2022-04-27T11:08:47.596Z] 33b1e0a273af: Pull complete [2022-04-27T11:08:47.596Z] 5d3b04190fa2: Pull complete [2022-04-27T11:08:52.869Z] 2f39f015ded8: Pull complete [2022-04-27T11:08:52.869Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T11:08:52.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:08:52.869Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T11:08:52.935Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:08:53.018Z] $ 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-27T11:08:54.799Z] $ docker top c305f8c78955fcaafd1a3365e375505df2405f6c6fcc31e070ae5b688677ff5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:08:55.195Z] ---> job-cost.sh [2022-04-27T11:08:55.195Z] lf-activate-venv: SKIPPING [2022-04-27T11:08:55.195Z] INFO: No Stack... [2022-04-27T11:08:55.455Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T11:08:56.029Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T11:08:56.327Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-04-27T11:08:56.327Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T11:08:56.345Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [2022-04-27T11:08:56.350Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] did not exist. Created. [2022-04-27T11:08:56.351Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T11:08:56.661Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T11:08:56.684Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T11:08:56.690Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T11:08:56.714Z] $ docker stop --time=1 c305f8c78955fcaafd1a3365e375505df2405f6c6fcc31e070ae5b688677ff5f [2022-04-27T11:08:57.915Z] $ docker rm -f c305f8c78955fcaafd1a3365e375505df2405f6c6fcc31e070ae5b688677ff5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T11:10:19.664Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33472 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-04-27T11:10:19.673Z] Running in /w/workspace/device-snmp-go/22 [Pipeline] { [Pipeline] checkout [2022-04-27T11:10:20.074Z] Selected Git installation does not exist. Using Default [2022-04-27T11:10:20.074Z] The recommended git tool is: NONE [2022-04-27T11:10:27.339Z] using credential edgex-jenkins-ssh [2022-04-27T11:10:27.361Z] Cloning the remote Git repository [2022-04-27T11:10:27.431Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-27T11:10:27.521Z] > git init /w/workspace/device-snmp-go/22 # timeout=10 [2022-04-27T11:10:27.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-27T11:10:27.613Z] > git --version # timeout=10 [2022-04-27T11:10:27.642Z] > git --version # 'git version 2.25.1' [2022-04-27T11:10:27.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T11:10:27.787Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T11:10:29.029Z] Avoid second fetch [2022-04-27T11:10:29.030Z] Checking out Revision a672eeb6ec92b4d90420405cd1acfac3e3196a2e (main) [2022-04-27T11:10:28.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-27T11:10:29.006Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T11:10:29.057Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T11:10:29.077Z] > git checkout -f a672eeb6ec92b4d90420405cd1acfac3e3196a2e # timeout=10 [2022-04-27T11:10:33.482Z] Commit message: "Merge pull request #163 from jinlinGuan/issue-162" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T11:10:34.385Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T11:10:34.385Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T11:10:34.385Z] Dload Upload Total Spent Left Speed [2022-04-27T11:10:34.385Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-04-27T11:10:34.975Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T11:10:35.333Z] + sudo tee /etc/docker/daemon.new [2022-04-27T11:10:35.333Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-27T11:10:35.333Z] { [2022-04-27T11:10:35.333Z] "registry-mirrors": [ [2022-04-27T11:10:35.333Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T11:10:35.333Z] ], [2022-04-27T11:10:35.333Z] "bip": "10.250.0.254/24", [2022-04-27T11:10:35.333Z] "hosts": [ [2022-04-27T11:10:35.333Z] "tcp://0.0.0.0:5555", [2022-04-27T11:10:35.333Z] "unix:///var/run/docker.sock" [2022-04-27T11:10:35.333Z] ], [2022-04-27T11:10:35.333Z] "mtu": 1458, [2022-04-27T11:10:35.333Z] "selinux-enabled": true, [2022-04-27T11:10:35.333Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T11:10:35.333Z] } [Pipeline] sh [2022-04-27T11:10:35.715Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T11:10:36.071Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:10:54.482Z] provisioning config files... [2022-04-27T11:10:54.508Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/22@tmp/config7264324292079276636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:10:54.892Z] ---> docker-login.sh [2022-04-27T11:10:54.892Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:10:55.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:55.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:55.874Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:55.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:55.874Z] [2022-04-27T11:10:55.874Z] Login Succeeded [2022-04-27T11:10:55.874Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:10:56.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:56.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:56.474Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:56.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:56.474Z] [2022-04-27T11:10:56.474Z] Login Succeeded [2022-04-27T11:10:56.474Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:10:56.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:57.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:57.030Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:57.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:57.030Z] [2022-04-27T11:10:57.030Z] Login Succeeded [2022-04-27T11:10:57.030Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:10:57.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:57.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:57.372Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:57.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:57.372Z] [2022-04-27T11:10:57.372Z] Login Succeeded [2022-04-27T11:10:57.372Z] docker.io [2022-04-27T11:10:57.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:10:58.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:10:58.396Z] Configure a credential helper to remove this warning. See [2022-04-27T11:10:58.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:10:58.396Z] [2022-04-27T11:10:58.396Z] Login Succeeded [2022-04-27T11:10:58.396Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:10:58.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T11:10:58.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:10:58.864Z] ========================================================= [2022-04-27T11:10:58.864Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-27T11:10:58.864Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:10:59.227Z] + 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-27T11:10:59.500Z] Sending build context to Docker daemon 2.732MB [2022-04-27T11:10:59.500Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:10:59.500Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-27T11:10:59.774Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-27T11:10:59.774Z] 9b3977197b4f: Pulling fs layer [2022-04-27T11:10:59.774Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T11:10:59.774Z] 94645a83ff95: Pulling fs layer [2022-04-27T11:10:59.774Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T11:10:59.774Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T11:10:59.774Z] 3096ccb668a1: Pulling fs layer [2022-04-27T11:10:59.774Z] e8cf19c19ddd: Pulling fs layer [2022-04-27T11:10:59.774Z] a4caa8a26152: Pulling fs layer [2022-04-27T11:10:59.774Z] 0c92f367c5e7: Waiting [2022-04-27T11:10:59.774Z] 3096ccb668a1: Waiting [2022-04-27T11:10:59.774Z] e8cf19c19ddd: Waiting [2022-04-27T11:10:59.774Z] a4caa8a26152: Waiting [2022-04-27T11:10:59.774Z] 3f3a8bcf1eab: Waiting [2022-04-27T11:10:59.774Z] 94645a83ff95: Verifying Checksum [2022-04-27T11:10:59.774Z] 94645a83ff95: Download complete [2022-04-27T11:10:59.774Z] 1a89e8eeedd5: Download complete [2022-04-27T11:10:59.774Z] 0c92f367c5e7: Verifying Checksum [2022-04-27T11:10:59.774Z] 0c92f367c5e7: Download complete [2022-04-27T11:10:59.774Z] 3096ccb668a1: Verifying Checksum [2022-04-27T11:10:59.774Z] 3096ccb668a1: Download complete [2022-04-27T11:11:00.054Z] 9b3977197b4f: Verifying Checksum [2022-04-27T11:11:00.054Z] 9b3977197b4f: Download complete [2022-04-27T11:11:00.054Z] e8cf19c19ddd: Verifying Checksum [2022-04-27T11:11:00.681Z] 9b3977197b4f: Pull complete [2022-04-27T11:11:01.288Z] 1a89e8eeedd5: Pull complete [2022-04-27T11:11:01.564Z] 94645a83ff95: Pull complete [2022-04-27T11:11:01.840Z] a4caa8a26152: Verifying Checksum [2022-04-27T11:11:01.840Z] a4caa8a26152: Download complete [2022-04-27T11:11:02.437Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-27T11:11:02.437Z] 3f3a8bcf1eab: Download complete [2022-04-27T11:11:14.857Z] 3f3a8bcf1eab: Pull complete [2022-04-27T11:11:14.857Z] 0c92f367c5e7: Pull complete [2022-04-27T11:11:14.857Z] 3096ccb668a1: Pull complete [2022-04-27T11:11:14.857Z] e8cf19c19ddd: Pull complete [2022-04-27T11:11:20.283Z] a4caa8a26152: Pull complete [2022-04-27T11:11:20.283Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-27T11:11:20.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-27T11:11:20.283Z] ---> 725f1c02e7f9 [2022-04-27T11:11:20.283Z] Step 3/12 : ARG MAKE='make build' [2022-04-27T11:11:22.273Z] ---> Running in 0f47b3314132 [2022-04-27T11:11:22.548Z] Removing intermediate container 0f47b3314132 [2022-04-27T11:11:22.548Z] ---> 16b4ddea7825 [2022-04-27T11:11:22.548Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T11:11:22.548Z] ---> Running in 5a8dc2d84b14 [2022-04-27T11:11:22.823Z] Removing intermediate container 5a8dc2d84b14 [2022-04-27T11:11:22.823Z] ---> 778940f3598a [2022-04-27T11:11:22.823Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T11:11:22.823Z] ---> Running in 1f88a18c4666 [2022-04-27T11:11:23.100Z] Removing intermediate container 1f88a18c4666 [2022-04-27T11:11:23.100Z] ---> 00368767e5b7 [2022-04-27T11:11:23.100Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:11:23.375Z] ---> Running in dfa085300378 [2022-04-27T11:11:25.358Z] Removing intermediate container dfa085300378 [2022-04-27T11:11:25.358Z] ---> 80dfcd318aed [2022-04-27T11:11:25.358Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T11:11:25.358Z] ---> Running in 60f6c19d5bb9 [2022-04-27T11:11:26.345Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T11:11:26.949Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T11:11:27.939Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T11:11:28.222Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-27T11:11:28.222Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T11:11:28.501Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T11:11:28.501Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T11:11:28.501Z] OK: 224 MiB in 56 packages [2022-04-27T11:11:29.490Z] Removing intermediate container 60f6c19d5bb9 [2022-04-27T11:11:29.490Z] ---> 483b8d683d7d [2022-04-27T11:11:29.490Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-27T11:11:29.490Z] ---> Running in 8e6b4b16fd8e [2022-04-27T11:11:29.765Z] Removing intermediate container 8e6b4b16fd8e [2022-04-27T11:11:29.765Z] ---> 6b1f274ba38f [2022-04-27T11:11:29.765Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-27T11:11:30.366Z] ---> f8707ce645cb [2022-04-27T11:11:30.366Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:11:30.366Z] ---> Running in 52f0c8f4387e [2022-04-27T11:12:17.386Z] Removing intermediate container 52f0c8f4387e [2022-04-27T11:12:17.386Z] ---> 16b942a01306 [2022-04-27T11:12:17.386Z] Step 11/12 : COPY . . [2022-04-27T11:12:17.386Z] ---> 3fcbf7a39256 [2022-04-27T11:12:17.386Z] Step 12/12 : RUN ${MAKE} [2022-04-27T11:12:17.386Z] ---> Running in 2b793a674861 [2022-04-27T11:12:18.827Z] noop [2022-04-27T11:12:19.115Z] Removing intermediate container 2b793a674861 [2022-04-27T11:12:19.115Z] ---> 711688c06329 [2022-04-27T11:12:19.115Z] Successfully built 711688c06329 [2022-04-27T11:12:19.115Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:12:19.747Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T11:12:19.747Z] . [Pipeline] withDockerContainer [2022-04-27T11:12:20.015Z] prd-ubuntu20.04-docker-arm64-4c-16g-33472 does not seem to be running inside a container [2022-04-27T11:12:20.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/22 -v /w/workspace/device-snmp-go/22:/w/workspace/device-snmp-go/22:rw,z -v /w/workspace/device-snmp-go/22@tmp:/w/workspace/device-snmp-go/22@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-27T11:12:21.473Z] $ docker top a3b4b3788af84c0bae91a62a3d553b32cc154dfb2f870fcca8dcc46d5af87181 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T11:12:22.430Z] + go version [2022-04-27T11:12:22.430Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-27T11:12:22.463Z] $ docker stop --time=1 a3b4b3788af84c0bae91a62a3d553b32cc154dfb2f870fcca8dcc46d5af87181 [2022-04-27T11:12:24.203Z] $ docker rm -f a3b4b3788af84c0bae91a62a3d553b32cc154dfb2f870fcca8dcc46d5af87181 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:12:24.841Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T11:12:24.841Z] . [Pipeline] withDockerContainer [2022-04-27T11:12:25.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-33472 does not seem to be running inside a container [2022-04-27T11:12:25.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/22 -v /w/workspace/device-snmp-go/22:/w/workspace/device-snmp-go/22:rw,z -v /w/workspace/device-snmp-go/22@tmp:/w/workspace/device-snmp-go/22@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-27T11:12:26.629Z] $ docker top eddbb9fb5efea01f137edc5a224c9f4062caaa4f0931b01c4298e3ebffaceba8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T11:12:27.601Z] + make test [2022-04-27T11:12:27.601Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-27T11:12:29.598Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-27T11:14:06.557Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-27T11:14:06.557Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.056s coverage: 0.0% of statements [2022-04-27T11:14:06.557Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-27T11:14:06.557Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T11:14:24.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T11:14:24.945Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T11:14:24.945Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T11:14:28.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T11:14:28.387Z] $ docker stop --time=1 eddbb9fb5efea01f137edc5a224c9f4062caaa4f0931b01c4298e3ebffaceba8 [2022-04-27T11:14:30.220Z] $ docker rm -f eddbb9fb5efea01f137edc5a224c9f4062caaa4f0931b01c4298e3ebffaceba8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:14:31.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T11:14:31.240Z] Warning: overwriting stash ‘coverage-report’ [2022-04-27T11:14:31.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T11:14:32.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T11:14:32.503Z] + ls -al . [2022-04-27T11:14:32.503Z] total 184 [2022-04-27T11:14:32.503Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:14 . [2022-04-27T11:14:32.503Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:10 .. [2022-04-27T11:14:32.503Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 27 11:10 .dockerignore [2022-04-27T11:14:32.503Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:10 .git [2022-04-27T11:14:32.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 .github [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 27 11:10 .gitignore [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:10 .golangci.yml [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 8296 Apr 27 11:10 Attribution.txt [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 27 11:10 CHANGELOG.md [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 27 11:10 Dockerfile [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:10 GOVERNANCE.md [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 27 11:10 Jenkinsfile [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:10 LICENSE [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 27 11:10 Makefile [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 11:10 OWNERS.md [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 27 11:10 README.md [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:07 VERSION [2022-04-27T11:14:32.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:10 bin [2022-04-27T11:14:32.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 cmd [2022-04-27T11:14:32.504Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 27 11:13 coverage.out [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 3296 Apr 27 11:10 go.mod [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 54231 Apr 27 11:10 go.sum [2022-04-27T11:14:32.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 internal [2022-04-27T11:14:32.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 snap [2022-04-27T11:14:32.504Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 11:10 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:14:32.856Z] + 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=a672eeb6ec92b4d90420405cd1acfac3e3196a2e --label arch=arm64 --label version=2.2.0-dev.12 . [2022-04-27T11:14:33.131Z] Sending build context to Docker daemon 2.74MB [2022-04-27T11:14:33.407Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T11:14:33.407Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-27T11:14:33.407Z] ---> 711688c06329 [2022-04-27T11:14:33.407Z] Step 3/24 : ARG MAKE='make build' [2022-04-27T11:14:33.407Z] ---> Running in fa3a7d5ba455 [2022-04-27T11:14:33.689Z] Removing intermediate container fa3a7d5ba455 [2022-04-27T11:14:33.689Z] ---> b6805bf1b30b [2022-04-27T11:14:33.689Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T11:14:33.689Z] ---> Running in 4c332a3cb077 [2022-04-27T11:14:34.295Z] Removing intermediate container 4c332a3cb077 [2022-04-27T11:14:34.295Z] ---> 142fafe9493a [2022-04-27T11:14:34.295Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T11:14:34.295Z] ---> Running in b8a05330ffd6 [2022-04-27T11:14:34.569Z] Removing intermediate container b8a05330ffd6 [2022-04-27T11:14:34.569Z] ---> 1757ac5c4054 [2022-04-27T11:14:34.569Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T11:14:34.569Z] ---> Running in b014018266c8 [2022-04-27T11:14:36.555Z] Removing intermediate container b014018266c8 [2022-04-27T11:14:36.555Z] ---> ce0f4b99f8cb [2022-04-27T11:14:36.555Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T11:14:36.555Z] ---> Running in 05eabc03fc11 [2022-04-27T11:14:37.543Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T11:14:38.527Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T11:14:39.517Z] OK: 224 MiB in 56 packages [2022-04-27T11:14:40.133Z] Removing intermediate container 05eabc03fc11 [2022-04-27T11:14:40.133Z] ---> 8c766048d408 [2022-04-27T11:14:40.133Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-27T11:14:40.411Z] ---> Running in ca716b9c9ee2 [2022-04-27T11:14:40.689Z] Removing intermediate container ca716b9c9ee2 [2022-04-27T11:14:40.689Z] ---> e4a6b5aa4f1a [2022-04-27T11:14:40.689Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-27T11:14:41.292Z] ---> 3a09a03ccd07 [2022-04-27T11:14:41.292Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T11:14:41.292Z] ---> Running in 4ccf7870222c [2022-04-27T11:14:43.280Z] Removing intermediate container 4ccf7870222c [2022-04-27T11:14:43.280Z] ---> df6be667c4bb [2022-04-27T11:14:43.280Z] Step 11/24 : COPY . . [2022-04-27T11:14:44.269Z] ---> 60762a6c473e [2022-04-27T11:14:44.269Z] Step 12/24 : RUN ${MAKE} [2022-04-27T11:14:44.269Z] ---> Running in b25754985cfc [2022-04-27T11:14:45.720Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-27T11:16:52.615Z] Removing intermediate container b25754985cfc [2022-04-27T11:16:52.615Z] ---> b0d2c6c890c0 [2022-04-27T11:16:52.615Z] Step 13/24 : FROM alpine:3.14 [2022-04-27T11:16:52.615Z] 3.14: Pulling from library/alpine [2022-04-27T11:16:52.615Z] 455c02918c45: Pulling fs layer [2022-04-27T11:16:52.615Z] 455c02918c45: Verifying Checksum [2022-04-27T11:16:52.615Z] 455c02918c45: Download complete [2022-04-27T11:16:52.615Z] 455c02918c45: Pull complete [2022-04-27T11:16:52.615Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T11:16:52.615Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T11:16:52.615Z] ---> ac73e934f311 [2022-04-27T11:16:52.615Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T11:16:52.615Z] ---> Running in 2c6dff7bc1d1 [2022-04-27T11:16:52.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-27T11:16:52.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-27T11:16:53.884Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T11:16:53.884Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T11:16:53.884Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T11:16:53.884Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T11:16:53.884Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T11:16:53.884Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T11:16:53.884Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T11:16:53.884Z] OK: 8 MiB in 20 packages [2022-04-27T11:16:54.871Z] Removing intermediate container 2c6dff7bc1d1 [2022-04-27T11:16:54.871Z] ---> ef3d93be966a [2022-04-27T11:16:54.871Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-27T11:16:56.331Z] ---> 963904258ede [2022-04-27T11:16:56.331Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-27T11:16:56.938Z] ---> 3fd46712c12e [2022-04-27T11:16:56.938Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-27T11:16:57.555Z] ---> 88bc0c110455 [2022-04-27T11:16:57.555Z] Step 18/24 : EXPOSE 59993 [2022-04-27T11:16:57.832Z] ---> Running in 22b21df475da [2022-04-27T11:16:58.113Z] Removing intermediate container 22b21df475da [2022-04-27T11:16:58.114Z] ---> aa9bfba33343 [2022-04-27T11:16:58.114Z] Step 19/24 : EXPOSE 161 [2022-04-27T11:16:58.114Z] ---> Running in 81f824c73485 [2022-04-27T11:16:58.389Z] Removing intermediate container 81f824c73485 [2022-04-27T11:16:58.389Z] ---> 20e082d08ec0 [2022-04-27T11:16:58.389Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-27T11:16:58.389Z] ---> Running in 83c136fc7d32 [2022-04-27T11:16:58.665Z] Removing intermediate container 83c136fc7d32 [2022-04-27T11:16:58.665Z] ---> d37c8f2a20d6 [2022-04-27T11:16:58.665Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-27T11:16:58.938Z] ---> Running in 837a2aad13f0 [2022-04-27T11:16:59.211Z] Removing intermediate container 837a2aad13f0 [2022-04-27T11:16:59.211Z] ---> 7e967f9423d9 [2022-04-27T11:16:59.211Z] Step 22/24 : LABEL arch=arm64 [2022-04-27T11:16:59.211Z] ---> Running in 7161d867985d [2022-04-27T11:16:59.485Z] Removing intermediate container 7161d867985d [2022-04-27T11:16:59.485Z] ---> c326dd2e8a13 [2022-04-27T11:16:59.485Z] Step 23/24 : LABEL git_sha=a672eeb6ec92b4d90420405cd1acfac3e3196a2e [2022-04-27T11:16:59.485Z] ---> Running in 975ead29efe7 [2022-04-27T11:16:59.763Z] Removing intermediate container 975ead29efe7 [2022-04-27T11:16:59.763Z] ---> 6a066d59f4f3 [2022-04-27T11:16:59.763Z] Step 24/24 : LABEL version=2.2.0-dev.12 [2022-04-27T11:17:00.044Z] ---> Running in 806fc5a011cf [2022-04-27T11:17:00.318Z] Removing intermediate container 806fc5a011cf [2022-04-27T11:17:00.318Z] ---> 2389df9c1f16 [2022-04-27T11:17:00.318Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T11:17:00.318Z] Successfully built 2389df9c1f16 [2022-04-27T11:17:00.318Z] 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-27T11:17:00.436Z] provisioning config files... [2022-04-27T11:17:00.455Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/22@tmp/config3658159477471244537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:17:00.816Z] ---> docker-login.sh [2022-04-27T11:17:00.816Z] nexus3.edgexfoundry.org:10001 [2022-04-27T11:17:01.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:01.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:01.090Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:01.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:01.090Z] [2022-04-27T11:17:01.090Z] Login Succeeded [2022-04-27T11:17:01.090Z] nexus3.edgexfoundry.org:10002 [2022-04-27T11:17:01.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:01.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:01.690Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:01.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:01.690Z] [2022-04-27T11:17:01.690Z] Login Succeeded [2022-04-27T11:17:01.690Z] nexus3.edgexfoundry.org:10003 [2022-04-27T11:17:01.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:02.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:02.236Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:02.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:02.236Z] [2022-04-27T11:17:02.236Z] Login Succeeded [2022-04-27T11:17:02.236Z] nexus3.edgexfoundry.org:10004 [2022-04-27T11:17:02.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:02.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:02.510Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:02.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:02.510Z] [2022-04-27T11:17:02.510Z] Login Succeeded [2022-04-27T11:17:02.510Z] docker.io [2022-04-27T11:17:03.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T11:17:03.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T11:17:03.383Z] Configure a credential helper to remove this warning. See [2022-04-27T11:17:03.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T11:17:03.383Z] [2022-04-27T11:17:03.383Z] Login Succeeded [2022-04-27T11:17:03.383Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T11:17:03.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:17:03.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T11:17:03.462Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-04-27T11:17:03.462Z] a672eeb6ec92b4d90420405cd1acfac3e3196a2e [2022-04-27T11:17:03.462Z] latest [2022-04-27T11:17:03.462Z] 2.2.0-dev.12 [2022-04-27T11:17:03.462Z] a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [2022-04-27T11:17:03.462Z] main [2022-04-27T11:17:03.462Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:03.824Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:04.179Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e [2022-04-27T11:17:04.179Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-27T11:17:04.179Z] 0167462b5abf: Preparing [2022-04-27T11:17:04.179Z] 2116af32cb9d: Preparing [2022-04-27T11:17:04.179Z] 11c2f20bfa11: Preparing [2022-04-27T11:17:04.179Z] ed6405033465: Preparing [2022-04-27T11:17:04.179Z] f73e7dbfee58: Preparing [2022-04-27T11:17:04.179Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:04.455Z] 2116af32cb9d: Pushed [2022-04-27T11:17:04.455Z] 0167462b5abf: Pushed [2022-04-27T11:17:05.046Z] ed6405033465: Pushed [2022-04-27T11:17:10.452Z] 11c2f20bfa11: Pushed [2022-04-27T11:17:10.452Z] a672eeb6ec92b4d90420405cd1acfac3e3196a2e: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:10.804Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:11.153Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-27T11:17:11.154Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-27T11:17:11.154Z] 0167462b5abf: Preparing [2022-04-27T11:17:11.154Z] 2116af32cb9d: Preparing [2022-04-27T11:17:11.154Z] 11c2f20bfa11: Preparing [2022-04-27T11:17:11.154Z] ed6405033465: Preparing [2022-04-27T11:17:11.154Z] f73e7dbfee58: Preparing [2022-04-27T11:17:11.154Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:11.154Z] 11c2f20bfa11: Layer already exists [2022-04-27T11:17:11.154Z] 2116af32cb9d: Layer already exists [2022-04-27T11:17:11.154Z] ed6405033465: Layer already exists [2022-04-27T11:17:11.154Z] 0167462b5abf: Layer already exists [2022-04-27T11:17:11.427Z] latest: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:11.778Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:12.121Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.12 [2022-04-27T11:17:12.121Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-27T11:17:12.121Z] 0167462b5abf: Preparing [2022-04-27T11:17:12.121Z] 2116af32cb9d: Preparing [2022-04-27T11:17:12.121Z] 11c2f20bfa11: Preparing [2022-04-27T11:17:12.121Z] ed6405033465: Preparing [2022-04-27T11:17:12.121Z] f73e7dbfee58: Preparing [2022-04-27T11:17:12.121Z] 2116af32cb9d: Layer already exists [2022-04-27T11:17:12.121Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:12.121Z] 11c2f20bfa11: Layer already exists [2022-04-27T11:17:12.121Z] 0167462b5abf: Layer already exists [2022-04-27T11:17:12.121Z] ed6405033465: Layer already exists [2022-04-27T11:17:12.392Z] 2.2.0-dev.12: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:12.745Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:13.091Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [2022-04-27T11:17:13.091Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-27T11:17:13.091Z] 0167462b5abf: Preparing [2022-04-27T11:17:13.091Z] 2116af32cb9d: Preparing [2022-04-27T11:17:13.091Z] 11c2f20bfa11: Preparing [2022-04-27T11:17:13.091Z] ed6405033465: Preparing [2022-04-27T11:17:13.091Z] f73e7dbfee58: Preparing [2022-04-27T11:17:13.091Z] 11c2f20bfa11: Layer already exists [2022-04-27T11:17:13.091Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:13.091Z] 0167462b5abf: Layer already exists [2022-04-27T11:17:13.091Z] 2116af32cb9d: Layer already exists [2022-04-27T11:17:13.091Z] ed6405033465: Layer already exists [2022-04-27T11:17:13.364Z] a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:13.713Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:14.055Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-04-27T11:17:14.055Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-27T11:17:14.055Z] 0167462b5abf: Preparing [2022-04-27T11:17:14.055Z] 2116af32cb9d: Preparing [2022-04-27T11:17:14.055Z] 11c2f20bfa11: Preparing [2022-04-27T11:17:14.055Z] ed6405033465: Preparing [2022-04-27T11:17:14.055Z] f73e7dbfee58: Preparing [2022-04-27T11:17:14.055Z] ed6405033465: Layer already exists [2022-04-27T11:17:14.055Z] 0167462b5abf: Layer already exists [2022-04-27T11:17:14.055Z] 11c2f20bfa11: Layer already exists [2022-04-27T11:17:14.055Z] f73e7dbfee58: Layer already exists [2022-04-27T11:17:14.055Z] 2116af32cb9d: Layer already exists [2022-04-27T11:17:14.328Z] main: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-27T11:17:14.375Z] ===================================================== [Pipeline] echo [2022-04-27T11:17:14.389Z] taggedImages: [2022-04-27T11:17:14.389Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e [2022-04-27T11:17:14.389Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-27T11:17:14.389Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.12 [2022-04-27T11:17:14.389Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [2022-04-27T11:17:14.389Z] - 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-27T11:17:14.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T11:17:14.772Z] [2022-04-27T11:17:14.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:15.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T11:17:15.129Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T11:17:15.129Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T11:17:15.129Z] 04944245beec: Pulling fs layer [2022-04-27T11:17:15.129Z] 699f458cf7ca: Pulling fs layer [2022-04-27T11:17:15.129Z] 765212b225bb: Pulling fs layer [2022-04-27T11:17:15.129Z] f23df028b6ca: Pulling fs layer [2022-04-27T11:17:15.129Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T11:17:15.129Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T11:17:15.129Z] f23df028b6ca: Waiting [2022-04-27T11:17:15.129Z] d65c8cfc05b1: Waiting [2022-04-27T11:17:15.129Z] 2437ff75d9bd: Waiting [2022-04-27T11:17:15.129Z] 765212b225bb: Waiting [2022-04-27T11:17:15.407Z] 04944245beec: Download complete [2022-04-27T11:17:15.407Z] 765212b225bb: Verifying Checksum [2022-04-27T11:17:15.407Z] 765212b225bb: Download complete [2022-04-27T11:17:15.407Z] f23df028b6ca: Verifying Checksum [2022-04-27T11:17:15.407Z] f23df028b6ca: Download complete [2022-04-27T11:17:15.407Z] d65c8cfc05b1: Verifying Checksum [2022-04-27T11:17:15.407Z] d65c8cfc05b1: Download complete [2022-04-27T11:17:15.685Z] 699f458cf7ca: Verifying Checksum [2022-04-27T11:17:15.685Z] 699f458cf7ca: Download complete [2022-04-27T11:17:15.966Z] 8998bd30e6a1: Verifying Checksum [2022-04-27T11:17:15.966Z] 8998bd30e6a1: Download complete [2022-04-27T11:17:18.598Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T11:17:18.598Z] 2437ff75d9bd: Download complete [2022-04-27T11:17:20.049Z] 8998bd30e6a1: Pull complete [2022-04-27T11:17:20.650Z] 04944245beec: Pull complete [2022-04-27T11:17:22.090Z] 699f458cf7ca: Pull complete [2022-04-27T11:17:22.366Z] 765212b225bb: Pull complete [2022-04-27T11:17:23.348Z] f23df028b6ca: Pull complete [2022-04-27T11:17:23.348Z] d65c8cfc05b1: Pull complete [2022-04-27T11:17:38.481Z] 2437ff75d9bd: Pull complete [2022-04-27T11:17:38.481Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T11:17:38.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T11:17:38.481Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T11:17:38.741Z] prd-ubuntu20.04-docker-arm64-4c-16g-33472 does not seem to be running inside a container [2022-04-27T11:17:38.837Z] $ 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/22 -v /w/workspace/device-snmp-go/22:/w/workspace/device-snmp-go/22:rw,z -v /w/workspace/device-snmp-go/22@tmp:/w/workspace/device-snmp-go/22@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-27T11:17:41.523Z] $ docker top 5dab207d1e9b5a756a1a1590acf22ccd804374b25e61093ddda1f03cb5fbd7f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:17:42.470Z] ---> job-cost.sh [2022-04-27T11:17:42.470Z] lf-activate-venv: SKIPPING [2022-04-27T11:17:42.470Z] INFO: No Stack... [2022-04-27T11:17:43.068Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T11:17:44.052Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T11:17:44.737Z] + cut -d, -f6 [2022-04-27T11:17:44.737Z] + cat /w/workspace/device-snmp-go/22/archives/cost.csv [Pipeline] lock [2022-04-27T11:17:44.807Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [2022-04-27T11:17:44.813Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] did not exist. Created. [2022-04-27T11:17:44.813Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T11:17:45.499Z] /w/workspace/device-snmp-go/22@tmp/durable-af6263f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T11:17:46.194Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T11:17:46.217Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T11:17:46.264Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T11:17:46.274Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T11:17:46.304Z] $ docker stop --time=1 5dab207d1e9b5a756a1a1590acf22ccd804374b25e61093ddda1f03cb5fbd7f5 [2022-04-27T11:17:47.865Z] $ docker rm -f 5dab207d1e9b5a756a1a1590acf22ccd804374b25e61093ddda1f03cb5fbd7f5 [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-27T11:17:48.297Z] provisioning config files... [2022-04-27T11:17:48.306Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2609745740062507982tmp [Pipeline] { [Pipeline] sh [2022-04-27T11:17:48.610Z] + set +x [2022-04-27T11:17:48.610Z] + curl -s https://codecov.io/bash [2022-04-27T11:17:48.610Z] + bash -s -- [2022-04-27T11:17:48.610Z] [2022-04-27T11:17:48.610Z] _____ _ [2022-04-27T11:17:48.610Z] / ____| | | [2022-04-27T11:17:48.610Z] | | ___ __| | ___ ___ _____ __ [2022-04-27T11:17:48.610Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-27T11:17:48.610Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-27T11:17:48.610Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-27T11:17:48.610Z] Bash-1.0.6 [2022-04-27T11:17:48.610Z] [2022-04-27T11:17:48.610Z] [2022-04-27T11:17:48.610Z] ==> git version 2.25.1 found [2022-04-27T11:17:48.610Z] ==> 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-27T11:17:48.610Z] Release-Date: 2020-01-08 [2022-04-27T11:17:48.610Z] 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-27T11:17:48.610Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-27T11:17:48.610Z] ==> Jenkins CI detected. [2022-04-27T11:17:48.610Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-27T11:17:48.610Z] project root: . [2022-04-27T11:17:48.610Z] --> token set from env [2022-04-27T11:17:48.610Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-27T11:17:48.610Z] ==> Running gcov in . (disable via -X gcov) [2022-04-27T11:17:48.610Z] ==> Python coveragepy not found [2022-04-27T11:17:48.610Z] ==> Searching for coverage reports in: [2022-04-27T11:17:48.610Z] + . [2022-04-27T11:17:48.610Z] -> Found 1 reports [2022-04-27T11:17:48.610Z] ==> Detecting git/mercurial file structure [2022-04-27T11:17:48.610Z] ==> Reading reports [2022-04-27T11:17:48.610Z] + ./coverage.out bytes=7631 [2022-04-27T11:17:48.610Z] ==> Appending adjustments [2022-04-27T11:17:48.610Z] https://docs.codecov.io/docs/fixing-reports [2022-04-27T11:17:48.872Z] + Found adjustments [2022-04-27T11:17:48.872Z] ==> Gzipping contents [2022-04-27T11:17:48.872Z] 4.0K /tmp/codecov.xkP8sx.gz [2022-04-27T11:17:48.872Z] ==> Uploading reports [2022-04-27T11:17:48.872Z] url: https://codecov.io [2022-04-27T11:17:48.872Z] query: branch=main&commit=a672eeb6ec92b4d90420405cd1acfac3e3196a2e&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-27T11:17:48.872Z] -> Pinging Codecov [2022-04-27T11:17:48.872Z] 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=a672eeb6ec92b4d90420405cd1acfac3e3196a2e&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-27T11:17:49.133Z] -> Uploading to [2022-04-27T11:17:49.133Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-27/6C56EA5C29638FB4528AC87E60AF5AE0/a672eeb6ec92b4d90420405cd1acfac3e3196a2e/2ac5ae4e-c992-4405-894f-de1b818966b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T111748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=668bb5fa05336b28997515ab8531dc5a679bc089bfee9684d21329c5a34c81d1 [2022-04-27T11:17:49.133Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T11:17:49.133Z] Dload Upload Total Spent Left Speed [2022-04-27T11:17:49.395Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6538 --:--:-- --:--:-- --:--:-- 6538 [2022-04-27T11:17:49.395Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] } [2022-04-27T11:17:49.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-27T11:17:49.595Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-27T11:17:49.608Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:49.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T11:17:49.955Z] [2022-04-27T11:17:49.955Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:17:50.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T11:17:50.256Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-27T11:17:50.256Z] 188c0c94c7c5: Pulling fs layer [2022-04-27T11:17:50.256Z] 0ef7d3d256c8: Pulling fs layer [2022-04-27T11:17:50.256Z] de9db76c5a1d: Pulling fs layer [2022-04-27T11:17:50.256Z] 0eba1c9be4d2: Pulling fs layer [2022-04-27T11:17:50.256Z] 0d57e429df01: Pulling fs layer [2022-04-27T11:17:50.256Z] 4e4be7b47b0d: Pulling fs layer [2022-04-27T11:17:50.256Z] e1f770b5df2f: Pulling fs layer [2022-04-27T11:17:50.256Z] 85a0685a4137: Pulling fs layer [2022-04-27T11:17:50.256Z] 0d57e429df01: Waiting [2022-04-27T11:17:50.256Z] 4e4be7b47b0d: Waiting [2022-04-27T11:17:50.256Z] e1f770b5df2f: Waiting [2022-04-27T11:17:50.256Z] 85a0685a4137: Waiting [2022-04-27T11:17:50.256Z] 0eba1c9be4d2: Waiting [2022-04-27T11:17:50.256Z] de9db76c5a1d: Verifying Checksum [2022-04-27T11:17:50.256Z] de9db76c5a1d: Download complete [2022-04-27T11:17:50.256Z] 0ef7d3d256c8: Download complete [2022-04-27T11:17:50.256Z] 0d57e429df01: Verifying Checksum [2022-04-27T11:17:50.256Z] 0d57e429df01: Download complete [2022-04-27T11:17:50.256Z] 4e4be7b47b0d: Verifying Checksum [2022-04-27T11:17:50.256Z] 4e4be7b47b0d: Download complete [2022-04-27T11:17:50.256Z] 188c0c94c7c5: Verifying Checksum [2022-04-27T11:17:50.256Z] 188c0c94c7c5: Download complete [2022-04-27T11:17:50.521Z] 188c0c94c7c5: Pull complete [2022-04-27T11:17:50.521Z] e1f770b5df2f: Verifying Checksum [2022-04-27T11:17:50.521Z] e1f770b5df2f: Download complete [2022-04-27T11:17:50.521Z] 0ef7d3d256c8: Pull complete [2022-04-27T11:17:50.784Z] de9db76c5a1d: Pull complete [2022-04-27T11:17:51.044Z] 0eba1c9be4d2: Verifying Checksum [2022-04-27T11:17:51.044Z] 0eba1c9be4d2: Download complete [2022-04-27T11:17:51.305Z] 85a0685a4137: Verifying Checksum [2022-04-27T11:17:51.305Z] 85a0685a4137: Download complete [2022-04-27T11:17:54.597Z] 0eba1c9be4d2: Pull complete [2022-04-27T11:17:54.597Z] 0d57e429df01: Pull complete [2022-04-27T11:17:54.597Z] 4e4be7b47b0d: Pull complete [2022-04-27T11:17:55.171Z] e1f770b5df2f: Pull complete [2022-04-27T11:17:59.380Z] 85a0685a4137: Pull complete [2022-04-27T11:17:59.380Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-27T11:17:59.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-27T11:17:59.380Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-27T11:17:59.450Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:17:59.493Z] $ 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-27T11:18:01.417Z] $ docker top 4c034574508c57148dc4f4ae1b6adfc87c14f2ba993e4328a1151d0062c053e1 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-27T11:18:01.496Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-27T11:18:01.781Z] + set -o pipefail [2022-04-27T11:18:01.781Z] + snyk monitor '--org=edgex-jenkins' [2022-04-27T11:18:07.058Z] [2022-04-27T11:18:07.058Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-04-27T11:18:07.058Z] [2022-04-27T11:18:07.058Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/58b549b4-574b-4769-9ebf-b6b00583c54f [2022-04-27T11:18:07.058Z] [2022-04-27T11:18:07.058Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-27T11:18:07.058Z] [2022-04-27T11:18:07.058Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-27T11:18:07.058Z] [2022-04-27T11:18:08.441Z] [Pipeline] } [2022-04-27T11:18:08.456Z] $ docker stop --time=1 4c034574508c57148dc4f4ae1b6adfc87c14f2ba993e4328a1151d0062c053e1 [2022-04-27T11:18:10.596Z] $ docker rm -f 4c034574508c57148dc4f4ae1b6adfc87c14f2ba993e4328a1151d0062c053e1 [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-27T11:18:11.323Z] + git log --format=format:%s -1 a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] sh [2022-04-27T11:18:11.623Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:18:11.623Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:11.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:18:11.930Z] . [Pipeline] withDockerContainer [2022-04-27T11:18:12.005Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:18:12.045Z] $ 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-27T11:18:12.499Z] $ docker top c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:18:12.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:18:12.602Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:18:12.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:18:12.733Z] $ docker exec c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 ssh-agent [2022-04-27T11:18:12.864Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgfjKCK/agent.15 [2022-04-27T11:18:12.864Z] SSH_AGENT_PID=21 [2022-04-27T11:18:12.870Z] Running ssh-add (command line suppressed) [2022-04-27T11:18:13.002Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9014715680057348674.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9014715680057348674.key) [2022-04-27T11:18:13.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:18:13.316Z] + git semver tag [2022-04-27T11:18:13.316Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:18:13.316Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-27T11:18:13.316Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-27T11:18:13.316Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:18:13.316Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:18:13.316Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:18:13.316Z] # $SEMVER_BRANCH = main [2022-04-27T11:18:13.316Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-27T11:18:13.316Z] # a672eeb6ec92b4d90420405cd1acfac3e3196a2e HEAD [2022-04-27T11:18:13.316Z] # -> Force: false [2022-04-27T11:18:13.316Z] # f67320a8533e31c7b721126e7d9207c7a0be302d refs/tags/v2.2.0-dev.12 [Pipeline] } [2022-04-27T11:18:13.327Z] $ docker exec --env ******** --env ******** c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 ssh-agent -k [2022-04-27T11:18:13.438Z] unset SSH_AUTH_SOCK; [2022-04-27T11:18:13.438Z] unset SSH_AGENT_PID; [2022-04-27T11:18:13.439Z] echo Agent pid 21 killed; [2022-04-27T11:18:13.450Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:18:13.769Z] + git semver [Pipeline] } [2022-04-27T11:18:13.783Z] $ docker stop --time=1 c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 [2022-04-27T11:18:15.129Z] $ docker rm -f c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:15.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T11:18:15.538Z] [2022-04-27T11:18:15.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:15.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T11:18:15.842Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-27T11:18:15.842Z] ab5ef0e58194: Pulling fs layer [2022-04-27T11:18:15.842Z] 9712f1f96733: Pulling fs layer [2022-04-27T11:18:15.842Z] 63f879dbbcfc: Pulling fs layer [2022-04-27T11:18:15.842Z] 0d9ebad4ef96: Pulling fs layer [2022-04-27T11:18:15.842Z] e9a5061849ea: Pulling fs layer [2022-04-27T11:18:15.842Z] d747dcd14b5f: Pulling fs layer [2022-04-27T11:18:15.842Z] 2de7ff778b66: Pulling fs layer [2022-04-27T11:18:15.842Z] 0d9ebad4ef96: Waiting [2022-04-27T11:18:15.842Z] e9a5061849ea: Waiting [2022-04-27T11:18:15.842Z] d747dcd14b5f: Waiting [2022-04-27T11:18:15.842Z] 9712f1f96733: Download complete [2022-04-27T11:18:16.104Z] 63f879dbbcfc: Verifying Checksum [2022-04-27T11:18:16.104Z] 63f879dbbcfc: Download complete [2022-04-27T11:18:16.365Z] ab5ef0e58194: Download complete [2022-04-27T11:18:16.365Z] e9a5061849ea: Verifying Checksum [2022-04-27T11:18:16.365Z] e9a5061849ea: Download complete [2022-04-27T11:18:16.365Z] d747dcd14b5f: Verifying Checksum [2022-04-27T11:18:16.365Z] d747dcd14b5f: Download complete [2022-04-27T11:18:16.365Z] 0d9ebad4ef96: Verifying Checksum [2022-04-27T11:18:16.365Z] 0d9ebad4ef96: Download complete [2022-04-27T11:18:16.624Z] 2de7ff778b66: Verifying Checksum [2022-04-27T11:18:16.624Z] 2de7ff778b66: Download complete [2022-04-27T11:18:19.918Z] ab5ef0e58194: Pull complete [2022-04-27T11:18:19.918Z] 9712f1f96733: Pull complete [2022-04-27T11:18:20.178Z] 63f879dbbcfc: Pull complete [2022-04-27T11:18:24.373Z] 0d9ebad4ef96: Pull complete [2022-04-27T11:18:24.373Z] e9a5061849ea: Pull complete [2022-04-27T11:18:24.373Z] d747dcd14b5f: Pull complete [2022-04-27T11:18:25.758Z] 2de7ff778b66: Pull complete [2022-04-27T11:18:25.758Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-27T11:18:25.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-27T11:18:25.758Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-27T11:18:25.837Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:18:25.873Z] $ 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-27T11:18:27.851Z] $ docker top e348e28a4ce52637ba65057ae96aa5b3295e6a75924f2848c6243e9fb719ae3b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:18:27.950Z] provisioning config files... [2022-04-27T11:18:27.958Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1326557517604992738tmp [2022-04-27T11:18:27.970Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5082901114770835852tmp [2022-04-27T11:18:27.981Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7028500655711862784tmp [Pipeline] { [Pipeline] echo [2022-04-27T11:18:27.995Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:28.282Z] ---> sigul-configuration.sh [2022-04-27T11:18:28.282Z] gpg: directory `/root/.gnupg' created [2022-04-27T11:18:28.282Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-27T11:18:28.282Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-27T11:18:28.282Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-27T11:18:28.282Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-27T11:18:28.282Z] gpg: CAST5 encrypted data [2022-04-27T11:18:28.282Z] gpg: encrypted with 1 passphrase [2022-04-27T11:18:28.282Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-27T11:18:28.570Z] + mkdir /home/jenkins [2022-04-27T11:18:28.570Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-27T11:18:28.858Z] + 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-27T11:18:28.869Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:29.158Z] ---> sigul-install.sh [2022-04-27T11:18:29.158Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-27T11:18:29.576Z] + git tag --list [2022-04-27T11:18:29.576Z] 1.0.0 [2022-04-27T11:18:29.576Z] v0.0.0 [2022-04-27T11:18:29.576Z] v1.1.0 [2022-04-27T11:18:29.576Z] v1.1.1 [2022-04-27T11:18:29.576Z] v1.2.2 [2022-04-27T11:18:29.576Z] v1.3.0 [2022-04-27T11:18:29.576Z] v1.3.1 [2022-04-27T11:18:29.576Z] v2.0.0 [2022-04-27T11:18:29.576Z] v2.0.1-dev.1 [2022-04-27T11:18:29.576Z] v2.0.1-dev.2 [2022-04-27T11:18:29.576Z] v2.0.1-dev.3 [2022-04-27T11:18:29.576Z] v2.0.1-dev.4 [2022-04-27T11:18:29.576Z] v2.0.1-dev.5 [2022-04-27T11:18:29.576Z] v2.0.1-dev.6 [2022-04-27T11:18:29.576Z] v2.1.0 [2022-04-27T11:18:29.576Z] v2.2.0-dev.1 [2022-04-27T11:18:29.576Z] v2.2.0-dev.10 [2022-04-27T11:18:29.576Z] v2.2.0-dev.11 [2022-04-27T11:18:29.576Z] v2.2.0-dev.12 [2022-04-27T11:18:29.576Z] v2.2.0-dev.2 [2022-04-27T11:18:29.576Z] v2.2.0-dev.3 [2022-04-27T11:18:29.576Z] v2.2.0-dev.4 [2022-04-27T11:18:29.576Z] v2.2.0-dev.5 [2022-04-27T11:18:29.576Z] v2.2.0-dev.6 [2022-04-27T11:18:29.576Z] v2.2.0-dev.7 [2022-04-27T11:18:29.576Z] v2.2.0-dev.8 [2022-04-27T11:18:29.576Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-27T11:18:29.861Z] + lftools sign git-tag v2.2.0-dev.12 [2022-04-27T11:18:30.429Z] Signing Git tag with Sigul... [2022-04-27T11:18:30.429Z] Signing v2.2.0-dev.12 [Pipeline] echo [2022-04-27T11:18:30.699Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:30.986Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-27T11:18:30.996Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-27T11:18:31.015Z] $ docker stop --time=1 e348e28a4ce52637ba65057ae96aa5b3295e6a75924f2848c6243e9fb719ae3b [2022-04-27T11:18:32.336Z] $ docker rm -f e348e28a4ce52637ba65057ae96aa5b3295e6a75924f2848c6243e9fb719ae3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-27T11:18:32.768Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:18:32.768Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:33.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:18:33.064Z] . [Pipeline] withDockerContainer [2022-04-27T11:18:33.134Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:18:33.170Z] $ 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-27T11:18:33.566Z] $ docker top 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:18:33.660Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:18:33.660Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:18:33.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:18:33.797Z] $ docker exec 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 ssh-agent [2022-04-27T11:18:33.932Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfEnHFK/agent.13 [2022-04-27T11:18:33.932Z] SSH_AGENT_PID=19 [2022-04-27T11:18:33.936Z] Running ssh-add (command line suppressed) [2022-04-27T11:18:34.041Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_545328380425227486.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_545328380425227486.key) [2022-04-27T11:18:34.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:18:34.353Z] + git semver bump pre [2022-04-27T11:18:34.353Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:18:34.353Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-27T11:18:34.353Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-27T11:18:34.353Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:18:34.353Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:18:34.353Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:18:34.353Z] # $SEMVER_BRANCH = main [2022-04-27T11:18:34.353Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-27T11:18:34.353Z] 2.2.0-dev.13 [Pipeline] } [2022-04-27T11:18:34.364Z] $ docker exec --env ******** --env ******** 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 ssh-agent -k [2022-04-27T11:18:34.488Z] unset SSH_AUTH_SOCK; [2022-04-27T11:18:34.489Z] unset SSH_AGENT_PID; [2022-04-27T11:18:34.489Z] echo Agent pid 19 killed; [2022-04-27T11:18:34.501Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:18:34.803Z] + git semver [Pipeline] } [2022-04-27T11:18:34.819Z] $ docker stop --time=1 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 [2022-04-27T11:18:36.107Z] $ docker rm -f 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T11:18:36.457Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T11:18:36.457Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:36.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T11:18:36.752Z] . [Pipeline] withDockerContainer [2022-04-27T11:18:36.826Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:18:36.865Z] $ 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-27T11:18:37.250Z] $ docker top 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T11:18:37.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T11:18:37.349Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T11:18:37.484Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T11:18:37.487Z] $ docker exec 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 ssh-agent [2022-04-27T11:18:37.608Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkGaBpD/agent.14 [2022-04-27T11:18:37.608Z] SSH_AGENT_PID=21 [2022-04-27T11:18:37.614Z] Running ssh-add (command line suppressed) [2022-04-27T11:18:37.719Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8049249851217378539.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8049249851217378539.key) [2022-04-27T11:18:37.733Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T11:18:38.023Z] + git semver push [2022-04-27T11:18:38.023Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T11:18:38.023Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-27T11:18:38.023Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-27T11:18:38.023Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T11:18:38.023Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T11:18:38.023Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T11:18:38.023Z] # $SEMVER_BRANCH = main [2022-04-27T11:18:38.023Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-27T11:18:39.417Z] $ docker exec --env ******** --env ******** 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 ssh-agent -k [2022-04-27T11:18:39.521Z] unset SSH_AUTH_SOCK; [2022-04-27T11:18:39.521Z] unset SSH_AGENT_PID; [2022-04-27T11:18:39.521Z] echo Agent pid 21 killed; [2022-04-27T11:18:39.532Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T11:18:39.841Z] + git semver [Pipeline] } [2022-04-27T11:18:39.854Z] $ docker stop --time=1 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 [2022-04-27T11:18:41.185Z] $ docker rm -f 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 [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-27T11:18:41.737Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-04-27T11:18:41.737Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-27T11:18:41.737Z] total 16 [2022-04-27T11:18:41.737Z] drwxr-xr-x 3 root root 4096 Apr 27 11:08 . [2022-04-27T11:18:41.737Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 11:18 .. [2022-04-27T11:18:41.737Z] drwxr-xr-x 2 root root 4096 Apr 27 11:08 cost [2022-04-27T11:18:41.737Z] -rw-r--r-- 1 root root 84 Apr 27 11:08 cost.csv [2022-04-27T11:18:41.737Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-27T11:18:41.737Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-27T11:18:41.737Z] total 16 [2022-04-27T11:18:41.737Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 11:08 . [2022-04-27T11:18:41.737Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 11:18 .. [2022-04-27T11:18:41.737Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 11:08 cost [2022-04-27T11:18:41.737Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 27 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:42.036Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:42.898Z] ---> package-listing.sh [2022-04-27T11:18:42.899Z] ++ facter osfamily [2022-04-27T11:18:42.899Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T11:18:43.159Z] + OS_FAMILY=debian [2022-04-27T11:18:43.159Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-04-27T11:18:43.159Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T11:18:43.159Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T11:18:43.159Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T11:18:43.159Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T11:18:43.159Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-27T11:18:43.159Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T11:18:43.159Z] + case "${OS_FAMILY}" in [2022-04-27T11:18:43.159Z] + dpkg -l [2022-04-27T11:18:43.159Z] + grep '^ii' [2022-04-27T11:18:43.159Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T11:18:43.159Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T11:18:43.159Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T11:18:43.159Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-27T11:18:43.159Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-04-27T11:18:43.159Z] + 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-27T11:18:43.173Z] 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-27T11:18:43.454Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T11:18:44.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T11:18:44.011Z] . [Pipeline] withDockerContainer [2022-04-27T11:18:44.085Z] prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container [2022-04-27T11:18:44.123Z] $ 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-27T11:18:44.362Z] $ docker top d053555dd4f0feae9802f43b742c99e62c15bcd1b72d848dea7912cd41236368 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T11:18:44.725Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T11:18:45.019Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T11:18:45.390Z] + ls /var/log/sa-host [2022-04-27T11:18:45.390Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T11:18:45.490Z] provisioning config files... [2022-04-27T11:18:45.501Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2273973667427959119tmp [Pipeline] { [Pipeline] echo [2022-04-27T11:18:45.517Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:45.803Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T11:18:45.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:46.152Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T11:18:46.163Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:46.451Z] ---> sudo-logs.sh [2022-04-27T11:18:46.451Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T11:18:46.473Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:46.760Z] ---> job-cost.sh [2022-04-27T11:18:46.760Z] lf-activate-venv: SKIPPING [2022-04-27T11:18:46.760Z] DEBUG: total: 0.2199999988079071 [2022-04-27T11:18:46.760Z] INFO: Retrieving Stack Cost... [2022-04-27T11:18:47.329Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T11:18:47.590Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T11:18:47.602Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T11:18:47.893Z] ---> logs-deploy.sh [2022-04-27T11:18:47.893Z] lf-activate-venv: SKIPPING [2022-04-27T11:18:47.893Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/22 [2022-04-27T11:18:47.893Z] INFO: archiving workspace using pattern(s): [2022-04-27T11:18:48.834Z] Archives upload complete. [2022-04-27T11:18:48.834Z] INFO: archiving logs to Nexus