Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 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-ssh16942861906945470274.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-ssh2389328288219555711.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-ssh12697015498259107696.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-ssh1759176699814602600.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-ssh18278105499102300878.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20790’ Running on prd-ubuntu20.04-docker-8c-8g-20792 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 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (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 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 Commit message: "test: add snap CI workflow (#155)" > git rev-list --no-walk 0413261fd6b454820a227c0b076e094c9f4db28c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:09:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:09:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:09:25 ========================================================= 09:09:25 EdgeX Global Pipelines Version Info 09:09:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:09:26 ------------------- 09:09:26 stable info: 09:09:26 ------------------- 09:09:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:09:26 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:09:26 Message: update stable to v1.0.221 09:09:26 ------------------- 09:09:26 experimental info: 09:09:26 ------------------- 09:09:26 Commited By: **** collab-it+edgex@linuxfoundation.org 09:09:26 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:09:26 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b046bf [Pipeline] echo 09:09:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:27 provisioning config files... 09:09:27 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4886280079630583159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:27 ---> docker-login.sh 09:09:27 nexus3.edgexfoundry.org:10001 09:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:28 Configure a credential helper to remove this warning. See 09:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:28 09:09:28 Login Succeeded 09:09:28 nexus3.edgexfoundry.org:10002 09:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:28 Configure a credential helper to remove this warning. See 09:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:28 09:09:28 Login Succeeded 09:09:28 nexus3.edgexfoundry.org:10003 09:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:28 Configure a credential helper to remove this warning. See 09:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:28 09:09:28 Login Succeeded 09:09:28 nexus3.edgexfoundry.org:10004 09:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:28 Configure a credential helper to remove this warning. See 09:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:28 09:09:28 Login Succeeded 09:09:28 docker.io 09:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:29 Configure a credential helper to remove this warning. See 09:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:29 09:09:29 Login Succeeded 09:09:29 ---> docker-login.sh ends [Pipeline] } 09:09:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:09:29 + git rev-list -1 --merges 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec~1..6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] echo 09:09:29 -----------> git rev-list -1 --merges 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec~1..6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [false] [Pipeline] sh 09:09:29 + git log --format=format:%s -1 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] echo 09:09:29 ========================================================= 09:09:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:09:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:09:30 + git log --format=format:%s -1 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] echo 09:09:30 [semverPrep] GIT_COMMIT: 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec, Commit Message: test: add snap CI workflow (#155) [Pipeline] echo 09:09:30 [semverPrep] This is not a build commit. [Pipeline] sh 09:09:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:09:30 + grep -v github /etc/ssh/ssh_known_hosts 09:09:30 + [ -e /tmp/ssh_known_hosts ] 09:09:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:09:30 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:09:30 sudo tee -a /etc/ssh/ssh_known_hosts 09:09:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:09:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:09:31 09:09:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:09:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:09:31 latest: Pulling from edgex-devops/git-semver 09:09:31 a0d0a0d46f8b: Pulling fs layer 09:09:31 3e5f54012d9b: Pulling fs layer 09:09:31 4c7163046ea9: Pulling fs layer 09:09:31 0c2d73faf560: Pulling fs layer 09:09:31 0c2d73faf560: Waiting 09:09:31 3e5f54012d9b: Verifying Checksum 09:09:31 3e5f54012d9b: Download complete 09:09:31 a0d0a0d46f8b: Download complete 09:09:31 4c7163046ea9: Download complete 09:09:31 0c2d73faf560: Verifying Checksum 09:09:31 a0d0a0d46f8b: Pull complete 09:09:31 3e5f54012d9b: Pull complete 09:09:31 4c7163046ea9: Pull complete 09:09:32 0c2d73faf560: Pull complete 09:09:32 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:09:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:09:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:09:32 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:09:32 $ 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 09:09:32 $ docker top 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:09:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:33 [ssh-agent] Looking for ssh-agent implementation... 09:09:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:33 $ docker exec 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 ssh-agent 09:09:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFbNJML/agent.15 09:09:33 SSH_AGENT_PID=22 09:09:33 Running ssh-add (command line suppressed) 09:09:33 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2765841433837291058.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2765841433837291058.key) 09:09:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:33 + git tag --points-at HEAD [Pipeline] } 09:09:33 $ docker exec --env ******** --env ******** 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 ssh-agent -k 09:09:33 unset SSH_AUTH_SOCK; 09:09:33 unset SSH_AGENT_PID; 09:09:33 echo Agent pid 22 killed; 09:09:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:09:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:09:33 [ssh-agent] Looking for ssh-agent implementation... 09:09:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:09:34 $ docker exec 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 ssh-agent 09:09:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBdFKCl/agent.54 09:09:34 SSH_AGENT_PID=61 09:09:34 Running ssh-add (command line suppressed) 09:09:34 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3693875259015707587.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3693875259015707587.key) 09:09:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:09:34 + git semver init 09:09:34 # -> Open(): unable to determine branch for HEAD 09:09:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 09:09:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 09:09:34 # $SEMVER_REMOTE_NAME = origin 09:09:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:09:34 # $SEMVER_USER_NAME = edgex-jenkins 09:09:34 # $SEMVER_BRANCH = main 09:09:34 # $SEMVER_TEMP = /tmp/semver-897946023 09:09:34 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 09:09:35 # '/tmp/semver-897946023' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 09:09:35 # -> Force: false 09:09:35 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 09:09:35 $ docker exec --env ******** --env ******** 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 ssh-agent -k 09:09:35 unset SSH_AUTH_SOCK; 09:09:35 unset SSH_AGENT_PID; 09:09:35 echo Agent pid 61 killed; 09:09:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:09:36 + git semver [Pipeline] } 09:09:36 $ docker stop --time=1 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 09:09:37 $ docker rm -f 9152220389bd34b9e0effc835494cf560c3bfe6d9729bb59042f5dbbfbd799c6 [Pipeline] // withDockerContainer [Pipeline] sh 09:09:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:09:38 Stashed 1 file(s) [Pipeline] echo 09:09:38 [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [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 09:09:38 provisioning config files... 09:09:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config407844661316393949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:38 ---> docker-login.sh 09:09:38 nexus3.edgexfoundry.org:10001 09:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:38 Configure a credential helper to remove this warning. See 09:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:38 09:09:38 Login Succeeded 09:09:38 nexus3.edgexfoundry.org:10002 09:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:38 Configure a credential helper to remove this warning. See 09:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:38 09:09:38 Login Succeeded 09:09:38 nexus3.edgexfoundry.org:10003 09:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:38 Configure a credential helper to remove this warning. See 09:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:38 09:09:38 Login Succeeded 09:09:38 nexus3.edgexfoundry.org:10004 09:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:39 Configure a credential helper to remove this warning. See 09:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:39 09:09:39 Login Succeeded 09:09:39 docker.io 09:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:09:39 Configure a credential helper to remove this warning. See 09:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:09:39 09:09:39 Login Succeeded 09:09:39 ---> docker-login.sh ends [Pipeline] } 09:09:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:09:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:09:39 ========================================================= 09:09:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:09:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:09:39 + 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 . 09:09:39 Sending build context to Docker daemon 5.236MB 09:09:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:09:39 Step 2/12 : FROM ${BASE} AS builder 09:09:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:09:39 59bf1c3509f3: Pulling fs layer 09:09:39 666ba61612fd: Pulling fs layer 09:09:39 8ed8ca486205: Pulling fs layer 09:09:39 4fe6c5a15a65: Pulling fs layer 09:09:39 22a0e8bec74d: Pulling fs layer 09:09:39 640e595b4fbd: Pulling fs layer 09:09:39 763cafe07f6e: Pulling fs layer 09:09:39 0c0b528cf693: Pulling fs layer 09:09:39 10935f4eaf8b: Pulling fs layer 09:09:39 640e595b4fbd: Waiting 09:09:39 763cafe07f6e: Waiting 09:09:39 0c0b528cf693: Waiting 09:09:39 10935f4eaf8b: Waiting 09:09:39 4fe6c5a15a65: Waiting 09:09:39 22a0e8bec74d: Waiting 09:09:39 8ed8ca486205: Verifying Checksum 09:09:39 8ed8ca486205: Download complete 09:09:39 666ba61612fd: Download complete 09:09:40 22a0e8bec74d: Verifying Checksum 09:09:40 22a0e8bec74d: Download complete 09:09:40 640e595b4fbd: Verifying Checksum 09:09:40 640e595b4fbd: Download complete 09:09:40 59bf1c3509f3: Verifying Checksum 09:09:40 59bf1c3509f3: Download complete 09:09:40 763cafe07f6e: Download complete 09:09:40 0c0b528cf693: Verifying Checksum 09:09:40 0c0b528cf693: Download complete 09:09:40 59bf1c3509f3: Pull complete 09:09:40 666ba61612fd: Pull complete 09:09:40 8ed8ca486205: Pull complete 09:09:40 10935f4eaf8b: Verifying Checksum 09:09:40 10935f4eaf8b: Download complete 09:09:40 4fe6c5a15a65: Verifying Checksum 09:09:40 4fe6c5a15a65: Download complete 09:09:45 4fe6c5a15a65: Pull complete 09:09:45 22a0e8bec74d: Pull complete 09:09:45 640e595b4fbd: Pull complete 09:09:45 763cafe07f6e: Pull complete 09:09:45 0c0b528cf693: Pull complete 09:09:46 10935f4eaf8b: Pull complete 09:09:46 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 09:09:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:09:46 ---> 99d49a6021b9 09:09:46 Step 3/12 : ARG MAKE='make build' 09:09:48 ---> Running in a1da2a81d127 09:09:48 Removing intermediate container a1da2a81d127 09:09:48 ---> 059f400226cb 09:09:48 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:09:48 ---> Running in 826df08a4a2f 09:09:48 Removing intermediate container 826df08a4a2f 09:09:48 ---> 20eb70d30982 09:09:48 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:09:48 ---> Running in 8f5a23f10e64 09:09:48 Removing intermediate container 8f5a23f10e64 09:09:48 ---> eaf2344e0c43 09:09:48 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:09:48 ---> Running in 3a002457bc15 09:09:49 Removing intermediate container 3a002457bc15 09:09:49 ---> e8204475393a 09:09:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:09:49 ---> Running in 8baea7eca35a 09:09:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:09:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:09:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:09:50 (2/4) Installing libedit (20210910.3.1-r0) 09:09:51 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:09:51 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:09:51 Executing busybox-1.34.1-r3.trigger 09:09:51 OK: 224 MiB in 56 packages 09:09:51 Removing intermediate container 8baea7eca35a 09:09:51 ---> 01386cacea16 09:09:51 Step 8/12 : WORKDIR /device-snmp-go 09:09:51 ---> Running in f24f015ac46e 09:09:51 Removing intermediate container f24f015ac46e 09:09:51 ---> 103d8ed72335 09:09:51 Step 9/12 : COPY go.mod vendor* ./ 09:09:52 ---> 3877389e550c 09:09:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:09:52 ---> Running in 87e6be1c7fe6 09:09:53 Still waiting to schedule task 09:09:53 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20791’ 09:10:06 Removing intermediate container 87e6be1c7fe6 09:10:06 ---> 95a4d61e178c 09:10:06 Step 11/12 : COPY . . 09:10:06 ---> 6b2402a9de38 09:10:06 Step 12/12 : RUN ${MAKE} 09:10:06 ---> Running in 88dd38492eab 09:10:06 noop 09:10:06 Removing intermediate container 88dd38492eab 09:10:06 ---> 3231406b423d 09:10:06 Successfully built 3231406b423d 09:10:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:10:07 + docker inspect -f . ci-base-image-x86_64 09:10:07 . [Pipeline] withDockerContainer 09:10:07 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:10:07 $ 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 09:10:07 $ docker top 9d6775d7a51c1ec55288a908d7129d983a54e4d1f203b743c5e5a02a770a84aa -eo pid,comm [Pipeline] { [Pipeline] sh 09:10:08 + go version 09:10:08 go version go1.17.6 linux/amd64 [Pipeline] } 09:10:08 $ docker stop --time=1 9d6775d7a51c1ec55288a908d7129d983a54e4d1f203b743c5e5a02a770a84aa 09:10:09 $ docker rm -f 9d6775d7a51c1ec55288a908d7129d983a54e4d1f203b743c5e5a02a770a84aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:10:09 + docker inspect -f . ci-base-image-x86_64 09:10:09 . [Pipeline] withDockerContainer 09:10:09 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:10:09 $ 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 09:10:10 $ docker top aebfd1bdc2d61d7f5fb01a0d55103d1ec0cbb5d358fb92c4a38253b5e45bfbed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:10:10 + make test 09:10:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:10:11 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:10:20 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:10:20 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements 09:10:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:10:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:10:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:10:30 ./bin/test-attribution-txt.sh [Pipeline] echo 09:10:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:10:30 $ docker stop --time=1 aebfd1bdc2d61d7f5fb01a0d55103d1ec0cbb5d358fb92c4a38253b5e45bfbed 09:10:32 $ docker rm -f aebfd1bdc2d61d7f5fb01a0d55103d1ec0cbb5d358fb92c4a38253b5e45bfbed [Pipeline] // withDockerContainer [Pipeline] sh 09:10:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:10:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:10:33 + ls -al . 09:10:33 total 164 09:10:33 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 09:10 . 09:10:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:09 .. 09:10:33 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:09 .dockerignore 09:10:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:09 .git 09:10:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 .github 09:10:33 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:09 .gitignore 09:10:33 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:09 .golangci.yml 09:10:33 drwx------ 3 jenkins jenkins 4096 Apr 13 09:09 .semver 09:10:33 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 13 09:09 Attribution.txt 09:10:33 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 13 09:09 CHANGELOG.md 09:10:33 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 13 09:09 Dockerfile 09:10:33 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:09 GOVERNANCE.md 09:10:33 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:09 Jenkinsfile 09:10:33 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:09 LICENSE 09:10:33 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 13 09:09 Makefile 09:10:33 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:09 OWNERS.md 09:10:33 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 13 09:09 README.md 09:10:33 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:09 VERSION 09:10:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:09 bin 09:10:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 cmd 09:10:33 -rw-r--r-- 1 jenkins jenkins 7631 Apr 13 09:10 coverage.out 09:10:33 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 13 09:09 go.mod 09:10:33 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 13 09:09 go.sum 09:10:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 internal 09:10:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:09 snap 09:10:33 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 09:09 version.go [Pipeline] isUnix [Pipeline] sh 09:10:34 + 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=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec --label arch=amd64 --label version=2.2.0-dev.10 . 09:10:34 Sending build context to Docker daemon 5.244MB 09:10:34 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:10:34 Step 2/24 : FROM ${BASE} AS builder 09:10:34 ---> 3231406b423d 09:10:34 Step 3/24 : ARG MAKE='make build' 09:10:34 ---> Running in 3b87c16613bf 09:10:34 Removing intermediate container 3b87c16613bf 09:10:34 ---> f7ce0271cfe9 09:10:34 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:10:34 ---> Running in 40263e9d44d1 09:10:34 Removing intermediate container 40263e9d44d1 09:10:34 ---> bf7edc7e35c8 09:10:34 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 09:10:34 ---> Running in 20e16e5a0763 09:10:34 Removing intermediate container 20e16e5a0763 09:10:34 ---> 50fd26cab5c3 09:10:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:34 ---> Running in 527c272bce22 09:10:35 Removing intermediate container 527c272bce22 09:10:35 ---> a04ecffdf570 09:10:35 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:10:35 ---> Running in a85394105db1 09:10:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:10:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:10:36 OK: 224 MiB in 56 packages 09:10:37 Removing intermediate container a85394105db1 09:10:37 ---> 8abde613e661 09:10:37 Step 8/24 : WORKDIR /device-snmp-go 09:10:37 ---> Running in 1996f41ca110 09:10:37 Removing intermediate container 1996f41ca110 09:10:37 ---> 2b38bee68f52 09:10:37 Step 9/24 : COPY go.mod vendor* ./ 09:10:37 ---> a887e8776af9 09:10:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:10:37 ---> Running in 425700cfad11 09:10:38 Removing intermediate container 425700cfad11 09:10:38 ---> 6e2c6a9ec308 09:10:38 Step 11/24 : COPY . . 09:10:38 ---> af8067828a04 09:10:38 Step 12/24 : RUN ${MAKE} 09:10:38 ---> Running in ad137f49d1d1 09:10:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 09:10:56 Removing intermediate container ad137f49d1d1 09:10:56 ---> c49cea352d61 09:10:56 Step 13/24 : FROM alpine:3.14 09:10:57 3.14: Pulling from library/alpine 09:10:57 8663204ce13b: Pulling fs layer 09:10:57 8663204ce13b: Verifying Checksum 09:10:57 8663204ce13b: Download complete 09:10:57 8663204ce13b: Pull complete 09:10:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:10:57 Status: Downloaded newer image for alpine:3.14 09:10:57 ---> e04c818066af 09:10:57 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 09:10:57 ---> Running in 45ff890a0c2b 09:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:10:58 (1/6) Installing dumb-init (1.2.5-r1) 09:10:58 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:10:58 (3/6) Installing libsodium (1.0.18-r0) 09:10:58 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:10:58 (5/6) Installing libzmq (4.3.4-r0) 09:10:58 (6/6) Installing zeromq (4.3.4-r0) 09:10:58 Executing busybox-1.33.1-r7.trigger 09:10:58 OK: 8 MiB in 20 packages 09:10:58 Removing intermediate container 45ff890a0c2b 09:10:58 ---> 907ef52cd0fa 09:10:58 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:10:59 ---> aa495e77ac35 09:10:59 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:10:59 ---> 7f959e55862a 09:10:59 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:10:59 ---> 51395e336cb2 09:10:59 Step 18/24 : EXPOSE 59993 09:10:59 ---> Running in 28e0b127fdd6 09:10:59 Removing intermediate container 28e0b127fdd6 09:10:59 ---> d62328558e9f 09:10:59 Step 19/24 : EXPOSE 161 09:10:59 ---> Running in 9440e9ed3f8c 09:10:59 Removing intermediate container 9440e9ed3f8c 09:10:59 ---> edfc32d48980 09:10:59 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:10:59 ---> Running in 03182a12457e 09:10:59 Removing intermediate container 03182a12457e 09:10:59 ---> 729c1bb332dc 09:10:59 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:10:59 ---> Running in b52796cbc2da 09:11:00 Removing intermediate container b52796cbc2da 09:11:00 ---> 5759363e0d80 09:11:00 Step 22/24 : LABEL arch=amd64 09:11:00 ---> Running in 02469de4b599 09:11:00 Removing intermediate container 02469de4b599 09:11:00 ---> 7251dbd5f9d0 09:11:00 Step 23/24 : LABEL git_sha=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 09:11:00 ---> Running in f7ef5a3ad85f 09:11:00 Removing intermediate container f7ef5a3ad85f 09:11:00 ---> 6801ed80a3b3 09:11:00 Step 24/24 : LABEL version=2.2.0-dev.10 09:11:00 ---> Running in 38738f2da78a 09:11:00 Removing intermediate container 38738f2da78a 09:11:00 ---> 164ddae76860 09:11:00 [Warning] One or more build-args [ARCH] were not consumed 09:11:00 Successfully built 164ddae76860 09:11:00 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:00 provisioning config files... 09:11:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config382388623568177007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:00 ---> docker-login.sh 09:11:00 nexus3.edgexfoundry.org:10001 09:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:00 Configure a credential helper to remove this warning. See 09:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:00 09:11:00 Login Succeeded 09:11:00 nexus3.edgexfoundry.org:10002 09:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:01 Configure a credential helper to remove this warning. See 09:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:01 09:11:01 Login Succeeded 09:11:01 nexus3.edgexfoundry.org:10003 09:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:01 Configure a credential helper to remove this warning. See 09:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:01 09:11:01 Login Succeeded 09:11:01 nexus3.edgexfoundry.org:10004 09:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:01 Configure a credential helper to remove this warning. See 09:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:01 09:11:01 Login Succeeded 09:11:01 docker.io 09:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:01 Configure a credential helper to remove this warning. See 09:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:01 09:11:01 Login Succeeded 09:11:01 ---> docker-login.sh ends [Pipeline] } 09:11:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:11:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:11:01 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 09:11:01 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 09:11:01 latest 09:11:01 2.2.0-dev.10 09:11:01 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 09:11:01 main 09:11:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:11:01 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] isUnix [Pipeline] sh 09:11:02 + docker push nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 09:11:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:11:02 504a2a1c47ad: Preparing 09:11:02 a036b2334170: Preparing 09:11:02 c02cd28a5aa1: Preparing 09:11:02 94477163bf7e: Preparing 09:11:02 b541d28bf3b4: Preparing 09:11:02 b541d28bf3b4: Layer already exists 09:11:02 504a2a1c47ad: Pushed 09:11:02 a036b2334170: Pushed 09:11:02 94477163bf7e: Pushed 09:11:05 c02cd28a5aa1: Pushed 09:11:05 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] isUnix [Pipeline] sh 09:11:05 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 09:11:05 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 09:11:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:11:05 504a2a1c47ad: Preparing 09:11:05 a036b2334170: Preparing 09:11:05 c02cd28a5aa1: Preparing 09:11:05 94477163bf7e: Preparing 09:11:05 b541d28bf3b4: Preparing 09:11:05 b541d28bf3b4: Layer already exists 09:11:05 c02cd28a5aa1: Layer already exists 09:11:05 a036b2334170: Layer already exists 09:11:05 94477163bf7e: Layer already exists 09:11:05 504a2a1c47ad: Layer already exists 09:11:05 latest: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] isUnix [Pipeline] sh 09:11:05 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 09:11:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.10 09:11:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:11:06 504a2a1c47ad: Preparing 09:11:06 a036b2334170: Preparing 09:11:06 c02cd28a5aa1: Preparing 09:11:06 94477163bf7e: Preparing 09:11:06 b541d28bf3b4: Preparing 09:11:06 b541d28bf3b4: Layer already exists 09:11:06 94477163bf7e: Layer already exists 09:11:06 a036b2334170: Layer already exists 09:11:06 c02cd28a5aa1: Layer already exists 09:11:06 504a2a1c47ad: Layer already exists 09:11:06 2.2.0-dev.10: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] isUnix [Pipeline] sh 09:11:06 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 09:11:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 09:11:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:11:06 504a2a1c47ad: Preparing 09:11:06 a036b2334170: Preparing 09:11:06 c02cd28a5aa1: Preparing 09:11:06 94477163bf7e: Preparing 09:11:06 b541d28bf3b4: Preparing 09:11:06 94477163bf7e: Layer already exists 09:11:06 c02cd28a5aa1: Layer already exists 09:11:06 b541d28bf3b4: Layer already exists 09:11:06 a036b2334170: Layer already exists 09:11:06 504a2a1c47ad: Layer already exists 09:11:06 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] isUnix [Pipeline] sh 09:11:07 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 09:11:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 09:11:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 09:11:07 504a2a1c47ad: Preparing 09:11:07 a036b2334170: Preparing 09:11:07 c02cd28a5aa1: Preparing 09:11:07 94477163bf7e: Preparing 09:11:07 b541d28bf3b4: Preparing 09:11:07 c02cd28a5aa1: Layer already exists 09:11:07 94477163bf7e: Layer already exists 09:11:07 b541d28bf3b4: Layer already exists 09:11:07 a036b2334170: Layer already exists 09:11:07 504a2a1c47ad: Layer already exists 09:11:07 main: digest: sha256:cd1a68fecd586a008d0418b535d06dcb4c0db835fc5e59118455bfdd469b42b5 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:11:07 ===================================================== [Pipeline] echo 09:11:07 taggedImages: 09:11:07 - nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 09:11:07 - nexus3.edgexfoundry.org:10004/device-snmp:latest 09:11:07 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.10 09:11:07 - nexus3.edgexfoundry.org:10004/device-snmp:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 09:11:07 - 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 09:11:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:07 09:11:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:11:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:08 latest: Pulling from edgex-lftools-log-publisher 09:11:08 5eb5b503b376: Pulling fs layer 09:11:08 5c69ac0246d0: Pulling fs layer 09:11:08 ec43610c2a17: Pulling fs layer 09:11:08 3a2ae6a8a46f: Pulling fs layer 09:11:08 33b1e0a273af: Pulling fs layer 09:11:08 5d3b04190fa2: Pulling fs layer 09:11:08 2f39f015ded8: Pulling fs layer 09:11:08 3a2ae6a8a46f: Waiting 09:11:08 33b1e0a273af: Waiting 09:11:08 2f39f015ded8: Waiting 09:11:08 5d3b04190fa2: Waiting 09:11:08 5c69ac0246d0: Verifying Checksum 09:11:08 5c69ac0246d0: Download complete 09:11:08 3a2ae6a8a46f: Verifying Checksum 09:11:08 3a2ae6a8a46f: Download complete 09:11:08 ec43610c2a17: Verifying Checksum 09:11:08 ec43610c2a17: Download complete 09:11:08 33b1e0a273af: Verifying Checksum 09:11:08 33b1e0a273af: Download complete 09:11:08 5d3b04190fa2: Verifying Checksum 09:11:08 5d3b04190fa2: Download complete 09:11:08 5eb5b503b376: Verifying Checksum 09:11:08 5eb5b503b376: Download complete 09:11:09 2f39f015ded8: Download complete 09:11:09 5eb5b503b376: Pull complete 09:11:09 5c69ac0246d0: Pull complete 09:11:10 ec43610c2a17: Pull complete 09:11:10 3a2ae6a8a46f: Pull complete 09:11:10 33b1e0a273af: Pull complete 09:11:10 5d3b04190fa2: Pull complete 09:11:14 2f39f015ded8: Pull complete 09:11:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:11:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:11:14 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:11:14 $ 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 09:11:16 $ docker top 65038b97d541bef5061e0f84cee44cedd3abf75125c0d265072f8c14e85297a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:16 ---> job-cost.sh 09:11:16 lf-activate-venv: SKIPPING 09:11:16 INFO: No Stack... 09:11:17 INFO: Retrieving Pricing Info for: v3-standard-8 09:11:17 INFO: Archiving Costs [Pipeline] sh 09:11:18 + + cut -d, -f6 09:11:18 cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [Pipeline] lock 09:11:18 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] 09:11:18 Resource [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] did not exist. Created. 09:11:18 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:11:18 + echo total: 0.2199999988079071 [Pipeline] stash 09:11:18 Stashed 1 file(s) [Pipeline] } 09:11:18 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 09:11:18 $ docker stop --time=1 65038b97d541bef5061e0f84cee44cedd3abf75125c0d265072f8c14e85297a2 09:11:19 $ docker rm -f 65038b97d541bef5061e0f84cee44cedd3abf75125c0d265072f8c14e85297a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:12:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20794 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 09:12:29 Running in /w/workspace/device-snmp-go/20 [Pipeline] { [Pipeline] checkout 09:12:30 Selected Git installation does not exist. Using Default 09:12:30 The recommended git tool is: NONE 09:12:38 using credential edgex-jenkins-ssh 09:12:38 Cloning the remote Git repository 09:12:38 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 09:12:38 > git init /w/workspace/device-snmp-go/20 # timeout=10 09:12:39 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 09:12:39 > git --version # timeout=10 09:12:39 > git --version # 'git version 2.25.1' 09:12:39 using GIT_SSH to set credentials SSH Credentials for GitHub 09:12:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:40 Avoid second fetch 09:12:40 Checking out Revision 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (main) 09:12:40 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 09:12:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:12:40 > git config core.sparsecheckout # timeout=10 09:12:40 > git checkout -f 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 09:12:45 Commit message: "test: add snap CI workflow (#155)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:12:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:12:46 % Total % Received % Xferd Average Speed Time Time Time Current 09:12:46 Dload Upload Total Spent Left Speed 09:12:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 09:12:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:12:47 + + sudo tee /etc/docker/daemon.new 09:12:47 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:12:47 { 09:12:47 "registry-mirrors": [ 09:12:47 "https://nexus3.edgexfoundry.org:10001" 09:12:47 ], 09:12:47 "bip": "10.250.0.254/24", 09:12:47 "hosts": [ 09:12:47 "tcp://0.0.0.0:5555", 09:12:47 "unix:///var/run/docker.sock" 09:12:47 ], 09:12:47 "mtu": 1458, 09:12:47 "selinux-enabled": true, 09:12:47 "seccomp-profile": "/etc/docker/seccomp.json" 09:12:47 } [Pipeline] sh 09:12:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:12:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:06 provisioning config files... 09:13:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/20@tmp/config1437863295523335854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:06 ---> docker-login.sh 09:13:06 nexus3.edgexfoundry.org:10001 09:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:07 Configure a credential helper to remove this warning. See 09:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:07 09:13:07 Login Succeeded 09:13:07 nexus3.edgexfoundry.org:10002 09:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:08 Configure a credential helper to remove this warning. See 09:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:08 09:13:08 Login Succeeded 09:13:08 nexus3.edgexfoundry.org:10003 09:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:09 Configure a credential helper to remove this warning. See 09:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:09 09:13:09 Login Succeeded 09:13:09 nexus3.edgexfoundry.org:10004 09:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:09 Configure a credential helper to remove this warning. See 09:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:09 09:13:09 Login Succeeded 09:13:09 docker.io 09:13:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:10 Configure a credential helper to remove this warning. See 09:13:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:10 09:13:10 Login Succeeded 09:13:10 ---> docker-login.sh ends [Pipeline] } 09:13:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:13:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:13:10 ========================================================= 09:13:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:13:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:13:11 + 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 . 09:13:11 Sending build context to Docker daemon 2.724MB 09:13:11 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:13:11 Step 2/12 : FROM ${BASE} AS builder 09:13:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:13:11 9b3977197b4f: Pulling fs layer 09:13:11 1a89e8eeedd5: Pulling fs layer 09:13:11 94645a83ff95: Pulling fs layer 09:13:11 3f3a8bcf1eab: Pulling fs layer 09:13:11 0c92f367c5e7: Pulling fs layer 09:13:11 f7c0051592d6: Pulling fs layer 09:13:11 3f3a8bcf1eab: Waiting 09:13:11 0c92f367c5e7: Waiting 09:13:11 a227ed2f7395: Pulling fs layer 09:13:11 f7c0051592d6: Waiting 09:13:11 7b1c46037f91: Pulling fs layer 09:13:11 a227ed2f7395: Waiting 09:13:11 7b1c46037f91: Waiting 09:13:11 94645a83ff95: Verifying Checksum 09:13:11 94645a83ff95: Download complete 09:13:11 1a89e8eeedd5: Verifying Checksum 09:13:11 1a89e8eeedd5: Download complete 09:13:11 0c92f367c5e7: Verifying Checksum 09:13:11 0c92f367c5e7: Download complete 09:13:11 f7c0051592d6: Download complete 09:13:11 9b3977197b4f: Verifying Checksum 09:13:11 9b3977197b4f: Download complete 09:13:11 a227ed2f7395: Verifying Checksum 09:13:11 a227ed2f7395: Download complete 09:13:12 9b3977197b4f: Pull complete 09:13:12 1a89e8eeedd5: Pull complete 09:13:13 94645a83ff95: Pull complete 09:13:13 7b1c46037f91: Verifying Checksum 09:13:13 7b1c46037f91: Download complete 09:13:14 3f3a8bcf1eab: Verifying Checksum 09:13:14 3f3a8bcf1eab: Download complete 09:13:29 3f3a8bcf1eab: Pull complete 09:13:29 0c92f367c5e7: Pull complete 09:13:29 f7c0051592d6: Pull complete 09:13:29 a227ed2f7395: Pull complete 09:13:34 7b1c46037f91: Pull complete 09:13:34 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:13:34 ---> f79e39bc4007 09:13:34 Step 3/12 : ARG MAKE='make build' 09:13:34 ---> Running in bad0c3080d8e 09:13:35 Removing intermediate container bad0c3080d8e 09:13:35 ---> ecafd8a89c22 09:13:35 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:13:35 ---> Running in 12ae16c4369b 09:13:35 Removing intermediate container 12ae16c4369b 09:13:35 ---> 7f60bb9cda70 09:13:35 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:13:35 ---> Running in 7d2dd3f027d2 09:13:36 Removing intermediate container 7d2dd3f027d2 09:13:36 ---> 4528ff9f0a8a 09:13:36 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:13:36 ---> Running in 0a1d33ff3698 09:13:38 Removing intermediate container 0a1d33ff3698 09:13:38 ---> ba2ab343bab1 09:13:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:13:38 ---> Running in 09b0d4fbacdb 09:13:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:13:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:13:40 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:13:41 (2/4) Installing libedit (20210910.3.1-r0) 09:13:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:13:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:13:41 Executing busybox-1.34.1-r3.trigger 09:13:41 OK: 224 MiB in 56 packages 09:13:42 Removing intermediate container 09b0d4fbacdb 09:13:42 ---> 6ac8f2b2e36e 09:13:42 Step 8/12 : WORKDIR /device-snmp-go 09:13:42 ---> Running in d43b31c4b738 09:13:43 Removing intermediate container d43b31c4b738 09:13:43 ---> 460c047e37b0 09:13:43 Step 9/12 : COPY go.mod vendor* ./ 09:13:43 ---> 15cd8a32f93d 09:13:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:13:43 ---> Running in ff75454f15c5 09:14:40 Removing intermediate container ff75454f15c5 09:14:40 ---> 6405dac6f11e 09:14:40 Step 11/12 : COPY . . 09:14:40 ---> 4b96987c6609 09:14:40 Step 12/12 : RUN ${MAKE} 09:14:40 ---> Running in 55e4d25cc62c 09:14:40 noop 09:14:40 Removing intermediate container 55e4d25cc62c 09:14:40 ---> 32b09d7ae3f2 09:14:40 Successfully built 32b09d7ae3f2 09:14:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:14:40 + docker inspect -f . ci-base-image-arm64 09:14:40 . [Pipeline] withDockerContainer 09:14:40 prd-ubuntu20.04-docker-arm64-4c-16g-20794 does not seem to be running inside a container 09:14:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@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 09:14:42 $ docker top 3e342e29fa3e865e9a225203fc4e82e827cb61e94c3592611a7e4cf15bb30ff7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:43 + go version 09:14:43 go version go1.17.6 linux/arm64 [Pipeline] } 09:14:43 $ docker stop --time=1 3e342e29fa3e865e9a225203fc4e82e827cb61e94c3592611a7e4cf15bb30ff7 09:14:44 $ docker rm -f 3e342e29fa3e865e9a225203fc4e82e827cb61e94c3592611a7e4cf15bb30ff7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:14:45 + docker inspect -f . ci-base-image-arm64 09:14:45 . [Pipeline] withDockerContainer 09:14:45 prd-ubuntu20.04-docker-arm64-4c-16g-20794 does not seem to be running inside a container 09:14:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@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 09:14:47 $ docker top f7403c084fc6a8190fea49997b453c86b6ec9e3f195edd6dd8f27f1a7a196a53 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:14:48 + make test 09:14:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:14:50 ? github.com/edgexfoundry/device-snmp-go [no test files] 09:16:12 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 09:16:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements 09:16:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:16:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:16:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:16:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:16:44 ./bin/test-attribution-txt.sh [Pipeline] echo 09:16:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:16:44 $ docker stop --time=1 f7403c084fc6a8190fea49997b453c86b6ec9e3f195edd6dd8f27f1a7a196a53 09:16:46 $ docker rm -f f7403c084fc6a8190fea49997b453c86b6ec9e3f195edd6dd8f27f1a7a196a53 [Pipeline] // withDockerContainer [Pipeline] sh 09:16:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:16:47 Warning: overwriting stash ‘coverage-report’ 09:16:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:16:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:16:48 + ls -al . 09:16:48 total 160 09:16:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:16 . 09:16:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 09:12 .. 09:16:48 -rw-rw-r-- 1 jenkins jenkins 6 Apr 13 09:12 .dockerignore 09:16:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 09:12 .git 09:16:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:12 .github 09:16:48 -rw-rw-r-- 1 jenkins jenkins 328 Apr 13 09:12 .gitignore 09:16:48 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 09:12 .golangci.yml 09:16:48 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 13 09:12 Attribution.txt 09:16:48 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 13 09:12 CHANGELOG.md 09:16:48 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 13 09:12 Dockerfile 09:16:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 09:12 GOVERNANCE.md 09:16:48 -rw-rw-r-- 1 jenkins jenkins 656 Apr 13 09:12 Jenkinsfile 09:16:48 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 09:12 LICENSE 09:16:48 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 13 09:12 Makefile 09:16:48 -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 09:12 OWNERS.md 09:16:48 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 13 09:12 README.md 09:16:48 -rw-rw-r-- 1 jenkins jenkins 12 Apr 13 09:09 VERSION 09:16:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 09:12 bin 09:16:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:12 cmd 09:16:48 -rw-r--r-- 1 jenkins jenkins 7631 Apr 13 09:16 coverage.out 09:16:48 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 13 09:12 go.mod 09:16:48 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 13 09:12 go.sum 09:16:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:12 internal 09:16:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 09:12 snap 09:16:48 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 09:12 version.go [Pipeline] isUnix [Pipeline] sh 09:16:49 + 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=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec --label arch=arm64 --label version=2.2.0-dev.10 . 09:16:49 Sending build context to Docker daemon 2.733MB 09:16:49 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:16:49 Step 2/24 : FROM ${BASE} AS builder 09:16:49 ---> 32b09d7ae3f2 09:16:49 Step 3/24 : ARG MAKE='make build' 09:16:49 ---> Running in d54e00c560b9 09:16:49 Removing intermediate container d54e00c560b9 09:16:49 ---> 19ffd73b9132 09:16:49 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:16:49 ---> Running in 14ece6f15a48 09:16:50 Removing intermediate container 14ece6f15a48 09:16:50 ---> d845d9fcfba9 09:16:50 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 09:16:50 ---> Running in cb0ebad712a7 09:16:50 Removing intermediate container cb0ebad712a7 09:16:50 ---> e799d0370fde 09:16:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:50 ---> Running in 1898cd4dca32 09:16:52 Removing intermediate container 1898cd4dca32 09:16:52 ---> 5f5a64d4ed9f 09:16:52 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:52 ---> Running in c28127888e25 09:16:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:16:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:16:55 OK: 224 MiB in 56 packages 09:16:56 Removing intermediate container c28127888e25 09:16:56 ---> 8812cf2e417d 09:16:56 Step 8/24 : WORKDIR /device-snmp-go 09:16:56 ---> Running in d99011930913 09:16:56 Removing intermediate container d99011930913 09:16:56 ---> 7a30f691a8df 09:16:56 Step 9/24 : COPY go.mod vendor* ./ 09:16:57 ---> 642f7d3e5a50 09:16:57 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:57 ---> Running in a670fd24170a 09:16:59 Removing intermediate container a670fd24170a 09:16:59 ---> 5f14ef0bce19 09:16:59 Step 11/24 : COPY . . 09:17:00 ---> 16875a03944c 09:17:00 Step 12/24 : RUN ${MAKE} 09:17:00 ---> Running in 4cb5e9a7ca64 09:17:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 09:19:23 Removing intermediate container 4cb5e9a7ca64 09:19:23 ---> dd6b0c0fe2a4 09:19:23 Step 13/24 : FROM alpine:3.14 09:19:23 3.14: Pulling from library/alpine 09:19:23 455c02918c45: Pulling fs layer 09:19:23 455c02918c45: Verifying Checksum 09:19:23 455c02918c45: Download complete 09:19:23 455c02918c45: Pull complete 09:19:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:19:23 Status: Downloaded newer image for alpine:3.14 09:19:23 ---> ac73e934f311 09:19:23 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 09:19:23 ---> Running in 4b44af922d01 09:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:19:23 (1/6) Installing dumb-init (1.2.5-r1) 09:19:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:19:23 (3/6) Installing libsodium (1.0.18-r0) 09:19:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:19:23 (5/6) Installing libzmq (4.3.4-r0) 09:19:23 (6/6) Installing zeromq (4.3.4-r0) 09:19:23 Executing busybox-1.33.1-r7.trigger 09:19:23 OK: 8 MiB in 20 packages 09:19:23 Removing intermediate container 4b44af922d01 09:19:23 ---> 70cf0bb14a8e 09:19:23 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 09:19:23 ---> 6931d83cb35c 09:19:23 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 09:19:23 ---> c306789c0a14 09:19:23 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 09:19:23 ---> 75a0a5f72f27 09:19:23 Step 18/24 : EXPOSE 59993 09:19:23 ---> Running in 159db44cd3cc 09:19:23 Removing intermediate container 159db44cd3cc 09:19:23 ---> b7775cf5baab 09:19:23 Step 19/24 : EXPOSE 161 09:19:23 ---> Running in d8d477893c18 09:19:23 Removing intermediate container d8d477893c18 09:19:23 ---> b38203787cbd 09:19:23 Step 20/24 : ENTRYPOINT ["/device-snmp"] 09:19:23 ---> Running in 8b6766d9f1f0 09:19:23 Removing intermediate container 8b6766d9f1f0 09:19:23 ---> 9221e610f7cf 09:19:23 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:19:23 ---> Running in 10af1a52c935 09:19:23 Removing intermediate container 10af1a52c935 09:19:23 ---> 710856971c9e 09:19:23 Step 22/24 : LABEL arch=arm64 09:19:23 ---> Running in 1a4c00139925 09:19:23 Removing intermediate container 1a4c00139925 09:19:23 ---> 8096451e7685 09:19:23 Step 23/24 : LABEL git_sha=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 09:19:23 ---> Running in e6b77f7c2681 09:19:23 Removing intermediate container e6b77f7c2681 09:19:23 ---> ba7aca34290d 09:19:23 Step 24/24 : LABEL version=2.2.0-dev.10 09:19:23 ---> Running in 228d7773630c 09:19:23 Removing intermediate container 228d7773630c 09:19:23 ---> 78276a47a41d 09:19:23 [Warning] One or more build-args [ARCH] were not consumed 09:19:23 Successfully built 78276a47a41d 09:19:23 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 09:19:23 provisioning config files... 09:19:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/20@tmp/config7281607555720929868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:19:23 ---> docker-login.sh 09:19:23 nexus3.edgexfoundry.org:10001 09:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:24 Configure a credential helper to remove this warning. See 09:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:24 09:19:24 Login Succeeded 09:19:24 nexus3.edgexfoundry.org:10002 09:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:24 Configure a credential helper to remove this warning. See 09:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:24 09:19:24 Login Succeeded 09:19:24 nexus3.edgexfoundry.org:10003 09:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:25 Configure a credential helper to remove this warning. See 09:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:25 09:19:25 Login Succeeded 09:19:25 nexus3.edgexfoundry.org:10004 09:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:25 Configure a credential helper to remove this warning. See 09:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:25 09:19:25 Login Succeeded 09:19:25 docker.io 09:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:19:26 Configure a credential helper to remove this warning. See 09:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:19:26 09:19:26 Login Succeeded 09:19:26 ---> docker-login.sh ends [Pipeline] } 09:19:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:19:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:19:26 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 09:19:26 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 09:19:26 latest 09:19:26 2.2.0-dev.10 09:19:26 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 09:19:26 main 09:19:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:19:26 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] isUnix [Pipeline] sh 09:19:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 09:19:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:19:27 8e56d0e2b439: Preparing 09:19:27 6d77a6869dec: Preparing 09:19:27 f4d2fef78042: Preparing 09:19:27 7a8941d99659: Preparing 09:19:27 f73e7dbfee58: Preparing 09:19:27 f73e7dbfee58: Layer already exists 09:19:27 6d77a6869dec: Pushed 09:19:27 8e56d0e2b439: Pushed 09:19:27 7a8941d99659: Pushed 09:19:33 f4d2fef78042: Pushed 09:19:33 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] isUnix [Pipeline] sh 09:19:34 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:19:34 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 09:19:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:19:34 8e56d0e2b439: Preparing 09:19:34 6d77a6869dec: Preparing 09:19:34 f4d2fef78042: Preparing 09:19:34 7a8941d99659: Preparing 09:19:34 f73e7dbfee58: Preparing 09:19:34 8e56d0e2b439: Layer already exists 09:19:34 f4d2fef78042: Layer already exists 09:19:34 7a8941d99659: Layer already exists 09:19:34 f73e7dbfee58: Layer already exists 09:19:34 6d77a6869dec: Layer already exists 09:19:34 latest: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] isUnix [Pipeline] sh 09:19:35 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 09:19:35 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.10 09:19:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:19:35 8e56d0e2b439: Preparing 09:19:35 6d77a6869dec: Preparing 09:19:35 f4d2fef78042: Preparing 09:19:35 7a8941d99659: Preparing 09:19:35 f73e7dbfee58: Preparing 09:19:35 f73e7dbfee58: Layer already exists 09:19:35 8e56d0e2b439: Layer already exists 09:19:35 f4d2fef78042: Layer already exists 09:19:35 7a8941d99659: Layer already exists 09:19:35 6d77a6869dec: Layer already exists 09:19:35 2.2.0-dev.10: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] isUnix [Pipeline] sh 09:19:35 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 09:19:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 09:19:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:19:36 8e56d0e2b439: Preparing 09:19:36 6d77a6869dec: Preparing 09:19:36 f4d2fef78042: Preparing 09:19:36 7a8941d99659: Preparing 09:19:36 f73e7dbfee58: Preparing 09:19:36 8e56d0e2b439: Layer already exists 09:19:36 f73e7dbfee58: Layer already exists 09:19:36 6d77a6869dec: Layer already exists 09:19:36 7a8941d99659: Layer already exists 09:19:36 f4d2fef78042: Layer already exists 09:19:36 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] isUnix [Pipeline] sh 09:19:36 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 09:19:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 09:19:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 09:19:37 8e56d0e2b439: Preparing 09:19:37 6d77a6869dec: Preparing 09:19:37 f4d2fef78042: Preparing 09:19:37 7a8941d99659: Preparing 09:19:37 f73e7dbfee58: Preparing 09:19:37 8e56d0e2b439: Layer already exists 09:19:37 f73e7dbfee58: Layer already exists 09:19:37 7a8941d99659: Layer already exists 09:19:37 6d77a6869dec: Layer already exists 09:19:37 f4d2fef78042: Layer already exists 09:19:37 main: digest: sha256:4fc56ad97ec26b5349cfdd3835fd8d2d7e364d97c5d16a8823c3763e8a8c6edb size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:19:37 ===================================================== [Pipeline] echo 09:19:37 taggedImages: 09:19:37 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 09:19:37 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 09:19:37 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.10 09:19:37 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:6b046bf6cda952c0c380e7585d2cf1a0cfc64fec-2.2.0-dev.10 09:19:37 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:19:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:19:38 09:19:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:19:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:19:38 arm64: Pulling from edgex-lftools-log-publisher 09:19:38 8998bd30e6a1: Pulling fs layer 09:19:38 04944245beec: Pulling fs layer 09:19:38 699f458cf7ca: Pulling fs layer 09:19:38 765212b225bb: Pulling fs layer 09:19:38 f23df028b6ca: Pulling fs layer 09:19:38 d65c8cfc05b1: Pulling fs layer 09:19:38 2437ff75d9bd: Pulling fs layer 09:19:38 f23df028b6ca: Waiting 09:19:38 d65c8cfc05b1: Waiting 09:19:38 2437ff75d9bd: Waiting 09:19:38 765212b225bb: Waiting 09:19:38 04944245beec: Verifying Checksum 09:19:38 04944245beec: Download complete 09:19:38 765212b225bb: Verifying Checksum 09:19:38 765212b225bb: Download complete 09:19:38 f23df028b6ca: Download complete 09:19:38 d65c8cfc05b1: Verifying Checksum 09:19:38 d65c8cfc05b1: Download complete 09:19:38 699f458cf7ca: Verifying Checksum 09:19:38 699f458cf7ca: Download complete 09:19:39 8998bd30e6a1: Download complete 09:19:41 2437ff75d9bd: Verifying Checksum 09:19:41 2437ff75d9bd: Download complete 09:19:43 8998bd30e6a1: Pull complete 09:19:44 04944245beec: Pull complete 09:19:46 699f458cf7ca: Pull complete 09:19:46 765212b225bb: Pull complete 09:19:47 f23df028b6ca: Pull complete 09:19:47 d65c8cfc05b1: Pull complete 09:20:02 2437ff75d9bd: Pull complete 09:20:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:20:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:20:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:20:02 prd-ubuntu20.04-docker-arm64-4c-16g-20794 does not seem to be running inside a container 09:20: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/device-snmp-go/20 -v /w/workspace/device-snmp-go/20:/w/workspace/device-snmp-go/20:rw,z -v /w/workspace/device-snmp-go/20@tmp:/w/workspace/device-snmp-go/20@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 09:20:05 $ docker top d0d7752618a51a789e739fd230a550ce6203271e8e6884209da5077154dce950 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:06 ---> job-cost.sh 09:20:06 lf-activate-venv: SKIPPING 09:20:06 INFO: No Stack... 09:20:06 INFO: Retrieving Pricing Info for: v3-standard-4 09:20:07 INFO: Archiving Costs [Pipeline] sh 09:20:08 + cut -d, -f6 09:20:08 + cat /w/workspace/device-snmp-go/20/archives/cost.csv [Pipeline] lock 09:20:08 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] 09:20:08 Resource [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] did not exist. Created. 09:20:08 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:20:09 /w/workspace/device-snmp-go/20@tmp/durable-c74cc50a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:20:09 + echo total: 0.10999999940395355 [Pipeline] stash 09:20:10 Warning: overwriting stash ‘stack-cost’ 09:20:10 Stashed 1 file(s) [Pipeline] } 09:20:10 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } 09:20:10 $ docker stop --time=1 d0d7752618a51a789e739fd230a550ce6203271e8e6884209da5077154dce950 09:20:11 $ docker rm -f d0d7752618a51a789e739fd230a550ce6203271e8e6884209da5077154dce950 [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 09:20:12 provisioning config files... 09:20:12 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8778650899482229732tmp [Pipeline] { [Pipeline] sh 09:20:12 + set +x 09:20:12 + curl -s https://codecov.io/bash 09:20:12 + bash -s -- 09:20:12 09:20:12 _____ _ 09:20:12 / ____| | | 09:20:12 | | ___ __| | ___ ___ _____ __ 09:20:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:20:12 | |___| (_) | (_| | __/ (_| (_) \ V / 09:20:12 \_____\___/ \__,_|\___|\___\___/ \_/ 09:20:12 Bash-1.0.6 09:20:12 09:20:12 09:20:12 ==> git version 2.25.1 found 09:20:12 ==> 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 09:20:12 Release-Date: 2020-01-08 09:20:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:20:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:20:12 ==> Jenkins CI detected. 09:20:12 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 09:20:12 project root: . 09:20:12 --> token set from env 09:20:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:20:12 ==> Running gcov in . (disable via -X gcov) 09:20:12 ==> Python coveragepy not found 09:20:12 ==> Searching for coverage reports in: 09:20:12 + . 09:20:12 -> Found 1 reports 09:20:12 ==> Detecting git/mercurial file structure 09:20:12 ==> Reading reports 09:20:12 + ./coverage.out bytes=7631 09:20:12 ==> Appending adjustments 09:20:12 https://docs.codecov.io/docs/fixing-reports 09:20:12 + Found adjustments 09:20:12 ==> Gzipping contents 09:20:12 4.0K /tmp/codecov.w75o64.gz 09:20:12 ==> Uploading reports 09:20:12 url: https://codecov.io 09:20:12 query: branch=main&commit=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:20:12 -> Pinging Codecov 09:20:12 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=6b046bf6cda952c0c380e7585d2cf1a0cfc64fec&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:20:12 -> Uploading to 09:20:12 https://storage.googleapis.com/codecov/v4/raw/2022-04-13/6C56EA5C29638FB4528AC87E60AF5AE0/6b046bf6cda952c0c380e7585d2cf1a0cfc64fec/e429c4a2-92c9-4ce8-b0ed-d73661818752.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T092012Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=178d64900582b2f31105e7a6e25d401fe32b6c0c037cb45167e72318f5fd696b 09:20:12 % Total % Received % Xferd Average Speed Time Time Time Current 09:20:12 Dload Upload Total Spent Left Speed 09:20:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7198 --:--:-- --:--:-- --:--:-- 7198 09:20:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] } 09:20:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:20:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:20:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:20:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:20:13 09:20:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 09:20:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:20:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:20:13 188c0c94c7c5: Pulling fs layer 09:20:13 0ef7d3d256c8: Pulling fs layer 09:20:13 de9db76c5a1d: Pulling fs layer 09:20:13 0eba1c9be4d2: Pulling fs layer 09:20:13 0d57e429df01: Pulling fs layer 09:20:13 4e4be7b47b0d: Pulling fs layer 09:20:13 e1f770b5df2f: Pulling fs layer 09:20:13 85a0685a4137: Pulling fs layer 09:20:13 0d57e429df01: Waiting 09:20:13 0eba1c9be4d2: Waiting 09:20:13 4e4be7b47b0d: Waiting 09:20:13 e1f770b5df2f: Waiting 09:20:13 85a0685a4137: Waiting 09:20:13 de9db76c5a1d: Verifying Checksum 09:20:13 de9db76c5a1d: Download complete 09:20:13 0ef7d3d256c8: Verifying Checksum 09:20:13 0ef7d3d256c8: Download complete 09:20:13 0d57e429df01: Verifying Checksum 09:20:13 0d57e429df01: Download complete 09:20:13 4e4be7b47b0d: Verifying Checksum 09:20:13 4e4be7b47b0d: Download complete 09:20:13 188c0c94c7c5: Verifying Checksum 09:20:13 188c0c94c7c5: Download complete 09:20:14 188c0c94c7c5: Pull complete 09:20:14 e1f770b5df2f: Verifying Checksum 09:20:14 e1f770b5df2f: Download complete 09:20:14 0ef7d3d256c8: Pull complete 09:20:14 de9db76c5a1d: Pull complete 09:20:14 0eba1c9be4d2: Verifying Checksum 09:20:14 0eba1c9be4d2: Download complete 09:20:14 85a0685a4137: Verifying Checksum 09:20:14 85a0685a4137: Download complete 09:20:18 0eba1c9be4d2: Pull complete 09:20:18 0d57e429df01: Pull complete 09:20:18 4e4be7b47b0d: Pull complete 09:20:18 e1f770b5df2f: Pull complete 09:20:21 85a0685a4137: Pull complete 09:20:21 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 09:20:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:20:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 09:20:21 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:20:21 $ 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 09:20:23 $ docker top 80873afd8894c2b1ade8bde9270d0db4aa388f1188d7bfab815fbdb006cd3e50 -eo pid,comm [Pipeline] { [Pipeline] echo 09:20:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 09:20:24 + set -o pipefail 09:20:24 + snyk monitor '--org=edgex-jenkins' 09:20:29 09:20:29 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 09:20:29 09:20:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/380d05e8-634f-44d9-af7d-765c46ae7403 09:20:29 09:20:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:20:29 09:20:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:20:29 09:20:29 [Pipeline] } 09:20:29 $ docker stop --time=1 80873afd8894c2b1ade8bde9270d0db4aa388f1188d7bfab815fbdb006cd3e50 09:20:31 $ docker rm -f 80873afd8894c2b1ade8bde9270d0db4aa388f1188d7bfab815fbdb006cd3e50 [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 09:20:32 + git log --format=format:%s -1 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec [Pipeline] sh 09:20:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:20:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:20:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:32 . [Pipeline] withDockerContainer 09:20:32 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:20:32 $ 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 09:20:33 $ docker top 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:20:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:33 [ssh-agent] Looking for ssh-agent implementation... 09:20:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:33 $ docker exec 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a ssh-agent 09:20:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpkPgCc/agent.14 09:20:33 SSH_AGENT_PID=21 09:20:33 Running ssh-add (command line suppressed) 09:20:33 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6739146284509326575.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6739146284509326575.key) 09:20:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:34 + git semver tag 09:20:34 # -> Open(): unable to determine branch for HEAD 09:20:34 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 09:20:34 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 09:20:34 # $SEMVER_REMOTE_NAME = origin 09:20:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:20:34 # $SEMVER_USER_NAME = edgex-jenkins 09:20:34 # $SEMVER_BRANCH = main 09:20:34 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 09:20:34 # 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec HEAD 09:20:34 # -> Force: false 09:20:34 # ff09d7b2d178a18d781228025b430b1a310e5bff refs/tags/v2.2.0-dev.10 [Pipeline] } 09:20:34 $ docker exec --env ******** --env ******** 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a ssh-agent -k 09:20:34 unset SSH_AUTH_SOCK; 09:20:34 unset SSH_AGENT_PID; 09:20:34 echo Agent pid 21 killed; 09:20:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:20:34 + git semver [Pipeline] } 09:20:34 $ docker stop --time=1 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a 09:20:35 $ docker rm -f 92c60ac2f0ebd92c7196d70386cde3a53694316cbcc946e19cd5a4f14ee6a82a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 09:20:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:20:36 09:20:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 09:20:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:20:36 0.23.1-centos7: Pulling from edgex-lftools 09:20:36 ab5ef0e58194: Pulling fs layer 09:20:36 9712f1f96733: Pulling fs layer 09:20:36 63f879dbbcfc: Pulling fs layer 09:20:36 0d9ebad4ef96: Pulling fs layer 09:20:36 e9a5061849ea: Pulling fs layer 09:20:36 d747dcd14b5f: Pulling fs layer 09:20:36 2de7ff778b66: Pulling fs layer 09:20:36 0d9ebad4ef96: Waiting 09:20:36 d747dcd14b5f: Waiting 09:20:36 2de7ff778b66: Waiting 09:20:36 e9a5061849ea: Waiting 09:20:36 9712f1f96733: Verifying Checksum 09:20:36 9712f1f96733: Download complete 09:20:36 63f879dbbcfc: Verifying Checksum 09:20:36 63f879dbbcfc: Download complete 09:20:36 e9a5061849ea: Verifying Checksum 09:20:36 e9a5061849ea: Download complete 09:20:37 d747dcd14b5f: Download complete 09:20:37 0d9ebad4ef96: Verifying Checksum 09:20:37 0d9ebad4ef96: Download complete 09:20:37 ab5ef0e58194: Verifying Checksum 09:20:37 ab5ef0e58194: Download complete 09:20:37 2de7ff778b66: Verifying Checksum 09:20:39 ab5ef0e58194: Pull complete 09:20:39 9712f1f96733: Pull complete 09:20:40 63f879dbbcfc: Pull complete 09:20:44 0d9ebad4ef96: Pull complete 09:20:44 e9a5061849ea: Pull complete 09:20:44 d747dcd14b5f: Pull complete 09:20:45 2de7ff778b66: Pull complete 09:20:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:20:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:20:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 09:20:45 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:20:45 $ 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 09:20:47 $ docker top 80645cbc7fa6fa70b170c626e5678c5ed79088d19eab51f401a1fd5cd7270afc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:20:47 provisioning config files... 09:20:47 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1672474531140133416tmp 09:20:47 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5227202488950075071tmp 09:20:47 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1858265974999098645tmp [Pipeline] { [Pipeline] echo 09:20:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:20:47 ---> sigul-configuration.sh 09:20:47 gpg: directory `/root/.gnupg' created 09:20:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:20:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:20:47 gpg: keyring `/root/.gnupg/secring.gpg' created 09:20:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:20:47 gpg: CAST5 encrypted data 09:20:47 gpg: encrypted with 1 passphrase 09:20:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:20:48 + mkdir /home/jenkins 09:20:48 + mkdir /home/jenkins/sigul [Pipeline] sh 09:20:48 + 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 09:20:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:20:48 ---> sigul-install.sh 09:20:48 Sigul already installed; skipping installation. [Pipeline] sh 09:20:49 + git tag --list 09:20:49 1.0.0 09:20:49 v0.0.0 09:20:49 v1.1.0 09:20:49 v1.1.1 09:20:49 v1.2.2 09:20:49 v1.3.0 09:20:49 v1.3.1 09:20:49 v2.0.0 09:20:49 v2.0.1-dev.1 09:20:49 v2.0.1-dev.2 09:20:49 v2.0.1-dev.3 09:20:49 v2.0.1-dev.4 09:20:49 v2.0.1-dev.5 09:20:49 v2.0.1-dev.6 09:20:49 v2.1.0 09:20:49 v2.2.0-dev.1 09:20:49 v2.2.0-dev.10 09:20:49 v2.2.0-dev.2 09:20:49 v2.2.0-dev.3 09:20:49 v2.2.0-dev.4 09:20:49 v2.2.0-dev.5 09:20:49 v2.2.0-dev.6 09:20:49 v2.2.0-dev.7 09:20:49 v2.2.0-dev.8 09:20:49 v2.2.0-dev.9 [Pipeline] sh 09:20:49 + lftools sign git-tag v2.2.0-dev.10 09:20:50 Signing Git tag with Sigul... 09:20:50 Signing v2.2.0-dev.10 [Pipeline] echo 09:20:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:20:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:20:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:20:50 $ docker stop --time=1 80645cbc7fa6fa70b170c626e5678c5ed79088d19eab51f401a1fd5cd7270afc 09:20:51 $ docker rm -f 80645cbc7fa6fa70b170c626e5678c5ed79088d19eab51f401a1fd5cd7270afc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:20:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:20:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:20:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:52 . [Pipeline] withDockerContainer 09:20:52 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:20:52 $ 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 09:20:53 $ docker top 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:20:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:53 [ssh-agent] Looking for ssh-agent implementation... 09:20:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:53 $ docker exec 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 ssh-agent 09:20:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMmADhi/agent.13 09:20:53 SSH_AGENT_PID=19 09:20:53 Running ssh-add (command line suppressed) 09:20:53 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8138670760216525653.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8138670760216525653.key) 09:20:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:54 + git semver bump pre 09:20:54 # -> Open(): unable to determine branch for HEAD 09:20:54 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 09:20:54 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 09:20:54 # $SEMVER_REMOTE_NAME = origin 09:20:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:20:54 # $SEMVER_USER_NAME = edgex-jenkins 09:20:54 # $SEMVER_BRANCH = main 09:20:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 09:20:54 2.2.0-dev.11 [Pipeline] } 09:20:54 $ docker exec --env ******** --env ******** 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 ssh-agent -k 09:20:54 unset SSH_AUTH_SOCK; 09:20:54 unset SSH_AGENT_PID; 09:20:54 echo Agent pid 19 killed; 09:20:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:20:54 + git semver [Pipeline] } 09:20:54 $ docker stop --time=1 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 09:20:55 $ docker rm -f 439ae8505e6a0ba3e88f1dde2548f609a91c6a39445a10edcde1371e4c2f94f4 [Pipeline] // withDockerContainer [Pipeline] sh 09:20:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:20:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:20:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:56 . [Pipeline] withDockerContainer 09:20:56 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:20:56 $ 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 09:20:56 $ docker top 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:20:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:56 [ssh-agent] Looking for ssh-agent implementation... 09:20:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:57 $ docker exec 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 ssh-agent 09:20:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaACocH/agent.14 09:20:57 SSH_AGENT_PID=20 09:20:57 Running ssh-add (command line suppressed) 09:20:57 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4645272784886745284.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4645272784886745284.key) 09:20:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:57 + git semver push 09:20:57 # -> Open(): unable to determine branch for HEAD 09:20:57 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 09:20:57 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 09:20:57 # $SEMVER_REMOTE_NAME = origin 09:20:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:20:57 # $SEMVER_USER_NAME = edgex-jenkins 09:20:57 # $SEMVER_BRANCH = main 09:20:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 09:20:59 $ docker exec --env ******** --env ******** 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 ssh-agent -k 09:20:59 unset SSH_AUTH_SOCK; 09:20:59 unset SSH_AGENT_PID; 09:20:59 echo Agent pid 20 killed; 09:20:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:00 + git semver [Pipeline] } 09:21:00 $ docker stop --time=1 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 09:21:01 $ docker rm -f 749cb627e2ad8114f8662fb22e1e5b4eca1fb95d655da5d7c4cf6082b373a7d4 [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 09:21:01 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 09:21:01 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:21:01 total 16 09:21:01 drwxr-xr-x 3 root root 4096 Apr 13 09:11 . 09:21:01 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:20 .. 09:21:01 drwxr-xr-x 2 root root 4096 Apr 13 09:11 cost 09:21:01 -rw-r--r-- 1 root root 84 Apr 13 09:11 cost.csv 09:21:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:21:01 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 09:21:01 total 16 09:21:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 09:11 . 09:21:01 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 09:20 .. 09:21:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 09:11 cost 09:21:01 -rw-r--r-- 1 jenkins jenkins 84 Apr 13 09:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:21:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:21:03 ---> package-listing.sh 09:21:03 ++ facter osfamily 09:21:03 ++ tr '[:upper:]' '[:lower:]' 09:21:03 + OS_FAMILY=debian 09:21:03 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 09:21:03 + START_PACKAGES=/tmp/packages_start.txt 09:21:03 + END_PACKAGES=/tmp/packages_end.txt 09:21:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:21:03 + PACKAGES=/tmp/packages_start.txt 09:21:03 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 09:21:03 + PACKAGES=/tmp/packages_end.txt 09:21:03 + case "${OS_FAMILY}" in 09:21:03 + dpkg -l 09:21:03 + grep '^ii' 09:21:03 + '[' -f /tmp/packages_start.txt ']' 09:21:03 + '[' -f /tmp/packages_end.txt ']' 09:21:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:21:03 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 09:21:03 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 09:21:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 09:21:03 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 09:21:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:21:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:21:04 . [Pipeline] withDockerContainer 09:21:04 prd-ubuntu20.04-docker-8c-8g-20792 does not seem to be running inside a container 09:21:04 $ 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 09:21:04 $ docker top daffe65f168a3ba240e794e95ccc3ca5d54f9e718ca6642db7f047842d82523b -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:04 + touch /tmp/pre-build-complete [Pipeline] sh 09:21:05 + mkdir -p /var/log/sysstat [Pipeline] sh 09:21:05 + ls /var/log/sa-host 09:21:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:05 provisioning config files... 09:21:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1909636388652317525tmp [Pipeline] { [Pipeline] echo 09:21:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:21:05 ---> create-netrc.sh [Pipeline] } 09:21:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:21:06 ---> python-tools-install.sh [Pipeline] echo 09:21:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:21:06 ---> sudo-logs.sh 09:21:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:21:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:21:06 ---> job-cost.sh 09:21:06 lf-activate-venv: SKIPPING 09:21:06 DEBUG: total: 0.2199999988079071 09:21:06 INFO: Retrieving Stack Cost... 09:21:07 INFO: Retrieving Pricing Info for: v3-standard-8 09:21:07 INFO: Archiving Costs [Pipeline] echo 09:21:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:21:07 ---> logs-deploy.sh 09:21:07 lf-activate-venv: SKIPPING 09:21:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/20 09:21:07 INFO: archiving workspace using pattern(s): 09:21:08 Archives upload complete. 09:21:08 INFO: archiving logs to Nexus