Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 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-ssh395030247292110663.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-ssh16724753497874492665.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-ssh16437667605134397329.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-ssh10002544449433844387.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-ssh3519168930434699313.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24984 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 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 (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 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 Commit message: "feat(snap): add support for env var injection (#160)" > git rev-list --no-walk 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T15:53:55.783Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T15:53:55.854Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T15:53:55.875Z] ========================================================= [2022-04-26T15:53:55.875Z] EdgeX Global Pipelines Version Info [2022-04-26T15:53:55.875Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:53:56.742Z] ------------------- [2022-04-26T15:53:56.742Z] stable info: [2022-04-26T15:53:56.742Z] ------------------- [2022-04-26T15:53:56.742Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T15:53:56.742Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T15:53:56.742Z] Message: update stable to v1.0.221 [2022-04-26T15:53:57.313Z] ------------------- [2022-04-26T15:53:57.313Z] experimental info: [2022-04-26T15:53:57.313Z] ------------------- [2022-04-26T15:53:57.313Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2022-04-26T15:53:57.313Z] Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db [2022-04-26T15:53:57.313Z] Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T15:53:57.463Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-26T15:53:57.473Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-26T15:53:57.482Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T15:53:57.497Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T15:53:57.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T15:53:57.523Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T15:53:57.535Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T15:53:57.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T15:53:57.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T15:53:57.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T15:53:57.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T15:53:57.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-26T15:53:57.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T15:53:57.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T15:53:57.640Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:53:57.654Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T15:53:57.668Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:53:57.680Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T15:53:57.691Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T15:53:57.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T15:53:57.720Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T15:53:57.737Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T15:53:57.754Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T15:53:57.768Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T15:53:57.782Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T15:53:57.793Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T15:53:57.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-26T15:53:57.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-26T15:53:57.832Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-26T15:53:57.845Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] echo [2022-04-26T15:53:57.858Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a3dba1 [Pipeline] echo [2022-04-26T15:53:57.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:53:57.910Z] provisioning config files... [2022-04-26T15:53:57.924Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7662140279672411215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:53:58.266Z] ---> docker-login.sh [2022-04-26T15:53:58.266Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:53:58.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:53:58.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:53:58.526Z] Configure a credential helper to remove this warning. See [2022-04-26T15:53:58.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:53:58.526Z] [2022-04-26T15:53:58.526Z] Login Succeeded [2022-04-26T15:53:58.526Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:53:58.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:53:58.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:53:58.788Z] Configure a credential helper to remove this warning. See [2022-04-26T15:53:58.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:53:58.788Z] [2022-04-26T15:53:58.788Z] Login Succeeded [2022-04-26T15:53:58.788Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:53:58.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:53:59.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:53:59.049Z] Configure a credential helper to remove this warning. See [2022-04-26T15:53:59.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:53:59.049Z] [2022-04-26T15:53:59.049Z] Login Succeeded [2022-04-26T15:53:59.049Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:53:59.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:53:59.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:53:59.049Z] Configure a credential helper to remove this warning. See [2022-04-26T15:53:59.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:53:59.049Z] [2022-04-26T15:53:59.049Z] Login Succeeded [2022-04-26T15:53:59.049Z] docker.io [2022-04-26T15:53:59.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:53:59.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:53:59.620Z] Configure a credential helper to remove this warning. See [2022-04-26T15:53:59.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:53:59.620Z] [2022-04-26T15:53:59.620Z] Login Succeeded [2022-04-26T15:53:59.620Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:53:59.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T15:54:00.034Z] + git rev-list -1 --merges 9a3dba1396f359ed2da05b9e2de949f9cb839ab1~1..9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] echo [2022-04-26T15:54:00.088Z] -----------> git rev-list -1 --merges 9a3dba1396f359ed2da05b9e2de949f9cb839ab1~1..9a3dba1396f359ed2da05b9e2de949f9cb839ab1 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [false] [Pipeline] sh [2022-04-26T15:54:00.456Z] + git log --format=format:%s -1 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] echo [2022-04-26T15:54:00.476Z] ========================================================= [2022-04-26T15:54:00.476Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T15:54:00.476Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T15:54:00.801Z] + git log --format=format:%s -1 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] echo [2022-04-26T15:54:00.816Z] [semverPrep] GIT_COMMIT: 9a3dba1396f359ed2da05b9e2de949f9cb839ab1, Commit Message: feat(snap): add support for env var injection (#160) [Pipeline] echo [2022-04-26T15:54:00.825Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T15:54:01.422Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T15:54:01.423Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T15:54:01.423Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T15:54:01.423Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T15:54:01.423Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T15:54:01.423Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T15:54:01.423Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:01.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:01.811Z] [2022-04-26T15:54:01.811Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:02.126Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:02.126Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T15:54:02.126Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T15:54:02.126Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T15:54:02.126Z] 4c7163046ea9: Pulling fs layer [2022-04-26T15:54:02.126Z] 0c2d73faf560: Pulling fs layer [2022-04-26T15:54:02.126Z] 0c2d73faf560: Waiting [2022-04-26T15:54:02.126Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T15:54:02.126Z] 3e5f54012d9b: Download complete [2022-04-26T15:54:02.126Z] a0d0a0d46f8b: Download complete [2022-04-26T15:54:02.387Z] 0c2d73faf560: Verifying Checksum [2022-04-26T15:54:02.387Z] 0c2d73faf560: Download complete [2022-04-26T15:54:02.387Z] 4c7163046ea9: Verifying Checksum [2022-04-26T15:54:02.387Z] 4c7163046ea9: Download complete [2022-04-26T15:54:02.387Z] a0d0a0d46f8b: Pull complete [2022-04-26T15:54:02.645Z] 3e5f54012d9b: Pull complete [2022-04-26T15:54:02.907Z] 4c7163046ea9: Pull complete [2022-04-26T15:54:02.907Z] 0c2d73faf560: Pull complete [2022-04-26T15:54:02.907Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T15:54:02.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T15:54:02.907Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T15:54:02.982Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T15:54:03.021Z] $ 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-26T15:54:03.730Z] $ docker top 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T15:54:03.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:54:03.852Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:54:03.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:54:03.994Z] $ docker exec 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 ssh-agent [2022-04-26T15:54:04.130Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKFjGCL/agent.15 [2022-04-26T15:54:04.130Z] SSH_AGENT_PID=21 [2022-04-26T15:54:04.141Z] Running ssh-add (command line suppressed) [2022-04-26T15:54:04.271Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3653324824972085432.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3653324824972085432.key) [2022-04-26T15:54:04.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:54:04.573Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T15:54:04.589Z] $ docker exec --env ******** --env ******** 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 ssh-agent -k [2022-04-26T15:54:04.716Z] unset SSH_AUTH_SOCK; [2022-04-26T15:54:04.717Z] unset SSH_AGENT_PID; [2022-04-26T15:54:04.717Z] echo Agent pid 21 killed; [2022-04-26T15:54:04.727Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T15:54:04.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T15:54:04.749Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T15:54:04.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T15:54:04.891Z] $ docker exec 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 ssh-agent [2022-04-26T15:54:05.022Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbPhANg/agent.54 [2022-04-26T15:54:05.022Z] SSH_AGENT_PID=61 [2022-04-26T15:54:05.026Z] Running ssh-add (command line suppressed) [2022-04-26T15:54:05.151Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_492685213580081537.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_492685213580081537.key) [2022-04-26T15:54:05.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T15:54:05.461Z] + git semver init [2022-04-26T15:54:05.461Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T15:54:05.461Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-26T15:54:05.461Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-26T15:54:05.461Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T15:54:05.461Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T15:54:05.461Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T15:54:05.461Z] # $SEMVER_BRANCH = main [2022-04-26T15:54:05.461Z] # $SEMVER_TEMP = /tmp/semver-021816853 [2022-04-26T15:54:05.461Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-26T15:54:06.403Z] # '/tmp/semver-021816853' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2022-04-26T15:54:06.403Z] # -> Force: false [2022-04-26T15:54:06.403Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-26T15:54:06.416Z] $ docker exec --env ******** --env ******** 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 ssh-agent -k [2022-04-26T15:54:06.531Z] unset SSH_AUTH_SOCK; [2022-04-26T15:54:06.531Z] unset SSH_AGENT_PID; [2022-04-26T15:54:06.531Z] echo Agent pid 61 killed; [2022-04-26T15:54:06.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T15:54:06.847Z] + git semver [Pipeline] } [2022-04-26T15:54:06.861Z] $ docker stop --time=1 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 [2022-04-26T15:54:08.277Z] $ docker rm -f 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:54:08.639Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T15:54:08.915Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T15:54:08.918Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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-26T15:54:09.089Z] provisioning config files... [2022-04-26T15:54:09.099Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2455304408107330258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:54:09.400Z] ---> docker-login.sh [2022-04-26T15:54:09.400Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:54:09.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:09.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:09.400Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:09.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:09.400Z] [2022-04-26T15:54:09.400Z] Login Succeeded [2022-04-26T15:54:09.400Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:54:09.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:09.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:09.661Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:09.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:09.661Z] [2022-04-26T15:54:09.661Z] Login Succeeded [2022-04-26T15:54:09.661Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:54:09.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:09.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:09.661Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:09.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:09.661Z] [2022-04-26T15:54:09.661Z] Login Succeeded [2022-04-26T15:54:09.661Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:54:09.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:09.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:09.922Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:09.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:09.922Z] [2022-04-26T15:54:09.922Z] Login Succeeded [2022-04-26T15:54:09.922Z] docker.io [2022-04-26T15:54:09.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:54:10.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:54:10.182Z] Configure a credential helper to remove this warning. See [2022-04-26T15:54:10.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:54:10.182Z] [2022-04-26T15:54:10.182Z] Login Succeeded [2022-04-26T15:54:10.182Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:54:10.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T15:54:10.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:54:10.257Z] ========================================================= [2022-04-26T15:54:10.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T15:54:10.257Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:10.561Z] + 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-26T15:54:10.561Z] Sending build context to Docker daemon 5.255MB [2022-04-26T15:54:10.561Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:54:10.561Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T15:54:10.561Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T15:54:10.561Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T15:54:10.561Z] 666ba61612fd: Pulling fs layer [2022-04-26T15:54:10.561Z] 8ed8ca486205: Pulling fs layer [2022-04-26T15:54:10.561Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T15:54:10.561Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T15:54:10.561Z] ca2b28591e48: Pulling fs layer [2022-04-26T15:54:10.561Z] a51346096db8: Pulling fs layer [2022-04-26T15:54:10.561Z] daebc70d1ce1: Pulling fs layer [2022-04-26T15:54:10.561Z] 0e18a0eac166: Pulling fs layer [2022-04-26T15:54:10.561Z] 22a0e8bec74d: Waiting [2022-04-26T15:54:10.561Z] ca2b28591e48: Waiting [2022-04-26T15:54:10.561Z] a51346096db8: Waiting [2022-04-26T15:54:10.561Z] daebc70d1ce1: Waiting [2022-04-26T15:54:10.561Z] 0e18a0eac166: Waiting [2022-04-26T15:54:10.561Z] 4fe6c5a15a65: Waiting [2022-04-26T15:54:10.561Z] 8ed8ca486205: Verifying Checksum [2022-04-26T15:54:10.561Z] 8ed8ca486205: Download complete [2022-04-26T15:54:10.561Z] 666ba61612fd: Download complete [2022-04-26T15:54:10.823Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T15:54:10.823Z] 22a0e8bec74d: Download complete [2022-04-26T15:54:10.823Z] ca2b28591e48: Download complete [2022-04-26T15:54:10.823Z] a51346096db8: Download complete [2022-04-26T15:54:10.823Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T15:54:10.823Z] daebc70d1ce1: Verifying Checksum [2022-04-26T15:54:10.823Z] daebc70d1ce1: Download complete [2022-04-26T15:54:10.823Z] 59bf1c3509f3: Pull complete [2022-04-26T15:54:11.090Z] 666ba61612fd: Pull complete [2022-04-26T15:54:11.090Z] 8ed8ca486205: Pull complete [2022-04-26T15:54:11.665Z] 0e18a0eac166: Verifying Checksum [2022-04-26T15:54:11.665Z] 0e18a0eac166: Download complete [2022-04-26T15:54:11.665Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T15:54:11.665Z] 4fe6c5a15a65: Download complete [2022-04-26T15:54:15.866Z] 4fe6c5a15a65: Pull complete [2022-04-26T15:54:15.866Z] 22a0e8bec74d: Pull complete [2022-04-26T15:54:15.866Z] ca2b28591e48: Pull complete [2022-04-26T15:54:15.866Z] a51346096db8: Pull complete [2022-04-26T15:54:16.126Z] daebc70d1ce1: Pull complete [2022-04-26T15:54:18.666Z] 0e18a0eac166: Pull complete [2022-04-26T15:54:18.666Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T15:54:18.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T15:54:18.666Z] ---> f018257e8ee9 [2022-04-26T15:54:18.666Z] Step 3/12 : ARG MAKE='make build' [2022-04-26T15:54:20.060Z] ---> Running in 441d074ec507 [2022-04-26T15:54:20.060Z] Removing intermediate container 441d074ec507 [2022-04-26T15:54:20.060Z] ---> 47537639a902 [2022-04-26T15:54:20.060Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T15:54:20.060Z] ---> Running in 8fee607a343c [2022-04-26T15:54:20.060Z] Removing intermediate container 8fee607a343c [2022-04-26T15:54:20.060Z] ---> 2e5274bba2bd [2022-04-26T15:54:20.060Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:54:20.060Z] ---> Running in d740d475c49e [2022-04-26T15:54:20.320Z] Removing intermediate container d740d475c49e [2022-04-26T15:54:20.320Z] ---> 660bf3fd9270 [2022-04-26T15:54:20.320Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:54:20.320Z] ---> Running in 1e706522498b [2022-04-26T15:54:20.892Z] Removing intermediate container 1e706522498b [2022-04-26T15:54:20.892Z] ---> 00d9eccef1aa [2022-04-26T15:54:20.892Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:54:20.892Z] ---> Running in 159dc7244922 [2022-04-26T15:54:21.153Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:54:22.096Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:54:22.356Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T15:54:22.356Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T15:54:22.619Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T15:54:22.619Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T15:54:22.619Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T15:54:22.882Z] OK: 224 MiB in 56 packages [2022-04-26T15:54:23.452Z] Removing intermediate container 159dc7244922 [2022-04-26T15:54:23.452Z] ---> 3a928d59eabe [2022-04-26T15:54:23.452Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-26T15:54:23.712Z] ---> Running in d8ef944213e8 [2022-04-26T15:54:23.712Z] Removing intermediate container d8ef944213e8 [2022-04-26T15:54:23.712Z] ---> 6e655855a5e5 [2022-04-26T15:54:23.712Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-26T15:54:23.984Z] ---> 5faf3c5060e6 [2022-04-26T15:54:23.984Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:54:24.036Z] Still waiting to schedule task [2022-04-26T15:54:24.037Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-26T15:54:24.245Z] ---> Running in fee15c9b0a65 [2022-04-26T15:54:46.223Z] Removing intermediate container fee15c9b0a65 [2022-04-26T15:54:46.223Z] ---> 0e23954cbb06 [2022-04-26T15:54:46.223Z] Step 11/12 : COPY . . [2022-04-26T15:54:46.223Z] ---> 02762092f5e7 [2022-04-26T15:54:46.223Z] Step 12/12 : RUN ${MAKE} [2022-04-26T15:54:46.223Z] ---> Running in b40d76aa9062 [2022-04-26T15:54:46.223Z] noop [2022-04-26T15:54:46.223Z] Removing intermediate container b40d76aa9062 [2022-04-26T15:54:46.223Z] ---> 78950d9c30ea [2022-04-26T15:54:46.223Z] Successfully built 78950d9c30ea [2022-04-26T15:54:46.223Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:46.519Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:54:46.520Z] . [Pipeline] withDockerContainer [2022-04-26T15:54:46.586Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T15:54:46.626Z] $ 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-26T15:54:47.043Z] $ docker top ab1a5d9dd3111ad90d2279b982bf1ad4e7a0ad14bdcf191cd0d364089cf356ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T15:54:47.423Z] + go version [2022-04-26T15:54:47.423Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T15:54:47.439Z] $ docker stop --time=1 ab1a5d9dd3111ad90d2279b982bf1ad4e7a0ad14bdcf191cd0d364089cf356ca [2022-04-26T15:54:48.733Z] $ docker rm -f ab1a5d9dd3111ad90d2279b982bf1ad4e7a0ad14bdcf191cd0d364089cf356ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:54:49.175Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T15:54:49.175Z] . [Pipeline] withDockerContainer [2022-04-26T15:54:49.247Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T15:54:49.288Z] $ 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-26T15:54:49.708Z] $ docker top 5f36a85322d4600093bbcbe757418a9dd4a4b2bfaaf6f91972d2295677950f95 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T15:54:50.138Z] + make test [2022-04-26T15:54:50.138Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T15:54:50.725Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-26T15:55:00.716Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-26T15:55:00.716Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2022-04-26T15:55:08.849Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T15:55:12.145Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T15:55:12.145Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T15:55:12.145Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T15:55:12.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T15:55:12.185Z] $ docker stop --time=1 5f36a85322d4600093bbcbe757418a9dd4a4b2bfaaf6f91972d2295677950f95 [2022-04-26T15:55:14.385Z] $ docker rm -f 5f36a85322d4600093bbcbe757418a9dd4a4b2bfaaf6f91972d2295677950f95 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T15:55:14.874Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T15:55:14.933Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T15:55:16.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T15:55:16.406Z] + ls -al . [2022-04-26T15:55:16.406Z] total 164 [2022-04-26T15:55:16.406Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:55 . [2022-04-26T15:55:16.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:53 .. [2022-04-26T15:55:16.406Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 15:53 .dockerignore [2022-04-26T15:55:16.406Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:53 .git [2022-04-26T15:55:16.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 .github [2022-04-26T15:55:16.406Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 15:53 .gitignore [2022-04-26T15:55:16.406Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 15:53 .golangci.yml [2022-04-26T15:55:16.406Z] drwx------ 3 jenkins jenkins 4096 Apr 26 15:54 .semver [2022-04-26T15:55:16.406Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 26 15:53 Attribution.txt [2022-04-26T15:55:16.406Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 26 15:53 CHANGELOG.md [2022-04-26T15:55:16.406Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 26 15:53 Dockerfile [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:53 GOVERNANCE.md [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 15:53 Jenkinsfile [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 15:53 LICENSE [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 26 15:53 Makefile [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 15:53 OWNERS.md [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 26 15:53 README.md [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:54 VERSION [2022-04-26T15:55:16.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:53 bin [2022-04-26T15:55:16.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 cmd [2022-04-26T15:55:16.407Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 26 15:54 coverage.out [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 26 15:53 go.mod [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 26 15:53 go.sum [2022-04-26T15:55:16.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 internal [2022-04-26T15:55:16.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 snap [2022-04-26T15:55:16.407Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 15:53 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:16.715Z] + 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=9a3dba1396f359ed2da05b9e2de949f9cb839ab1 --label arch=amd64 --label version=2.2.0-dev.11 . [2022-04-26T15:55:16.716Z] Sending build context to Docker daemon 5.263MB [2022-04-26T15:55:16.716Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T15:55:16.716Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-26T15:55:16.716Z] ---> 78950d9c30ea [2022-04-26T15:55:16.716Z] Step 3/24 : ARG MAKE='make build' [2022-04-26T15:55:16.976Z] ---> Running in d6fc0c4cba30 [2022-04-26T15:55:16.976Z] Removing intermediate container d6fc0c4cba30 [2022-04-26T15:55:16.976Z] ---> 23377c708465 [2022-04-26T15:55:16.976Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T15:55:16.976Z] ---> Running in aff785923de1 [2022-04-26T15:55:16.976Z] Removing intermediate container aff785923de1 [2022-04-26T15:55:16.976Z] ---> 3f4b19b0aff0 [2022-04-26T15:55:16.976Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T15:55:17.236Z] ---> Running in f42e3f881817 [2022-04-26T15:55:17.236Z] Removing intermediate container f42e3f881817 [2022-04-26T15:55:17.236Z] ---> 0bd33edac57d [2022-04-26T15:55:17.236Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T15:55:17.236Z] ---> Running in 31dd1a50b365 [2022-04-26T15:55:17.812Z] Removing intermediate container 31dd1a50b365 [2022-04-26T15:55:17.812Z] ---> 2d9c80601a67 [2022-04-26T15:55:17.812Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T15:55:18.075Z] ---> Running in b07a39f07d37 [2022-04-26T15:55:18.339Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:55:19.284Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:55:19.543Z] OK: 224 MiB in 56 packages [2022-04-26T15:55:19.803Z] Removing intermediate container b07a39f07d37 [2022-04-26T15:55:19.803Z] ---> bbab4302ea61 [2022-04-26T15:55:19.803Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-26T15:55:19.803Z] ---> Running in c95ddb952c0a [2022-04-26T15:55:20.061Z] Removing intermediate container c95ddb952c0a [2022-04-26T15:55:20.061Z] ---> b7c285bd78f1 [2022-04-26T15:55:20.061Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-26T15:55:20.061Z] ---> 42753fa6b1ed [2022-04-26T15:55:20.061Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T15:55:20.321Z] ---> Running in 708cac489874 [2022-04-26T15:55:20.892Z] Removing intermediate container 708cac489874 [2022-04-26T15:55:20.892Z] ---> 1e358cdd2c2a [2022-04-26T15:55:20.892Z] Step 11/24 : COPY . . [2022-04-26T15:55:21.467Z] ---> d508103032ca [2022-04-26T15:55:21.467Z] Step 12/24 : RUN ${MAKE} [2022-04-26T15:55:21.467Z] ---> Running in 38c9b05ff23a [2022-04-26T15:55:21.728Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-26T15:55:43.722Z] Removing intermediate container 38c9b05ff23a [2022-04-26T15:55:43.722Z] ---> 65c1989237d4 [2022-04-26T15:55:43.722Z] Step 13/24 : FROM alpine:3.14 [2022-04-26T15:55:43.722Z] 3.14: Pulling from library/alpine [2022-04-26T15:55:43.722Z] 8663204ce13b: Pulling fs layer [2022-04-26T15:55:44.027Z] 8663204ce13b: Download complete [2022-04-26T15:55:44.027Z] 8663204ce13b: Pull complete [2022-04-26T15:55:44.027Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T15:55:44.027Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T15:55:44.027Z] ---> e04c818066af [2022-04-26T15:55:44.027Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T15:55:44.286Z] ---> Running in 743a2bd814dc [2022-04-26T15:55:44.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T15:55:44.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T15:55:44.807Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T15:55:44.807Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T15:55:44.807Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T15:55:44.807Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T15:55:44.807Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T15:55:44.807Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T15:55:44.807Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T15:55:44.807Z] OK: 8 MiB in 20 packages [2022-04-26T15:55:45.069Z] Removing intermediate container 743a2bd814dc [2022-04-26T15:55:45.069Z] ---> 01ac052541ce [2022-04-26T15:55:45.069Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-26T15:55:46.009Z] ---> 75c0b30f7806 [2022-04-26T15:55:46.009Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-26T15:55:46.009Z] ---> 673f1762d5c0 [2022-04-26T15:55:46.009Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-26T15:55:46.271Z] ---> e224c30d8d0c [2022-04-26T15:55:46.271Z] Step 18/24 : EXPOSE 59993 [2022-04-26T15:55:46.271Z] ---> Running in 45c7592c2313 [2022-04-26T15:55:46.271Z] Removing intermediate container 45c7592c2313 [2022-04-26T15:55:46.271Z] ---> 5df8596450db [2022-04-26T15:55:46.271Z] Step 19/24 : EXPOSE 161 [2022-04-26T15:55:46.271Z] ---> Running in 993b981eff07 [2022-04-26T15:55:46.530Z] Removing intermediate container 993b981eff07 [2022-04-26T15:55:46.530Z] ---> 6dd5e32c5fc7 [2022-04-26T15:55:46.530Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-26T15:55:46.530Z] ---> Running in a91f01505cd7 [2022-04-26T15:55:46.530Z] Removing intermediate container a91f01505cd7 [2022-04-26T15:55:46.530Z] ---> 9a61b316dc4b [2022-04-26T15:55:46.530Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-26T15:55:46.530Z] ---> Running in 8f2970a7a4b1 [2022-04-26T15:55:46.790Z] Removing intermediate container 8f2970a7a4b1 [2022-04-26T15:55:46.790Z] ---> b68669c31a7e [2022-04-26T15:55:46.790Z] Step 22/24 : LABEL arch=amd64 [2022-04-26T15:55:46.790Z] ---> Running in 5ffb87690e72 [2022-04-26T15:55:46.790Z] Removing intermediate container 5ffb87690e72 [2022-04-26T15:55:46.790Z] ---> b25cad5563e2 [2022-04-26T15:55:46.790Z] Step 23/24 : LABEL git_sha=9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [2022-04-26T15:55:47.050Z] ---> Running in bdfec43fabcb [2022-04-26T15:55:47.050Z] Removing intermediate container bdfec43fabcb [2022-04-26T15:55:47.050Z] ---> b752e1d3fb9d [2022-04-26T15:55:47.050Z] Step 24/24 : LABEL version=2.2.0-dev.11 [2022-04-26T15:55:47.050Z] ---> Running in 5c1d48174441 [2022-04-26T15:55:47.050Z] Removing intermediate container 5c1d48174441 [2022-04-26T15:55:47.050Z] ---> 11f759a3399e [2022-04-26T15:55:47.050Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T15:55:47.050Z] Successfully built 11f759a3399e [2022-04-26T15:55:47.050Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T15:55:47.139Z] provisioning config files... [2022-04-26T15:55:47.149Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3431840837734443535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:55:47.450Z] ---> docker-login.sh [2022-04-26T15:55:47.450Z] nexus3.edgexfoundry.org:10001 [2022-04-26T15:55:47.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:55:47.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:55:47.450Z] Configure a credential helper to remove this warning. See [2022-04-26T15:55:47.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:55:47.450Z] [2022-04-26T15:55:47.450Z] Login Succeeded [2022-04-26T15:55:47.450Z] nexus3.edgexfoundry.org:10002 [2022-04-26T15:55:47.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:55:47.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:55:47.713Z] Configure a credential helper to remove this warning. See [2022-04-26T15:55:47.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:55:47.713Z] [2022-04-26T15:55:47.713Z] Login Succeeded [2022-04-26T15:55:47.713Z] nexus3.edgexfoundry.org:10003 [2022-04-26T15:55:47.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:55:47.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:55:47.713Z] Configure a credential helper to remove this warning. See [2022-04-26T15:55:47.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:55:47.713Z] [2022-04-26T15:55:47.713Z] Login Succeeded [2022-04-26T15:55:47.713Z] nexus3.edgexfoundry.org:10004 [2022-04-26T15:55:47.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:55:47.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:55:47.978Z] Configure a credential helper to remove this warning. See [2022-04-26T15:55:47.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:55:47.978Z] [2022-04-26T15:55:47.978Z] Login Succeeded [2022-04-26T15:55:47.978Z] docker.io [2022-04-26T15:55:47.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T15:55:48.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T15:55:48.237Z] Configure a credential helper to remove this warning. See [2022-04-26T15:55:48.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T15:55:48.237Z] [2022-04-26T15:55:48.237Z] Login Succeeded [2022-04-26T15:55:48.237Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T15:55:48.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T15:55:48.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T15:55:48.302Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-04-26T15:55:48.302Z] 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [2022-04-26T15:55:48.302Z] latest [2022-04-26T15:55:48.302Z] 2.2.0-dev.11 [2022-04-26T15:55:48.302Z] 9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [2022-04-26T15:55:48.302Z] main [2022-04-26T15:55:48.302Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:48.630Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:48.925Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [2022-04-26T15:55:48.925Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-26T15:55:48.925Z] ae5ccf58dcd4: Preparing [2022-04-26T15:55:48.925Z] fd34e25dfd34: Preparing [2022-04-26T15:55:48.925Z] 195dddb95117: Preparing [2022-04-26T15:55:48.925Z] a1652fc6e2c5: Preparing [2022-04-26T15:55:48.925Z] b541d28bf3b4: Preparing [2022-04-26T15:55:48.925Z] b541d28bf3b4: Layer already exists [2022-04-26T15:55:48.925Z] ae5ccf58dcd4: Pushed [2022-04-26T15:55:48.925Z] fd34e25dfd34: Pushed [2022-04-26T15:55:49.184Z] a1652fc6e2c5: Pushed [2022-04-26T15:55:51.728Z] 195dddb95117: Pushed [2022-04-26T15:55:51.728Z] 9a3dba1396f359ed2da05b9e2de949f9cb839ab1: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:52.051Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:52.342Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-26T15:55:52.342Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-26T15:55:52.342Z] ae5ccf58dcd4: Preparing [2022-04-26T15:55:52.342Z] fd34e25dfd34: Preparing [2022-04-26T15:55:52.342Z] 195dddb95117: Preparing [2022-04-26T15:55:52.342Z] a1652fc6e2c5: Preparing [2022-04-26T15:55:52.342Z] b541d28bf3b4: Preparing [2022-04-26T15:55:52.342Z] a1652fc6e2c5: Layer already exists [2022-04-26T15:55:52.342Z] fd34e25dfd34: Layer already exists [2022-04-26T15:55:52.342Z] ae5ccf58dcd4: Layer already exists [2022-04-26T15:55:52.342Z] b541d28bf3b4: Layer already exists [2022-04-26T15:55:52.342Z] 195dddb95117: Layer already exists [2022-04-26T15:55:52.342Z] latest: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:52.650Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:52.944Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.11 [2022-04-26T15:55:52.944Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-26T15:55:52.944Z] ae5ccf58dcd4: Preparing [2022-04-26T15:55:52.944Z] fd34e25dfd34: Preparing [2022-04-26T15:55:52.944Z] 195dddb95117: Preparing [2022-04-26T15:55:52.944Z] a1652fc6e2c5: Preparing [2022-04-26T15:55:52.944Z] b541d28bf3b4: Preparing [2022-04-26T15:55:52.944Z] 195dddb95117: Layer already exists [2022-04-26T15:55:52.944Z] fd34e25dfd34: Layer already exists [2022-04-26T15:55:52.944Z] ae5ccf58dcd4: Layer already exists [2022-04-26T15:55:52.944Z] a1652fc6e2c5: Layer already exists [2022-04-26T15:55:52.944Z] b541d28bf3b4: Layer already exists [2022-04-26T15:55:52.944Z] 2.2.0-dev.11: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:53.243Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:53.535Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [2022-04-26T15:55:53.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-26T15:55:53.535Z] ae5ccf58dcd4: Preparing [2022-04-26T15:55:53.535Z] fd34e25dfd34: Preparing [2022-04-26T15:55:53.535Z] 195dddb95117: Preparing [2022-04-26T15:55:53.535Z] a1652fc6e2c5: Preparing [2022-04-26T15:55:53.535Z] b541d28bf3b4: Preparing [2022-04-26T15:55:53.535Z] 195dddb95117: Layer already exists [2022-04-26T15:55:53.535Z] a1652fc6e2c5: Layer already exists [2022-04-26T15:55:53.535Z] ae5ccf58dcd4: Layer already exists [2022-04-26T15:55:53.535Z] b541d28bf3b4: Layer already exists [2022-04-26T15:55:53.535Z] fd34e25dfd34: Layer already exists [2022-04-26T15:55:53.535Z] 9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:53.833Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:54.126Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-04-26T15:55:54.126Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-04-26T15:55:54.126Z] ae5ccf58dcd4: Preparing [2022-04-26T15:55:54.126Z] fd34e25dfd34: Preparing [2022-04-26T15:55:54.126Z] 195dddb95117: Preparing [2022-04-26T15:55:54.126Z] a1652fc6e2c5: Preparing [2022-04-26T15:55:54.126Z] b541d28bf3b4: Preparing [2022-04-26T15:55:54.126Z] a1652fc6e2c5: Layer already exists [2022-04-26T15:55:54.126Z] b541d28bf3b4: Layer already exists [2022-04-26T15:55:54.126Z] 195dddb95117: Layer already exists [2022-04-26T15:55:54.126Z] fd34e25dfd34: Layer already exists [2022-04-26T15:55:54.126Z] ae5ccf58dcd4: Layer already exists [2022-04-26T15:55:54.126Z] main: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T15:55:54.165Z] ===================================================== [Pipeline] echo [2022-04-26T15:55:54.176Z] taggedImages: [2022-04-26T15:55:54.176Z] - nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [2022-04-26T15:55:54.176Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-04-26T15:55:54.176Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.11 [2022-04-26T15:55:54.176Z] - nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [2022-04-26T15:55:54.176Z] - 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-26T15:55:54.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:54.557Z] [2022-04-26T15:55:54.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T15:55:54.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:55:54.862Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T15:55:54.862Z] 5eb5b503b376: Pulling fs layer [2022-04-26T15:55:54.862Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T15:55:54.862Z] ec43610c2a17: Pulling fs layer [2022-04-26T15:55:54.862Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T15:55:54.862Z] 33b1e0a273af: Pulling fs layer [2022-04-26T15:55:54.862Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T15:55:54.862Z] 2f39f015ded8: Pulling fs layer [2022-04-26T15:55:54.862Z] 33b1e0a273af: Waiting [2022-04-26T15:55:54.862Z] 5d3b04190fa2: Waiting [2022-04-26T15:55:54.862Z] 2f39f015ded8: Waiting [2022-04-26T15:55:54.862Z] 3a2ae6a8a46f: Waiting [2022-04-26T15:55:54.862Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T15:55:54.862Z] 5c69ac0246d0: Download complete [2022-04-26T15:55:54.862Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T15:55:54.862Z] 3a2ae6a8a46f: Download complete [2022-04-26T15:55:54.862Z] 33b1e0a273af: Verifying Checksum [2022-04-26T15:55:54.862Z] 33b1e0a273af: Download complete [2022-04-26T15:55:55.124Z] 5d3b04190fa2: Download complete [2022-04-26T15:55:55.124Z] ec43610c2a17: Verifying Checksum [2022-04-26T15:55:55.124Z] ec43610c2a17: Download complete [2022-04-26T15:55:55.124Z] 5eb5b503b376: Verifying Checksum [2022-04-26T15:55:55.124Z] 5eb5b503b376: Download complete [2022-04-26T15:55:55.695Z] 2f39f015ded8: Download complete [2022-04-26T15:55:56.264Z] 5eb5b503b376: Pull complete [2022-04-26T15:55:56.523Z] 5c69ac0246d0: Pull complete [2022-04-26T15:55:57.092Z] ec43610c2a17: Pull complete [2022-04-26T15:55:57.092Z] 3a2ae6a8a46f: Pull complete [2022-04-26T15:55:57.349Z] 33b1e0a273af: Pull complete [2022-04-26T15:55:57.349Z] 5d3b04190fa2: Pull complete [2022-04-26T15:56:02.626Z] 2f39f015ded8: Pull complete [2022-04-26T15:56:02.626Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T15:56:02.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T15:56:02.626Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T15:56:02.689Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T15:56:02.770Z] $ 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-26T15:56:05.101Z] $ docker top cd8613702e6b5b251763047a499385d5b0a9fc0b510b24c2f98ea0ff3a947aa5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T15:56:05.548Z] ---> job-cost.sh [2022-04-26T15:56:05.548Z] lf-activate-venv: SKIPPING [2022-04-26T15:56:05.548Z] INFO: No Stack... [2022-04-26T15:56:05.809Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T15:56:06.380Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T15:56:06.678Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-04-26T15:56:06.678Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T15:56:06.698Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [2022-04-26T15:56:06.702Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] did not exist. Created. [2022-04-26T15:56:06.703Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T15:56:07.015Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T15:56:07.045Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T15:56:07.053Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T15:56:07.073Z] $ docker stop --time=1 cd8613702e6b5b251763047a499385d5b0a9fc0b510b24c2f98ea0ff3a947aa5 [2022-04-26T15:56:08.256Z] $ docker rm -f cd8613702e6b5b251763047a499385d5b0a9fc0b510b24c2f98ea0ff3a947aa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T16:35:00.343Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-29075 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-04-26T16:35:00.355Z] Running in /w/workspace/device-snmp-go/21 [Pipeline] { [Pipeline] checkout [2022-04-26T16:35:00.583Z] Selected Git installation does not exist. Using Default [2022-04-26T16:35:00.583Z] The recommended git tool is: NONE [2022-04-26T16:35:06.783Z] using credential edgex-jenkins-ssh [2022-04-26T16:35:06.802Z] Cloning the remote Git repository [2022-04-26T16:35:06.862Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-26T16:35:06.933Z] > git init /w/workspace/device-snmp-go/21 # timeout=10 [2022-04-26T16:35:07.016Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-26T16:35:07.017Z] > git --version # timeout=10 [2022-04-26T16:35:07.035Z] > git --version # 'git version 2.25.1' [2022-04-26T16:35:07.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T16:35:07.098Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:35:08.167Z] Avoid second fetch [2022-04-26T16:35:08.168Z] Checking out Revision 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 (main) [2022-04-26T16:35:08.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-26T16:35:08.148Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T16:35:08.190Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T16:35:08.205Z] > git checkout -f 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 [2022-04-26T16:35:12.388Z] Commit message: "feat(snap): add support for env var injection (#160)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:35:13.312Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T16:35:13.312Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T16:35:13.312Z] Dload Upload Total Spent Left Speed [2022-04-26T16:35:13.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 63672 0 --:--:-- --:--:-- --:--:-- 64016 [Pipeline] sh [2022-04-26T16:35:13.872Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T16:35:14.217Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-04-26T16:35:14.217Z] /etc/docker/daemon.json [2022-04-26T16:35:14.217Z] { [2022-04-26T16:35:14.217Z] "registry-mirrors": [ [2022-04-26T16:35:14.217Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T16:35:14.217Z] ], [2022-04-26T16:35:14.217Z] "bip": "10.250.0.254/24", [2022-04-26T16:35:14.217Z] "hosts": [ [2022-04-26T16:35:14.217Z] "tcp://0.0.0.0:5555", [2022-04-26T16:35:14.217Z] "unix:///var/run/docker.sock" [2022-04-26T16:35:14.217Z] ], [2022-04-26T16:35:14.217Z] "mtu": 1458, [2022-04-26T16:35:14.217Z] "selinux-enabled": true, [2022-04-26T16:35:14.217Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T16:35:14.217Z] } [Pipeline] sh [2022-04-26T16:35:14.580Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T16:35:14.926Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:35:33.320Z] provisioning config files... [2022-04-26T16:35:33.348Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config7233697029198433715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:35:33.790Z] ---> docker-login.sh [2022-04-26T16:35:33.790Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:35:34.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:35:34.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:35:34.686Z] Configure a credential helper to remove this warning. See [2022-04-26T16:35:34.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:35:34.686Z] [2022-04-26T16:35:34.686Z] Login Succeeded [2022-04-26T16:35:34.686Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:35:34.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:35:35.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:35:35.243Z] Configure a credential helper to remove this warning. See [2022-04-26T16:35:35.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:35:35.243Z] [2022-04-26T16:35:35.243Z] Login Succeeded [2022-04-26T16:35:35.243Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:35:35.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:35:35.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:35:35.790Z] Configure a credential helper to remove this warning. See [2022-04-26T16:35:35.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:35:35.790Z] [2022-04-26T16:35:35.790Z] Login Succeeded [2022-04-26T16:35:35.790Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:35:36.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:35:36.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:35:36.065Z] Configure a credential helper to remove this warning. See [2022-04-26T16:35:36.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:35:36.065Z] [2022-04-26T16:35:36.065Z] Login Succeeded [2022-04-26T16:35:36.065Z] docker.io [2022-04-26T16:35:36.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:35:36.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:35:36.941Z] Configure a credential helper to remove this warning. See [2022-04-26T16:35:36.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:35:36.941Z] [2022-04-26T16:35:36.941Z] Login Succeeded [2022-04-26T16:35:36.941Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:35:36.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T16:35:37.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:35:37.417Z] ========================================================= [2022-04-26T16:35:37.417Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T16:35:37.417Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:35:37.796Z] + 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-26T16:35:38.071Z] Sending build context to Docker daemon 2.736MB [2022-04-26T16:35:38.071Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:35:38.071Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T16:35:38.348Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T16:35:38.348Z] 9b3977197b4f: Pulling fs layer [2022-04-26T16:35:38.348Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T16:35:38.348Z] 94645a83ff95: Pulling fs layer [2022-04-26T16:35:38.348Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T16:35:38.348Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T16:35:38.348Z] 3096ccb668a1: Pulling fs layer [2022-04-26T16:35:38.348Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T16:35:38.348Z] a4caa8a26152: Pulling fs layer [2022-04-26T16:35:38.348Z] 3096ccb668a1: Waiting [2022-04-26T16:35:38.348Z] e8cf19c19ddd: Waiting [2022-04-26T16:35:38.348Z] a4caa8a26152: Waiting [2022-04-26T16:35:38.348Z] 0c92f367c5e7: Waiting [2022-04-26T16:35:38.348Z] 3f3a8bcf1eab: Waiting [2022-04-26T16:35:38.348Z] 94645a83ff95: Download complete [2022-04-26T16:35:38.348Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T16:35:38.348Z] 1a89e8eeedd5: Download complete [2022-04-26T16:35:38.348Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T16:35:38.348Z] 0c92f367c5e7: Download complete [2022-04-26T16:35:38.348Z] 3096ccb668a1: Verifying Checksum [2022-04-26T16:35:38.349Z] 3096ccb668a1: Download complete [2022-04-26T16:35:38.349Z] 9b3977197b4f: Verifying Checksum [2022-04-26T16:35:38.349Z] 9b3977197b4f: Download complete [2022-04-26T16:35:38.349Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T16:35:38.349Z] e8cf19c19ddd: Download complete [2022-04-26T16:35:39.344Z] 9b3977197b4f: Pull complete [2022-04-26T16:35:39.622Z] 1a89e8eeedd5: Pull complete [2022-04-26T16:35:40.226Z] 94645a83ff95: Pull complete [2022-04-26T16:35:40.501Z] a4caa8a26152: Verifying Checksum [2022-04-26T16:35:40.501Z] a4caa8a26152: Download complete [2022-04-26T16:35:41.108Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T16:35:41.108Z] 3f3a8bcf1eab: Download complete [2022-04-26T16:35:53.524Z] 3f3a8bcf1eab: Pull complete [2022-04-26T16:35:53.524Z] 0c92f367c5e7: Pull complete [2022-04-26T16:35:53.524Z] 3096ccb668a1: Pull complete [2022-04-26T16:35:53.524Z] e8cf19c19ddd: Pull complete [2022-04-26T16:36:00.280Z] a4caa8a26152: Pull complete [2022-04-26T16:36:00.280Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T16:36:00.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T16:36:00.280Z] ---> 725f1c02e7f9 [2022-04-26T16:36:00.280Z] Step 3/12 : ARG MAKE='make build' [2022-04-26T16:36:00.557Z] ---> Running in e75461df8812 [2022-04-26T16:36:00.836Z] Removing intermediate container e75461df8812 [2022-04-26T16:36:00.836Z] ---> f0a961a833c1 [2022-04-26T16:36:00.836Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T16:36:00.836Z] ---> Running in ecb05afeec13 [2022-04-26T16:36:01.114Z] Removing intermediate container ecb05afeec13 [2022-04-26T16:36:01.114Z] ---> c6c5e555777f [2022-04-26T16:36:01.114Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T16:36:01.114Z] ---> Running in 747d98961a20 [2022-04-26T16:36:01.393Z] Removing intermediate container 747d98961a20 [2022-04-26T16:36:01.393Z] ---> 58e978b3352a [2022-04-26T16:36:01.393Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:36:01.676Z] ---> Running in 268faa964cc1 [2022-04-26T16:36:03.118Z] Removing intermediate container 268faa964cc1 [2022-04-26T16:36:03.118Z] ---> 9b2a41444ba3 [2022-04-26T16:36:03.118Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T16:36:03.399Z] ---> Running in dca8cf63af87 [2022-04-26T16:36:04.389Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:36:05.373Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:36:05.983Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T16:36:06.259Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T16:36:06.259Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T16:36:06.536Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T16:36:06.536Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T16:36:06.536Z] OK: 224 MiB in 56 packages [2022-04-26T16:36:07.532Z] Removing intermediate container dca8cf63af87 [2022-04-26T16:36:07.532Z] ---> ea868628a01a [2022-04-26T16:36:07.532Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-26T16:36:07.532Z] ---> Running in add780adca11 [2022-04-26T16:36:08.134Z] Removing intermediate container add780adca11 [2022-04-26T16:36:08.134Z] ---> 44d279863c34 [2022-04-26T16:36:08.134Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-26T16:36:08.413Z] ---> d55b5b67f8b1 [2022-04-26T16:36:08.413Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:36:08.413Z] ---> Running in 7a7d0eea19dc [2022-04-26T16:36:55.468Z] Removing intermediate container 7a7d0eea19dc [2022-04-26T16:36:55.468Z] ---> 021b04c97848 [2022-04-26T16:36:55.468Z] Step 11/12 : COPY . . [2022-04-26T16:36:55.468Z] ---> 7281cab9c7c3 [2022-04-26T16:36:55.468Z] Step 12/12 : RUN ${MAKE} [2022-04-26T16:36:55.468Z] ---> Running in 5798c8c081a4 [2022-04-26T16:36:55.468Z] noop [2022-04-26T16:36:55.468Z] Removing intermediate container 5798c8c081a4 [2022-04-26T16:36:55.468Z] ---> 521e81394dd7 [2022-04-26T16:36:55.468Z] Successfully built 521e81394dd7 [2022-04-26T16:36:55.468Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:36:55.907Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:36:55.907Z] . [Pipeline] withDockerContainer [2022-04-26T16:36:56.143Z] prd-ubuntu20.04-docker-arm64-4c-16g-29075 does not seem to be running inside a container [2022-04-26T16:36:56.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@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-26T16:36:57.512Z] $ docker top 8a3c34d298dc127a2c8060371d8eb3470e52857b44c0248f4f94fdad9b7fe372 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:36:58.430Z] + go version [2022-04-26T16:36:58.430Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T16:36:58.466Z] $ docker stop --time=1 8a3c34d298dc127a2c8060371d8eb3470e52857b44c0248f4f94fdad9b7fe372 [2022-04-26T16:37:00.116Z] $ docker rm -f 8a3c34d298dc127a2c8060371d8eb3470e52857b44c0248f4f94fdad9b7fe372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:37:00.746Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T16:37:00.746Z] . [Pipeline] withDockerContainer [2022-04-26T16:37:00.970Z] prd-ubuntu20.04-docker-arm64-4c-16g-29075 does not seem to be running inside a container [2022-04-26T16:37:01.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@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-26T16:37:02.381Z] $ docker top 2a54da986e11ede3b29b8734566a5563e9ca9ee430c114294efaccee0517c589 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T16:37:03.288Z] + make test [2022-04-26T16:37:03.288Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T16:37:05.267Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-26T16:38:27.134Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-26T16:38:27.134Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements [2022-04-26T16:38:27.134Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T16:38:27.134Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T16:38:45.493Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T16:38:45.493Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T16:38:45.493Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T16:38:46.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T16:38:46.977Z] $ docker stop --time=1 2a54da986e11ede3b29b8734566a5563e9ca9ee430c114294efaccee0517c589 [2022-04-26T16:38:48.702Z] $ docker rm -f 2a54da986e11ede3b29b8734566a5563e9ca9ee430c114294efaccee0517c589 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:38:49.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T16:38:49.665Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T16:38:50.122Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T16:38:50.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T16:38:50.865Z] + ls -al . [2022-04-26T16:38:50.865Z] total 160 [2022-04-26T16:38:50.865Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:38 . [2022-04-26T16:38:50.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:35 .. [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 16:35 .dockerignore [2022-04-26T16:38:50.865Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:35 .git [2022-04-26T16:38:50.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:35 .github [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 16:35 .gitignore [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:35 .golangci.yml [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 26 16:35 Attribution.txt [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 26 16:35 CHANGELOG.md [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 26 16:35 Dockerfile [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:35 GOVERNANCE.md [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 16:35 Jenkinsfile [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:35 LICENSE [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 26 16:35 Makefile [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 16:35 OWNERS.md [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 26 16:35 README.md [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:54 VERSION [2022-04-26T16:38:50.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:35 bin [2022-04-26T16:38:50.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:35 cmd [2022-04-26T16:38:50.865Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 26 16:38 coverage.out [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 26 16:35 go.mod [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 26 16:35 go.sum [2022-04-26T16:38:50.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:35 internal [2022-04-26T16:38:50.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:35 snap [2022-04-26T16:38:50.865Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 16:35 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:38:51.216Z] + 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=9a3dba1396f359ed2da05b9e2de949f9cb839ab1 --label arch=arm64 --label version=2.2.0-dev.11 . [2022-04-26T16:38:51.492Z] Sending build context to Docker daemon 2.744MB [2022-04-26T16:38:51.492Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T16:38:51.492Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-26T16:38:51.492Z] ---> 521e81394dd7 [2022-04-26T16:38:51.492Z] Step 3/24 : ARG MAKE='make build' [2022-04-26T16:38:51.766Z] ---> Running in 612aed38e6e0 [2022-04-26T16:38:52.039Z] Removing intermediate container 612aed38e6e0 [2022-04-26T16:38:52.039Z] ---> c167a8641b31 [2022-04-26T16:38:52.039Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T16:38:52.039Z] ---> Running in 699980f15dcb [2022-04-26T16:38:52.317Z] Removing intermediate container 699980f15dcb [2022-04-26T16:38:52.317Z] ---> f4ee9e7a363a [2022-04-26T16:38:52.317Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T16:38:52.317Z] ---> Running in ddbd1efd464a [2022-04-26T16:38:52.591Z] Removing intermediate container ddbd1efd464a [2022-04-26T16:38:52.591Z] ---> 5f3a8fbe4863 [2022-04-26T16:38:52.591Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T16:38:52.863Z] ---> Running in bc3e3ccf877f [2022-04-26T16:38:54.314Z] Removing intermediate container bc3e3ccf877f [2022-04-26T16:38:54.314Z] ---> 3c4d63abbcfe [2022-04-26T16:38:54.314Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T16:38:54.590Z] ---> Running in 0349d3761c77 [2022-04-26T16:38:55.571Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:38:56.550Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:38:57.147Z] OK: 224 MiB in 56 packages [2022-04-26T16:38:58.130Z] Removing intermediate container 0349d3761c77 [2022-04-26T16:38:58.130Z] ---> 14c310dad4f5 [2022-04-26T16:38:58.130Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-26T16:38:58.130Z] ---> Running in d78436a24534 [2022-04-26T16:38:58.406Z] Removing intermediate container d78436a24534 [2022-04-26T16:38:58.406Z] ---> b7fc6710899e [2022-04-26T16:38:58.406Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-26T16:38:59.010Z] ---> d42a2a300569 [2022-04-26T16:38:59.010Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T16:38:59.010Z] ---> Running in 57dcaa75430a [2022-04-26T16:39:00.988Z] Removing intermediate container 57dcaa75430a [2022-04-26T16:39:00.988Z] ---> 5db1602efe58 [2022-04-26T16:39:00.988Z] Step 11/24 : COPY . . [2022-04-26T16:39:01.597Z] ---> 1fcc185a5cfb [2022-04-26T16:39:01.597Z] Step 12/24 : RUN ${MAKE} [2022-04-26T16:39:01.597Z] ---> Running in ef9a1732ff5c [2022-04-26T16:39:02.588Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-26T16:41:09.482Z] Removing intermediate container ef9a1732ff5c [2022-04-26T16:41:09.482Z] ---> 674e4d06d6f6 [2022-04-26T16:41:09.482Z] Step 13/24 : FROM alpine:3.14 [2022-04-26T16:41:09.482Z] 3.14: Pulling from library/alpine [2022-04-26T16:41:09.482Z] 455c02918c45: Pulling fs layer [2022-04-26T16:41:09.482Z] 455c02918c45: Verifying Checksum [2022-04-26T16:41:09.482Z] 455c02918c45: Download complete [2022-04-26T16:41:09.482Z] 455c02918c45: Pull complete [2022-04-26T16:41:09.482Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T16:41:09.482Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T16:41:09.482Z] ---> ac73e934f311 [2022-04-26T16:41:09.482Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T16:41:09.482Z] ---> Running in c8ce1e86cc78 [2022-04-26T16:41:09.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T16:41:09.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T16:41:09.482Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T16:41:09.482Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T16:41:09.482Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T16:41:09.482Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T16:41:09.482Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T16:41:09.482Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T16:41:09.482Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T16:41:09.482Z] OK: 8 MiB in 20 packages [2022-04-26T16:41:09.482Z] Removing intermediate container c8ce1e86cc78 [2022-04-26T16:41:09.482Z] ---> 1df8143fe55d [2022-04-26T16:41:09.482Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-26T16:41:09.482Z] ---> 2fd42d6fffc9 [2022-04-26T16:41:09.482Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-26T16:41:09.482Z] ---> 2d3ee4ec9784 [2022-04-26T16:41:09.482Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-26T16:41:09.482Z] ---> 7603784a8cb0 [2022-04-26T16:41:09.482Z] Step 18/24 : EXPOSE 59993 [2022-04-26T16:41:09.482Z] ---> Running in c436def826fc [2022-04-26T16:41:09.482Z] Removing intermediate container c436def826fc [2022-04-26T16:41:09.482Z] ---> fd49c80eb235 [2022-04-26T16:41:09.482Z] Step 19/24 : EXPOSE 161 [2022-04-26T16:41:09.482Z] ---> Running in b330e55720be [2022-04-26T16:41:09.482Z] Removing intermediate container b330e55720be [2022-04-26T16:41:09.482Z] ---> 7a9f88c82830 [2022-04-26T16:41:09.482Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-26T16:41:09.482Z] ---> Running in 9980eb88ee76 [2022-04-26T16:41:09.482Z] Removing intermediate container 9980eb88ee76 [2022-04-26T16:41:09.482Z] ---> bb848044e8d6 [2022-04-26T16:41:09.482Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-26T16:41:09.482Z] ---> Running in 0bbdd8aabeaf [2022-04-26T16:41:09.482Z] Removing intermediate container 0bbdd8aabeaf [2022-04-26T16:41:09.482Z] ---> eafbb014aa27 [2022-04-26T16:41:09.482Z] Step 22/24 : LABEL arch=arm64 [2022-04-26T16:41:09.482Z] ---> Running in 0cc0027f3236 [2022-04-26T16:41:09.482Z] Removing intermediate container 0cc0027f3236 [2022-04-26T16:41:09.482Z] ---> 6c315b285dd8 [2022-04-26T16:41:09.482Z] Step 23/24 : LABEL git_sha=9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [2022-04-26T16:41:09.482Z] ---> Running in 7ca783f47a43 [2022-04-26T16:41:09.482Z] Removing intermediate container 7ca783f47a43 [2022-04-26T16:41:09.482Z] ---> 1fb696d9f647 [2022-04-26T16:41:09.482Z] Step 24/24 : LABEL version=2.2.0-dev.11 [2022-04-26T16:41:09.482Z] ---> Running in 8c697a8ed284 [2022-04-26T16:41:09.482Z] Removing intermediate container 8c697a8ed284 [2022-04-26T16:41:09.482Z] ---> 740c9af7c0c2 [2022-04-26T16:41:09.482Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T16:41:09.482Z] Successfully built 740c9af7c0c2 [2022-04-26T16:41:09.482Z] 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-26T16:41:09.579Z] provisioning config files... [2022-04-26T16:41:09.600Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config1128702069983416711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:41:09.957Z] ---> docker-login.sh [2022-04-26T16:41:09.957Z] nexus3.edgexfoundry.org:10001 [2022-04-26T16:41:10.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:41:10.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:41:10.232Z] Configure a credential helper to remove this warning. See [2022-04-26T16:41:10.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:41:10.232Z] [2022-04-26T16:41:10.232Z] Login Succeeded [2022-04-26T16:41:10.232Z] nexus3.edgexfoundry.org:10002 [2022-04-26T16:41:10.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:41:10.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:41:10.831Z] Configure a credential helper to remove this warning. See [2022-04-26T16:41:10.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:41:10.831Z] [2022-04-26T16:41:10.831Z] Login Succeeded [2022-04-26T16:41:10.831Z] nexus3.edgexfoundry.org:10003 [2022-04-26T16:41:11.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:41:11.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:41:11.378Z] Configure a credential helper to remove this warning. See [2022-04-26T16:41:11.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:41:11.378Z] [2022-04-26T16:41:11.378Z] Login Succeeded [2022-04-26T16:41:11.378Z] nexus3.edgexfoundry.org:10004 [2022-04-26T16:41:11.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:41:11.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:41:11.927Z] Configure a credential helper to remove this warning. See [2022-04-26T16:41:11.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:41:11.927Z] [2022-04-26T16:41:11.927Z] Login Succeeded [2022-04-26T16:41:11.927Z] docker.io [2022-04-26T16:41:12.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T16:41:12.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T16:41:12.480Z] Configure a credential helper to remove this warning. See [2022-04-26T16:41:12.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T16:41:12.480Z] [2022-04-26T16:41:12.480Z] Login Succeeded [2022-04-26T16:41:12.480Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T16:41:12.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T16:41:12.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T16:41:12.547Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-04-26T16:41:12.547Z] 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [2022-04-26T16:41:12.547Z] latest [2022-04-26T16:41:12.547Z] 2.2.0-dev.11 [2022-04-26T16:41:12.547Z] 9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [2022-04-26T16:41:12.547Z] main [2022-04-26T16:41:12.547Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:12.905Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:13.246Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [2022-04-26T16:41:13.246Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-26T16:41:13.246Z] 784db738fa2c: Preparing [2022-04-26T16:41:13.246Z] 6b8c89506475: Preparing [2022-04-26T16:41:13.246Z] 02ee62121cfb: Preparing [2022-04-26T16:41:13.246Z] f7d58c8950ac: Preparing [2022-04-26T16:41:13.246Z] f73e7dbfee58: Preparing [2022-04-26T16:41:13.524Z] f73e7dbfee58: Layer already exists [2022-04-26T16:41:13.524Z] 784db738fa2c: Pushed [2022-04-26T16:41:13.524Z] 6b8c89506475: Pushed [2022-04-26T16:41:14.124Z] f7d58c8950ac: Pushed [2022-04-26T16:41:20.834Z] 02ee62121cfb: Pushed [2022-04-26T16:41:20.834Z] 9a3dba1396f359ed2da05b9e2de949f9cb839ab1: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:21.182Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:21.529Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-26T16:41:21.529Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-26T16:41:21.529Z] 784db738fa2c: Preparing [2022-04-26T16:41:21.529Z] 6b8c89506475: Preparing [2022-04-26T16:41:21.529Z] 02ee62121cfb: Preparing [2022-04-26T16:41:21.529Z] f7d58c8950ac: Preparing [2022-04-26T16:41:21.529Z] f73e7dbfee58: Preparing [2022-04-26T16:41:21.529Z] f7d58c8950ac: Layer already exists [2022-04-26T16:41:21.529Z] 784db738fa2c: Layer already exists [2022-04-26T16:41:21.529Z] 6b8c89506475: Layer already exists [2022-04-26T16:41:21.529Z] f73e7dbfee58: Layer already exists [2022-04-26T16:41:21.529Z] 02ee62121cfb: Layer already exists [2022-04-26T16:41:21.801Z] latest: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:22.150Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:22.521Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.11 [2022-04-26T16:41:22.521Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-26T16:41:22.521Z] 784db738fa2c: Preparing [2022-04-26T16:41:22.521Z] 6b8c89506475: Preparing [2022-04-26T16:41:22.521Z] 02ee62121cfb: Preparing [2022-04-26T16:41:22.521Z] f7d58c8950ac: Preparing [2022-04-26T16:41:22.521Z] f73e7dbfee58: Preparing [2022-04-26T16:41:22.521Z] f73e7dbfee58: Layer already exists [2022-04-26T16:41:22.521Z] 02ee62121cfb: Layer already exists [2022-04-26T16:41:22.521Z] 6b8c89506475: Layer already exists [2022-04-26T16:41:22.521Z] 784db738fa2c: Layer already exists [2022-04-26T16:41:22.521Z] f7d58c8950ac: Layer already exists [2022-04-26T16:41:22.795Z] 2.2.0-dev.11: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:23.141Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:23.484Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [2022-04-26T16:41:23.484Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-26T16:41:23.484Z] 784db738fa2c: Preparing [2022-04-26T16:41:23.484Z] 6b8c89506475: Preparing [2022-04-26T16:41:23.484Z] 02ee62121cfb: Preparing [2022-04-26T16:41:23.484Z] f7d58c8950ac: Preparing [2022-04-26T16:41:23.484Z] f73e7dbfee58: Preparing [2022-04-26T16:41:23.484Z] f7d58c8950ac: Layer already exists [2022-04-26T16:41:23.484Z] 6b8c89506475: Layer already exists [2022-04-26T16:41:23.484Z] f73e7dbfee58: Layer already exists [2022-04-26T16:41:23.484Z] 02ee62121cfb: Layer already exists [2022-04-26T16:41:23.484Z] 784db738fa2c: Layer already exists [2022-04-26T16:41:23.758Z] 9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:24.108Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:24.454Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-04-26T16:41:24.454Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-04-26T16:41:24.454Z] 784db738fa2c: Preparing [2022-04-26T16:41:24.454Z] 6b8c89506475: Preparing [2022-04-26T16:41:24.454Z] 02ee62121cfb: Preparing [2022-04-26T16:41:24.454Z] f7d58c8950ac: Preparing [2022-04-26T16:41:24.454Z] f73e7dbfee58: Preparing [2022-04-26T16:41:24.454Z] 02ee62121cfb: Layer already exists [2022-04-26T16:41:24.454Z] f7d58c8950ac: Layer already exists [2022-04-26T16:41:24.454Z] 6b8c89506475: Layer already exists [2022-04-26T16:41:24.454Z] f73e7dbfee58: Layer already exists [2022-04-26T16:41:24.454Z] 784db738fa2c: Layer already exists [2022-04-26T16:41:24.727Z] main: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-26T16:41:24.776Z] ===================================================== [Pipeline] echo [2022-04-26T16:41:24.787Z] taggedImages: [2022-04-26T16:41:24.787Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [2022-04-26T16:41:24.787Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-04-26T16:41:24.787Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.11 [2022-04-26T16:41:24.787Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [2022-04-26T16:41:24.787Z] - 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-26T16:41:25.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:41:25.149Z] [2022-04-26T16:41:25.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:41:25.508Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:41:25.790Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T16:41:25.790Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T16:41:25.790Z] 04944245beec: Pulling fs layer [2022-04-26T16:41:25.790Z] 699f458cf7ca: Pulling fs layer [2022-04-26T16:41:25.790Z] 765212b225bb: Pulling fs layer [2022-04-26T16:41:25.790Z] f23df028b6ca: Pulling fs layer [2022-04-26T16:41:25.790Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T16:41:25.790Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T16:41:25.790Z] 765212b225bb: Waiting [2022-04-26T16:41:25.790Z] f23df028b6ca: Waiting [2022-04-26T16:41:25.790Z] d65c8cfc05b1: Waiting [2022-04-26T16:41:25.790Z] 2437ff75d9bd: Waiting [2022-04-26T16:41:25.790Z] 04944245beec: Verifying Checksum [2022-04-26T16:41:25.790Z] 04944245beec: Download complete [2022-04-26T16:41:25.790Z] 765212b225bb: Verifying Checksum [2022-04-26T16:41:25.790Z] 765212b225bb: Download complete [2022-04-26T16:41:25.790Z] f23df028b6ca: Download complete [2022-04-26T16:41:25.790Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T16:41:25.790Z] d65c8cfc05b1: Download complete [2022-04-26T16:41:26.067Z] 699f458cf7ca: Verifying Checksum [2022-04-26T16:41:26.067Z] 699f458cf7ca: Download complete [2022-04-26T16:41:26.342Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T16:41:26.342Z] 8998bd30e6a1: Download complete [2022-04-26T16:41:28.975Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T16:41:28.975Z] 2437ff75d9bd: Download complete [2022-04-26T16:41:30.972Z] 8998bd30e6a1: Pull complete [2022-04-26T16:41:31.249Z] 04944245beec: Pull complete [2022-04-26T16:41:32.699Z] 699f458cf7ca: Pull complete [2022-04-26T16:41:32.974Z] 765212b225bb: Pull complete [2022-04-26T16:41:33.960Z] f23df028b6ca: Pull complete [2022-04-26T16:41:33.960Z] d65c8cfc05b1: Pull complete [2022-04-26T16:41:49.053Z] 2437ff75d9bd: Pull complete [2022-04-26T16:41:49.053Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T16:41:49.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T16:41:49.053Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T16:41:49.301Z] prd-ubuntu20.04-docker-arm64-4c-16g-29075 does not seem to be running inside a container [2022-04-26T16:41:49.399Z] $ 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/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@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-26T16:41:51.839Z] $ docker top 449346e4844d268d01e3388e7dc91ac13605a8ed492e1af7ba913b4ac0ce6cc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:41:52.750Z] ---> job-cost.sh [2022-04-26T16:41:52.750Z] lf-activate-venv: SKIPPING [2022-04-26T16:41:52.750Z] INFO: No Stack... [2022-04-26T16:41:53.346Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T16:41:54.327Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T16:41:55.012Z] + cat /w/workspace/device-snmp-go/21/archives/cost.csv [2022-04-26T16:41:55.012Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T16:41:55.082Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [2022-04-26T16:41:55.090Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] did not exist. Created. [2022-04-26T16:41:55.090Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T16:41:55.776Z] /w/workspace/device-snmp-go/21@tmp/durable-693f3e5d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T16:41:56.459Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T16:41:56.481Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T16:41:56.529Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T16:41:56.536Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T16:41:56.563Z] $ docker stop --time=1 449346e4844d268d01e3388e7dc91ac13605a8ed492e1af7ba913b4ac0ce6cc9 [2022-04-26T16:41:58.072Z] $ docker rm -f 449346e4844d268d01e3388e7dc91ac13605a8ed492e1af7ba913b4ac0ce6cc9 [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-26T16:41:58.598Z] provisioning config files... [2022-04-26T16:41:58.606Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5720603062831990823tmp [Pipeline] { [Pipeline] sh [2022-04-26T16:41:58.898Z] + set +x [2022-04-26T16:41:58.898Z] + curl -s https://codecov.io/bash [2022-04-26T16:41:58.898Z] + bash -s -- [2022-04-26T16:41:58.898Z] [2022-04-26T16:41:58.898Z] _____ _ [2022-04-26T16:41:58.898Z] / ____| | | [2022-04-26T16:41:58.898Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T16:41:58.898Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T16:41:58.898Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T16:41:58.898Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T16:41:58.898Z] Bash-1.0.6 [2022-04-26T16:41:58.898Z] [2022-04-26T16:41:58.898Z] [2022-04-26T16:41:58.898Z] ==> git version 2.25.1 found [2022-04-26T16:41:58.898Z] ==> 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-26T16:41:58.898Z] Release-Date: 2020-01-08 [2022-04-26T16:41:58.898Z] 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-26T16:41:58.898Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T16:41:58.898Z] ==> Jenkins CI detected. [2022-04-26T16:41:58.898Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-26T16:41:58.898Z] project root: . [2022-04-26T16:41:58.898Z] --> token set from env [2022-04-26T16:41:58.898Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T16:41:58.898Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T16:41:58.898Z] ==> Python coveragepy not found [2022-04-26T16:41:58.898Z] ==> Searching for coverage reports in: [2022-04-26T16:41:58.898Z] + . [2022-04-26T16:41:58.898Z] -> Found 1 reports [2022-04-26T16:41:58.898Z] ==> Detecting git/mercurial file structure [2022-04-26T16:41:58.898Z] ==> Reading reports [2022-04-26T16:41:58.898Z] + ./coverage.out bytes=7631 [2022-04-26T16:41:58.898Z] ==> Appending adjustments [2022-04-26T16:41:58.898Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T16:41:59.158Z] + Found adjustments [2022-04-26T16:41:59.158Z] ==> Gzipping contents [2022-04-26T16:41:59.158Z] 4.0K /tmp/codecov.62t4RL.gz [2022-04-26T16:41:59.158Z] ==> Uploading reports [2022-04-26T16:41:59.158Z] url: https://codecov.io [2022-04-26T16:41:59.158Z] query: branch=main&commit=9a3dba1396f359ed2da05b9e2de949f9cb839ab1&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-26T16:41:59.158Z] -> Pinging Codecov [2022-04-26T16:41:59.158Z] 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=9a3dba1396f359ed2da05b9e2de949f9cb839ab1&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-26T16:41:59.158Z] -> Uploading to [2022-04-26T16:41:59.158Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/6C56EA5C29638FB4528AC87E60AF5AE0/9a3dba1396f359ed2da05b9e2de949f9cb839ab1/1dc03453-fa9f-46af-b8d3-77279551621d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T164159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0f3f330ae80cf7698579ca3027f2ecec333aa430e5beaae27a4eaadbd9eaccf [2022-04-26T16:41:59.419Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T16:41:59.419Z] Dload Upload Total Spent Left Speed [2022-04-26T16:41:59.419Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7814 --:--:-- --:--:-- --:--:-- 7776 100 1602 0 0 100 1602 0 6995 --:--:-- --:--:-- --:--:-- 6965 [2022-04-26T16:41:59.419Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] } [2022-04-26T16:41:59.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-26T16:41:59.713Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-26T16:41:59.722Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:42:00.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T16:42:00.019Z] [2022-04-26T16:42:00.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:42:00.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T16:42:00.324Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-26T16:42:00.324Z] 188c0c94c7c5: Pulling fs layer [2022-04-26T16:42:00.324Z] 0ef7d3d256c8: Pulling fs layer [2022-04-26T16:42:00.324Z] de9db76c5a1d: Pulling fs layer [2022-04-26T16:42:00.324Z] 0eba1c9be4d2: Pulling fs layer [2022-04-26T16:42:00.324Z] 0d57e429df01: Pulling fs layer [2022-04-26T16:42:00.324Z] 4e4be7b47b0d: Pulling fs layer [2022-04-26T16:42:00.324Z] e1f770b5df2f: Pulling fs layer [2022-04-26T16:42:00.324Z] 85a0685a4137: Pulling fs layer [2022-04-26T16:42:00.324Z] 4e4be7b47b0d: Waiting [2022-04-26T16:42:00.324Z] e1f770b5df2f: Waiting [2022-04-26T16:42:00.324Z] 85a0685a4137: Waiting [2022-04-26T16:42:00.324Z] 0eba1c9be4d2: Waiting [2022-04-26T16:42:00.324Z] 0d57e429df01: Waiting [2022-04-26T16:42:00.324Z] de9db76c5a1d: Verifying Checksum [2022-04-26T16:42:00.324Z] de9db76c5a1d: Download complete [2022-04-26T16:42:00.324Z] 0ef7d3d256c8: Download complete [2022-04-26T16:42:00.324Z] 0d57e429df01: Verifying Checksum [2022-04-26T16:42:00.324Z] 0d57e429df01: Download complete [2022-04-26T16:42:00.324Z] 188c0c94c7c5: Verifying Checksum [2022-04-26T16:42:00.324Z] 188c0c94c7c5: Download complete [2022-04-26T16:42:00.324Z] 4e4be7b47b0d: Download complete [2022-04-26T16:42:00.584Z] 188c0c94c7c5: Pull complete [2022-04-26T16:42:00.584Z] e1f770b5df2f: Verifying Checksum [2022-04-26T16:42:00.584Z] e1f770b5df2f: Download complete [2022-04-26T16:42:00.584Z] 0ef7d3d256c8: Pull complete [2022-04-26T16:42:00.848Z] de9db76c5a1d: Pull complete [2022-04-26T16:42:01.109Z] 0eba1c9be4d2: Verifying Checksum [2022-04-26T16:42:01.109Z] 0eba1c9be4d2: Download complete [2022-04-26T16:42:01.369Z] 85a0685a4137: Verifying Checksum [2022-04-26T16:42:01.369Z] 85a0685a4137: Download complete [2022-04-26T16:42:05.572Z] 0eba1c9be4d2: Pull complete [2022-04-26T16:42:05.572Z] 0d57e429df01: Pull complete [2022-04-26T16:42:05.572Z] 4e4be7b47b0d: Pull complete [2022-04-26T16:42:05.832Z] e1f770b5df2f: Pull complete [2022-04-26T16:42:10.035Z] 85a0685a4137: Pull complete [2022-04-26T16:42:10.035Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-26T16:42:10.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-26T16:42:10.035Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-26T16:42:10.113Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T16:42:10.152Z] $ 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-26T16:42:12.533Z] $ docker top 440ba7d64dbc72c2f488eaaab8bbcb1c5d5e55caa360357bddb98fc7e4d4da4c -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-26T16:42:12.633Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-26T16:42:12.915Z] + set -o pipefail [2022-04-26T16:42:12.915Z] + snyk monitor '--org=edgex-jenkins' [2022-04-26T16:42:19.574Z] [2022-04-26T16:42:19.574Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-04-26T16:42:19.574Z] [2022-04-26T16:42:19.574Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/8676b7e7-977d-44eb-8c03-f9019bb71489 [2022-04-26T16:42:19.574Z] [2022-04-26T16:42:19.574Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-26T16:42:19.574Z] [2022-04-26T16:42:19.574Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-26T16:42:19.574Z] [2022-04-26T16:42:19.574Z] [Pipeline] } [2022-04-26T16:42:19.585Z] $ docker stop --time=1 440ba7d64dbc72c2f488eaaab8bbcb1c5d5e55caa360357bddb98fc7e4d4da4c [2022-04-26T16:42:21.971Z] $ docker rm -f 440ba7d64dbc72c2f488eaaab8bbcb1c5d5e55caa360357bddb98fc7e4d4da4c [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-26T16:42:22.738Z] + git log --format=format:%s -1 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] sh [2022-04-26T16:42:23.036Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:42:23.036Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:42:23.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:42:23.332Z] . [Pipeline] withDockerContainer [2022-04-26T16:42:23.403Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T16:42:23.436Z] $ 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-26T16:42:23.882Z] $ docker top eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:42:23.984Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:42:23.984Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:42:24.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:42:24.105Z] $ docker exec eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 ssh-agent [2022-04-26T16:42:24.233Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDeAJML/agent.15 [2022-04-26T16:42:24.233Z] SSH_AGENT_PID=21 [2022-04-26T16:42:24.239Z] Running ssh-add (command line suppressed) [2022-04-26T16:42:24.355Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2132346071690889477.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2132346071690889477.key) [2022-04-26T16:42:24.374Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:42:24.667Z] + git semver tag [2022-04-26T16:42:24.667Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:42:24.667Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-26T16:42:24.667Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-26T16:42:24.667Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:42:24.667Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:42:24.667Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:42:24.667Z] # $SEMVER_BRANCH = main [2022-04-26T16:42:24.667Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-26T16:42:24.667Z] # 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 HEAD [2022-04-26T16:42:24.667Z] # -> Force: false [2022-04-26T16:42:24.667Z] # e6b150228c7c82325d83a01b9af973fcc7e15172 refs/tags/v2.2.0-dev.11 [Pipeline] } [2022-04-26T16:42:24.674Z] $ docker exec --env ******** --env ******** eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 ssh-agent -k [2022-04-26T16:42:24.779Z] unset SSH_AUTH_SOCK; [2022-04-26T16:42:24.779Z] unset SSH_AGENT_PID; [2022-04-26T16:42:24.779Z] echo Agent pid 21 killed; [2022-04-26T16:42:24.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:42:25.101Z] + git semver [Pipeline] } [2022-04-26T16:42:25.110Z] $ docker stop --time=1 eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 [2022-04-26T16:42:26.397Z] $ docker rm -f eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:42:26.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T16:42:26.804Z] [2022-04-26T16:42:26.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:42:27.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T16:42:27.105Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-26T16:42:27.105Z] ab5ef0e58194: Pulling fs layer [2022-04-26T16:42:27.105Z] 9712f1f96733: Pulling fs layer [2022-04-26T16:42:27.105Z] 63f879dbbcfc: Pulling fs layer [2022-04-26T16:42:27.105Z] 0d9ebad4ef96: Pulling fs layer [2022-04-26T16:42:27.105Z] e9a5061849ea: Pulling fs layer [2022-04-26T16:42:27.105Z] d747dcd14b5f: Pulling fs layer [2022-04-26T16:42:27.105Z] 2de7ff778b66: Pulling fs layer [2022-04-26T16:42:27.105Z] e9a5061849ea: Waiting [2022-04-26T16:42:27.105Z] d747dcd14b5f: Waiting [2022-04-26T16:42:27.105Z] 2de7ff778b66: Waiting [2022-04-26T16:42:27.105Z] 0d9ebad4ef96: Waiting [2022-04-26T16:42:27.105Z] 9712f1f96733: Verifying Checksum [2022-04-26T16:42:27.105Z] 9712f1f96733: Download complete [2022-04-26T16:42:27.365Z] 63f879dbbcfc: Verifying Checksum [2022-04-26T16:42:27.365Z] 63f879dbbcfc: Download complete [2022-04-26T16:42:27.627Z] e9a5061849ea: Verifying Checksum [2022-04-26T16:42:27.627Z] e9a5061849ea: Download complete [2022-04-26T16:42:27.627Z] d747dcd14b5f: Verifying Checksum [2022-04-26T16:42:27.627Z] d747dcd14b5f: Download complete [2022-04-26T16:42:27.627Z] 0d9ebad4ef96: Verifying Checksum [2022-04-26T16:42:27.627Z] 0d9ebad4ef96: Download complete [2022-04-26T16:42:27.627Z] ab5ef0e58194: Verifying Checksum [2022-04-26T16:42:27.627Z] ab5ef0e58194: Download complete [2022-04-26T16:42:27.886Z] 2de7ff778b66: Verifying Checksum [2022-04-26T16:42:31.185Z] ab5ef0e58194: Pull complete [2022-04-26T16:42:31.185Z] 9712f1f96733: Pull complete [2022-04-26T16:42:31.446Z] 63f879dbbcfc: Pull complete [2022-04-26T16:42:35.646Z] 0d9ebad4ef96: Pull complete [2022-04-26T16:42:35.646Z] e9a5061849ea: Pull complete [2022-04-26T16:42:35.905Z] d747dcd14b5f: Pull complete [2022-04-26T16:42:37.288Z] 2de7ff778b66: Pull complete [2022-04-26T16:42:37.288Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-26T16:42:37.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-26T16:42:37.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-26T16:42:37.366Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T16:42:37.401Z] $ 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-26T16:42:39.664Z] $ docker top bd25542d4ebbb950c078b551583ef1076cc6f69269ca9c2061463f1abe5f9bcc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:42:39.755Z] provisioning config files... [2022-04-26T16:42:39.764Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5465427974911964874tmp [2022-04-26T16:42:39.776Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4830811597056640094tmp [2022-04-26T16:42:39.788Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3537708774157387736tmp [Pipeline] { [Pipeline] echo [2022-04-26T16:42:39.805Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:42:40.089Z] ---> sigul-configuration.sh [2022-04-26T16:42:40.089Z] gpg: directory `/root/.gnupg' created [2022-04-26T16:42:40.089Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-26T16:42:40.089Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-26T16:42:40.089Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-26T16:42:40.089Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-26T16:42:40.089Z] gpg: CAST5 encrypted data [2022-04-26T16:42:40.089Z] gpg: encrypted with 1 passphrase [2022-04-26T16:42:40.089Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-26T16:42:40.381Z] + mkdir /home/jenkins [2022-04-26T16:42:40.381Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-26T16:42:40.670Z] + 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-26T16:42:40.682Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:42:40.972Z] ---> sigul-install.sh [2022-04-26T16:42:40.972Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-26T16:42:41.259Z] + git tag --list [2022-04-26T16:42:41.259Z] 1.0.0 [2022-04-26T16:42:41.259Z] v0.0.0 [2022-04-26T16:42:41.259Z] v1.1.0 [2022-04-26T16:42:41.259Z] v1.1.1 [2022-04-26T16:42:41.259Z] v1.2.2 [2022-04-26T16:42:41.259Z] v1.3.0 [2022-04-26T16:42:41.259Z] v1.3.1 [2022-04-26T16:42:41.259Z] v2.0.0 [2022-04-26T16:42:41.259Z] v2.0.1-dev.1 [2022-04-26T16:42:41.259Z] v2.0.1-dev.2 [2022-04-26T16:42:41.259Z] v2.0.1-dev.3 [2022-04-26T16:42:41.259Z] v2.0.1-dev.4 [2022-04-26T16:42:41.259Z] v2.0.1-dev.5 [2022-04-26T16:42:41.259Z] v2.0.1-dev.6 [2022-04-26T16:42:41.259Z] v2.1.0 [2022-04-26T16:42:41.259Z] v2.2.0-dev.1 [2022-04-26T16:42:41.259Z] v2.2.0-dev.10 [2022-04-26T16:42:41.259Z] v2.2.0-dev.11 [2022-04-26T16:42:41.259Z] v2.2.0-dev.2 [2022-04-26T16:42:41.259Z] v2.2.0-dev.3 [2022-04-26T16:42:41.259Z] v2.2.0-dev.4 [2022-04-26T16:42:41.259Z] v2.2.0-dev.5 [2022-04-26T16:42:41.259Z] v2.2.0-dev.6 [2022-04-26T16:42:41.259Z] v2.2.0-dev.7 [2022-04-26T16:42:41.259Z] v2.2.0-dev.8 [2022-04-26T16:42:41.259Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-26T16:42:41.552Z] + lftools sign git-tag v2.2.0-dev.11 [2022-04-26T16:42:42.127Z] Signing Git tag with Sigul... [2022-04-26T16:42:42.127Z] Signing v2.2.0-dev.11 [Pipeline] echo [2022-04-26T16:42:42.709Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:42:42.995Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-26T16:42:43.004Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-26T16:42:43.019Z] $ docker stop --time=1 bd25542d4ebbb950c078b551583ef1076cc6f69269ca9c2061463f1abe5f9bcc [2022-04-26T16:42:44.356Z] $ docker rm -f bd25542d4ebbb950c078b551583ef1076cc6f69269ca9c2061463f1abe5f9bcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-26T16:42:44.776Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:42:44.776Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:42:45.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:42:45.074Z] . [Pipeline] withDockerContainer [2022-04-26T16:42:45.140Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T16:42:45.175Z] $ 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-26T16:42:45.596Z] $ docker top 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:42:45.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:42:45.708Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:42:45.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:42:45.836Z] $ docker exec 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 ssh-agent [2022-04-26T16:42:45.963Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOmLMOn/agent.14 [2022-04-26T16:42:45.963Z] SSH_AGENT_PID=20 [2022-04-26T16:42:45.968Z] Running ssh-add (command line suppressed) [2022-04-26T16:42:46.077Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1023588714047077835.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1023588714047077835.key) [2022-04-26T16:42:46.098Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:42:46.387Z] + git semver bump pre [2022-04-26T16:42:46.387Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:42:46.387Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-26T16:42:46.387Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-26T16:42:46.387Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:42:46.387Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:42:46.387Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:42:46.387Z] # $SEMVER_BRANCH = main [2022-04-26T16:42:46.387Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-04-26T16:42:46.387Z] 2.2.0-dev.12 [Pipeline] } [2022-04-26T16:42:46.395Z] $ docker exec --env ******** --env ******** 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 ssh-agent -k [2022-04-26T16:42:46.498Z] unset SSH_AUTH_SOCK; [2022-04-26T16:42:46.498Z] unset SSH_AGENT_PID; [2022-04-26T16:42:46.498Z] echo Agent pid 20 killed; [2022-04-26T16:42:46.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:42:46.872Z] + git semver [Pipeline] } [2022-04-26T16:42:46.903Z] $ docker stop --time=1 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 [2022-04-26T16:42:48.201Z] $ docker rm -f 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T16:42:48.559Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T16:42:48.559Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:42:48.859Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T16:42:48.859Z] . [Pipeline] withDockerContainer [2022-04-26T16:42:48.929Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T16:42:48.963Z] $ 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-26T16:42:49.342Z] $ docker top 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T16:42:49.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T16:42:49.436Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T16:42:49.554Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T16:42:49.554Z] $ docker exec 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a ssh-agent [2022-04-26T16:42:49.682Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOFnGio/agent.14 [2022-04-26T16:42:49.682Z] SSH_AGENT_PID=20 [2022-04-26T16:42:49.687Z] Running ssh-add (command line suppressed) [2022-04-26T16:42:49.804Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6903781458701053044.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6903781458701053044.key) [2022-04-26T16:42:49.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T16:42:50.113Z] + git semver push [2022-04-26T16:42:50.113Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T16:42:50.113Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2022-04-26T16:42:50.113Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2022-04-26T16:42:50.113Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T16:42:50.113Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T16:42:50.113Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T16:42:50.113Z] # $SEMVER_BRANCH = main [2022-04-26T16:42:50.113Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2022-04-26T16:42:51.504Z] $ docker exec --env ******** --env ******** 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a ssh-agent -k [2022-04-26T16:42:51.609Z] unset SSH_AUTH_SOCK; [2022-04-26T16:42:51.609Z] unset SSH_AGENT_PID; [2022-04-26T16:42:51.609Z] echo Agent pid 20 killed; [2022-04-26T16:42:51.630Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T16:42:51.942Z] + git semver [Pipeline] } [2022-04-26T16:42:51.953Z] $ docker stop --time=1 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a [2022-04-26T16:42:53.252Z] $ docker rm -f 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a [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-26T16:42:53.849Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-04-26T16:42:53.849Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-26T16:42:53.849Z] total 16 [2022-04-26T16:42:53.849Z] drwxr-xr-x 3 root root 4096 Apr 26 15:56 . [2022-04-26T16:42:53.850Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 16:42 .. [2022-04-26T16:42:53.850Z] drwxr-xr-x 2 root root 4096 Apr 26 15:56 cost [2022-04-26T16:42:53.850Z] -rw-r--r-- 1 root root 84 Apr 26 15:56 cost.csv [2022-04-26T16:42:53.850Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-26T16:42:53.850Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-04-26T16:42:53.850Z] total 16 [2022-04-26T16:42:53.850Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:56 . [2022-04-26T16:42:53.850Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 16:42 .. [2022-04-26T16:42:53.850Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:56 cost [2022-04-26T16:42:53.850Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 26 15:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:42:54.141Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:42:55.004Z] ---> package-listing.sh [2022-04-26T16:42:55.004Z] ++ facter osfamily [2022-04-26T16:42:55.004Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T16:42:55.264Z] + OS_FAMILY=debian [2022-04-26T16:42:55.264Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-04-26T16:42:55.264Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T16:42:55.264Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T16:42:55.264Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T16:42:55.264Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T16:42:55.264Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-26T16:42:55.264Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T16:42:55.264Z] + case "${OS_FAMILY}" in [2022-04-26T16:42:55.264Z] + dpkg -l [2022-04-26T16:42:55.264Z] + grep '^ii' [2022-04-26T16:42:55.264Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T16:42:55.264Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T16:42:55.264Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T16:42:55.264Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-04-26T16:42:55.264Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-04-26T16:42:55.264Z] + 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-26T16:42:55.277Z] 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-26T16:42:55.554Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T16:42:56.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T16:42:56.107Z] . [Pipeline] withDockerContainer [2022-04-26T16:42:56.174Z] prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container [2022-04-26T16:42:56.207Z] $ 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-26T16:42:56.485Z] $ docker top 6400704d27782d945d69f06082be79718186e7e085584940479a243e63bb0076 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T16:42:56.851Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T16:42:57.137Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T16:42:57.425Z] + ls /var/log/sa-host [2022-04-26T16:42:57.425Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T16:42:57.645Z] provisioning config files... [2022-04-26T16:42:57.653Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config751637247813226513tmp [Pipeline] { [Pipeline] echo [2022-04-26T16:42:57.665Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:42:57.949Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T16:42:57.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:42:58.305Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T16:42:58.316Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:42:58.601Z] ---> sudo-logs.sh [2022-04-26T16:42:58.601Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T16:42:58.623Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:42:58.905Z] ---> job-cost.sh [2022-04-26T16:42:58.905Z] lf-activate-venv: SKIPPING [2022-04-26T16:42:58.905Z] DEBUG: total: 0.2199999988079071 [2022-04-26T16:42:58.905Z] INFO: Retrieving Stack Cost... [2022-04-26T16:42:59.476Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T16:43:00.046Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T16:43:00.062Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T16:43:00.348Z] ---> logs-deploy.sh [2022-04-26T16:43:00.348Z] lf-activate-venv: SKIPPING [2022-04-26T16:43:00.348Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/21 [2022-04-26T16:43:00.348Z] INFO: archiving workspace using pattern(s): [2022-04-26T16:43:01.291Z] Archives upload complete. [2022-04-26T16:43:01.291Z] INFO: archiving logs to Nexus