Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh395030247292110663.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16724753497874492665.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16437667605134397329.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10002544449433844387.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3519168930434699313.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24984 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 Commit message: "feat(snap): add support for env var injection (#160)" > git rev-list --no-walk 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:53:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:53:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:53:55 ========================================================= 15:53:55 EdgeX Global Pipelines Version Info 15:53:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:53:56 ------------------- 15:53:56 stable info: 15:53:56 ------------------- 15:53:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:53:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:53:56 Message: update stable to v1.0.221 15:53:57 ------------------- 15:53:57 experimental info: 15:53:57 ------------------- 15:53:57 Commited By: Emilio Reyes emilio.reyes@intel.com 15:53:57 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 15:53:57 Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a3dba1 [Pipeline] echo 15:53:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:53:57 provisioning config files... 15:53:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7662140279672411215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:58 ---> docker-login.sh 15:53:58 nexus3.edgexfoundry.org:10001 15:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:58 Configure a credential helper to remove this warning. See 15:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:58 15:53:58 Login Succeeded 15:53:58 nexus3.edgexfoundry.org:10002 15:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:58 Configure a credential helper to remove this warning. See 15:53:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:58 15:53:58 Login Succeeded 15:53:58 nexus3.edgexfoundry.org:10003 15:53:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:59 Configure a credential helper to remove this warning. See 15:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:59 15:53:59 Login Succeeded 15:53:59 nexus3.edgexfoundry.org:10004 15:53:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:59 Configure a credential helper to remove this warning. See 15:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:59 15:53:59 Login Succeeded 15:53:59 docker.io 15:53:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:59 Configure a credential helper to remove this warning. See 15:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:59 15:53:59 Login Succeeded 15:53:59 ---> docker-login.sh ends [Pipeline] } 15:53:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:54:00 + git rev-list -1 --merges 9a3dba1396f359ed2da05b9e2de949f9cb839ab1~1..9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] echo 15:54:00 -----------> git rev-list -1 --merges 9a3dba1396f359ed2da05b9e2de949f9cb839ab1~1..9a3dba1396f359ed2da05b9e2de949f9cb839ab1 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [false] [Pipeline] sh 15:54:00 + git log --format=format:%s -1 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] echo 15:54:00 ========================================================= 15:54:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:54:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:54:00 + git log --format=format:%s -1 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] echo 15:54:00 [semverPrep] GIT_COMMIT: 9a3dba1396f359ed2da05b9e2de949f9cb839ab1, Commit Message: feat(snap): add support for env var injection (#160) [Pipeline] echo 15:54:00 [semverPrep] This is not a build commit. [Pipeline] sh 15:54:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:01 + grep -v github /etc/ssh/ssh_known_hosts 15:54:01 + [ -e /tmp/ssh_known_hosts ] 15:54:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:54:01 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:54:01 sudo tee -a /etc/ssh/ssh_known_hosts 15:54:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:54:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:54:01 15:54:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:54:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:54:02 latest: Pulling from edgex-devops/git-semver 15:54:02 a0d0a0d46f8b: Pulling fs layer 15:54:02 3e5f54012d9b: Pulling fs layer 15:54:02 4c7163046ea9: Pulling fs layer 15:54:02 0c2d73faf560: Pulling fs layer 15:54:02 0c2d73faf560: Waiting 15:54:02 3e5f54012d9b: Verifying Checksum 15:54:02 3e5f54012d9b: Download complete 15:54:02 a0d0a0d46f8b: Download complete 15:54:02 0c2d73faf560: Verifying Checksum 15:54:02 0c2d73faf560: Download complete 15:54:02 4c7163046ea9: Verifying Checksum 15:54:02 4c7163046ea9: Download complete 15:54:02 a0d0a0d46f8b: Pull complete 15:54:02 3e5f54012d9b: Pull complete 15:54:02 4c7163046ea9: Pull complete 15:54:02 0c2d73faf560: Pull complete 15:54:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:54:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:54:02 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 15:54:03 $ 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 15:54:03 $ docker top 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:03 [ssh-agent] Looking for ssh-agent implementation... 15:54:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:03 $ docker exec 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 ssh-agent 15:54:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKFjGCL/agent.15 15:54:04 SSH_AGENT_PID=21 15:54:04 Running ssh-add (command line suppressed) 15:54:04 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3653324824972085432.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3653324824972085432.key) 15:54:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:04 + git tag --points-at HEAD [Pipeline] } 15:54:04 $ docker exec --env ******** --env ******** 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 ssh-agent -k 15:54:04 unset SSH_AUTH_SOCK; 15:54:04 unset SSH_AGENT_PID; 15:54:04 echo Agent pid 21 killed; 15:54:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:54:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:04 [ssh-agent] Looking for ssh-agent implementation... 15:54:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:04 $ docker exec 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 ssh-agent 15:54:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbPhANg/agent.54 15:54:05 SSH_AGENT_PID=61 15:54:05 Running ssh-add (command line suppressed) 15:54:05 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_492685213580081537.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_492685213580081537.key) 15:54:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:05 + git semver init 15:54:05 # -> Open(): unable to determine branch for HEAD 15:54:05 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 15:54:05 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 15:54:05 # $SEMVER_REMOTE_NAME = origin 15:54:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:54:05 # $SEMVER_USER_NAME = edgex-jenkins 15:54:05 # $SEMVER_BRANCH = main 15:54:05 # $SEMVER_TEMP = /tmp/semver-021816853 15:54:05 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 15:54:06 # '/tmp/semver-021816853' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 15:54:06 # -> Force: false 15:54:06 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 15:54:06 $ docker exec --env ******** --env ******** 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 ssh-agent -k 15:54:06 unset SSH_AUTH_SOCK; 15:54:06 unset SSH_AGENT_PID; 15:54:06 echo Agent pid 61 killed; 15:54:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:06 + git semver [Pipeline] } 15:54:06 $ docker stop --time=1 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 15:54:08 $ docker rm -f 26f94d04bbb167cc3099430eebd8789f779775a3082d8c84628a9a5dc7b57835 [Pipeline] // withDockerContainer [Pipeline] sh 15:54:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:54:08 Stashed 1 file(s) [Pipeline] echo 15:54:08 [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:09 provisioning config files... 15:54:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2455304408107330258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:09 ---> docker-login.sh 15:54:09 nexus3.edgexfoundry.org:10001 15:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:09 Configure a credential helper to remove this warning. See 15:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:09 15:54:09 Login Succeeded 15:54:09 nexus3.edgexfoundry.org:10002 15:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:09 Configure a credential helper to remove this warning. See 15:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:09 15:54:09 Login Succeeded 15:54:09 nexus3.edgexfoundry.org:10003 15:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:09 Configure a credential helper to remove this warning. See 15:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:09 15:54:09 Login Succeeded 15:54:09 nexus3.edgexfoundry.org:10004 15:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:09 Configure a credential helper to remove this warning. See 15:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:09 15:54:09 Login Succeeded 15:54:09 docker.io 15:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:10 Configure a credential helper to remove this warning. See 15:54:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:10 15:54:10 Login Succeeded 15:54:10 ---> docker-login.sh ends [Pipeline] } 15:54:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:54:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:10 ========================================================= 15:54:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:54:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:54:10 + 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 . 15:54:10 Sending build context to Docker daemon 5.255MB 15:54:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:54:10 Step 2/12 : FROM ${BASE} AS builder 15:54:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:54:10 59bf1c3509f3: Pulling fs layer 15:54:10 666ba61612fd: Pulling fs layer 15:54:10 8ed8ca486205: Pulling fs layer 15:54:10 4fe6c5a15a65: Pulling fs layer 15:54:10 22a0e8bec74d: Pulling fs layer 15:54:10 ca2b28591e48: Pulling fs layer 15:54:10 a51346096db8: Pulling fs layer 15:54:10 daebc70d1ce1: Pulling fs layer 15:54:10 0e18a0eac166: Pulling fs layer 15:54:10 22a0e8bec74d: Waiting 15:54:10 ca2b28591e48: Waiting 15:54:10 a51346096db8: Waiting 15:54:10 daebc70d1ce1: Waiting 15:54:10 0e18a0eac166: Waiting 15:54:10 4fe6c5a15a65: Waiting 15:54:10 8ed8ca486205: Verifying Checksum 15:54:10 8ed8ca486205: Download complete 15:54:10 666ba61612fd: Download complete 15:54:10 22a0e8bec74d: Verifying Checksum 15:54:10 22a0e8bec74d: Download complete 15:54:10 ca2b28591e48: Download complete 15:54:10 a51346096db8: Download complete 15:54:10 59bf1c3509f3: Verifying Checksum 15:54:10 daebc70d1ce1: Verifying Checksum 15:54:10 daebc70d1ce1: Download complete 15:54:10 59bf1c3509f3: Pull complete 15:54:11 666ba61612fd: Pull complete 15:54:11 8ed8ca486205: Pull complete 15:54:11 0e18a0eac166: Verifying Checksum 15:54:11 0e18a0eac166: Download complete 15:54:11 4fe6c5a15a65: Verifying Checksum 15:54:11 4fe6c5a15a65: Download complete 15:54:15 4fe6c5a15a65: Pull complete 15:54:15 22a0e8bec74d: Pull complete 15:54:15 ca2b28591e48: Pull complete 15:54:15 a51346096db8: Pull complete 15:54:16 daebc70d1ce1: Pull complete 15:54:18 0e18a0eac166: Pull complete 15:54:18 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:54:18 ---> f018257e8ee9 15:54:18 Step 3/12 : ARG MAKE='make build' 15:54:20 ---> Running in 441d074ec507 15:54:20 Removing intermediate container 441d074ec507 15:54:20 ---> 47537639a902 15:54:20 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:54:20 ---> Running in 8fee607a343c 15:54:20 Removing intermediate container 8fee607a343c 15:54:20 ---> 2e5274bba2bd 15:54:20 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 15:54:20 ---> Running in d740d475c49e 15:54:20 Removing intermediate container d740d475c49e 15:54:20 ---> 660bf3fd9270 15:54:20 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:54:20 ---> Running in 1e706522498b 15:54:20 Removing intermediate container 1e706522498b 15:54:20 ---> 00d9eccef1aa 15:54:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:54:20 ---> Running in 159dc7244922 15:54:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:54:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:54:22 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:54:22 (2/4) Installing libedit (20210910.3.1-r0) 15:54:22 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:54:22 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:54:22 Executing busybox-1.34.1-r3.trigger 15:54:22 OK: 224 MiB in 56 packages 15:54:23 Removing intermediate container 159dc7244922 15:54:23 ---> 3a928d59eabe 15:54:23 Step 8/12 : WORKDIR /device-snmp-go 15:54:23 ---> Running in d8ef944213e8 15:54:23 Removing intermediate container d8ef944213e8 15:54:23 ---> 6e655855a5e5 15:54:23 Step 9/12 : COPY go.mod vendor* ./ 15:54:23 ---> 5faf3c5060e6 15:54:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:54:24 Still waiting to schedule task 15:54:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:54:24 ---> Running in fee15c9b0a65 15:54:46 Removing intermediate container fee15c9b0a65 15:54:46 ---> 0e23954cbb06 15:54:46 Step 11/12 : COPY . . 15:54:46 ---> 02762092f5e7 15:54:46 Step 12/12 : RUN ${MAKE} 15:54:46 ---> Running in b40d76aa9062 15:54:46 noop 15:54:46 Removing intermediate container b40d76aa9062 15:54:46 ---> 78950d9c30ea 15:54:46 Successfully built 78950d9c30ea 15:54:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:54:46 + docker inspect -f . ci-base-image-x86_64 15:54:46 . [Pipeline] withDockerContainer 15:54:46 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 15:54: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 15:54:47 $ docker top ab1a5d9dd3111ad90d2279b982bf1ad4e7a0ad14bdcf191cd0d364089cf356ca -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:47 + go version 15:54:47 go version go1.17.6 linux/amd64 [Pipeline] } 15:54:47 $ docker stop --time=1 ab1a5d9dd3111ad90d2279b982bf1ad4e7a0ad14bdcf191cd0d364089cf356ca 15:54:48 $ docker rm -f ab1a5d9dd3111ad90d2279b982bf1ad4e7a0ad14bdcf191cd0d364089cf356ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:54:49 + docker inspect -f . ci-base-image-x86_64 15:54:49 . [Pipeline] withDockerContainer 15:54:49 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 15:54:49 $ 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 15:54:49 $ docker top 5f36a85322d4600093bbcbe757418a9dd4a4b2bfaaf6f91972d2295677950f95 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:54:50 + make test 15:54:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:54:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:55:00 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:55:00 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 15:55:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:55:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:55:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:55:12 ./bin/test-attribution-txt.sh [Pipeline] echo 15:55:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:55:12 $ docker stop --time=1 5f36a85322d4600093bbcbe757418a9dd4a4b2bfaaf6f91972d2295677950f95 15:55:14 $ docker rm -f 5f36a85322d4600093bbcbe757418a9dd4a4b2bfaaf6f91972d2295677950f95 [Pipeline] // withDockerContainer [Pipeline] sh 15:55:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:55:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:55:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:55:16 + ls -al . 15:55:16 total 164 15:55:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 15:55 . 15:55:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 15:53 .. 15:55:16 -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 15:53 .dockerignore 15:55:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 15:53 .git 15:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 .github 15:55:16 -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 15:53 .gitignore 15:55:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 15:53 .golangci.yml 15:55:16 drwx------ 3 jenkins jenkins 4096 Apr 26 15:54 .semver 15:55:16 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 26 15:53 Attribution.txt 15:55:16 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 26 15:53 CHANGELOG.md 15:55:16 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 26 15:53 Dockerfile 15:55:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 15:53 GOVERNANCE.md 15:55:16 -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 15:53 Jenkinsfile 15:55:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 15:53 LICENSE 15:55:16 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 26 15:53 Makefile 15:55:16 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 15:53 OWNERS.md 15:55:16 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 26 15:53 README.md 15:55:16 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:54 VERSION 15:55:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 15:53 bin 15:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 cmd 15:55:16 -rw-r--r-- 1 jenkins jenkins 7631 Apr 26 15:54 coverage.out 15:55:16 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 26 15:53 go.mod 15:55:16 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 26 15:53 go.sum 15:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 internal 15:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 15:53 snap 15:55:16 -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 15:53 version.go [Pipeline] isUnix [Pipeline] sh 15:55:16 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9a3dba1396f359ed2da05b9e2de949f9cb839ab1 --label arch=amd64 --label version=2.2.0-dev.11 . 15:55:16 Sending build context to Docker daemon 5.263MB 15:55:16 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:55:16 Step 2/24 : FROM ${BASE} AS builder 15:55:16 ---> 78950d9c30ea 15:55:16 Step 3/24 : ARG MAKE='make build' 15:55:16 ---> Running in d6fc0c4cba30 15:55:16 Removing intermediate container d6fc0c4cba30 15:55:16 ---> 23377c708465 15:55:16 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:55:16 ---> Running in aff785923de1 15:55:16 Removing intermediate container aff785923de1 15:55:16 ---> 3f4b19b0aff0 15:55:16 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:55:17 ---> Running in f42e3f881817 15:55:17 Removing intermediate container f42e3f881817 15:55:17 ---> 0bd33edac57d 15:55:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:55:17 ---> Running in 31dd1a50b365 15:55:17 Removing intermediate container 31dd1a50b365 15:55:17 ---> 2d9c80601a67 15:55:17 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:55:18 ---> Running in b07a39f07d37 15:55:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:55:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:55:19 OK: 224 MiB in 56 packages 15:55:19 Removing intermediate container b07a39f07d37 15:55:19 ---> bbab4302ea61 15:55:19 Step 8/24 : WORKDIR /device-snmp-go 15:55:19 ---> Running in c95ddb952c0a 15:55:20 Removing intermediate container c95ddb952c0a 15:55:20 ---> b7c285bd78f1 15:55:20 Step 9/24 : COPY go.mod vendor* ./ 15:55:20 ---> 42753fa6b1ed 15:55:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:55:20 ---> Running in 708cac489874 15:55:20 Removing intermediate container 708cac489874 15:55:20 ---> 1e358cdd2c2a 15:55:20 Step 11/24 : COPY . . 15:55:21 ---> d508103032ca 15:55:21 Step 12/24 : RUN ${MAKE} 15:55:21 ---> Running in 38c9b05ff23a 15:55:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 15:55:43 Removing intermediate container 38c9b05ff23a 15:55:43 ---> 65c1989237d4 15:55:43 Step 13/24 : FROM alpine:3.14 15:55:43 3.14: Pulling from library/alpine 15:55:43 8663204ce13b: Pulling fs layer 15:55:44 8663204ce13b: Download complete 15:55:44 8663204ce13b: Pull complete 15:55:44 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:55:44 Status: Downloaded newer image for alpine:3.14 15:55:44 ---> e04c818066af 15:55:44 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 15:55:44 ---> Running in 743a2bd814dc 15:55:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:55:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:55:44 (1/6) Installing dumb-init (1.2.5-r1) 15:55:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:55:44 (3/6) Installing libsodium (1.0.18-r0) 15:55:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:55:44 (5/6) Installing libzmq (4.3.4-r0) 15:55:44 (6/6) Installing zeromq (4.3.4-r0) 15:55:44 Executing busybox-1.33.1-r7.trigger 15:55:44 OK: 8 MiB in 20 packages 15:55:45 Removing intermediate container 743a2bd814dc 15:55:45 ---> 01ac052541ce 15:55:45 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:55:46 ---> 75c0b30f7806 15:55:46 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:55:46 ---> 673f1762d5c0 15:55:46 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:55:46 ---> e224c30d8d0c 15:55:46 Step 18/24 : EXPOSE 59993 15:55:46 ---> Running in 45c7592c2313 15:55:46 Removing intermediate container 45c7592c2313 15:55:46 ---> 5df8596450db 15:55:46 Step 19/24 : EXPOSE 161 15:55:46 ---> Running in 993b981eff07 15:55:46 Removing intermediate container 993b981eff07 15:55:46 ---> 6dd5e32c5fc7 15:55:46 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:55:46 ---> Running in a91f01505cd7 15:55:46 Removing intermediate container a91f01505cd7 15:55:46 ---> 9a61b316dc4b 15:55:46 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:55:46 ---> Running in 8f2970a7a4b1 15:55:46 Removing intermediate container 8f2970a7a4b1 15:55:46 ---> b68669c31a7e 15:55:46 Step 22/24 : LABEL arch=amd64 15:55:46 ---> Running in 5ffb87690e72 15:55:46 Removing intermediate container 5ffb87690e72 15:55:46 ---> b25cad5563e2 15:55:46 Step 23/24 : LABEL git_sha=9a3dba1396f359ed2da05b9e2de949f9cb839ab1 15:55:47 ---> Running in bdfec43fabcb 15:55:47 Removing intermediate container bdfec43fabcb 15:55:47 ---> b752e1d3fb9d 15:55:47 Step 24/24 : LABEL version=2.2.0-dev.11 15:55:47 ---> Running in 5c1d48174441 15:55:47 Removing intermediate container 5c1d48174441 15:55:47 ---> 11f759a3399e 15:55:47 [Warning] One or more build-args [ARCH] were not consumed 15:55:47 Successfully built 11f759a3399e 15:55:47 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:55:47 provisioning config files... 15:55:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3431840837734443535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:47 ---> docker-login.sh 15:55:47 nexus3.edgexfoundry.org:10001 15:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:47 Configure a credential helper to remove this warning. See 15:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:47 15:55:47 Login Succeeded 15:55:47 nexus3.edgexfoundry.org:10002 15:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:47 Configure a credential helper to remove this warning. See 15:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:47 15:55:47 Login Succeeded 15:55:47 nexus3.edgexfoundry.org:10003 15:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:47 Configure a credential helper to remove this warning. See 15:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:47 15:55:47 Login Succeeded 15:55:47 nexus3.edgexfoundry.org:10004 15:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:47 Configure a credential helper to remove this warning. See 15:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:47 15:55:47 Login Succeeded 15:55:47 docker.io 15:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:48 Configure a credential helper to remove this warning. See 15:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:48 15:55:48 Login Succeeded 15:55:48 ---> docker-login.sh ends [Pipeline] } 15:55:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:55:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:55:48 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 15:55:48 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 15:55:48 latest 15:55:48 2.2.0-dev.11 15:55:48 9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 15:55:48 main 15:55:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:55:48 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] isUnix [Pipeline] sh 15:55:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 15:55:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:55:48 ae5ccf58dcd4: Preparing 15:55:48 fd34e25dfd34: Preparing 15:55:48 195dddb95117: Preparing 15:55:48 a1652fc6e2c5: Preparing 15:55:48 b541d28bf3b4: Preparing 15:55:48 b541d28bf3b4: Layer already exists 15:55:48 ae5ccf58dcd4: Pushed 15:55:48 fd34e25dfd34: Pushed 15:55:49 a1652fc6e2c5: Pushed 15:55:51 195dddb95117: Pushed 15:55:51 9a3dba1396f359ed2da05b9e2de949f9cb839ab1: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:55:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 15:55:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 15:55:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:55:52 ae5ccf58dcd4: Preparing 15:55:52 fd34e25dfd34: Preparing 15:55:52 195dddb95117: Preparing 15:55:52 a1652fc6e2c5: Preparing 15:55:52 b541d28bf3b4: Preparing 15:55:52 a1652fc6e2c5: Layer already exists 15:55:52 fd34e25dfd34: Layer already exists 15:55:52 ae5ccf58dcd4: Layer already exists 15:55:52 b541d28bf3b4: Layer already exists 15:55:52 195dddb95117: Layer already exists 15:55:52 latest: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:55:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 15:55:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.11 15:55:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:55:52 ae5ccf58dcd4: Preparing 15:55:52 fd34e25dfd34: Preparing 15:55:52 195dddb95117: Preparing 15:55:52 a1652fc6e2c5: Preparing 15:55:52 b541d28bf3b4: Preparing 15:55:52 195dddb95117: Layer already exists 15:55:52 fd34e25dfd34: Layer already exists 15:55:52 ae5ccf58dcd4: Layer already exists 15:55:52 a1652fc6e2c5: Layer already exists 15:55:52 b541d28bf3b4: Layer already exists 15:55:52 2.2.0-dev.11: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:55:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 15:55:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 15:55:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:55:53 ae5ccf58dcd4: Preparing 15:55:53 fd34e25dfd34: Preparing 15:55:53 195dddb95117: Preparing 15:55:53 a1652fc6e2c5: Preparing 15:55:53 b541d28bf3b4: Preparing 15:55:53 195dddb95117: Layer already exists 15:55:53 a1652fc6e2c5: Layer already exists 15:55:53 ae5ccf58dcd4: Layer already exists 15:55:53 b541d28bf3b4: Layer already exists 15:55:53 fd34e25dfd34: Layer already exists 15:55:53 9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:55:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 15:55:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 15:55:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:55:54 ae5ccf58dcd4: Preparing 15:55:54 fd34e25dfd34: Preparing 15:55:54 195dddb95117: Preparing 15:55:54 a1652fc6e2c5: Preparing 15:55:54 b541d28bf3b4: Preparing 15:55:54 a1652fc6e2c5: Layer already exists 15:55:54 b541d28bf3b4: Layer already exists 15:55:54 195dddb95117: Layer already exists 15:55:54 fd34e25dfd34: Layer already exists 15:55:54 ae5ccf58dcd4: Layer already exists 15:55:54 main: digest: sha256:8d23dbf7b2ed07a56654417cda63d2b00974b6c458f9c35df142d82154012cf2 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:55:54 ===================================================== [Pipeline] echo 15:55:54 taggedImages: 15:55:54 - nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 15:55:54 - nexus3.edgexfoundry.org:10004/device-snmp:latest 15:55:54 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.11 15:55:54 - nexus3.edgexfoundry.org:10004/device-snmp:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 15:55:54 - 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 15:55:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:54 15:55:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:55:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:54 latest: Pulling from edgex-lftools-log-publisher 15:55:54 5eb5b503b376: Pulling fs layer 15:55:54 5c69ac0246d0: Pulling fs layer 15:55:54 ec43610c2a17: Pulling fs layer 15:55:54 3a2ae6a8a46f: Pulling fs layer 15:55:54 33b1e0a273af: Pulling fs layer 15:55:54 5d3b04190fa2: Pulling fs layer 15:55:54 2f39f015ded8: Pulling fs layer 15:55:54 33b1e0a273af: Waiting 15:55:54 5d3b04190fa2: Waiting 15:55:54 2f39f015ded8: Waiting 15:55:54 3a2ae6a8a46f: Waiting 15:55:54 5c69ac0246d0: Verifying Checksum 15:55:54 5c69ac0246d0: Download complete 15:55:54 3a2ae6a8a46f: Verifying Checksum 15:55:54 3a2ae6a8a46f: Download complete 15:55:54 33b1e0a273af: Verifying Checksum 15:55:54 33b1e0a273af: Download complete 15:55:55 5d3b04190fa2: Download complete 15:55:55 ec43610c2a17: Verifying Checksum 15:55:55 ec43610c2a17: Download complete 15:55:55 5eb5b503b376: Verifying Checksum 15:55:55 5eb5b503b376: Download complete 15:55:55 2f39f015ded8: Download complete 15:55:56 5eb5b503b376: Pull complete 15:55:56 5c69ac0246d0: Pull complete 15:55:57 ec43610c2a17: Pull complete 15:55:57 3a2ae6a8a46f: Pull complete 15:55:57 33b1e0a273af: Pull complete 15:55:57 5d3b04190fa2: Pull complete 15:56:02 2f39f015ded8: Pull complete 15:56:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:56:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:56:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:56:02 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 15:56:02 $ 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 15:56:05 $ docker top cd8613702e6b5b251763047a499385d5b0a9fc0b510b24c2f98ea0ff3a947aa5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:05 ---> job-cost.sh 15:56:05 lf-activate-venv: SKIPPING 15:56:05 INFO: No Stack... 15:56:05 INFO: Retrieving Pricing Info for: v3-standard-8 15:56:06 INFO: Archiving Costs [Pipeline] sh 15:56:06 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 15:56:06 + cut -d, -f6 [Pipeline] lock 15:56:06 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] 15:56:06 Resource [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] did not exist. Created. 15:56:06 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:56:07 + echo total: 0.2199999988079071 [Pipeline] stash 15:56:07 Stashed 1 file(s) [Pipeline] } 15:56:07 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 15:56:07 $ docker stop --time=1 cd8613702e6b5b251763047a499385d5b0a9fc0b510b24c2f98ea0ff3a947aa5 15:56:08 $ docker rm -f cd8613702e6b5b251763047a499385d5b0a9fc0b510b24c2f98ea0ff3a947aa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:35:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29075 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 16:35:00 Running in /w/workspace/device-snmp-go/21 [Pipeline] { [Pipeline] checkout 16:35:00 Selected Git installation does not exist. Using Default 16:35:00 The recommended git tool is: NONE 16:35:06 using credential edgex-jenkins-ssh 16:35:06 Cloning the remote Git repository 16:35:06 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 16:35:06 > git init /w/workspace/device-snmp-go/21 # timeout=10 16:35:07 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:35:07 > git --version # timeout=10 16:35:07 > git --version # 'git version 2.25.1' 16:35:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:08 Avoid second fetch 16:35:08 Checking out Revision 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 (main) 16:35:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:35:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:08 > git config core.sparsecheckout # timeout=10 16:35:08 > git checkout -f 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 16:35:12 Commit message: "feat(snap): add support for env var injection (#160)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:35:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:35:13 % Total % Received % Xferd Average Speed Time Time Time Current 16:35:13 Dload Upload Total Spent Left Speed 16:35:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 63672 0 --:--:-- --:--:-- --:--:-- 64016 [Pipeline] sh 16:35:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:35:14 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 16:35:14 /etc/docker/daemon.json 16:35:14 { 16:35:14 "registry-mirrors": [ 16:35:14 "https://nexus3.edgexfoundry.org:10001" 16:35:14 ], 16:35:14 "bip": "10.250.0.254/24", 16:35:14 "hosts": [ 16:35:14 "tcp://0.0.0.0:5555", 16:35:14 "unix:///var/run/docker.sock" 16:35:14 ], 16:35:14 "mtu": 1458, 16:35:14 "selinux-enabled": true, 16:35:14 "seccomp-profile": "/etc/docker/seccomp.json" 16:35:14 } [Pipeline] sh 16:35:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:35:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:33 provisioning config files... 16:35:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config7233697029198433715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:33 ---> docker-login.sh 16:35:33 nexus3.edgexfoundry.org:10001 16:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:34 Configure a credential helper to remove this warning. See 16:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:34 16:35:34 Login Succeeded 16:35:34 nexus3.edgexfoundry.org:10002 16:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:35 Configure a credential helper to remove this warning. See 16:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:35 16:35:35 Login Succeeded 16:35:35 nexus3.edgexfoundry.org:10003 16:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:35 Configure a credential helper to remove this warning. See 16:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:35 16:35:35 Login Succeeded 16:35:35 nexus3.edgexfoundry.org:10004 16:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:36 Configure a credential helper to remove this warning. See 16:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:36 16:35:36 Login Succeeded 16:35:36 docker.io 16:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:36 Configure a credential helper to remove this warning. See 16:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:36 16:35:36 Login Succeeded 16:35:36 ---> docker-login.sh ends [Pipeline] } 16:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:37 ========================================================= 16:35:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:35:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:35:37 + 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 . 16:35:38 Sending build context to Docker daemon 2.736MB 16:35:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:35:38 Step 2/12 : FROM ${BASE} AS builder 16:35:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:35:38 9b3977197b4f: Pulling fs layer 16:35:38 1a89e8eeedd5: Pulling fs layer 16:35:38 94645a83ff95: Pulling fs layer 16:35:38 3f3a8bcf1eab: Pulling fs layer 16:35:38 0c92f367c5e7: Pulling fs layer 16:35:38 3096ccb668a1: Pulling fs layer 16:35:38 e8cf19c19ddd: Pulling fs layer 16:35:38 a4caa8a26152: Pulling fs layer 16:35:38 3096ccb668a1: Waiting 16:35:38 e8cf19c19ddd: Waiting 16:35:38 a4caa8a26152: Waiting 16:35:38 0c92f367c5e7: Waiting 16:35:38 3f3a8bcf1eab: Waiting 16:35:38 94645a83ff95: Download complete 16:35:38 1a89e8eeedd5: Verifying Checksum 16:35:38 1a89e8eeedd5: Download complete 16:35:38 0c92f367c5e7: Verifying Checksum 16:35:38 0c92f367c5e7: Download complete 16:35:38 3096ccb668a1: Verifying Checksum 16:35:38 3096ccb668a1: Download complete 16:35:38 9b3977197b4f: Verifying Checksum 16:35:38 9b3977197b4f: Download complete 16:35:38 e8cf19c19ddd: Verifying Checksum 16:35:38 e8cf19c19ddd: Download complete 16:35:39 9b3977197b4f: Pull complete 16:35:39 1a89e8eeedd5: Pull complete 16:35:40 94645a83ff95: Pull complete 16:35:40 a4caa8a26152: Verifying Checksum 16:35:40 a4caa8a26152: Download complete 16:35:41 3f3a8bcf1eab: Verifying Checksum 16:35:41 3f3a8bcf1eab: Download complete 16:35:53 3f3a8bcf1eab: Pull complete 16:35:53 0c92f367c5e7: Pull complete 16:35:53 3096ccb668a1: Pull complete 16:35:53 e8cf19c19ddd: Pull complete 16:36:00 a4caa8a26152: Pull complete 16:36:00 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:36:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:36:00 ---> 725f1c02e7f9 16:36:00 Step 3/12 : ARG MAKE='make build' 16:36:00 ---> Running in e75461df8812 16:36:00 Removing intermediate container e75461df8812 16:36:00 ---> f0a961a833c1 16:36:00 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:36:00 ---> Running in ecb05afeec13 16:36:01 Removing intermediate container ecb05afeec13 16:36:01 ---> c6c5e555777f 16:36:01 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 16:36:01 ---> Running in 747d98961a20 16:36:01 Removing intermediate container 747d98961a20 16:36:01 ---> 58e978b3352a 16:36:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:36:01 ---> Running in 268faa964cc1 16:36:03 Removing intermediate container 268faa964cc1 16:36:03 ---> 9b2a41444ba3 16:36:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:36:03 ---> Running in dca8cf63af87 16:36:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:36:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:36:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:36:06 (2/4) Installing libedit (20210910.3.1-r0) 16:36:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:36:06 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:36:06 Executing busybox-1.34.1-r3.trigger 16:36:06 OK: 224 MiB in 56 packages 16:36:07 Removing intermediate container dca8cf63af87 16:36:07 ---> ea868628a01a 16:36:07 Step 8/12 : WORKDIR /device-snmp-go 16:36:07 ---> Running in add780adca11 16:36:08 Removing intermediate container add780adca11 16:36:08 ---> 44d279863c34 16:36:08 Step 9/12 : COPY go.mod vendor* ./ 16:36:08 ---> d55b5b67f8b1 16:36:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:36:08 ---> Running in 7a7d0eea19dc 16:36:55 Removing intermediate container 7a7d0eea19dc 16:36:55 ---> 021b04c97848 16:36:55 Step 11/12 : COPY . . 16:36:55 ---> 7281cab9c7c3 16:36:55 Step 12/12 : RUN ${MAKE} 16:36:55 ---> Running in 5798c8c081a4 16:36:55 noop 16:36:55 Removing intermediate container 5798c8c081a4 16:36:55 ---> 521e81394dd7 16:36:55 Successfully built 521e81394dd7 16:36:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:36:55 + docker inspect -f . ci-base-image-arm64 16:36:55 . [Pipeline] withDockerContainer 16:36:56 prd-ubuntu20.04-docker-arm64-4c-16g-29075 does not seem to be running inside a container 16:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:36:57 $ docker top 8a3c34d298dc127a2c8060371d8eb3470e52857b44c0248f4f94fdad9b7fe372 -eo pid,comm [Pipeline] { [Pipeline] sh 16:36:58 + go version 16:36:58 go version go1.17.6 linux/arm64 [Pipeline] } 16:36:58 $ docker stop --time=1 8a3c34d298dc127a2c8060371d8eb3470e52857b44c0248f4f94fdad9b7fe372 16:37:00 $ docker rm -f 8a3c34d298dc127a2c8060371d8eb3470e52857b44c0248f4f94fdad9b7fe372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:37:00 + docker inspect -f . ci-base-image-arm64 16:37:00 . [Pipeline] withDockerContainer 16:37:00 prd-ubuntu20.04-docker-arm64-4c-16g-29075 does not seem to be running inside a container 16:37:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:37:02 $ docker top 2a54da986e11ede3b29b8734566a5563e9ca9ee430c114294efaccee0517c589 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:37:03 + make test 16:37:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:37:05 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:38:27 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:38:27 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 16:38:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:38:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:38:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:38:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:38:45 ./bin/test-attribution-txt.sh [Pipeline] echo 16:38:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:38:46 $ docker stop --time=1 2a54da986e11ede3b29b8734566a5563e9ca9ee430c114294efaccee0517c589 16:38:48 $ docker rm -f 2a54da986e11ede3b29b8734566a5563e9ca9ee430c114294efaccee0517c589 [Pipeline] // withDockerContainer [Pipeline] sh 16:38:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:38:49 Warning: overwriting stash ‘coverage-report’ 16:38:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:38:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:38:50 + ls -al . 16:38:50 total 160 16:38:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:38 . 16:38:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 16:35 .. 16:38:50 -rw-rw-r-- 1 jenkins jenkins 6 Apr 26 16:35 .dockerignore 16:38:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 16:35 .git 16:38:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:35 .github 16:38:50 -rw-rw-r-- 1 jenkins jenkins 328 Apr 26 16:35 .gitignore 16:38:50 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 16:35 .golangci.yml 16:38:50 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 26 16:35 Attribution.txt 16:38:50 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 26 16:35 CHANGELOG.md 16:38:50 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 26 16:35 Dockerfile 16:38:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 16:35 GOVERNANCE.md 16:38:50 -rw-rw-r-- 1 jenkins jenkins 656 Apr 26 16:35 Jenkinsfile 16:38:50 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 16:35 LICENSE 16:38:50 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 26 16:35 Makefile 16:38:50 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 16:35 OWNERS.md 16:38:50 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 26 16:35 README.md 16:38:50 -rw-rw-r-- 1 jenkins jenkins 12 Apr 26 15:54 VERSION 16:38:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 16:35 bin 16:38:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:35 cmd 16:38:50 -rw-r--r-- 1 jenkins jenkins 7631 Apr 26 16:38 coverage.out 16:38:50 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 26 16:35 go.mod 16:38:50 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 26 16:35 go.sum 16:38:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:35 internal 16:38:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 16:35 snap 16:38:50 -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 16:35 version.go [Pipeline] isUnix [Pipeline] sh 16:38:51 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9a3dba1396f359ed2da05b9e2de949f9cb839ab1 --label arch=arm64 --label version=2.2.0-dev.11 . 16:38:51 Sending build context to Docker daemon 2.744MB 16:38:51 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 16:38:51 Step 2/24 : FROM ${BASE} AS builder 16:38:51 ---> 521e81394dd7 16:38:51 Step 3/24 : ARG MAKE='make build' 16:38:51 ---> Running in 612aed38e6e0 16:38:52 Removing intermediate container 612aed38e6e0 16:38:52 ---> c167a8641b31 16:38:52 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:38:52 ---> Running in 699980f15dcb 16:38:52 Removing intermediate container 699980f15dcb 16:38:52 ---> f4ee9e7a363a 16:38:52 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 16:38:52 ---> Running in ddbd1efd464a 16:38:52 Removing intermediate container ddbd1efd464a 16:38:52 ---> 5f3a8fbe4863 16:38:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:38:52 ---> Running in bc3e3ccf877f 16:38:54 Removing intermediate container bc3e3ccf877f 16:38:54 ---> 3c4d63abbcfe 16:38:54 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:38:54 ---> Running in 0349d3761c77 16:38:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:38:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:38:57 OK: 224 MiB in 56 packages 16:38:58 Removing intermediate container 0349d3761c77 16:38:58 ---> 14c310dad4f5 16:38:58 Step 8/24 : WORKDIR /device-snmp-go 16:38:58 ---> Running in d78436a24534 16:38:58 Removing intermediate container d78436a24534 16:38:58 ---> b7fc6710899e 16:38:58 Step 9/24 : COPY go.mod vendor* ./ 16:38:59 ---> d42a2a300569 16:38:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:38:59 ---> Running in 57dcaa75430a 16:39:00 Removing intermediate container 57dcaa75430a 16:39:00 ---> 5db1602efe58 16:39:00 Step 11/24 : COPY . . 16:39:01 ---> 1fcc185a5cfb 16:39:01 Step 12/24 : RUN ${MAKE} 16:39:01 ---> Running in ef9a1732ff5c 16:39:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 16:41:09 Removing intermediate container ef9a1732ff5c 16:41:09 ---> 674e4d06d6f6 16:41:09 Step 13/24 : FROM alpine:3.14 16:41:09 3.14: Pulling from library/alpine 16:41:09 455c02918c45: Pulling fs layer 16:41:09 455c02918c45: Verifying Checksum 16:41:09 455c02918c45: Download complete 16:41:09 455c02918c45: Pull complete 16:41:09 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:41:09 Status: Downloaded newer image for alpine:3.14 16:41:09 ---> ac73e934f311 16:41:09 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 16:41:09 ---> Running in c8ce1e86cc78 16:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:41:09 (1/6) Installing dumb-init (1.2.5-r1) 16:41:09 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:41:09 (3/6) Installing libsodium (1.0.18-r0) 16:41:09 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:41:09 (5/6) Installing libzmq (4.3.4-r0) 16:41:09 (6/6) Installing zeromq (4.3.4-r0) 16:41:09 Executing busybox-1.33.1-r7.trigger 16:41:09 OK: 8 MiB in 20 packages 16:41:09 Removing intermediate container c8ce1e86cc78 16:41:09 ---> 1df8143fe55d 16:41:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:41:09 ---> 2fd42d6fffc9 16:41:09 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:41:09 ---> 2d3ee4ec9784 16:41:09 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:41:09 ---> 7603784a8cb0 16:41:09 Step 18/24 : EXPOSE 59993 16:41:09 ---> Running in c436def826fc 16:41:09 Removing intermediate container c436def826fc 16:41:09 ---> fd49c80eb235 16:41:09 Step 19/24 : EXPOSE 161 16:41:09 ---> Running in b330e55720be 16:41:09 Removing intermediate container b330e55720be 16:41:09 ---> 7a9f88c82830 16:41:09 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:41:09 ---> Running in 9980eb88ee76 16:41:09 Removing intermediate container 9980eb88ee76 16:41:09 ---> bb848044e8d6 16:41:09 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:41:09 ---> Running in 0bbdd8aabeaf 16:41:09 Removing intermediate container 0bbdd8aabeaf 16:41:09 ---> eafbb014aa27 16:41:09 Step 22/24 : LABEL arch=arm64 16:41:09 ---> Running in 0cc0027f3236 16:41:09 Removing intermediate container 0cc0027f3236 16:41:09 ---> 6c315b285dd8 16:41:09 Step 23/24 : LABEL git_sha=9a3dba1396f359ed2da05b9e2de949f9cb839ab1 16:41:09 ---> Running in 7ca783f47a43 16:41:09 Removing intermediate container 7ca783f47a43 16:41:09 ---> 1fb696d9f647 16:41:09 Step 24/24 : LABEL version=2.2.0-dev.11 16:41:09 ---> Running in 8c697a8ed284 16:41:09 Removing intermediate container 8c697a8ed284 16:41:09 ---> 740c9af7c0c2 16:41:09 [Warning] One or more build-args [ARCH] were not consumed 16:41:09 Successfully built 740c9af7c0c2 16:41:09 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 16:41:09 provisioning config files... 16:41:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config1128702069983416711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:09 ---> docker-login.sh 16:41:09 nexus3.edgexfoundry.org:10001 16:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:10 Configure a credential helper to remove this warning. See 16:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:10 16:41:10 Login Succeeded 16:41:10 nexus3.edgexfoundry.org:10002 16:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:10 Configure a credential helper to remove this warning. See 16:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:10 16:41:10 Login Succeeded 16:41:10 nexus3.edgexfoundry.org:10003 16:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:11 Configure a credential helper to remove this warning. See 16:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:11 16:41:11 Login Succeeded 16:41:11 nexus3.edgexfoundry.org:10004 16:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:11 Configure a credential helper to remove this warning. See 16:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:11 16:41:11 Login Succeeded 16:41:11 docker.io 16:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:41:12 Configure a credential helper to remove this warning. See 16:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:41:12 16:41:12 Login Succeeded 16:41:12 ---> docker-login.sh ends [Pipeline] } 16:41:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:41:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:41:12 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 16:41:12 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 16:41:12 latest 16:41:12 2.2.0-dev.11 16:41:12 9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 16:41:12 main 16:41:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:41:12 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] isUnix [Pipeline] sh 16:41:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 16:41:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:41:13 784db738fa2c: Preparing 16:41:13 6b8c89506475: Preparing 16:41:13 02ee62121cfb: Preparing 16:41:13 f7d58c8950ac: Preparing 16:41:13 f73e7dbfee58: Preparing 16:41:13 f73e7dbfee58: Layer already exists 16:41:13 784db738fa2c: Pushed 16:41:13 6b8c89506475: Pushed 16:41:14 f7d58c8950ac: Pushed 16:41:20 02ee62121cfb: Pushed 16:41:20 9a3dba1396f359ed2da05b9e2de949f9cb839ab1: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] isUnix [Pipeline] sh 16:41:21 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:41:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 16:41:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:41:21 784db738fa2c: Preparing 16:41:21 6b8c89506475: Preparing 16:41:21 02ee62121cfb: Preparing 16:41:21 f7d58c8950ac: Preparing 16:41:21 f73e7dbfee58: Preparing 16:41:21 f7d58c8950ac: Layer already exists 16:41:21 784db738fa2c: Layer already exists 16:41:21 6b8c89506475: Layer already exists 16:41:21 f73e7dbfee58: Layer already exists 16:41:21 02ee62121cfb: Layer already exists 16:41:21 latest: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] isUnix [Pipeline] sh 16:41:22 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 16:41:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.11 16:41:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:41:22 784db738fa2c: Preparing 16:41:22 6b8c89506475: Preparing 16:41:22 02ee62121cfb: Preparing 16:41:22 f7d58c8950ac: Preparing 16:41:22 f73e7dbfee58: Preparing 16:41:22 f73e7dbfee58: Layer already exists 16:41:22 02ee62121cfb: Layer already exists 16:41:22 6b8c89506475: Layer already exists 16:41:22 784db738fa2c: Layer already exists 16:41:22 f7d58c8950ac: Layer already exists 16:41:22 2.2.0-dev.11: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] isUnix [Pipeline] sh 16:41:23 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh 16:41:23 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 16:41:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:41:23 784db738fa2c: Preparing 16:41:23 6b8c89506475: Preparing 16:41:23 02ee62121cfb: Preparing 16:41:23 f7d58c8950ac: Preparing 16:41:23 f73e7dbfee58: Preparing 16:41:23 f7d58c8950ac: Layer already exists 16:41:23 6b8c89506475: Layer already exists 16:41:23 f73e7dbfee58: Layer already exists 16:41:23 02ee62121cfb: Layer already exists 16:41:23 784db738fa2c: Layer already exists 16:41:23 9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] isUnix [Pipeline] sh 16:41:24 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 16:41:24 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 16:41:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:41:24 784db738fa2c: Preparing 16:41:24 6b8c89506475: Preparing 16:41:24 02ee62121cfb: Preparing 16:41:24 f7d58c8950ac: Preparing 16:41:24 f73e7dbfee58: Preparing 16:41:24 02ee62121cfb: Layer already exists 16:41:24 f7d58c8950ac: Layer already exists 16:41:24 6b8c89506475: Layer already exists 16:41:24 f73e7dbfee58: Layer already exists 16:41:24 784db738fa2c: Layer already exists 16:41:24 main: digest: sha256:266fc3522b36b87052d1751a29c0c307ce735a8acdd1e281f86cb36a9843e57e size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:41:24 ===================================================== [Pipeline] echo 16:41:24 taggedImages: 16:41:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1 16:41:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 16:41:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.11 16:41:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9a3dba1396f359ed2da05b9e2de949f9cb839ab1-2.2.0-dev.11 16:41:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:41:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:25 16:41:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:41:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:25 arm64: Pulling from edgex-lftools-log-publisher 16:41:25 8998bd30e6a1: Pulling fs layer 16:41:25 04944245beec: Pulling fs layer 16:41:25 699f458cf7ca: Pulling fs layer 16:41:25 765212b225bb: Pulling fs layer 16:41:25 f23df028b6ca: Pulling fs layer 16:41:25 d65c8cfc05b1: Pulling fs layer 16:41:25 2437ff75d9bd: Pulling fs layer 16:41:25 765212b225bb: Waiting 16:41:25 f23df028b6ca: Waiting 16:41:25 d65c8cfc05b1: Waiting 16:41:25 2437ff75d9bd: Waiting 16:41:25 04944245beec: Verifying Checksum 16:41:25 04944245beec: Download complete 16:41:25 765212b225bb: Verifying Checksum 16:41:25 765212b225bb: Download complete 16:41:25 f23df028b6ca: Download complete 16:41:25 d65c8cfc05b1: Verifying Checksum 16:41:25 d65c8cfc05b1: Download complete 16:41:26 699f458cf7ca: Verifying Checksum 16:41:26 699f458cf7ca: Download complete 16:41:26 8998bd30e6a1: Verifying Checksum 16:41:26 8998bd30e6a1: Download complete 16:41:28 2437ff75d9bd: Verifying Checksum 16:41:28 2437ff75d9bd: Download complete 16:41:30 8998bd30e6a1: Pull complete 16:41:31 04944245beec: Pull complete 16:41:32 699f458cf7ca: Pull complete 16:41:32 765212b225bb: Pull complete 16:41:33 f23df028b6ca: Pull complete 16:41:33 d65c8cfc05b1: Pull complete 16:41:49 2437ff75d9bd: Pull complete 16:41:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:41:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:41:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:41:49 prd-ubuntu20.04-docker-arm64-4c-16g-29075 does not seem to be running inside a container 16:41:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:41:51 $ docker top 449346e4844d268d01e3388e7dc91ac13605a8ed492e1af7ba913b4ac0ce6cc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:41:52 ---> job-cost.sh 16:41:52 lf-activate-venv: SKIPPING 16:41:52 INFO: No Stack... 16:41:53 INFO: Retrieving Pricing Info for: v3-standard-4 16:41:54 INFO: Archiving Costs [Pipeline] sh 16:41:55 + cat /w/workspace/device-snmp-go/21/archives/cost.csv 16:41:55 + cut -d, -f6 [Pipeline] lock 16:41:55 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] 16:41:55 Resource [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] did not exist. Created. 16:41:55 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:41:55 /w/workspace/device-snmp-go/21@tmp/durable-693f3e5d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:41:56 + echo total: 0.10999999940395355 [Pipeline] stash 16:41:56 Warning: overwriting stash ‘stack-cost’ 16:41:56 Stashed 1 file(s) [Pipeline] } 16:41:56 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 16:41:56 $ docker stop --time=1 449346e4844d268d01e3388e7dc91ac13605a8ed492e1af7ba913b4ac0ce6cc9 16:41:58 $ docker rm -f 449346e4844d268d01e3388e7dc91ac13605a8ed492e1af7ba913b4ac0ce6cc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:41:58 provisioning config files... 16:41:58 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5720603062831990823tmp [Pipeline] { [Pipeline] sh 16:41:58 + set +x 16:41:58 + curl -s https://codecov.io/bash 16:41:58 + bash -s -- 16:41:58 16:41:58 _____ _ 16:41:58 / ____| | | 16:41:58 | | ___ __| | ___ ___ _____ __ 16:41:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:41:58 | |___| (_) | (_| | __/ (_| (_) \ V / 16:41:58 \_____\___/ \__,_|\___|\___\___/ \_/ 16:41:58 Bash-1.0.6 16:41:58 16:41:58 16:41:58 ==> git version 2.25.1 found 16:41:58 ==> 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 16:41:58 Release-Date: 2020-01-08 16:41:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:41:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:41:58 ==> Jenkins CI detected. 16:41:58 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 16:41:58 project root: . 16:41:58 --> token set from env 16:41:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:41:58 ==> Running gcov in . (disable via -X gcov) 16:41:58 ==> Python coveragepy not found 16:41:58 ==> Searching for coverage reports in: 16:41:58 + . 16:41:58 -> Found 1 reports 16:41:58 ==> Detecting git/mercurial file structure 16:41:58 ==> Reading reports 16:41:58 + ./coverage.out bytes=7631 16:41:58 ==> Appending adjustments 16:41:58 https://docs.codecov.io/docs/fixing-reports 16:41:59 + Found adjustments 16:41:59 ==> Gzipping contents 16:41:59 4.0K /tmp/codecov.62t4RL.gz 16:41:59 ==> Uploading reports 16:41:59 url: https://codecov.io 16:41:59 query: branch=main&commit=9a3dba1396f359ed2da05b9e2de949f9cb839ab1&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:41:59 -> Pinging Codecov 16:41:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=9a3dba1396f359ed2da05b9e2de949f9cb839ab1&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:41:59 -> Uploading to 16:41:59 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/6C56EA5C29638FB4528AC87E60AF5AE0/9a3dba1396f359ed2da05b9e2de949f9cb839ab1/1dc03453-fa9f-46af-b8d3-77279551621d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T164159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0f3f330ae80cf7698579ca3027f2ecec333aa430e5beaae27a4eaadbd9eaccf 16:41:59 % Total % Received % Xferd Average Speed Time Time Time Current 16:41:59 Dload Upload Total Spent Left Speed 16:41:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7814 --:--:-- --:--:-- --:--:-- 7776 100 1602 0 0 100 1602 0 6995 --:--:-- --:--:-- --:--:-- 6965 16:41:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] } 16:41:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:41:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:41:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:42:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:42:00 16:42:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:42:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:42:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:42:00 188c0c94c7c5: Pulling fs layer 16:42:00 0ef7d3d256c8: Pulling fs layer 16:42:00 de9db76c5a1d: Pulling fs layer 16:42:00 0eba1c9be4d2: Pulling fs layer 16:42:00 0d57e429df01: Pulling fs layer 16:42:00 4e4be7b47b0d: Pulling fs layer 16:42:00 e1f770b5df2f: Pulling fs layer 16:42:00 85a0685a4137: Pulling fs layer 16:42:00 4e4be7b47b0d: Waiting 16:42:00 e1f770b5df2f: Waiting 16:42:00 85a0685a4137: Waiting 16:42:00 0eba1c9be4d2: Waiting 16:42:00 0d57e429df01: Waiting 16:42:00 de9db76c5a1d: Verifying Checksum 16:42:00 de9db76c5a1d: Download complete 16:42:00 0ef7d3d256c8: Download complete 16:42:00 0d57e429df01: Verifying Checksum 16:42:00 0d57e429df01: Download complete 16:42:00 188c0c94c7c5: Verifying Checksum 16:42:00 188c0c94c7c5: Download complete 16:42:00 4e4be7b47b0d: Download complete 16:42:00 188c0c94c7c5: Pull complete 16:42:00 e1f770b5df2f: Verifying Checksum 16:42:00 e1f770b5df2f: Download complete 16:42:00 0ef7d3d256c8: Pull complete 16:42:00 de9db76c5a1d: Pull complete 16:42:01 0eba1c9be4d2: Verifying Checksum 16:42:01 0eba1c9be4d2: Download complete 16:42:01 85a0685a4137: Verifying Checksum 16:42:01 85a0685a4137: Download complete 16:42:05 0eba1c9be4d2: Pull complete 16:42:05 0d57e429df01: Pull complete 16:42:05 4e4be7b47b0d: Pull complete 16:42:05 e1f770b5df2f: Pull complete 16:42:10 85a0685a4137: Pull complete 16:42:10 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:42:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:42:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:42:10 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 16:42:10 $ 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 16:42:12 $ docker top 440ba7d64dbc72c2f488eaaab8bbcb1c5d5e55caa360357bddb98fc7e4d4da4c -eo pid,comm [Pipeline] { [Pipeline] echo 16:42:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:42:12 + set -o pipefail 16:42:12 + snyk monitor '--org=edgex-jenkins' 16:42:19 16:42:19 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 16:42:19 16:42:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/8676b7e7-977d-44eb-8c03-f9019bb71489 16:42:19 16:42:19 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:42:19 16:42:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:42:19 16:42:19 [Pipeline] } 16:42:19 $ docker stop --time=1 440ba7d64dbc72c2f488eaaab8bbcb1c5d5e55caa360357bddb98fc7e4d4da4c 16:42:21 $ docker rm -f 440ba7d64dbc72c2f488eaaab8bbcb1c5d5e55caa360357bddb98fc7e4d4da4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:42:22 + git log --format=format:%s -1 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 [Pipeline] sh 16:42:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:42:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:42:23 . [Pipeline] withDockerContainer 16:42:23 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 16:42:23 $ 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 16:42:23 $ docker top eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:23 [ssh-agent] Looking for ssh-agent implementation... 16:42:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:24 $ docker exec eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 ssh-agent 16:42:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDeAJML/agent.15 16:42:24 SSH_AGENT_PID=21 16:42:24 Running ssh-add (command line suppressed) 16:42:24 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2132346071690889477.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2132346071690889477.key) 16:42:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:24 + git semver tag 16:42:24 # -> Open(): unable to determine branch for HEAD 16:42:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 16:42:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 16:42:24 # $SEMVER_REMOTE_NAME = origin 16:42:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:42:24 # $SEMVER_USER_NAME = edgex-jenkins 16:42:24 # $SEMVER_BRANCH = main 16:42:24 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 16:42:24 # 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 HEAD 16:42:24 # -> Force: false 16:42:24 # e6b150228c7c82325d83a01b9af973fcc7e15172 refs/tags/v2.2.0-dev.11 [Pipeline] } 16:42:24 $ docker exec --env ******** --env ******** eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 ssh-agent -k 16:42:24 unset SSH_AUTH_SOCK; 16:42:24 unset SSH_AGENT_PID; 16:42:24 echo Agent pid 21 killed; 16:42:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:25 + git semver [Pipeline] } 16:42:25 $ docker stop --time=1 eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 16:42:26 $ docker rm -f eafec9c798b6f7431965b7c278db0cdbd0010c42efc666efd9505fa86cdef6c3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:42:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:26 16:42:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:27 0.23.1-centos7: Pulling from edgex-lftools 16:42:27 ab5ef0e58194: Pulling fs layer 16:42:27 9712f1f96733: Pulling fs layer 16:42:27 63f879dbbcfc: Pulling fs layer 16:42:27 0d9ebad4ef96: Pulling fs layer 16:42:27 e9a5061849ea: Pulling fs layer 16:42:27 d747dcd14b5f: Pulling fs layer 16:42:27 2de7ff778b66: Pulling fs layer 16:42:27 e9a5061849ea: Waiting 16:42:27 d747dcd14b5f: Waiting 16:42:27 2de7ff778b66: Waiting 16:42:27 0d9ebad4ef96: Waiting 16:42:27 9712f1f96733: Verifying Checksum 16:42:27 9712f1f96733: Download complete 16:42:27 63f879dbbcfc: Verifying Checksum 16:42:27 63f879dbbcfc: Download complete 16:42:27 e9a5061849ea: Verifying Checksum 16:42:27 e9a5061849ea: Download complete 16:42:27 d747dcd14b5f: Verifying Checksum 16:42:27 d747dcd14b5f: Download complete 16:42:27 0d9ebad4ef96: Verifying Checksum 16:42:27 0d9ebad4ef96: Download complete 16:42:27 ab5ef0e58194: Verifying Checksum 16:42:27 ab5ef0e58194: Download complete 16:42:27 2de7ff778b66: Verifying Checksum 16:42:31 ab5ef0e58194: Pull complete 16:42:31 9712f1f96733: Pull complete 16:42:31 63f879dbbcfc: Pull complete 16:42:35 0d9ebad4ef96: Pull complete 16:42:35 e9a5061849ea: Pull complete 16:42:35 d747dcd14b5f: Pull complete 16:42:37 2de7ff778b66: Pull complete 16:42:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:42:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:42:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:42:37 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 16:42:37 $ 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 16:42:39 $ docker top bd25542d4ebbb950c078b551583ef1076cc6f69269ca9c2061463f1abe5f9bcc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:42:39 provisioning config files... 16:42:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5465427974911964874tmp 16:42:39 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4830811597056640094tmp 16:42:39 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3537708774157387736tmp [Pipeline] { [Pipeline] echo 16:42:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:42:40 ---> sigul-configuration.sh 16:42:40 gpg: directory `/root/.gnupg' created 16:42:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:42:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:42:40 gpg: keyring `/root/.gnupg/secring.gpg' created 16:42:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:42:40 gpg: CAST5 encrypted data 16:42:40 gpg: encrypted with 1 passphrase 16:42:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:42:40 + mkdir /home/jenkins 16:42:40 + mkdir /home/jenkins/sigul [Pipeline] sh 16:42:40 + 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 16:42:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:42:40 ---> sigul-install.sh 16:42:40 Sigul already installed; skipping installation. [Pipeline] sh 16:42:41 + git tag --list 16:42:41 1.0.0 16:42:41 v0.0.0 16:42:41 v1.1.0 16:42:41 v1.1.1 16:42:41 v1.2.2 16:42:41 v1.3.0 16:42:41 v1.3.1 16:42:41 v2.0.0 16:42:41 v2.0.1-dev.1 16:42:41 v2.0.1-dev.2 16:42:41 v2.0.1-dev.3 16:42:41 v2.0.1-dev.4 16:42:41 v2.0.1-dev.5 16:42:41 v2.0.1-dev.6 16:42:41 v2.1.0 16:42:41 v2.2.0-dev.1 16:42:41 v2.2.0-dev.10 16:42:41 v2.2.0-dev.11 16:42:41 v2.2.0-dev.2 16:42:41 v2.2.0-dev.3 16:42:41 v2.2.0-dev.4 16:42:41 v2.2.0-dev.5 16:42:41 v2.2.0-dev.6 16:42:41 v2.2.0-dev.7 16:42:41 v2.2.0-dev.8 16:42:41 v2.2.0-dev.9 [Pipeline] sh 16:42:41 + lftools sign git-tag v2.2.0-dev.11 16:42:42 Signing Git tag with Sigul... 16:42:42 Signing v2.2.0-dev.11 [Pipeline] echo 16:42:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:42:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:42:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:42:43 $ docker stop --time=1 bd25542d4ebbb950c078b551583ef1076cc6f69269ca9c2061463f1abe5f9bcc 16:42:44 $ docker rm -f bd25542d4ebbb950c078b551583ef1076cc6f69269ca9c2061463f1abe5f9bcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:42:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:42:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:42:45 . [Pipeline] withDockerContainer 16:42:45 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 16:42:45 $ 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 16:42:45 $ docker top 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:45 [ssh-agent] Looking for ssh-agent implementation... 16:42:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:45 $ docker exec 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 ssh-agent 16:42:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOmLMOn/agent.14 16:42:45 SSH_AGENT_PID=20 16:42:45 Running ssh-add (command line suppressed) 16:42:46 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1023588714047077835.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1023588714047077835.key) 16:42:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:46 + git semver bump pre 16:42:46 # -> Open(): unable to determine branch for HEAD 16:42:46 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 16:42:46 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 16:42:46 # $SEMVER_REMOTE_NAME = origin 16:42:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:42:46 # $SEMVER_USER_NAME = edgex-jenkins 16:42:46 # $SEMVER_BRANCH = main 16:42:46 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 16:42:46 2.2.0-dev.12 [Pipeline] } 16:42:46 $ docker exec --env ******** --env ******** 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 ssh-agent -k 16:42:46 unset SSH_AUTH_SOCK; 16:42:46 unset SSH_AGENT_PID; 16:42:46 echo Agent pid 20 killed; 16:42:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:46 + git semver [Pipeline] } 16:42:46 $ docker stop --time=1 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 16:42:48 $ docker rm -f 9614a017c2715a04d3a794df8c7ad5e27aad618091a85d1f1e1f2f3d44d9bd85 [Pipeline] // withDockerContainer [Pipeline] sh 16:42:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:42:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:42:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:42:48 . [Pipeline] withDockerContainer 16:42:48 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 16:42:48 $ 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 16:42:49 $ docker top 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:42:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:42:49 [ssh-agent] Looking for ssh-agent implementation... 16:42:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:42:49 $ docker exec 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a ssh-agent 16:42:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOFnGio/agent.14 16:42:49 SSH_AGENT_PID=20 16:42:49 Running ssh-add (command line suppressed) 16:42:49 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6903781458701053044.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6903781458701053044.key) 16:42:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:42:50 + git semver push 16:42:50 # -> Open(): unable to determine branch for HEAD 16:42:50 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 16:42:50 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 16:42:50 # $SEMVER_REMOTE_NAME = origin 16:42:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:42:50 # $SEMVER_USER_NAME = edgex-jenkins 16:42:50 # $SEMVER_BRANCH = main 16:42:50 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 16:42:51 $ docker exec --env ******** --env ******** 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a ssh-agent -k 16:42:51 unset SSH_AUTH_SOCK; 16:42:51 unset SSH_AGENT_PID; 16:42:51 echo Agent pid 20 killed; 16:42:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:42:51 + git semver [Pipeline] } 16:42:51 $ docker stop --time=1 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a 16:42:53 $ docker rm -f 0f9e0e7d2aa482778d348eb33c72244c05dfd5fe9cd56416566eef7d67d8071a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:42:53 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 16:42:53 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 16:42:53 total 16 16:42:53 drwxr-xr-x 3 root root 4096 Apr 26 15:56 . 16:42:53 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 16:42 .. 16:42:53 drwxr-xr-x 2 root root 4096 Apr 26 15:56 cost 16:42:53 -rw-r--r-- 1 root root 84 Apr 26 15:56 cost.csv 16:42:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 16:42:53 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 16:42:53 total 16 16:42:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:56 . 16:42:53 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 16:42 .. 16:42:53 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:56 cost 16:42:53 -rw-r--r-- 1 jenkins jenkins 84 Apr 26 15:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:42:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:42:55 ---> package-listing.sh 16:42:55 ++ facter osfamily 16:42:55 ++ tr '[:upper:]' '[:lower:]' 16:42:55 + OS_FAMILY=debian 16:42:55 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 16:42:55 + START_PACKAGES=/tmp/packages_start.txt 16:42:55 + END_PACKAGES=/tmp/packages_end.txt 16:42:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:42:55 + PACKAGES=/tmp/packages_start.txt 16:42:55 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 16:42:55 + PACKAGES=/tmp/packages_end.txt 16:42:55 + case "${OS_FAMILY}" in 16:42:55 + dpkg -l 16:42:55 + grep '^ii' 16:42:55 + '[' -f /tmp/packages_start.txt ']' 16:42:55 + '[' -f /tmp/packages_end.txt ']' 16:42:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:42:55 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 16:42:55 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 16:42:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 16:42:55 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 16:42:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:42:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:42:56 . [Pipeline] withDockerContainer 16:42:56 prd-ubuntu20.04-docker-8c-8g-24984 does not seem to be running inside a container 16:42:56 $ 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 16:42:56 $ docker top 6400704d27782d945d69f06082be79718186e7e085584940479a243e63bb0076 -eo pid,comm [Pipeline] { [Pipeline] sh 16:42:56 + touch /tmp/pre-build-complete [Pipeline] sh 16:42:57 + mkdir -p /var/log/sysstat [Pipeline] sh 16:42:57 + ls /var/log/sa-host 16:42:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:42:57 provisioning config files... 16:42:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config751637247813226513tmp [Pipeline] { [Pipeline] echo 16:42:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:42:57 ---> create-netrc.sh [Pipeline] } 16:42:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:42:58 ---> python-tools-install.sh [Pipeline] echo 16:42:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:42:58 ---> sudo-logs.sh 16:42:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:42:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:42:58 ---> job-cost.sh 16:42:58 lf-activate-venv: SKIPPING 16:42:58 DEBUG: total: 0.2199999988079071 16:42:58 INFO: Retrieving Stack Cost... 16:42:59 INFO: Retrieving Pricing Info for: v3-standard-8 16:43:00 INFO: Archiving Costs [Pipeline] echo 16:43:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:43:00 ---> logs-deploy.sh 16:43:00 lf-activate-venv: SKIPPING 16:43:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/21 16:43:00 INFO: archiving workspace using pattern(s): 16:43:01 Archives upload complete. 16:43:01 INFO: archiving logs to Nexus