Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a672eeb6ec92b4d90420405cd1acfac3e3196a2e Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1213307848706645014.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh953286706909762462.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16694480606218778053.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5052760726761408278.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9456262118225114756.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-33464’ Running on prd-ubuntu20.04-docker-8c-8g-33469 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a672eeb6ec92b4d90420405cd1acfac3e3196a2e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a672eeb6ec92b4d90420405cd1acfac3e3196a2e # timeout=10 Commit message: "Merge pull request #163 from jinlinGuan/issue-162" > git rev-list --no-walk 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:06:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:06:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:06:58 ========================================================= 11:06:58 EdgeX Global Pipelines Version Info 11:06:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:06:59 ------------------- 11:06:59 stable info: 11:06:59 ------------------- 11:06:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:06:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:06:59 Message: update stable to v1.0.221 11:06:59 ------------------- 11:06:59 experimental info: 11:06:59 ------------------- 11:06:59 Commited By: **** collab-it+edgex@linuxfoundation.org 11:06:59 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 11:06:59 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:06:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 11:06:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 11:06:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:06:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a672eeb [Pipeline] echo 11:07:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:00 provisioning config files... 11:07:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8552277257604920932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:00 ---> docker-login.sh 11:07:00 nexus3.edgexfoundry.org:10001 11:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:01 Configure a credential helper to remove this warning. See 11:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:01 11:07:01 Login Succeeded 11:07:01 nexus3.edgexfoundry.org:10002 11:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:01 Configure a credential helper to remove this warning. See 11:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:01 11:07:01 Login Succeeded 11:07:01 nexus3.edgexfoundry.org:10003 11:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:01 Configure a credential helper to remove this warning. See 11:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:01 11:07:01 Login Succeeded 11:07:01 nexus3.edgexfoundry.org:10004 11:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:01 Configure a credential helper to remove this warning. See 11:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:01 11:07:01 Login Succeeded 11:07:01 docker.io 11:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:01 Configure a credential helper to remove this warning. See 11:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:01 11:07:01 Login Succeeded 11:07:01 ---> docker-login.sh ends [Pipeline] } 11:07:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:07:02 + git rev-list -1 --merges a672eeb6ec92b4d90420405cd1acfac3e3196a2e~1..a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] echo 11:07:02 -----------> git rev-list -1 --merges a672eeb6ec92b4d90420405cd1acfac3e3196a2e~1..a672eeb6ec92b4d90420405cd1acfac3e3196a2e a672eeb6ec92b4d90420405cd1acfac3e3196a2e 11:07:02 a672eeb6ec92b4d90420405cd1acfac3e3196a2e [false] [Pipeline] sh 11:07:02 + git log --format=format:%s -1 a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] echo 11:07:02 ========================================================= 11:07:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:07:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:07:02 + git log --format=format:%s -1 a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] echo 11:07:02 [semverPrep] GIT_COMMIT: a672eeb6ec92b4d90420405cd1acfac3e3196a2e, Commit Message: Merge pull request #163 from jinlinGuan/issue-162 [Pipeline] echo 11:07:02 [semverPrep] This is not a build commit. [Pipeline] sh 11:07:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:07:03 + grep -v github /etc/ssh/ssh_known_hosts 11:07:03 + [ -e /tmp/ssh_known_hosts ] 11:07:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:07:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:07:03 + sudo tee -a /etc/ssh/ssh_known_hosts 11:07:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:07:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:07:03 11:07:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:07:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:07:03 latest: Pulling from edgex-devops/git-semver 11:07:03 a0d0a0d46f8b: Pulling fs layer 11:07:03 3e5f54012d9b: Pulling fs layer 11:07:03 4c7163046ea9: Pulling fs layer 11:07:03 0c2d73faf560: Pulling fs layer 11:07:03 3e5f54012d9b: Download complete 11:07:03 a0d0a0d46f8b: Download complete 11:07:03 0c2d73faf560: Verifying Checksum 11:07:03 0c2d73faf560: Download complete 11:07:03 4c7163046ea9: Verifying Checksum 11:07:03 4c7163046ea9: Download complete 11:07:04 a0d0a0d46f8b: Pull complete 11:07:04 3e5f54012d9b: Pull complete 11:07:04 4c7163046ea9: Pull complete 11:07:04 0c2d73faf560: Pull complete 11:07:04 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:07:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:07:04 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:07:04 $ 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 11:07:05 $ docker top edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:07:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:07:05 [ssh-agent] Looking for ssh-agent implementation... 11:07:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:07:05 $ docker exec edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 ssh-agent 11:07:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjEhOco/agent.13 11:07:05 SSH_AGENT_PID=19 11:07:05 Running ssh-add (command line suppressed) 11:07:06 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5014517086557151517.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5014517086557151517.key) 11:07:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:07:06 + git tag --points-at HEAD [Pipeline] } 11:07:06 $ docker exec --env ******** --env ******** edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 ssh-agent -k 11:07:06 unset SSH_AUTH_SOCK; 11:07:06 unset SSH_AGENT_PID; 11:07:06 echo Agent pid 19 killed; 11:07:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:07:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:07:06 [ssh-agent] Looking for ssh-agent implementation... 11:07:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:07:06 $ docker exec edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 ssh-agent 11:07:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMoKkPe/agent.54 11:07:06 SSH_AGENT_PID=61 11:07:06 Running ssh-add (command line suppressed) 11:07:06 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4000923890438024188.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4000923890438024188.key) 11:07:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:07:07 + git semver init 11:07:07 # -> Open(): unable to determine branch for HEAD 11:07:07 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 11:07:07 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 11:07:07 # $SEMVER_REMOTE_NAME = origin 11:07:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:07:07 # $SEMVER_USER_NAME = edgex-jenkins 11:07:07 # $SEMVER_BRANCH = main 11:07:07 # $SEMVER_TEMP = /tmp/semver-820784378 11:07:07 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 11:07:08 # '/tmp/semver-820784378' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 11:07:08 # -> Force: false 11:07:08 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 11:07:08 $ docker exec --env ******** --env ******** edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 ssh-agent -k 11:07:08 unset SSH_AUTH_SOCK; 11:07:08 unset SSH_AGENT_PID; 11:07:08 echo Agent pid 61 killed; 11:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:07:08 + git semver [Pipeline] } 11:07:08 $ docker stop --time=1 edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 11:07:10 $ docker rm -f edbd42c018abe2d910fef4fbe7308c6ea60bc4e397211c21d1ba9efdfa776783 [Pipeline] // withDockerContainer [Pipeline] sh 11:07:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:07:10 Stashed 1 file(s) [Pipeline] echo 11:07:10 [edgeXSemver]: initialized semver on version 2.2.0-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:10 provisioning config files... 11:07:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3560444766782975983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:11 ---> docker-login.sh 11:07:11 nexus3.edgexfoundry.org:10001 11:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:11 Configure a credential helper to remove this warning. See 11:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:11 11:07:11 Login Succeeded 11:07:11 nexus3.edgexfoundry.org:10002 11:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:11 Configure a credential helper to remove this warning. See 11:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:11 11:07:11 Login Succeeded 11:07:11 nexus3.edgexfoundry.org:10003 11:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:11 Configure a credential helper to remove this warning. See 11:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:11 11:07:11 Login Succeeded 11:07:11 nexus3.edgexfoundry.org:10004 11:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:11 Configure a credential helper to remove this warning. See 11:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:11 11:07:11 Login Succeeded 11:07:11 docker.io 11:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:11 Configure a credential helper to remove this warning. See 11:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:11 11:07:11 Login Succeeded 11:07:11 ---> docker-login.sh ends [Pipeline] } 11:07:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:12 ========================================================= 11:07:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:07:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:07:12 + 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 . 11:07:12 Sending build context to Docker daemon 5.256MB 11:07:12 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:07:12 Step 2/12 : FROM ${BASE} AS builder 11:07:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:07:12 59bf1c3509f3: Pulling fs layer 11:07:12 666ba61612fd: Pulling fs layer 11:07:12 8ed8ca486205: Pulling fs layer 11:07:12 4fe6c5a15a65: Pulling fs layer 11:07:12 22a0e8bec74d: Pulling fs layer 11:07:12 ca2b28591e48: Pulling fs layer 11:07:12 a51346096db8: Pulling fs layer 11:07:12 daebc70d1ce1: Pulling fs layer 11:07:12 0e18a0eac166: Pulling fs layer 11:07:12 4fe6c5a15a65: Waiting 11:07:12 22a0e8bec74d: Waiting 11:07:12 ca2b28591e48: Waiting 11:07:12 a51346096db8: Waiting 11:07:12 0e18a0eac166: Waiting 11:07:12 daebc70d1ce1: Waiting 11:07:12 8ed8ca486205: Verifying Checksum 11:07:12 8ed8ca486205: Download complete 11:07:12 666ba61612fd: Download complete 11:07:12 22a0e8bec74d: Download complete 11:07:12 ca2b28591e48: Download complete 11:07:12 a51346096db8: Download complete 11:07:12 59bf1c3509f3: Verifying Checksum 11:07:12 59bf1c3509f3: Download complete 11:07:12 daebc70d1ce1: Verifying Checksum 11:07:12 daebc70d1ce1: Download complete 11:07:12 59bf1c3509f3: Pull complete 11:07:12 666ba61612fd: Pull complete 11:07:12 8ed8ca486205: Pull complete 11:07:13 0e18a0eac166: Verifying Checksum 11:07:13 0e18a0eac166: Download complete 11:07:13 4fe6c5a15a65: Download complete 11:07:17 4fe6c5a15a65: Pull complete 11:07:17 22a0e8bec74d: Pull complete 11:07:17 ca2b28591e48: Pull complete 11:07:17 a51346096db8: Pull complete 11:07:17 daebc70d1ce1: Pull complete 11:07:20 0e18a0eac166: Pull complete 11:07:20 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 11:07:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:07:20 ---> f018257e8ee9 11:07:20 Step 3/12 : ARG MAKE='make build' 11:07:21 ---> Running in fb0f526e5787 11:07:21 Removing intermediate container fb0f526e5787 11:07:21 ---> 9be8997a4abc 11:07:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:21 ---> Running in b86f39cf21d7 11:07:21 Removing intermediate container b86f39cf21d7 11:07:21 ---> da7cfd04d3ee 11:07:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 11:07:21 ---> Running in 623cb0be12cd 11:07:21 Removing intermediate container 623cb0be12cd 11:07:21 ---> 0ddbc46e9eab 11:07:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:21 ---> Running in ac365927174d 11:07:22 Removing intermediate container ac365927174d 11:07:22 ---> 9387a661fef5 11:07:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:22 ---> Running in fbb12e44abb1 11:07:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:07:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:07:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:07:24 (2/4) Installing libedit (20210910.3.1-r0) 11:07:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:07:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:07:24 Executing busybox-1.34.1-r3.trigger 11:07:24 OK: 224 MiB in 56 packages 11:07:24 Removing intermediate container fbb12e44abb1 11:07:24 ---> d5ea2778c06f 11:07:24 Step 8/12 : WORKDIR /device-snmp-go 11:07:24 ---> Running in 0f3cd3f4c5d4 11:07:24 Removing intermediate container 0f3cd3f4c5d4 11:07:24 ---> 3fabfa6fed26 11:07:24 Step 9/12 : COPY go.mod vendor* ./ 11:07:24 ---> 6e92714c059f 11:07:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:24 ---> Running in df4a3253e47f 11:07:25 Still waiting to schedule task 11:07:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33465’ 11:07:43 Removing intermediate container df4a3253e47f 11:07:43 ---> a5693a199e6d 11:07:43 Step 11/12 : COPY . . 11:07:43 ---> 90f72082cce2 11:07:43 Step 12/12 : RUN ${MAKE} 11:07:43 ---> Running in 8116e53d1434 11:07:43 noop 11:07:43 Removing intermediate container 8116e53d1434 11:07:43 ---> a1d994672372 11:07:43 Successfully built a1d994672372 11:07:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:07:43 + docker inspect -f . ci-base-image-x86_64 11:07:43 . [Pipeline] withDockerContainer 11:07:43 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:07:43 $ 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 11:07:43 $ docker top 0f0f129b1f15e98bafeecb56e40a4759f55a4ae450f5b82e61f2405067a3c4c0 -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:44 + go version 11:07:44 go version go1.17.6 linux/amd64 [Pipeline] } 11:07:44 $ docker stop --time=1 0f0f129b1f15e98bafeecb56e40a4759f55a4ae450f5b82e61f2405067a3c4c0 11:07:45 $ docker rm -f 0f0f129b1f15e98bafeecb56e40a4759f55a4ae450f5b82e61f2405067a3c4c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:07:45 + docker inspect -f . ci-base-image-x86_64 11:07:45 . [Pipeline] withDockerContainer 11:07:45 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:07:46 $ 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 11:07:46 $ docker top 96b75aa3a2ecc4ce21cf53177b1d71168ee796faf27c50b23cc93dfe0e6b8b75 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:07:46 + make test 11:07:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:07:47 ? github.com/edgexfoundry/device-snmp-go [no test files] 11:07:57 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 11:07:57 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.016s coverage: 0.0% of statements 11:08:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:08:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:08:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:08:05 ./bin/test-attribution-txt.sh [Pipeline] echo 11:08:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:08:06 $ docker stop --time=1 96b75aa3a2ecc4ce21cf53177b1d71168ee796faf27c50b23cc93dfe0e6b8b75 11:08:08 $ docker rm -f 96b75aa3a2ecc4ce21cf53177b1d71168ee796faf27c50b23cc93dfe0e6b8b75 [Pipeline] // withDockerContainer [Pipeline] sh 11:08:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:08:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:08:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:08:09 + ls -al . 11:08:09 total 188 11:08:09 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 11:08 . 11:08:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:06 .. 11:08:09 -rw-rw-r-- 1 jenkins jenkins 6 Apr 27 11:06 .dockerignore 11:08:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:06 .git 11:08:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 .github 11:08:09 -rw-rw-r-- 1 jenkins jenkins 328 Apr 27 11:06 .gitignore 11:08:09 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:06 .golangci.yml 11:08:09 drwx------ 3 jenkins jenkins 4096 Apr 27 11:07 .semver 11:08:09 -rw-rw-r-- 1 jenkins jenkins 8296 Apr 27 11:06 Attribution.txt 11:08:09 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 27 11:06 CHANGELOG.md 11:08:09 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 27 11:06 Dockerfile 11:08:09 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:06 GOVERNANCE.md 11:08:09 -rw-rw-r-- 1 jenkins jenkins 656 Apr 27 11:06 Jenkinsfile 11:08:09 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:06 LICENSE 11:08:09 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 27 11:06 Makefile 11:08:09 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 11:06 OWNERS.md 11:08:09 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 27 11:06 README.md 11:08:09 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:07 VERSION 11:08:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:06 bin 11:08:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 cmd 11:08:09 -rw-r--r-- 1 jenkins jenkins 7631 Apr 27 11:07 coverage.out 11:08:09 -rw-rw-r-- 1 jenkins jenkins 3296 Apr 27 11:06 go.mod 11:08:09 -rw-rw-r-- 1 jenkins jenkins 54231 Apr 27 11:06 go.sum 11:08:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 internal 11:08:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 snap 11:08:09 -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 11:06 version.go [Pipeline] isUnix [Pipeline] sh 11:08:10 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a672eeb6ec92b4d90420405cd1acfac3e3196a2e --label arch=amd64 --label version=2.2.0-dev.12 . 11:08:10 Sending build context to Docker daemon 5.264MB 11:08:10 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 11:08:10 Step 2/24 : FROM ${BASE} AS builder 11:08:10 ---> a1d994672372 11:08:10 Step 3/24 : ARG MAKE='make build' 11:08:10 ---> Running in f1b6fa39e5c5 11:08:10 Removing intermediate container f1b6fa39e5c5 11:08:10 ---> 9779ba2418ca 11:08:10 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:08:10 ---> Running in 1f0fb16db151 11:08:10 Removing intermediate container 1f0fb16db151 11:08:10 ---> 6c6ab0d2e966 11:08:10 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:08:10 ---> Running in a9e507bac0a8 11:08:10 Removing intermediate container a9e507bac0a8 11:08:10 ---> 2b1a4636e86a 11:08:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:08:10 ---> Running in 18b61da5e5a4 11:08:11 Removing intermediate container 18b61da5e5a4 11:08:11 ---> d325c7734f6f 11:08:11 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:08:11 ---> Running in 45d55d1cd702 11:08:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:08:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:08:12 OK: 224 MiB in 56 packages 11:08:12 Removing intermediate container 45d55d1cd702 11:08:12 ---> f7e36006fa39 11:08:12 Step 8/24 : WORKDIR /device-snmp-go 11:08:12 ---> Running in 86711ff5b348 11:08:13 Removing intermediate container 86711ff5b348 11:08:13 ---> 5d3d52e0cfa7 11:08:13 Step 9/24 : COPY go.mod vendor* ./ 11:08:13 ---> f6e961b3ddad 11:08:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:08:13 ---> Running in ca92c08ce153 11:08:13 Removing intermediate container ca92c08ce153 11:08:13 ---> 33f8c8a47fa3 11:08:13 Step 11/24 : COPY . . 11:08:13 ---> 850d04498399 11:08:13 Step 12/24 : RUN ${MAKE} 11:08:14 ---> Running in b0d2c610920c 11:08:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 11:08:36 Removing intermediate container b0d2c610920c 11:08:36 ---> e30f7920f9a0 11:08:36 Step 13/24 : FROM alpine:3.14 11:08:36 3.14: Pulling from library/alpine 11:08:36 8663204ce13b: Pulling fs layer 11:08:36 8663204ce13b: Verifying Checksum 11:08:36 8663204ce13b: Download complete 11:08:36 8663204ce13b: Pull complete 11:08:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:08:36 Status: Downloaded newer image for alpine:3.14 11:08:36 ---> e04c818066af 11:08:36 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 11:08:36 ---> Running in 66e0406b098d 11:08:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:08:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:08:36 (1/6) Installing dumb-init (1.2.5-r1) 11:08:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:08:36 (3/6) Installing libsodium (1.0.18-r0) 11:08:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:08:36 (5/6) Installing libzmq (4.3.4-r0) 11:08:36 (6/6) Installing zeromq (4.3.4-r0) 11:08:36 Executing busybox-1.33.1-r7.trigger 11:08:36 OK: 8 MiB in 20 packages 11:08:36 Removing intermediate container 66e0406b098d 11:08:36 ---> 06d22277bec8 11:08:36 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 11:08:36 ---> 718c55a1f09f 11:08:36 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 11:08:36 ---> e8c8f4fa7aaf 11:08:36 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 11:08:36 ---> 86f57db7f37e 11:08:36 Step 18/24 : EXPOSE 59993 11:08:36 ---> Running in b2751ea3b74b 11:08:36 Removing intermediate container b2751ea3b74b 11:08:36 ---> c20a0ffab935 11:08:36 Step 19/24 : EXPOSE 161 11:08:36 ---> Running in b5d31df34b60 11:08:36 Removing intermediate container b5d31df34b60 11:08:36 ---> 454f0d8fd23f 11:08:36 Step 20/24 : ENTRYPOINT ["/device-snmp"] 11:08:36 ---> Running in 03962717826f 11:08:36 Removing intermediate container 03962717826f 11:08:36 ---> eab92245b250 11:08:36 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:08:36 ---> Running in f63fd6898a6f 11:08:36 Removing intermediate container f63fd6898a6f 11:08:36 ---> 0a3b8d8cad74 11:08:36 Step 22/24 : LABEL arch=amd64 11:08:36 ---> Running in 2203f4e89324 11:08:36 Removing intermediate container 2203f4e89324 11:08:36 ---> 3a6f46c68652 11:08:36 Step 23/24 : LABEL git_sha=a672eeb6ec92b4d90420405cd1acfac3e3196a2e 11:08:36 ---> Running in 12639be88979 11:08:36 Removing intermediate container 12639be88979 11:08:36 ---> 7098ad05dfd1 11:08:36 Step 24/24 : LABEL version=2.2.0-dev.12 11:08:36 ---> Running in 9620bcf0dd8f 11:08:36 Removing intermediate container 9620bcf0dd8f 11:08:36 ---> e7ebcc8d75e4 11:08:36 [Warning] One or more build-args [ARCH] were not consumed 11:08:37 Successfully built e7ebcc8d75e4 11:08:37 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:08:37 provisioning config files... 11:08:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config361131675140860318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:37 ---> docker-login.sh 11:08:37 nexus3.edgexfoundry.org:10001 11:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:37 Configure a credential helper to remove this warning. See 11:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:37 11:08:37 Login Succeeded 11:08:37 nexus3.edgexfoundry.org:10002 11:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:37 Configure a credential helper to remove this warning. See 11:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:37 11:08:37 Login Succeeded 11:08:37 nexus3.edgexfoundry.org:10003 11:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:37 Configure a credential helper to remove this warning. See 11:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:37 11:08:37 Login Succeeded 11:08:37 nexus3.edgexfoundry.org:10004 11:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:38 Configure a credential helper to remove this warning. See 11:08:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:38 11:08:38 Login Succeeded 11:08:38 docker.io 11:08:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:38 Configure a credential helper to remove this warning. See 11:08:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:38 11:08:38 Login Succeeded 11:08:38 ---> docker-login.sh ends [Pipeline] } 11:08:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:08:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:08:38 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 11:08:38 a672eeb6ec92b4d90420405cd1acfac3e3196a2e 11:08:38 latest 11:08:38 2.2.0-dev.12 11:08:38 a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 11:08:38 main 11:08:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:38 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] isUnix [Pipeline] sh 11:08:39 + docker push nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e 11:08:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 11:08:39 54b45772d726: Preparing 11:08:39 12f11f541fc1: Preparing 11:08:39 a8a8a835e388: Preparing 11:08:39 271765da01c8: Preparing 11:08:39 b541d28bf3b4: Preparing 11:08:39 b541d28bf3b4: Layer already exists 11:08:39 12f11f541fc1: Pushed 11:08:39 54b45772d726: Pushed 11:08:39 271765da01c8: Pushed 11:08:41 a8a8a835e388: Pushed 11:08:41 a672eeb6ec92b4d90420405cd1acfac3e3196a2e: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] isUnix [Pipeline] sh 11:08:42 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 11:08:42 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 11:08:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 11:08:42 54b45772d726: Preparing 11:08:42 12f11f541fc1: Preparing 11:08:42 a8a8a835e388: Preparing 11:08:42 271765da01c8: Preparing 11:08:42 b541d28bf3b4: Preparing 11:08:42 a8a8a835e388: Layer already exists 11:08:42 271765da01c8: Layer already exists 11:08:42 54b45772d726: Layer already exists 11:08:42 b541d28bf3b4: Layer already exists 11:08:42 12f11f541fc1: Layer already exists 11:08:42 latest: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] isUnix [Pipeline] sh 11:08:42 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 11:08:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.12 11:08:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 11:08:43 54b45772d726: Preparing 11:08:43 12f11f541fc1: Preparing 11:08:43 a8a8a835e388: Preparing 11:08:43 271765da01c8: Preparing 11:08:43 b541d28bf3b4: Preparing 11:08:43 12f11f541fc1: Layer already exists 11:08:43 54b45772d726: Layer already exists 11:08:43 a8a8a835e388: Layer already exists 11:08:43 271765da01c8: Layer already exists 11:08:43 b541d28bf3b4: Layer already exists 11:08:43 2.2.0-dev.12: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] isUnix [Pipeline] sh 11:08:43 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 11:08:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 11:08:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 11:08:43 54b45772d726: Preparing 11:08:43 12f11f541fc1: Preparing 11:08:43 a8a8a835e388: Preparing 11:08:43 271765da01c8: Preparing 11:08:43 b541d28bf3b4: Preparing 11:08:43 271765da01c8: Layer already exists 11:08:43 b541d28bf3b4: Layer already exists 11:08:43 12f11f541fc1: Layer already exists 11:08:43 54b45772d726: Layer already exists 11:08:43 a8a8a835e388: Layer already exists 11:08:43 a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] isUnix [Pipeline] sh 11:08:43 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 11:08:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 11:08:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 11:08:44 54b45772d726: Preparing 11:08:44 12f11f541fc1: Preparing 11:08:44 a8a8a835e388: Preparing 11:08:44 271765da01c8: Preparing 11:08:44 b541d28bf3b4: Preparing 11:08:44 12f11f541fc1: Layer already exists 11:08:44 54b45772d726: Layer already exists 11:08:44 b541d28bf3b4: Layer already exists 11:08:44 271765da01c8: Layer already exists 11:08:44 a8a8a835e388: Layer already exists 11:08:44 main: digest: sha256:5b6351450cb645f7cefe394f6786a40e0eb1eaeca76e7542c5b060cf9c0b712d size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:08:44 ===================================================== [Pipeline] echo 11:08:44 taggedImages: 11:08:44 - nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e 11:08:44 - nexus3.edgexfoundry.org:10004/device-snmp:latest 11:08:44 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.12 11:08:44 - nexus3.edgexfoundry.org:10004/device-snmp:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 11:08:44 - 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 11:08:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:44 11:08:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:08:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:44 latest: Pulling from edgex-lftools-log-publisher 11:08:44 5eb5b503b376: Pulling fs layer 11:08:44 5c69ac0246d0: Pulling fs layer 11:08:44 ec43610c2a17: Pulling fs layer 11:08:44 3a2ae6a8a46f: Pulling fs layer 11:08:44 33b1e0a273af: Pulling fs layer 11:08:44 5d3b04190fa2: Pulling fs layer 11:08:44 2f39f015ded8: Pulling fs layer 11:08:44 3a2ae6a8a46f: Waiting 11:08:44 33b1e0a273af: Waiting 11:08:44 5d3b04190fa2: Waiting 11:08:44 2f39f015ded8: Waiting 11:08:44 5c69ac0246d0: Verifying Checksum 11:08:44 5c69ac0246d0: Download complete 11:08:44 3a2ae6a8a46f: Verifying Checksum 11:08:44 33b1e0a273af: Verifying Checksum 11:08:44 33b1e0a273af: Download complete 11:08:44 5d3b04190fa2: Verifying Checksum 11:08:44 5d3b04190fa2: Download complete 11:08:45 ec43610c2a17: Verifying Checksum 11:08:45 5eb5b503b376: Verifying Checksum 11:08:45 5eb5b503b376: Download complete 11:08:45 2f39f015ded8: Download complete 11:08:46 5eb5b503b376: Pull complete 11:08:46 5c69ac0246d0: Pull complete 11:08:47 ec43610c2a17: Pull complete 11:08:47 3a2ae6a8a46f: Pull complete 11:08:47 33b1e0a273af: Pull complete 11:08:47 5d3b04190fa2: Pull complete 11:08:52 2f39f015ded8: Pull complete 11:08:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:08:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:08:52 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:08:53 $ 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 11:08:54 $ docker top c305f8c78955fcaafd1a3365e375505df2405f6c6fcc31e070ae5b688677ff5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:55 ---> job-cost.sh 11:08:55 lf-activate-venv: SKIPPING 11:08:55 INFO: No Stack... 11:08:55 INFO: Retrieving Pricing Info for: v3-standard-8 11:08:56 INFO: Archiving Costs [Pipeline] sh 11:08:56 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 11:08:56 + cut -d, -f6 [Pipeline] lock 11:08:56 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] 11:08:56 Resource [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] did not exist. Created. 11:08:56 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:08:56 + echo total: 0.2199999988079071 [Pipeline] stash 11:08:56 Stashed 1 file(s) [Pipeline] } 11:08:56 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 11:08:56 $ docker stop --time=1 c305f8c78955fcaafd1a3365e375505df2405f6c6fcc31e070ae5b688677ff5f 11:08:57 $ docker rm -f c305f8c78955fcaafd1a3365e375505df2405f6c6fcc31e070ae5b688677ff5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:10:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33472 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 11:10:19 Running in /w/workspace/device-snmp-go/22 [Pipeline] { [Pipeline] checkout 11:10:20 Selected Git installation does not exist. Using Default 11:10:20 The recommended git tool is: NONE 11:10:27 using credential edgex-jenkins-ssh 11:10:27 Cloning the remote Git repository 11:10:27 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 11:10:27 > git init /w/workspace/device-snmp-go/22 # timeout=10 11:10:27 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 11:10:27 > git --version # timeout=10 11:10:27 > git --version # 'git version 2.25.1' 11:10:27 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:29 Avoid second fetch 11:10:29 Checking out Revision a672eeb6ec92b4d90420405cd1acfac3e3196a2e (main) 11:10:28 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 11:10:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:29 > git config core.sparsecheckout # timeout=10 11:10:29 > git checkout -f a672eeb6ec92b4d90420405cd1acfac3e3196a2e # timeout=10 11:10:33 Commit message: "Merge pull request #163 from jinlinGuan/issue-162" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:10:34 % Total % Received % Xferd Average Speed Time Time Time Current 11:10:34 Dload Upload Total Spent Left Speed 11:10:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 11:10:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:10:35 + sudo tee /etc/docker/daemon.new 11:10:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:10:35 { 11:10:35 "registry-mirrors": [ 11:10:35 "https://nexus3.edgexfoundry.org:10001" 11:10:35 ], 11:10:35 "bip": "10.250.0.254/24", 11:10:35 "hosts": [ 11:10:35 "tcp://0.0.0.0:5555", 11:10:35 "unix:///var/run/docker.sock" 11:10:35 ], 11:10:35 "mtu": 1458, 11:10:35 "selinux-enabled": true, 11:10:35 "seccomp-profile": "/etc/docker/seccomp.json" 11:10:35 } [Pipeline] sh 11:10:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:10:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:54 provisioning config files... 11:10:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/22@tmp/config7264324292079276636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:54 ---> docker-login.sh 11:10:54 nexus3.edgexfoundry.org:10001 11:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:55 Configure a credential helper to remove this warning. See 11:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:55 11:10:55 Login Succeeded 11:10:55 nexus3.edgexfoundry.org:10002 11:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:56 Configure a credential helper to remove this warning. See 11:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:56 11:10:56 Login Succeeded 11:10:56 nexus3.edgexfoundry.org:10003 11:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:57 Configure a credential helper to remove this warning. See 11:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:57 11:10:57 Login Succeeded 11:10:57 nexus3.edgexfoundry.org:10004 11:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:57 Configure a credential helper to remove this warning. See 11:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:57 11:10:57 Login Succeeded 11:10:57 docker.io 11:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:58 Configure a credential helper to remove this warning. See 11:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:58 11:10:58 Login Succeeded 11:10:58 ---> docker-login.sh ends [Pipeline] } 11:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:58 ========================================================= 11:10:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:10:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:10:59 + 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 . 11:10:59 Sending build context to Docker daemon 2.732MB 11:10:59 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:10:59 Step 2/12 : FROM ${BASE} AS builder 11:10:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:10:59 9b3977197b4f: Pulling fs layer 11:10:59 1a89e8eeedd5: Pulling fs layer 11:10:59 94645a83ff95: Pulling fs layer 11:10:59 3f3a8bcf1eab: Pulling fs layer 11:10:59 0c92f367c5e7: Pulling fs layer 11:10:59 3096ccb668a1: Pulling fs layer 11:10:59 e8cf19c19ddd: Pulling fs layer 11:10:59 a4caa8a26152: Pulling fs layer 11:10:59 0c92f367c5e7: Waiting 11:10:59 3096ccb668a1: Waiting 11:10:59 e8cf19c19ddd: Waiting 11:10:59 a4caa8a26152: Waiting 11:10:59 3f3a8bcf1eab: Waiting 11:10:59 94645a83ff95: Verifying Checksum 11:10:59 94645a83ff95: Download complete 11:10:59 1a89e8eeedd5: Download complete 11:10:59 0c92f367c5e7: Verifying Checksum 11:10:59 0c92f367c5e7: Download complete 11:10:59 3096ccb668a1: Verifying Checksum 11:10:59 3096ccb668a1: Download complete 11:11:00 9b3977197b4f: Verifying Checksum 11:11:00 9b3977197b4f: Download complete 11:11:00 e8cf19c19ddd: Verifying Checksum 11:11:00 9b3977197b4f: Pull complete 11:11:01 1a89e8eeedd5: Pull complete 11:11:01 94645a83ff95: Pull complete 11:11:01 a4caa8a26152: Verifying Checksum 11:11:01 a4caa8a26152: Download complete 11:11:02 3f3a8bcf1eab: Verifying Checksum 11:11:02 3f3a8bcf1eab: Download complete 11:11:14 3f3a8bcf1eab: Pull complete 11:11:14 0c92f367c5e7: Pull complete 11:11:14 3096ccb668a1: Pull complete 11:11:14 e8cf19c19ddd: Pull complete 11:11:20 a4caa8a26152: Pull complete 11:11:20 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 11:11:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:11:20 ---> 725f1c02e7f9 11:11:20 Step 3/12 : ARG MAKE='make build' 11:11:22 ---> Running in 0f47b3314132 11:11:22 Removing intermediate container 0f47b3314132 11:11:22 ---> 16b4ddea7825 11:11:22 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:11:22 ---> Running in 5a8dc2d84b14 11:11:22 Removing intermediate container 5a8dc2d84b14 11:11:22 ---> 778940f3598a 11:11:22 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 11:11:22 ---> Running in 1f88a18c4666 11:11:23 Removing intermediate container 1f88a18c4666 11:11:23 ---> 00368767e5b7 11:11:23 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:11:23 ---> Running in dfa085300378 11:11:25 Removing intermediate container dfa085300378 11:11:25 ---> 80dfcd318aed 11:11:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:25 ---> Running in 60f6c19d5bb9 11:11:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:11:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:11:27 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:11:28 (2/4) Installing libedit (20210910.3.1-r0) 11:11:28 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:11:28 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:11:28 Executing busybox-1.34.1-r3.trigger 11:11:28 OK: 224 MiB in 56 packages 11:11:29 Removing intermediate container 60f6c19d5bb9 11:11:29 ---> 483b8d683d7d 11:11:29 Step 8/12 : WORKDIR /device-snmp-go 11:11:29 ---> Running in 8e6b4b16fd8e 11:11:29 Removing intermediate container 8e6b4b16fd8e 11:11:29 ---> 6b1f274ba38f 11:11:29 Step 9/12 : COPY go.mod vendor* ./ 11:11:30 ---> f8707ce645cb 11:11:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:30 ---> Running in 52f0c8f4387e 11:12:17 Removing intermediate container 52f0c8f4387e 11:12:17 ---> 16b942a01306 11:12:17 Step 11/12 : COPY . . 11:12:17 ---> 3fcbf7a39256 11:12:17 Step 12/12 : RUN ${MAKE} 11:12:17 ---> Running in 2b793a674861 11:12:18 noop 11:12:19 Removing intermediate container 2b793a674861 11:12:19 ---> 711688c06329 11:12:19 Successfully built 711688c06329 11:12:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:12:19 + docker inspect -f . ci-base-image-arm64 11:12:19 . [Pipeline] withDockerContainer 11:12:20 prd-ubuntu20.04-docker-arm64-4c-16g-33472 does not seem to be running inside a container 11:12:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/22 -v /w/workspace/device-snmp-go/22:/w/workspace/device-snmp-go/22:rw,z -v /w/workspace/device-snmp-go/22@tmp:/w/workspace/device-snmp-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:12:21 $ docker top a3b4b3788af84c0bae91a62a3d553b32cc154dfb2f870fcca8dcc46d5af87181 -eo pid,comm [Pipeline] { [Pipeline] sh 11:12:22 + go version 11:12:22 go version go1.17.6 linux/arm64 [Pipeline] } 11:12:22 $ docker stop --time=1 a3b4b3788af84c0bae91a62a3d553b32cc154dfb2f870fcca8dcc46d5af87181 11:12:24 $ docker rm -f a3b4b3788af84c0bae91a62a3d553b32cc154dfb2f870fcca8dcc46d5af87181 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:12:24 + docker inspect -f . ci-base-image-arm64 11:12:24 . [Pipeline] withDockerContainer 11:12:25 prd-ubuntu20.04-docker-arm64-4c-16g-33472 does not seem to be running inside a container 11:12:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/22 -v /w/workspace/device-snmp-go/22:/w/workspace/device-snmp-go/22:rw,z -v /w/workspace/device-snmp-go/22@tmp:/w/workspace/device-snmp-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:12:26 $ docker top eddbb9fb5efea01f137edc5a224c9f4062caaa4f0931b01c4298e3ebffaceba8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:12:27 + make test 11:12:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:12:29 ? github.com/edgexfoundry/device-snmp-go [no test files] 11:14:06 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 11:14:06 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.056s coverage: 0.0% of statements 11:14:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:14:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:14:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:14:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:14:24 ./bin/test-attribution-txt.sh [Pipeline] echo 11:14:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:14:28 $ docker stop --time=1 eddbb9fb5efea01f137edc5a224c9f4062caaa4f0931b01c4298e3ebffaceba8 11:14:30 $ docker rm -f eddbb9fb5efea01f137edc5a224c9f4062caaa4f0931b01c4298e3ebffaceba8 [Pipeline] // withDockerContainer [Pipeline] sh 11:14:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:14:31 Warning: overwriting stash ‘coverage-report’ 11:14:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:14:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:14:32 + ls -al . 11:14:32 total 184 11:14:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:14 . 11:14:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:10 .. 11:14:32 -rw-rw-r-- 1 jenkins jenkins 6 Apr 27 11:10 .dockerignore 11:14:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:10 .git 11:14:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 .github 11:14:32 -rw-rw-r-- 1 jenkins jenkins 328 Apr 27 11:10 .gitignore 11:14:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:10 .golangci.yml 11:14:32 -rw-rw-r-- 1 jenkins jenkins 8296 Apr 27 11:10 Attribution.txt 11:14:32 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 27 11:10 CHANGELOG.md 11:14:32 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 27 11:10 Dockerfile 11:14:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:10 GOVERNANCE.md 11:14:32 -rw-rw-r-- 1 jenkins jenkins 656 Apr 27 11:10 Jenkinsfile 11:14:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:10 LICENSE 11:14:32 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 27 11:10 Makefile 11:14:32 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 11:10 OWNERS.md 11:14:32 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 27 11:10 README.md 11:14:32 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:07 VERSION 11:14:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:10 bin 11:14:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 cmd 11:14:32 -rw-r--r-- 1 jenkins jenkins 7631 Apr 27 11:13 coverage.out 11:14:32 -rw-rw-r-- 1 jenkins jenkins 3296 Apr 27 11:10 go.mod 11:14:32 -rw-rw-r-- 1 jenkins jenkins 54231 Apr 27 11:10 go.sum 11:14:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 internal 11:14:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 snap 11:14:32 -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 11:10 version.go [Pipeline] isUnix [Pipeline] sh 11:14:32 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a672eeb6ec92b4d90420405cd1acfac3e3196a2e --label arch=arm64 --label version=2.2.0-dev.12 . 11:14:33 Sending build context to Docker daemon 2.74MB 11:14:33 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 11:14:33 Step 2/24 : FROM ${BASE} AS builder 11:14:33 ---> 711688c06329 11:14:33 Step 3/24 : ARG MAKE='make build' 11:14:33 ---> Running in fa3a7d5ba455 11:14:33 Removing intermediate container fa3a7d5ba455 11:14:33 ---> b6805bf1b30b 11:14:33 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:14:33 ---> Running in 4c332a3cb077 11:14:34 Removing intermediate container 4c332a3cb077 11:14:34 ---> 142fafe9493a 11:14:34 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 11:14:34 ---> Running in b8a05330ffd6 11:14:34 Removing intermediate container b8a05330ffd6 11:14:34 ---> 1757ac5c4054 11:14:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:14:34 ---> Running in b014018266c8 11:14:36 Removing intermediate container b014018266c8 11:14:36 ---> ce0f4b99f8cb 11:14:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:14:36 ---> Running in 05eabc03fc11 11:14:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:14:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:14:39 OK: 224 MiB in 56 packages 11:14:40 Removing intermediate container 05eabc03fc11 11:14:40 ---> 8c766048d408 11:14:40 Step 8/24 : WORKDIR /device-snmp-go 11:14:40 ---> Running in ca716b9c9ee2 11:14:40 Removing intermediate container ca716b9c9ee2 11:14:40 ---> e4a6b5aa4f1a 11:14:40 Step 9/24 : COPY go.mod vendor* ./ 11:14:41 ---> 3a09a03ccd07 11:14:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:14:41 ---> Running in 4ccf7870222c 11:14:43 Removing intermediate container 4ccf7870222c 11:14:43 ---> df6be667c4bb 11:14:43 Step 11/24 : COPY . . 11:14:44 ---> 60762a6c473e 11:14:44 Step 12/24 : RUN ${MAKE} 11:14:44 ---> Running in b25754985cfc 11:14:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 11:16:52 Removing intermediate container b25754985cfc 11:16:52 ---> b0d2c6c890c0 11:16:52 Step 13/24 : FROM alpine:3.14 11:16:52 3.14: Pulling from library/alpine 11:16:52 455c02918c45: Pulling fs layer 11:16:52 455c02918c45: Verifying Checksum 11:16:52 455c02918c45: Download complete 11:16:52 455c02918c45: Pull complete 11:16:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:16:52 Status: Downloaded newer image for alpine:3.14 11:16:52 ---> ac73e934f311 11:16:52 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 11:16:52 ---> Running in 2c6dff7bc1d1 11:16:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:16:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:16:53 (1/6) Installing dumb-init (1.2.5-r1) 11:16:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:16:53 (3/6) Installing libsodium (1.0.18-r0) 11:16:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:16:53 (5/6) Installing libzmq (4.3.4-r0) 11:16:53 (6/6) Installing zeromq (4.3.4-r0) 11:16:53 Executing busybox-1.33.1-r7.trigger 11:16:53 OK: 8 MiB in 20 packages 11:16:54 Removing intermediate container 2c6dff7bc1d1 11:16:54 ---> ef3d93be966a 11:16:54 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 11:16:56 ---> 963904258ede 11:16:56 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 11:16:56 ---> 3fd46712c12e 11:16:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 11:16:57 ---> 88bc0c110455 11:16:57 Step 18/24 : EXPOSE 59993 11:16:57 ---> Running in 22b21df475da 11:16:58 Removing intermediate container 22b21df475da 11:16:58 ---> aa9bfba33343 11:16:58 Step 19/24 : EXPOSE 161 11:16:58 ---> Running in 81f824c73485 11:16:58 Removing intermediate container 81f824c73485 11:16:58 ---> 20e082d08ec0 11:16:58 Step 20/24 : ENTRYPOINT ["/device-snmp"] 11:16:58 ---> Running in 83c136fc7d32 11:16:58 Removing intermediate container 83c136fc7d32 11:16:58 ---> d37c8f2a20d6 11:16:58 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:16:58 ---> Running in 837a2aad13f0 11:16:59 Removing intermediate container 837a2aad13f0 11:16:59 ---> 7e967f9423d9 11:16:59 Step 22/24 : LABEL arch=arm64 11:16:59 ---> Running in 7161d867985d 11:16:59 Removing intermediate container 7161d867985d 11:16:59 ---> c326dd2e8a13 11:16:59 Step 23/24 : LABEL git_sha=a672eeb6ec92b4d90420405cd1acfac3e3196a2e 11:16:59 ---> Running in 975ead29efe7 11:16:59 Removing intermediate container 975ead29efe7 11:16:59 ---> 6a066d59f4f3 11:16:59 Step 24/24 : LABEL version=2.2.0-dev.12 11:17:00 ---> Running in 806fc5a011cf 11:17:00 Removing intermediate container 806fc5a011cf 11:17:00 ---> 2389df9c1f16 11:17:00 [Warning] One or more build-args [ARCH] were not consumed 11:17:00 Successfully built 2389df9c1f16 11:17:00 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 11:17:00 provisioning config files... 11:17:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/22@tmp/config3658159477471244537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:00 ---> docker-login.sh 11:17:00 nexus3.edgexfoundry.org:10001 11:17:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:01 Configure a credential helper to remove this warning. See 11:17:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:01 11:17:01 Login Succeeded 11:17:01 nexus3.edgexfoundry.org:10002 11:17:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:01 Configure a credential helper to remove this warning. See 11:17:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:01 11:17:01 Login Succeeded 11:17:01 nexus3.edgexfoundry.org:10003 11:17:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:02 Configure a credential helper to remove this warning. See 11:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:02 11:17:02 Login Succeeded 11:17:02 nexus3.edgexfoundry.org:10004 11:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:02 Configure a credential helper to remove this warning. See 11:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:02 11:17:02 Login Succeeded 11:17:02 docker.io 11:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:03 Configure a credential helper to remove this warning. See 11:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:03 11:17:03 Login Succeeded 11:17:03 ---> docker-login.sh ends [Pipeline] } 11:17:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:17:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:17:03 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 11:17:03 a672eeb6ec92b4d90420405cd1acfac3e3196a2e 11:17:03 latest 11:17:03 2.2.0-dev.12 11:17:03 a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 11:17:03 main 11:17:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:17:03 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] isUnix [Pipeline] sh 11:17:04 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e 11:17:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 11:17:04 0167462b5abf: Preparing 11:17:04 2116af32cb9d: Preparing 11:17:04 11c2f20bfa11: Preparing 11:17:04 ed6405033465: Preparing 11:17:04 f73e7dbfee58: Preparing 11:17:04 f73e7dbfee58: Layer already exists 11:17:04 2116af32cb9d: Pushed 11:17:04 0167462b5abf: Pushed 11:17:05 ed6405033465: Pushed 11:17:10 11c2f20bfa11: Pushed 11:17:10 a672eeb6ec92b4d90420405cd1acfac3e3196a2e: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:17:10 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:17:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 11:17:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 11:17:11 0167462b5abf: Preparing 11:17:11 2116af32cb9d: Preparing 11:17:11 11c2f20bfa11: Preparing 11:17:11 ed6405033465: Preparing 11:17:11 f73e7dbfee58: Preparing 11:17:11 f73e7dbfee58: Layer already exists 11:17:11 11c2f20bfa11: Layer already exists 11:17:11 2116af32cb9d: Layer already exists 11:17:11 ed6405033465: Layer already exists 11:17:11 0167462b5abf: Layer already exists 11:17:11 latest: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:17:11 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 11:17:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.12 11:17:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 11:17:12 0167462b5abf: Preparing 11:17:12 2116af32cb9d: Preparing 11:17:12 11c2f20bfa11: Preparing 11:17:12 ed6405033465: Preparing 11:17:12 f73e7dbfee58: Preparing 11:17:12 2116af32cb9d: Layer already exists 11:17:12 f73e7dbfee58: Layer already exists 11:17:12 11c2f20bfa11: Layer already exists 11:17:12 0167462b5abf: Layer already exists 11:17:12 ed6405033465: Layer already exists 11:17:12 2.2.0-dev.12: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:17:12 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh 11:17:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 11:17:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 11:17:13 0167462b5abf: Preparing 11:17:13 2116af32cb9d: Preparing 11:17:13 11c2f20bfa11: Preparing 11:17:13 ed6405033465: Preparing 11:17:13 f73e7dbfee58: Preparing 11:17:13 11c2f20bfa11: Layer already exists 11:17:13 f73e7dbfee58: Layer already exists 11:17:13 0167462b5abf: Layer already exists 11:17:13 2116af32cb9d: Layer already exists 11:17:13 ed6405033465: Layer already exists 11:17:13 a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:17:13 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 11:17:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 11:17:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 11:17:14 0167462b5abf: Preparing 11:17:14 2116af32cb9d: Preparing 11:17:14 11c2f20bfa11: Preparing 11:17:14 ed6405033465: Preparing 11:17:14 f73e7dbfee58: Preparing 11:17:14 ed6405033465: Layer already exists 11:17:14 0167462b5abf: Layer already exists 11:17:14 11c2f20bfa11: Layer already exists 11:17:14 f73e7dbfee58: Layer already exists 11:17:14 2116af32cb9d: Layer already exists 11:17:14 main: digest: sha256:5fa70b28c46b143ae467b42b2bb1acb5d57cf75e3121beeffe66b1cd543982a1 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:17:14 ===================================================== [Pipeline] echo 11:17:14 taggedImages: 11:17:14 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e 11:17:14 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 11:17:14 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.12 11:17:14 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:a672eeb6ec92b4d90420405cd1acfac3e3196a2e-2.2.0-dev.12 11:17:14 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:17:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:17:14 11:17:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:17:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:17:15 arm64: Pulling from edgex-lftools-log-publisher 11:17:15 8998bd30e6a1: Pulling fs layer 11:17:15 04944245beec: Pulling fs layer 11:17:15 699f458cf7ca: Pulling fs layer 11:17:15 765212b225bb: Pulling fs layer 11:17:15 f23df028b6ca: Pulling fs layer 11:17:15 d65c8cfc05b1: Pulling fs layer 11:17:15 2437ff75d9bd: Pulling fs layer 11:17:15 f23df028b6ca: Waiting 11:17:15 d65c8cfc05b1: Waiting 11:17:15 2437ff75d9bd: Waiting 11:17:15 765212b225bb: Waiting 11:17:15 04944245beec: Download complete 11:17:15 765212b225bb: Verifying Checksum 11:17:15 765212b225bb: Download complete 11:17:15 f23df028b6ca: Verifying Checksum 11:17:15 f23df028b6ca: Download complete 11:17:15 d65c8cfc05b1: Verifying Checksum 11:17:15 d65c8cfc05b1: Download complete 11:17:15 699f458cf7ca: Verifying Checksum 11:17:15 699f458cf7ca: Download complete 11:17:15 8998bd30e6a1: Verifying Checksum 11:17:15 8998bd30e6a1: Download complete 11:17:18 2437ff75d9bd: Verifying Checksum 11:17:18 2437ff75d9bd: Download complete 11:17:20 8998bd30e6a1: Pull complete 11:17:20 04944245beec: Pull complete 11:17:22 699f458cf7ca: Pull complete 11:17:22 765212b225bb: Pull complete 11:17:23 f23df028b6ca: Pull complete 11:17:23 d65c8cfc05b1: Pull complete 11:17:38 2437ff75d9bd: Pull complete 11:17:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:17:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:17:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:17:38 prd-ubuntu20.04-docker-arm64-4c-16g-33472 does not seem to be running inside a container 11:17:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/22 -v /w/workspace/device-snmp-go/22:/w/workspace/device-snmp-go/22:rw,z -v /w/workspace/device-snmp-go/22@tmp:/w/workspace/device-snmp-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:17:41 $ docker top 5dab207d1e9b5a756a1a1590acf22ccd804374b25e61093ddda1f03cb5fbd7f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:42 ---> job-cost.sh 11:17:42 lf-activate-venv: SKIPPING 11:17:42 INFO: No Stack... 11:17:43 INFO: Retrieving Pricing Info for: v3-standard-4 11:17:44 INFO: Archiving Costs [Pipeline] sh 11:17:44 + cut -d, -f6 11:17:44 + cat /w/workspace/device-snmp-go/22/archives/cost.csv [Pipeline] lock 11:17:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] 11:17:44 Resource [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] did not exist. Created. 11:17:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:45 /w/workspace/device-snmp-go/22@tmp/durable-af6263f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:17:46 + echo total: 0.10999999940395355 [Pipeline] stash 11:17:46 Warning: overwriting stash ‘stack-cost’ 11:17:46 Stashed 1 file(s) [Pipeline] } 11:17:46 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 11:17:46 $ docker stop --time=1 5dab207d1e9b5a756a1a1590acf22ccd804374b25e61093ddda1f03cb5fbd7f5 11:17:47 $ docker rm -f 5dab207d1e9b5a756a1a1590acf22ccd804374b25e61093ddda1f03cb5fbd7f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:17:48 provisioning config files... 11:17:48 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2609745740062507982tmp [Pipeline] { [Pipeline] sh 11:17:48 + set +x 11:17:48 + curl -s https://codecov.io/bash 11:17:48 + bash -s -- 11:17:48 11:17:48 _____ _ 11:17:48 / ____| | | 11:17:48 | | ___ __| | ___ ___ _____ __ 11:17:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:17:48 | |___| (_) | (_| | __/ (_| (_) \ V / 11:17:48 \_____\___/ \__,_|\___|\___\___/ \_/ 11:17:48 Bash-1.0.6 11:17:48 11:17:48 11:17:48 ==> git version 2.25.1 found 11:17:48 ==> 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 11:17:48 Release-Date: 2020-01-08 11:17:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:17:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:17:48 ==> Jenkins CI detected. 11:17:48 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 11:17:48 project root: . 11:17:48 --> token set from env 11:17:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:17:48 ==> Running gcov in . (disable via -X gcov) 11:17:48 ==> Python coveragepy not found 11:17:48 ==> Searching for coverage reports in: 11:17:48 + . 11:17:48 -> Found 1 reports 11:17:48 ==> Detecting git/mercurial file structure 11:17:48 ==> Reading reports 11:17:48 + ./coverage.out bytes=7631 11:17:48 ==> Appending adjustments 11:17:48 https://docs.codecov.io/docs/fixing-reports 11:17:48 + Found adjustments 11:17:48 ==> Gzipping contents 11:17:48 4.0K /tmp/codecov.xkP8sx.gz 11:17:48 ==> Uploading reports 11:17:48 url: https://codecov.io 11:17:48 query: branch=main&commit=a672eeb6ec92b4d90420405cd1acfac3e3196a2e&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:17:48 -> Pinging Codecov 11:17:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=a672eeb6ec92b4d90420405cd1acfac3e3196a2e&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:17:49 -> Uploading to 11:17:49 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/6C56EA5C29638FB4528AC87E60AF5AE0/a672eeb6ec92b4d90420405cd1acfac3e3196a2e/2ac5ae4e-c992-4405-894f-de1b818966b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T111748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=668bb5fa05336b28997515ab8531dc5a679bc089bfee9684d21329c5a34c81d1 11:17:49 % Total % Received % Xferd Average Speed Time Time Time Current 11:17:49 Dload Upload Total Spent Left Speed 11:17:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6538 --:--:-- --:--:-- --:--:-- 6538 11:17:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] } 11:17:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:17:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:17:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:17:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:17:49 11:17:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:17:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:17:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:17:50 188c0c94c7c5: Pulling fs layer 11:17:50 0ef7d3d256c8: Pulling fs layer 11:17:50 de9db76c5a1d: Pulling fs layer 11:17:50 0eba1c9be4d2: Pulling fs layer 11:17:50 0d57e429df01: Pulling fs layer 11:17:50 4e4be7b47b0d: Pulling fs layer 11:17:50 e1f770b5df2f: Pulling fs layer 11:17:50 85a0685a4137: Pulling fs layer 11:17:50 0d57e429df01: Waiting 11:17:50 4e4be7b47b0d: Waiting 11:17:50 e1f770b5df2f: Waiting 11:17:50 85a0685a4137: Waiting 11:17:50 0eba1c9be4d2: Waiting 11:17:50 de9db76c5a1d: Verifying Checksum 11:17:50 de9db76c5a1d: Download complete 11:17:50 0ef7d3d256c8: Download complete 11:17:50 0d57e429df01: Verifying Checksum 11:17:50 0d57e429df01: Download complete 11:17:50 4e4be7b47b0d: Verifying Checksum 11:17:50 4e4be7b47b0d: Download complete 11:17:50 188c0c94c7c5: Verifying Checksum 11:17:50 188c0c94c7c5: Download complete 11:17:50 188c0c94c7c5: Pull complete 11:17:50 e1f770b5df2f: Verifying Checksum 11:17:50 e1f770b5df2f: Download complete 11:17:50 0ef7d3d256c8: Pull complete 11:17:50 de9db76c5a1d: Pull complete 11:17:51 0eba1c9be4d2: Verifying Checksum 11:17:51 0eba1c9be4d2: Download complete 11:17:51 85a0685a4137: Verifying Checksum 11:17:51 85a0685a4137: Download complete 11:17:54 0eba1c9be4d2: Pull complete 11:17:54 0d57e429df01: Pull complete 11:17:54 4e4be7b47b0d: Pull complete 11:17:55 e1f770b5df2f: Pull complete 11:17:59 85a0685a4137: Pull complete 11:17:59 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:17:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:17:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:17:59 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:17:59 $ 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 11:18:01 $ docker top 4c034574508c57148dc4f4ae1b6adfc87c14f2ba993e4328a1151d0062c053e1 -eo pid,comm [Pipeline] { [Pipeline] echo 11:18:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:18:01 + set -o pipefail 11:18:01 + snyk monitor '--org=edgex-jenkins' 11:18:07 11:18:07 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 11:18:07 11:18:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/58b549b4-574b-4769-9ebf-b6b00583c54f 11:18:07 11:18:07 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:18:07 11:18:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:18:07 11:18:08 [Pipeline] } 11:18:08 $ docker stop --time=1 4c034574508c57148dc4f4ae1b6adfc87c14f2ba993e4328a1151d0062c053e1 11:18:10 $ docker rm -f 4c034574508c57148dc4f4ae1b6adfc87c14f2ba993e4328a1151d0062c053e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:18:11 + git log --format=format:%s -1 a672eeb6ec92b4d90420405cd1acfac3e3196a2e [Pipeline] sh 11:18:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:18:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:18:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:18:11 . [Pipeline] withDockerContainer 11:18:12 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:18:12 $ 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 11:18:12 $ docker top c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:18:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:18:12 [ssh-agent] Looking for ssh-agent implementation... 11:18:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:18:12 $ docker exec c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 ssh-agent 11:18:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgfjKCK/agent.15 11:18:12 SSH_AGENT_PID=21 11:18:12 Running ssh-add (command line suppressed) 11:18:13 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9014715680057348674.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9014715680057348674.key) 11:18:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:18:13 + git semver tag 11:18:13 # -> Open(): unable to determine branch for HEAD 11:18:13 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 11:18:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 11:18:13 # $SEMVER_REMOTE_NAME = origin 11:18:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:18:13 # $SEMVER_USER_NAME = edgex-jenkins 11:18:13 # $SEMVER_BRANCH = main 11:18:13 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 11:18:13 # a672eeb6ec92b4d90420405cd1acfac3e3196a2e HEAD 11:18:13 # -> Force: false 11:18:13 # f67320a8533e31c7b721126e7d9207c7a0be302d refs/tags/v2.2.0-dev.12 [Pipeline] } 11:18:13 $ docker exec --env ******** --env ******** c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 ssh-agent -k 11:18:13 unset SSH_AUTH_SOCK; 11:18:13 unset SSH_AGENT_PID; 11:18:13 echo Agent pid 21 killed; 11:18:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:18:13 + git semver [Pipeline] } 11:18:13 $ docker stop --time=1 c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 11:18:15 $ docker rm -f c2ce1fab400a9a5eba5d8c1bd3382a88f0931f255bc2b43b08053cb3a0361527 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:18:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:18:15 11:18:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:18:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:18:15 0.23.1-centos7: Pulling from edgex-lftools 11:18:15 ab5ef0e58194: Pulling fs layer 11:18:15 9712f1f96733: Pulling fs layer 11:18:15 63f879dbbcfc: Pulling fs layer 11:18:15 0d9ebad4ef96: Pulling fs layer 11:18:15 e9a5061849ea: Pulling fs layer 11:18:15 d747dcd14b5f: Pulling fs layer 11:18:15 2de7ff778b66: Pulling fs layer 11:18:15 0d9ebad4ef96: Waiting 11:18:15 e9a5061849ea: Waiting 11:18:15 d747dcd14b5f: Waiting 11:18:15 9712f1f96733: Download complete 11:18:16 63f879dbbcfc: Verifying Checksum 11:18:16 63f879dbbcfc: Download complete 11:18:16 ab5ef0e58194: Download complete 11:18:16 e9a5061849ea: Verifying Checksum 11:18:16 e9a5061849ea: Download complete 11:18:16 d747dcd14b5f: Verifying Checksum 11:18:16 d747dcd14b5f: Download complete 11:18:16 0d9ebad4ef96: Verifying Checksum 11:18:16 0d9ebad4ef96: Download complete 11:18:16 2de7ff778b66: Verifying Checksum 11:18:16 2de7ff778b66: Download complete 11:18:19 ab5ef0e58194: Pull complete 11:18:19 9712f1f96733: Pull complete 11:18:20 63f879dbbcfc: Pull complete 11:18:24 0d9ebad4ef96: Pull complete 11:18:24 e9a5061849ea: Pull complete 11:18:24 d747dcd14b5f: Pull complete 11:18:25 2de7ff778b66: Pull complete 11:18:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:18:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:18:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:18:25 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:18:25 $ 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 11:18:27 $ docker top e348e28a4ce52637ba65057ae96aa5b3295e6a75924f2848c6243e9fb719ae3b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:18:27 provisioning config files... 11:18:27 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1326557517604992738tmp 11:18:27 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5082901114770835852tmp 11:18:27 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7028500655711862784tmp [Pipeline] { [Pipeline] echo 11:18:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:18:28 ---> sigul-configuration.sh 11:18:28 gpg: directory `/root/.gnupg' created 11:18:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:18:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:18:28 gpg: keyring `/root/.gnupg/secring.gpg' created 11:18:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:18:28 gpg: CAST5 encrypted data 11:18:28 gpg: encrypted with 1 passphrase 11:18:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:18:28 + mkdir /home/jenkins 11:18:28 + mkdir /home/jenkins/sigul [Pipeline] sh 11:18:28 + 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 11:18:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:18:29 ---> sigul-install.sh 11:18:29 Sigul already installed; skipping installation. [Pipeline] sh 11:18:29 + git tag --list 11:18:29 1.0.0 11:18:29 v0.0.0 11:18:29 v1.1.0 11:18:29 v1.1.1 11:18:29 v1.2.2 11:18:29 v1.3.0 11:18:29 v1.3.1 11:18:29 v2.0.0 11:18:29 v2.0.1-dev.1 11:18:29 v2.0.1-dev.2 11:18:29 v2.0.1-dev.3 11:18:29 v2.0.1-dev.4 11:18:29 v2.0.1-dev.5 11:18:29 v2.0.1-dev.6 11:18:29 v2.1.0 11:18:29 v2.2.0-dev.1 11:18:29 v2.2.0-dev.10 11:18:29 v2.2.0-dev.11 11:18:29 v2.2.0-dev.12 11:18:29 v2.2.0-dev.2 11:18:29 v2.2.0-dev.3 11:18:29 v2.2.0-dev.4 11:18:29 v2.2.0-dev.5 11:18:29 v2.2.0-dev.6 11:18:29 v2.2.0-dev.7 11:18:29 v2.2.0-dev.8 11:18:29 v2.2.0-dev.9 [Pipeline] sh 11:18:29 + lftools sign git-tag v2.2.0-dev.12 11:18:30 Signing Git tag with Sigul... 11:18:30 Signing v2.2.0-dev.12 [Pipeline] echo 11:18:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:18:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:18:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:18:31 $ docker stop --time=1 e348e28a4ce52637ba65057ae96aa5b3295e6a75924f2848c6243e9fb719ae3b 11:18:32 $ docker rm -f e348e28a4ce52637ba65057ae96aa5b3295e6a75924f2848c6243e9fb719ae3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:18:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:18:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:18:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:18:33 . [Pipeline] withDockerContainer 11:18:33 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:18:33 $ 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 11:18:33 $ docker top 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:18:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:18:33 [ssh-agent] Looking for ssh-agent implementation... 11:18:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:18:33 $ docker exec 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 ssh-agent 11:18:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfEnHFK/agent.13 11:18:33 SSH_AGENT_PID=19 11:18:33 Running ssh-add (command line suppressed) 11:18:34 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_545328380425227486.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_545328380425227486.key) 11:18:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:18:34 + git semver bump pre 11:18:34 # -> Open(): unable to determine branch for HEAD 11:18:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 11:18:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 11:18:34 # $SEMVER_REMOTE_NAME = origin 11:18:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:18:34 # $SEMVER_USER_NAME = edgex-jenkins 11:18:34 # $SEMVER_BRANCH = main 11:18:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 11:18:34 2.2.0-dev.13 [Pipeline] } 11:18:34 $ docker exec --env ******** --env ******** 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 ssh-agent -k 11:18:34 unset SSH_AUTH_SOCK; 11:18:34 unset SSH_AGENT_PID; 11:18:34 echo Agent pid 19 killed; 11:18:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:18:34 + git semver [Pipeline] } 11:18:34 $ docker stop --time=1 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 11:18:36 $ docker rm -f 497fe53ae02aa97e65f26b841f8433ee7659d531517bf1bd2c0d6c9ce2ddf309 [Pipeline] // withDockerContainer [Pipeline] sh 11:18:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:18:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:18:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:18:36 . [Pipeline] withDockerContainer 11:18:36 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:18:36 $ 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 11:18:37 $ docker top 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:18:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:18:37 [ssh-agent] Looking for ssh-agent implementation... 11:18:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:18:37 $ docker exec 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 ssh-agent 11:18:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkGaBpD/agent.14 11:18:37 SSH_AGENT_PID=21 11:18:37 Running ssh-add (command line suppressed) 11:18:37 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8049249851217378539.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8049249851217378539.key) 11:18:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:18:38 + git semver push 11:18:38 # -> Open(): unable to determine branch for HEAD 11:18:38 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 11:18:38 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 11:18:38 # $SEMVER_REMOTE_NAME = origin 11:18:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:18:38 # $SEMVER_USER_NAME = edgex-jenkins 11:18:38 # $SEMVER_BRANCH = main 11:18:38 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 11:18:39 $ docker exec --env ******** --env ******** 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 ssh-agent -k 11:18:39 unset SSH_AUTH_SOCK; 11:18:39 unset SSH_AGENT_PID; 11:18:39 echo Agent pid 21 killed; 11:18:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:18:39 + git semver [Pipeline] } 11:18:39 $ docker stop --time=1 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 11:18:41 $ docker rm -f 885e4d1f97fd258fc09645389384250332f0dad9c47dd9688e46ec94ab5a29a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:18:41 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 11:18:41 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 11:18:41 total 16 11:18:41 drwxr-xr-x 3 root root 4096 Apr 27 11:08 . 11:18:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 11:18 .. 11:18:41 drwxr-xr-x 2 root root 4096 Apr 27 11:08 cost 11:18:41 -rw-r--r-- 1 root root 84 Apr 27 11:08 cost.csv 11:18:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 11:18:41 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 11:18:41 total 16 11:18:41 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 11:08 . 11:18:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 11:18 .. 11:18:41 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 11:08 cost 11:18:41 -rw-r--r-- 1 jenkins jenkins 84 Apr 27 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:18:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:18:42 ---> package-listing.sh 11:18:42 ++ facter osfamily 11:18:42 ++ tr '[:upper:]' '[:lower:]' 11:18:43 + OS_FAMILY=debian 11:18:43 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 11:18:43 + START_PACKAGES=/tmp/packages_start.txt 11:18:43 + END_PACKAGES=/tmp/packages_end.txt 11:18:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:18:43 + PACKAGES=/tmp/packages_start.txt 11:18:43 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 11:18:43 + PACKAGES=/tmp/packages_end.txt 11:18:43 + case "${OS_FAMILY}" in 11:18:43 + dpkg -l 11:18:43 + grep '^ii' 11:18:43 + '[' -f /tmp/packages_start.txt ']' 11:18:43 + '[' -f /tmp/packages_end.txt ']' 11:18:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:18:43 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 11:18:43 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 11:18:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 11:18:43 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 11:18:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:18:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:44 . [Pipeline] withDockerContainer 11:18:44 prd-ubuntu20.04-docker-8c-8g-33469 does not seem to be running inside a container 11:18:44 $ 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 11:18:44 $ docker top d053555dd4f0feae9802f43b742c99e62c15bcd1b72d848dea7912cd41236368 -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:44 + touch /tmp/pre-build-complete [Pipeline] sh 11:18:45 + mkdir -p /var/log/sysstat [Pipeline] sh 11:18:45 + ls /var/log/sa-host 11:18:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:45 provisioning config files... 11:18:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2273973667427959119tmp [Pipeline] { [Pipeline] echo 11:18:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:18:45 ---> create-netrc.sh [Pipeline] } 11:18:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:18:46 ---> python-tools-install.sh [Pipeline] echo 11:18:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:18:46 ---> sudo-logs.sh 11:18:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:18:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:18:46 ---> job-cost.sh 11:18:46 lf-activate-venv: SKIPPING 11:18:46 DEBUG: total: 0.2199999988079071 11:18:46 INFO: Retrieving Stack Cost... 11:18:47 INFO: Retrieving Pricing Info for: v3-standard-8 11:18:47 INFO: Archiving Costs [Pipeline] echo 11:18:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:18:47 ---> logs-deploy.sh 11:18:47 lf-activate-venv: SKIPPING 11:18:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/22 11:18:47 INFO: archiving workspace using pattern(s): 11:18:48 Archives upload complete. 11:18:48 INFO: archiving logs to Nexus