Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 480fc110605f705546cd9b1d947e4f522cca56d6 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-ssh12523628726338670536.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-ssh14393058402696393865.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-ssh4805327253036872210.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-ssh9396505778546466089.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-ssh8144654980541611600.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 ‘prd-centos7-builder-2c-1g-10765’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-10717’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-10767’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10771 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 480fc110605f705546cd9b1d947e4f522cca56d6 (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 480fc110605f705546cd9b1d947e4f522cca56d6 # timeout=10 Commit message: "Merge pull request #147 from jpwhitemn/enable-gosec-lint2" > git rev-list --no-walk f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:09:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:09:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:09:40 ========================================================= 20:09:40 EdgeX Global Pipelines Version Info 20:09:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:09:41 ------------------- 20:09:41 stable info: 20:09:41 ------------------- 20:09:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:09:41 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:09:41 Message: update stable to v1.0.221 20:09:41 ------------------- 20:09:41 experimental info: 20:09:41 ------------------- 20:09:41 Commited By: **** collab-it+edgex@linuxfoundation.org 20:09:41 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:09:41 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:09:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 20:09:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 480fc11 [Pipeline] echo 20:09:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:09:42 provisioning config files... 20:09:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1155292988415209615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:42 ---> docker-login.sh 20:09:42 nexus3.edgexfoundry.org:10001 20:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:43 Configure a credential helper to remove this warning. See 20:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:43 20:09:43 Login Succeeded 20:09:43 nexus3.edgexfoundry.org:10002 20:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:43 Configure a credential helper to remove this warning. See 20:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:43 20:09:43 Login Succeeded 20:09:43 nexus3.edgexfoundry.org:10003 20:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:43 Configure a credential helper to remove this warning. See 20:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:43 20:09:43 Login Succeeded 20:09:43 nexus3.edgexfoundry.org:10004 20:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:43 Configure a credential helper to remove this warning. See 20:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:43 20:09:43 Login Succeeded 20:09:43 docker.io 20:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:43 Configure a credential helper to remove this warning. See 20:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:43 20:09:43 Login Succeeded 20:09:43 ---> docker-login.sh ends [Pipeline] } 20:09:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:09:44 + git rev-list -1 --merges 480fc110605f705546cd9b1d947e4f522cca56d6~1..480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] echo 20:09:44 -----------> git rev-list -1 --merges 480fc110605f705546cd9b1d947e4f522cca56d6~1..480fc110605f705546cd9b1d947e4f522cca56d6 480fc110605f705546cd9b1d947e4f522cca56d6 20:09:44 480fc110605f705546cd9b1d947e4f522cca56d6 [false] [Pipeline] sh 20:09:44 + git log --format=format:%s -1 480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] echo 20:09:44 ========================================================= 20:09:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:09:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:45 + git log --format=format:%s -1 480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] echo 20:09:45 [semverPrep] GIT_COMMIT: 480fc110605f705546cd9b1d947e4f522cca56d6, Commit Message: Merge pull request #147 from jpwhitemn/enable-gosec-lint2 [Pipeline] echo 20:09:45 [semverPrep] This is not a build commit. [Pipeline] sh 20:09:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:09:45 + grep -v github /etc/ssh/ssh_known_hosts 20:09:45 + [ -e /tmp/ssh_known_hosts ] 20:09:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:09:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:09:45 + sudo tee -a /etc/ssh/ssh_known_hosts 20:09:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:09:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:45 20:09:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:09:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:46 latest: Pulling from edgex-devops/git-semver 20:09:46 a0d0a0d46f8b: Pulling fs layer 20:09:46 3e5f54012d9b: Pulling fs layer 20:09:46 4c7163046ea9: Pulling fs layer 20:09:46 0c2d73faf560: Pulling fs layer 20:09:46 0c2d73faf560: Waiting 20:09:46 3e5f54012d9b: Verifying Checksum 20:09:46 3e5f54012d9b: Download complete 20:09:46 a0d0a0d46f8b: Download complete 20:09:46 4c7163046ea9: Verifying Checksum 20:09:46 4c7163046ea9: Download complete 20:09:46 0c2d73faf560: Verifying Checksum 20:09:46 0c2d73faf560: Download complete 20:09:46 a0d0a0d46f8b: Pull complete 20:09:46 3e5f54012d9b: Pull complete 20:09:47 4c7163046ea9: Pull complete 20:09:47 0c2d73faf560: Pull complete 20:09:47 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:09:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:09:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:09:47 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:09:47 $ 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 20:09:47 $ docker top 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:09:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:47 [ssh-agent] Looking for ssh-agent implementation... 20:09:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:48 $ docker exec 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 ssh-agent 20:09:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCGoKCN/agent.14 20:09:48 SSH_AGENT_PID=20 20:09:48 Running ssh-add (command line suppressed) 20:09:48 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1650860305227449467.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1650860305227449467.key) 20:09:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:48 + git tag --points-at HEAD [Pipeline] } 20:09:48 $ docker exec --env ******** --env ******** 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 ssh-agent -k 20:09:48 unset SSH_AUTH_SOCK; 20:09:48 unset SSH_AGENT_PID; 20:09:48 echo Agent pid 20 killed; 20:09:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:09:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:09:48 [ssh-agent] Looking for ssh-agent implementation... 20:09:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:09:48 $ docker exec 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 ssh-agent 20:09:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIGjohF/agent.53 20:09:49 SSH_AGENT_PID=59 20:09:49 Running ssh-add (command line suppressed) 20:09:49 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3732213518564463664.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3732213518564463664.key) 20:09:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:09:49 + git semver init 20:09:49 # -> Open(): unable to determine branch for HEAD 20:09:49 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 20:09:49 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 20:09:49 # $SEMVER_REMOTE_NAME = origin 20:09:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:09:49 # $SEMVER_USER_NAME = edgex-jenkins 20:09:49 # $SEMVER_BRANCH = main 20:09:49 # $SEMVER_TEMP = /tmp/semver-842508599 20:09:49 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 20:09:50 # '/tmp/semver-842508599' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 20:09:50 # -> Force: false 20:09:50 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 20:09:50 $ docker exec --env ******** --env ******** 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 ssh-agent -k 20:09:50 unset SSH_AUTH_SOCK; 20:09:50 unset SSH_AGENT_PID; 20:09:50 echo Agent pid 59 killed; 20:09:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:09:50 + git semver [Pipeline] } 20:09:50 $ docker stop --time=1 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 20:09:52 $ docker rm -f 1839709cd28900a5e8db4f5cc639d7db25a2096076923d136509a6afff04ce06 [Pipeline] // withDockerContainer [Pipeline] sh 20:09:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:09:52 Stashed 1 file(s) [Pipeline] echo 20:09:52 [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [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 20:09:53 provisioning config files... 20:09:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4497008401225357231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:53 ---> docker-login.sh 20:09:53 nexus3.edgexfoundry.org:10001 20:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:53 Configure a credential helper to remove this warning. See 20:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:53 20:09:53 Login Succeeded 20:09:53 nexus3.edgexfoundry.org:10002 20:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:53 Configure a credential helper to remove this warning. See 20:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:53 20:09:53 Login Succeeded 20:09:53 nexus3.edgexfoundry.org:10003 20:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:53 Configure a credential helper to remove this warning. See 20:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:53 20:09:53 Login Succeeded 20:09:53 nexus3.edgexfoundry.org:10004 20:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:53 Configure a credential helper to remove this warning. See 20:09:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:53 20:09:53 Login Succeeded 20:09:53 docker.io 20:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:54 Configure a credential helper to remove this warning. See 20:09:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:54 20:09:54 Login Succeeded 20:09:54 ---> docker-login.sh ends [Pipeline] } 20:09:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:09:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:09:54 ========================================================= 20:09:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:09:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:09:54 + 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 . 20:09:54 Sending build context to Docker daemon 5.196MB 20:09:54 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:09:54 Step 2/12 : FROM ${BASE} AS builder 20:09:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:09:54 59bf1c3509f3: Pulling fs layer 20:09:54 666ba61612fd: Pulling fs layer 20:09:54 8ed8ca486205: Pulling fs layer 20:09:54 4fe6c5a15a65: Pulling fs layer 20:09:54 22a0e8bec74d: Pulling fs layer 20:09:54 640e595b4fbd: Pulling fs layer 20:09:54 763cafe07f6e: Pulling fs layer 20:09:54 0c0b528cf693: Pulling fs layer 20:09:54 10935f4eaf8b: Pulling fs layer 20:09:54 640e595b4fbd: Waiting 20:09:54 763cafe07f6e: Waiting 20:09:54 0c0b528cf693: Waiting 20:09:54 10935f4eaf8b: Waiting 20:09:54 4fe6c5a15a65: Waiting 20:09:54 22a0e8bec74d: Waiting 20:09:54 8ed8ca486205: Verifying Checksum 20:09:54 8ed8ca486205: Download complete 20:09:54 666ba61612fd: Download complete 20:09:54 22a0e8bec74d: Verifying Checksum 20:09:54 22a0e8bec74d: Download complete 20:09:54 640e595b4fbd: Verifying Checksum 20:09:54 640e595b4fbd: Download complete 20:09:54 763cafe07f6e: Download complete 20:09:54 59bf1c3509f3: Verifying Checksum 20:09:54 0c0b528cf693: Verifying Checksum 20:09:54 0c0b528cf693: Download complete 20:09:54 59bf1c3509f3: Pull complete 20:09:55 666ba61612fd: Pull complete 20:09:55 8ed8ca486205: Pull complete 20:09:55 10935f4eaf8b: Verifying Checksum 20:09:55 10935f4eaf8b: Download complete 20:09:55 4fe6c5a15a65: Verifying Checksum 20:09:55 4fe6c5a15a65: Download complete 20:09:59 4fe6c5a15a65: Pull complete 20:09:59 22a0e8bec74d: Pull complete 20:09:59 640e595b4fbd: Pull complete 20:09:59 763cafe07f6e: Pull complete 20:09:59 0c0b528cf693: Pull complete 20:10:01 10935f4eaf8b: Pull complete 20:10:01 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:10:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:10:01 ---> 99d49a6021b9 20:10:01 Step 3/12 : ARG MAKE='make build' 20:10:03 ---> Running in 9f9416673b69 20:10:03 Removing intermediate container 9f9416673b69 20:10:03 ---> 0e26f54fc08c 20:10:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:03 ---> Running in 0050b3651859 20:10:03 Removing intermediate container 0050b3651859 20:10:03 ---> 343aa41919a7 20:10:03 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:10:03 ---> Running in 24e03f609fdd 20:10:03 Removing intermediate container 24e03f609fdd 20:10:03 ---> 103d288a4255 20:10:03 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:03 ---> Running in e370f9f613d0 20:10:04 Removing intermediate container e370f9f613d0 20:10:04 ---> e8a9eeec67bd 20:10:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:04 ---> Running in 119aad2759e2 20:10:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:10:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:10:05 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:10:05 (2/4) Installing libedit (20210910.3.1-r0) 20:10:05 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:10:05 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:10:05 Executing busybox-1.34.1-r3.trigger 20:10:05 OK: 224 MiB in 56 packages 20:10:06 Removing intermediate container 119aad2759e2 20:10:06 ---> d2028f25e30a 20:10:06 Step 8/12 : WORKDIR /device-snmp-go 20:10:06 ---> Running in 91415586bbc2 20:10:06 Removing intermediate container 91415586bbc2 20:10:06 ---> 03f9d1bf9f00 20:10:06 Step 9/12 : COPY go.mod vendor* ./ 20:10:06 ---> 27d16fb90601 20:10:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:06 ---> Running in de0d9ba7a411 20:10:08 Still waiting to schedule task 20:10:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10768’ 20:10:28 Removing intermediate container de0d9ba7a411 20:10:28 ---> 2219c3a092f6 20:10:28 Step 11/12 : COPY . . 20:10:28 ---> 4269c2024693 20:10:28 Step 12/12 : RUN ${MAKE} 20:10:28 ---> Running in 268c8a89841a 20:10:29 noop 20:10:29 Removing intermediate container 268c8a89841a 20:10:29 ---> d7bbab2103ee 20:10:29 Successfully built d7bbab2103ee 20:10:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:10:29 + docker inspect -f . ci-base-image-x86_64 20:10:29 . [Pipeline] withDockerContainer 20:10:29 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:10:29 $ 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 20:10:30 $ docker top d790bd04bf8301299efa0a08aef0ab9b47cd555819b6d84d05148cd5dc8e242e -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:30 + go version 20:10:30 go version go1.17.6 linux/amd64 [Pipeline] } 20:10:30 $ docker stop --time=1 d790bd04bf8301299efa0a08aef0ab9b47cd555819b6d84d05148cd5dc8e242e 20:10:31 $ docker rm -f d790bd04bf8301299efa0a08aef0ab9b47cd555819b6d84d05148cd5dc8e242e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:10:32 + docker inspect -f . ci-base-image-x86_64 20:10:32 . [Pipeline] withDockerContainer 20:10:32 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:10:32 $ 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 20:10:33 $ docker top 35a2a117565842790d2f3631e16585e80e7d9a6c6539df9a168d7686b39356d9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:10:33 + make test 20:10:33 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:10:33 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:10:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:10:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 20:10:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:10:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:10:46 ./bin/test-attribution-txt.sh [Pipeline] echo 20:10:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:10:47 $ docker stop --time=1 35a2a117565842790d2f3631e16585e80e7d9a6c6539df9a168d7686b39356d9 20:10:48 $ docker rm -f 35a2a117565842790d2f3631e16585e80e7d9a6c6539df9a168d7686b39356d9 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:10:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:50 + ls -al . 20:10:50 total 180 20:10:50 drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:10 . 20:10:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:09 .. 20:10:50 -rw-rw-r-- 1 jenkins jenkins 6 Apr 5 20:09 .dockerignore 20:10:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:09 .git 20:10:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 .github 20:10:50 -rw-rw-r-- 1 jenkins jenkins 262 Apr 5 20:09 .gitignore 20:10:50 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:09 .golangci.yml 20:10:50 drwx------ 3 jenkins jenkins 4096 Apr 5 20:09 .semver 20:10:50 -rw-rw-r-- 1 jenkins jenkins 6926 Apr 5 20:09 Attribution.txt 20:10:50 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 5 20:09 CHANGELOG.md 20:10:50 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 5 20:09 Dockerfile 20:10:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:09 GOVERNANCE.md 20:10:50 -rw-rw-r-- 1 jenkins jenkins 656 Apr 5 20:09 Jenkinsfile 20:10:50 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:09 LICENSE 20:10:50 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 5 20:09 Makefile 20:10:50 -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:09 OWNERS.md 20:10:50 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 5 20:09 README.md 20:10:50 -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION 20:10:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:09 bin 20:10:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 cmd 20:10:50 -rw-r--r-- 1 jenkins jenkins 7631 Apr 5 20:10 coverage.out 20:10:50 -rw-rw-r-- 1 jenkins jenkins 2820 Apr 5 20:09 go.mod 20:10:50 -rw-rw-r-- 1 jenkins jenkins 49501 Apr 5 20:09 go.sum 20:10:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 internal 20:10:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:09 snap 20:10:50 -rw-rw-r-- 1 jenkins jenkins 209 Apr 5 20:09 version.go [Pipeline] isUnix [Pipeline] sh 20:10:50 + 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=480fc110605f705546cd9b1d947e4f522cca56d6 --label arch=amd64 --label version=2.2.0-dev.6 . 20:10:50 Sending build context to Docker daemon 5.204MB 20:10:50 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:10:50 Step 2/24 : FROM ${BASE} AS builder 20:10:50 ---> d7bbab2103ee 20:10:50 Step 3/24 : ARG MAKE='make build' 20:10:50 ---> Running in bbd95c5ffe6a 20:10:50 Removing intermediate container bbd95c5ffe6a 20:10:50 ---> 3d69a49ba33a 20:10:50 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:50 ---> Running in 192d36b53167 20:10:50 Removing intermediate container 192d36b53167 20:10:50 ---> 4d2383dd72db 20:10:50 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:10:50 ---> Running in 706aa54a0501 20:10:50 Removing intermediate container 706aa54a0501 20:10:50 ---> da47416b79a3 20:10:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:50 ---> Running in e1dfd9e34f2a 20:10:51 Removing intermediate container e1dfd9e34f2a 20:10:51 ---> 54cf850db4ef 20:10:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:51 ---> Running in aed041d888e2 20:10:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:10:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:10:53 OK: 224 MiB in 56 packages 20:10:53 Removing intermediate container aed041d888e2 20:10:53 ---> 697f199e0704 20:10:53 Step 8/24 : WORKDIR /device-snmp-go 20:10:53 ---> Running in 9b5ab89f2049 20:10:53 Removing intermediate container 9b5ab89f2049 20:10:53 ---> 409d8742dbff 20:10:53 Step 9/24 : COPY go.mod vendor* ./ 20:10:53 ---> 4658943e400a 20:10:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:53 ---> Running in 01273998fa92 20:10:54 Removing intermediate container 01273998fa92 20:10:54 ---> 13832443aaad 20:10:54 Step 11/24 : COPY . . 20:10:54 ---> 0c1b7bf4ab20 20:10:54 Step 12/24 : RUN ${MAKE} 20:10:54 ---> Running in 0bc6c85a5e23 20:10:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.6" -o cmd/device-snmp ./cmd 20:11:02 Removing intermediate container 0bc6c85a5e23 20:11:02 ---> b38c3305304a 20:11:02 Step 13/24 : FROM alpine:3.14 20:11:02 3.14: Pulling from library/alpine 20:11:02 8663204ce13b: Pulling fs layer 20:11:02 8663204ce13b: Verifying Checksum 20:11:02 8663204ce13b: Download complete 20:11:02 8663204ce13b: Pull complete 20:11:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:11:02 Status: Downloaded newer image for alpine:3.14 20:11:02 ---> e04c818066af 20:11:02 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 20:11:03 ---> Running in 07ce6953d883 20:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:11:03 (1/6) Installing dumb-init (1.2.5-r1) 20:11:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:11:03 (3/6) Installing libsodium (1.0.18-r0) 20:11:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:11:03 (5/6) Installing libzmq (4.3.4-r0) 20:11:03 (6/6) Installing zeromq (4.3.4-r0) 20:11:03 Executing busybox-1.33.1-r7.trigger 20:11:03 OK: 8 MiB in 20 packages 20:11:03 Removing intermediate container 07ce6953d883 20:11:03 ---> 98f4b00176ae 20:11:03 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:11:04 ---> 630b7fac76fe 20:11:04 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:11:04 ---> 103422d0b6bf 20:11:04 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:11:04 ---> dd60589a358d 20:11:04 Step 18/24 : EXPOSE 59993 20:11:04 ---> Running in bda7028c6214 20:11:04 Removing intermediate container bda7028c6214 20:11:04 ---> 2977b89c838c 20:11:04 Step 19/24 : EXPOSE 161 20:11:04 ---> Running in 71b5f3fc1a26 20:11:04 Removing intermediate container 71b5f3fc1a26 20:11:04 ---> 11ff532c0c61 20:11:04 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:11:04 ---> Running in ed861f424bcf 20:11:04 Removing intermediate container ed861f424bcf 20:11:04 ---> c49c878d4a06 20:11:04 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:11:04 ---> Running in b5c3a374dbdf 20:11:05 Removing intermediate container b5c3a374dbdf 20:11:05 ---> 9bb600c0c47c 20:11:05 Step 22/24 : LABEL arch=amd64 20:11:05 ---> Running in ab6e4f4bb5d6 20:11:05 Removing intermediate container ab6e4f4bb5d6 20:11:05 ---> 7a03aa185e54 20:11:05 Step 23/24 : LABEL git_sha=480fc110605f705546cd9b1d947e4f522cca56d6 20:11:05 ---> Running in 0817337694c6 20:11:05 Removing intermediate container 0817337694c6 20:11:05 ---> 37e139543ebc 20:11:05 Step 24/24 : LABEL version=2.2.0-dev.6 20:11:05 ---> Running in 5b1d44f1f0ab 20:11:05 Removing intermediate container 5b1d44f1f0ab 20:11:05 ---> 639192a2411c 20:11:05 [Warning] One or more build-args [ARCH] were not consumed 20:11:05 Successfully built 639192a2411c 20:11:05 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:05 provisioning config files... 20:11:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1952244337927970558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:06 ---> docker-login.sh 20:11:06 nexus3.edgexfoundry.org:10001 20:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:06 Configure a credential helper to remove this warning. See 20:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:06 20:11:06 Login Succeeded 20:11:06 nexus3.edgexfoundry.org:10002 20:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:06 Configure a credential helper to remove this warning. See 20:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:06 20:11:06 Login Succeeded 20:11:06 nexus3.edgexfoundry.org:10003 20:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:06 Configure a credential helper to remove this warning. See 20:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:06 20:11:06 Login Succeeded 20:11:06 nexus3.edgexfoundry.org:10004 20:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:06 Configure a credential helper to remove this warning. See 20:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:06 20:11:06 Login Succeeded 20:11:06 docker.io 20:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:11:06 Configure a credential helper to remove this warning. See 20:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:11:06 20:11:06 Login Succeeded 20:11:06 ---> docker-login.sh ends [Pipeline] } 20:11:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:11:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:11:06 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 20:11:06 480fc110605f705546cd9b1d947e4f522cca56d6 20:11:06 latest 20:11:06 2.2.0-dev.6 20:11:06 480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 20:11:06 main 20:11:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:11:07 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] isUnix [Pipeline] sh 20:11:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6 20:11:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:11:07 4951ea8ebca2: Preparing 20:11:07 2f4a74d9b864: Preparing 20:11:07 06f2f0e5966a: Preparing 20:11:07 49d52b7e72e6: Preparing 20:11:07 b541d28bf3b4: Preparing 20:11:07 b541d28bf3b4: Layer already exists 20:11:07 2f4a74d9b864: Pushed 20:11:07 4951ea8ebca2: Pushed 20:11:07 49d52b7e72e6: Pushed 20:11:08 06f2f0e5966a: Pushed 20:11:09 480fc110605f705546cd9b1d947e4f522cca56d6: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] isUnix [Pipeline] sh 20:11:09 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 20:11:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 20:11:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:11:09 4951ea8ebca2: Preparing 20:11:09 2f4a74d9b864: Preparing 20:11:09 06f2f0e5966a: Preparing 20:11:09 49d52b7e72e6: Preparing 20:11:09 b541d28bf3b4: Preparing 20:11:09 2f4a74d9b864: Layer already exists 20:11:09 49d52b7e72e6: Layer already exists 20:11:09 4951ea8ebca2: Layer already exists 20:11:09 06f2f0e5966a: Layer already exists 20:11:09 b541d28bf3b4: Layer already exists 20:11:09 latest: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] isUnix [Pipeline] sh 20:11:09 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 20:11:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.6 20:11:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:11:10 4951ea8ebca2: Preparing 20:11:10 2f4a74d9b864: Preparing 20:11:10 06f2f0e5966a: Preparing 20:11:10 49d52b7e72e6: Preparing 20:11:10 b541d28bf3b4: Preparing 20:11:10 b541d28bf3b4: Layer already exists 20:11:10 4951ea8ebca2: Layer already exists 20:11:10 49d52b7e72e6: Layer already exists 20:11:10 06f2f0e5966a: Layer already exists 20:11:10 2f4a74d9b864: Layer already exists 20:11:10 2.2.0-dev.6: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] isUnix [Pipeline] sh 20:11:10 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 20:11:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 20:11:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:11:10 4951ea8ebca2: Preparing 20:11:10 2f4a74d9b864: Preparing 20:11:10 06f2f0e5966a: Preparing 20:11:10 49d52b7e72e6: Preparing 20:11:10 b541d28bf3b4: Preparing 20:11:10 4951ea8ebca2: Layer already exists 20:11:10 2f4a74d9b864: Layer already exists 20:11:10 06f2f0e5966a: Layer already exists 20:11:10 b541d28bf3b4: Layer already exists 20:11:10 49d52b7e72e6: Layer already exists 20:11:10 480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] isUnix [Pipeline] sh 20:11:11 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 20:11:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 20:11:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 20:11:11 4951ea8ebca2: Preparing 20:11:11 2f4a74d9b864: Preparing 20:11:11 06f2f0e5966a: Preparing 20:11:11 49d52b7e72e6: Preparing 20:11:11 b541d28bf3b4: Preparing 20:11:11 06f2f0e5966a: Layer already exists 20:11:11 b541d28bf3b4: Layer already exists 20:11:11 4951ea8ebca2: Layer already exists 20:11:11 49d52b7e72e6: Layer already exists 20:11:11 2f4a74d9b864: Layer already exists 20:11:11 main: digest: sha256:143ef104c4734b458124093dda55a9a1ade23fbcebf2db0167a0eb8bd7e6909a size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:11:11 ===================================================== [Pipeline] echo 20:11:11 taggedImages: 20:11:11 - nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6 20:11:11 - nexus3.edgexfoundry.org:10004/device-snmp:latest 20:11:11 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.6 20:11:11 - nexus3.edgexfoundry.org:10004/device-snmp:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 20:11:11 - 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 20:11:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:11:11 20:11:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:11:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:11:12 latest: Pulling from edgex-lftools-log-publisher 20:11:12 5eb5b503b376: Pulling fs layer 20:11:12 5c69ac0246d0: Pulling fs layer 20:11:12 ec43610c2a17: Pulling fs layer 20:11:12 3a2ae6a8a46f: Pulling fs layer 20:11:12 33b1e0a273af: Pulling fs layer 20:11:12 5d3b04190fa2: Pulling fs layer 20:11:12 2f39f015ded8: Pulling fs layer 20:11:12 5d3b04190fa2: Waiting 20:11:12 2f39f015ded8: Waiting 20:11:12 3a2ae6a8a46f: Waiting 20:11:12 33b1e0a273af: Waiting 20:11:12 5c69ac0246d0: Download complete 20:11:12 3a2ae6a8a46f: Verifying Checksum 20:11:12 3a2ae6a8a46f: Download complete 20:11:12 33b1e0a273af: Verifying Checksum 20:11:12 33b1e0a273af: Download complete 20:11:12 5d3b04190fa2: Download complete 20:11:12 ec43610c2a17: Verifying Checksum 20:11:12 ec43610c2a17: Download complete 20:11:12 5eb5b503b376: Verifying Checksum 20:11:12 5eb5b503b376: Download complete 20:11:13 2f39f015ded8: Download complete 20:11:13 5eb5b503b376: Pull complete 20:11:13 5c69ac0246d0: Pull complete 20:11:14 ec43610c2a17: Pull complete 20:11:14 3a2ae6a8a46f: Pull complete 20:11:14 33b1e0a273af: Pull complete 20:11:14 5d3b04190fa2: Pull complete 20:11:18 2f39f015ded8: Pull complete 20:11:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:11:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:11:18 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:11:18 $ 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 20:11:20 $ docker top 74f4343d73dad5f94713c600712ff9329054a98e18ca854e169d4bf7d2df1d48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:21 ---> job-cost.sh 20:11:21 lf-activate-venv: SKIPPING 20:11:21 INFO: No Stack... 20:11:21 INFO: Retrieving Pricing Info for: v3-standard-8 20:11:22 INFO: Archiving Costs [Pipeline] sh 20:11:22 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 20:11:22 + cut -d, -f6 [Pipeline] lock 20:11:22 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] 20:11:22 Resource [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] did not exist. Created. 20:11:22 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:11:22 + echo total: 0.2199999988079071 [Pipeline] stash 20:11:22 Stashed 1 file(s) [Pipeline] } 20:11:22 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 20:11:22 $ docker stop --time=1 74f4343d73dad5f94713c600712ff9329054a98e18ca854e169d4bf7d2df1d48 20:11:23 $ docker rm -f 74f4343d73dad5f94713c600712ff9329054a98e18ca854e169d4bf7d2df1d48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:17:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10783 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 20:17:30 Running in /w/workspace/device-snmp-go/16 [Pipeline] { [Pipeline] checkout 20:17:31 Selected Git installation does not exist. Using Default 20:17:31 The recommended git tool is: NONE 20:17:38 using credential edgex-jenkins-ssh 20:17:38 Cloning the remote Git repository 20:17:38 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:17:38 > git init /w/workspace/device-snmp-go/16 # timeout=10 20:17:38 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:17:38 > git --version # timeout=10 20:17:38 > git --version # 'git version 2.25.1' 20:17:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:40 Avoid second fetch 20:17:40 Checking out Revision 480fc110605f705546cd9b1d947e4f522cca56d6 (main) 20:17:40 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:17:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:40 > git config core.sparsecheckout # timeout=10 20:17:40 > git checkout -f 480fc110605f705546cd9b1d947e4f522cca56d6 # timeout=10 20:17:44 Commit message: "Merge pull request #147 from jpwhitemn/enable-gosec-lint2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:17:45 % Total % Received % Xferd Average Speed Time Time Time Current 20:17:45 Dload Upload Total Spent Left Speed 20:17:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51047 0 --:--:-- --:--:-- --:--:-- 51047 [Pipeline] sh 20:17:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:17:46 + sudo tee /etc/docker/daemon.new 20:17:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:17:46 { 20:17:46 "registry-mirrors": [ 20:17:46 "https://nexus3.edgexfoundry.org:10001" 20:17:46 ], 20:17:46 "bip": "10.250.0.254/24", 20:17:46 "hosts": [ 20:17:46 "tcp://0.0.0.0:5555", 20:17:46 "unix:///var/run/docker.sock" 20:17:46 ], 20:17:46 "mtu": 1458, 20:17:46 "selinux-enabled": true, 20:17:46 "seccomp-profile": "/etc/docker/seccomp.json" 20:17:46 } [Pipeline] sh 20:17:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:17:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:05 provisioning config files... 20:18:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/16@tmp/config1751427589960768728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:05 ---> docker-login.sh 20:18:05 nexus3.edgexfoundry.org:10001 20:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:06 Configure a credential helper to remove this warning. See 20:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:06 20:18:06 Login Succeeded 20:18:06 nexus3.edgexfoundry.org:10002 20:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:07 Configure a credential helper to remove this warning. See 20:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:07 20:18:07 Login Succeeded 20:18:07 nexus3.edgexfoundry.org:10003 20:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:07 Configure a credential helper to remove this warning. See 20:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:07 20:18:07 Login Succeeded 20:18:07 nexus3.edgexfoundry.org:10004 20:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:08 Configure a credential helper to remove this warning. See 20:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:08 20:18:08 Login Succeeded 20:18:08 docker.io 20:18:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:18:08 Configure a credential helper to remove this warning. See 20:18:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:18:08 20:18:08 Login Succeeded 20:18:08 ---> docker-login.sh ends [Pipeline] } 20:18:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:18:09 ========================================================= 20:18:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:18:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:18:09 + 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 . 20:18:10 Sending build context to Docker daemon 2.71MB 20:18:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:18:10 Step 2/12 : FROM ${BASE} AS builder 20:18:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:18:10 9b3977197b4f: Pulling fs layer 20:18:10 1a89e8eeedd5: Pulling fs layer 20:18:10 94645a83ff95: Pulling fs layer 20:18:10 3f3a8bcf1eab: Pulling fs layer 20:18:10 0c92f367c5e7: Pulling fs layer 20:18:10 f7c0051592d6: Pulling fs layer 20:18:10 a227ed2f7395: Pulling fs layer 20:18:10 7b1c46037f91: Pulling fs layer 20:18:10 f7c0051592d6: Waiting 20:18:10 3f3a8bcf1eab: Waiting 20:18:10 a227ed2f7395: Waiting 20:18:10 7b1c46037f91: Waiting 20:18:10 94645a83ff95: Verifying Checksum 20:18:10 1a89e8eeedd5: Verifying Checksum 20:18:10 1a89e8eeedd5: Download complete 20:18:10 0c92f367c5e7: Verifying Checksum 20:18:10 0c92f367c5e7: Download complete 20:18:10 f7c0051592d6: Verifying Checksum 20:18:10 f7c0051592d6: Download complete 20:18:10 9b3977197b4f: Verifying Checksum 20:18:10 9b3977197b4f: Download complete 20:18:10 a227ed2f7395: Verifying Checksum 20:18:10 a227ed2f7395: Download complete 20:18:11 9b3977197b4f: Pull complete 20:18:11 1a89e8eeedd5: Pull complete 20:18:12 94645a83ff95: Pull complete 20:18:12 7b1c46037f91: Verifying Checksum 20:18:12 7b1c46037f91: Download complete 20:18:13 3f3a8bcf1eab: Verifying Checksum 20:18:13 3f3a8bcf1eab: Download complete 20:18:25 3f3a8bcf1eab: Pull complete 20:18:25 0c92f367c5e7: Pull complete 20:18:25 f7c0051592d6: Pull complete 20:18:25 a227ed2f7395: Pull complete 20:18:32 7b1c46037f91: Pull complete 20:18:32 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:18:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:18:32 ---> f79e39bc4007 20:18:32 Step 3/12 : ARG MAKE='make build' 20:18:33 ---> Running in 55a71a2708cc 20:18:33 Removing intermediate container 55a71a2708cc 20:18:33 ---> 08eea49393a3 20:18:33 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:18:33 ---> Running in 311f5ea91d7f 20:18:33 Removing intermediate container 311f5ea91d7f 20:18:33 ---> 2c61712780ed 20:18:33 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:18:33 ---> Running in 8bed1b34e1e6 20:18:34 Removing intermediate container 8bed1b34e1e6 20:18:34 ---> 0390ce104afa 20:18:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:18:34 ---> Running in 2965a6a5b919 20:18:36 Removing intermediate container 2965a6a5b919 20:18:36 ---> 21196cef6473 20:18:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:36 ---> Running in 7a95b795122e 20:18:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:18:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:18:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:18:41 (2/4) Installing libedit (20210910.3.1-r0) 20:18:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:18:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:18:41 Executing busybox-1.34.1-r3.trigger 20:18:42 OK: 224 MiB in 56 packages 20:18:43 Removing intermediate container 7a95b795122e 20:18:43 ---> c9e24ffa432c 20:18:43 Step 8/12 : WORKDIR /device-snmp-go 20:18:43 ---> Running in 3a745f78b2e2 20:18:43 Removing intermediate container 3a745f78b2e2 20:18:43 ---> 64494df55849 20:18:43 Step 9/12 : COPY go.mod vendor* ./ 20:18:44 ---> 23852dd07460 20:18:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:44 ---> Running in 2599f60c8860 20:20:05 Removing intermediate container 2599f60c8860 20:20:05 ---> 4d82b112fb36 20:20:05 Step 11/12 : COPY . . 20:20:05 ---> 73001f62fd22 20:20:05 Step 12/12 : RUN ${MAKE} 20:20:05 ---> Running in ee3cad227550 20:20:05 noop 20:20:05 Removing intermediate container ee3cad227550 20:20:05 ---> c0371cb16053 20:20:05 Successfully built c0371cb16053 20:20:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:20:06 + docker inspect -f . ci-base-image-arm64 20:20:06 . [Pipeline] withDockerContainer 20:20:06 prd-ubuntu20.04-docker-arm64-4c-16g-10783 does not seem to be running inside a container 20:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/16 -v /w/workspace/device-snmp-go/16:/w/workspace/device-snmp-go/16:rw,z -v /w/workspace/device-snmp-go/16@tmp:/w/workspace/device-snmp-go/16@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 20:20:07 $ docker top 4af9d9efb9277bcfd22c1740e263cf3ceb6d8a4bbf78a69122fa5a1a45f8de53 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:08 + go version 20:20:08 go version go1.17.6 linux/arm64 [Pipeline] } 20:20:08 $ docker stop --time=1 4af9d9efb9277bcfd22c1740e263cf3ceb6d8a4bbf78a69122fa5a1a45f8de53 20:20:10 $ docker rm -f 4af9d9efb9277bcfd22c1740e263cf3ceb6d8a4bbf78a69122fa5a1a45f8de53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:20:11 + docker inspect -f . ci-base-image-arm64 20:20:11 . [Pipeline] withDockerContainer 20:20:11 prd-ubuntu20.04-docker-arm64-4c-16g-10783 does not seem to be running inside a container 20:20:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/16 -v /w/workspace/device-snmp-go/16:/w/workspace/device-snmp-go/16:rw,z -v /w/workspace/device-snmp-go/16@tmp:/w/workspace/device-snmp-go/16@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 20:20:12 $ docker top 0bd8a1660d379fb4816e3bdfdb00c00432b6355e1058a5d57f9ae9784d3204ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:20:13 + make test 20:20:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:20:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:21:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:21:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 20:21:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:21:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:21:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:21:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:21:25 ./bin/test-attribution-txt.sh [Pipeline] echo 20:21:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:21:25 $ docker stop --time=1 0bd8a1660d379fb4816e3bdfdb00c00432b6355e1058a5d57f9ae9784d3204ca 20:21:27 $ docker rm -f 0bd8a1660d379fb4816e3bdfdb00c00432b6355e1058a5d57f9ae9784d3204ca [Pipeline] // withDockerContainer [Pipeline] sh 20:21:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:21:27 Warning: overwriting stash ‘coverage-report’ 20:21:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:21:29 + ls -al . 20:21:29 total 176 20:21:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:21 . 20:21:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:17 .. 20:21:29 -rw-rw-r-- 1 jenkins jenkins 6 Apr 5 20:17 .dockerignore 20:21:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:17 .git 20:21:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:17 .github 20:21:29 -rw-rw-r-- 1 jenkins jenkins 262 Apr 5 20:17 .gitignore 20:21:29 -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:17 .golangci.yml 20:21:29 -rw-rw-r-- 1 jenkins jenkins 6926 Apr 5 20:17 Attribution.txt 20:21:29 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 5 20:17 CHANGELOG.md 20:21:29 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 5 20:17 Dockerfile 20:21:29 -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:17 GOVERNANCE.md 20:21:29 -rw-rw-r-- 1 jenkins jenkins 656 Apr 5 20:17 Jenkinsfile 20:21:29 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:17 LICENSE 20:21:29 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 5 20:17 Makefile 20:21:29 -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:17 OWNERS.md 20:21:29 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 5 20:17 README.md 20:21:29 -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION 20:21:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:17 bin 20:21:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:17 cmd 20:21:29 -rw-r--r-- 1 jenkins jenkins 7631 Apr 5 20:21 coverage.out 20:21:29 -rw-rw-r-- 1 jenkins jenkins 2820 Apr 5 20:17 go.mod 20:21:29 -rw-rw-r-- 1 jenkins jenkins 49501 Apr 5 20:17 go.sum 20:21:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:17 internal 20:21:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:17 snap 20:21:29 -rw-rw-r-- 1 jenkins jenkins 209 Apr 5 20:17 version.go [Pipeline] isUnix [Pipeline] sh 20:21:29 + 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=480fc110605f705546cd9b1d947e4f522cca56d6 --label arch=arm64 --label version=2.2.0-dev.6 . 20:21:29 Sending build context to Docker daemon 2.718MB 20:21:29 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:21:29 Step 2/24 : FROM ${BASE} AS builder 20:21:29 ---> c0371cb16053 20:21:29 Step 3/24 : ARG MAKE='make build' 20:21:30 ---> Running in 5849c2e27c45 20:21:30 Removing intermediate container 5849c2e27c45 20:21:30 ---> 498aa695ccc3 20:21:30 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:21:30 ---> Running in 8a26da4cb7dc 20:21:30 Removing intermediate container 8a26da4cb7dc 20:21:30 ---> a457dfb3e47c 20:21:30 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:21:30 ---> Running in 2ff1b1b03ba9 20:21:30 Removing intermediate container 2ff1b1b03ba9 20:21:30 ---> 8799e786cd1d 20:21:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:31 ---> Running in dbd0b157e464 20:21:32 Removing intermediate container dbd0b157e464 20:21:32 ---> 09fbd54df8fa 20:21:32 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:21:32 ---> Running in 6ddace6006f0 20:21:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:21:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:21:35 OK: 224 MiB in 56 packages 20:21:36 Removing intermediate container 6ddace6006f0 20:21:36 ---> 2b2fd96dc413 20:21:36 Step 8/24 : WORKDIR /device-snmp-go 20:21:36 ---> Running in ad240f37b021 20:21:36 Removing intermediate container ad240f37b021 20:21:36 ---> 9efe888b3deb 20:21:36 Step 9/24 : COPY go.mod vendor* ./ 20:21:37 ---> cc6010872e20 20:21:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:37 ---> Running in f451b24b0d0a 20:21:39 Removing intermediate container f451b24b0d0a 20:21:39 ---> 551f3d72fe1e 20:21:39 Step 11/24 : COPY . . 20:21:40 ---> aa417ba2dd5e 20:21:40 Step 12/24 : RUN ${MAKE} 20:21:40 ---> Running in eb35dddfab83 20:21:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.6" -o cmd/device-snmp ./cmd 20:22:28 Removing intermediate container eb35dddfab83 20:22:28 ---> d80e8d34f1ea 20:22:28 Step 13/24 : FROM alpine:3.14 20:22:28 3.14: Pulling from library/alpine 20:22:28 455c02918c45: Pulling fs layer 20:22:28 455c02918c45: Verifying Checksum 20:22:28 455c02918c45: Download complete 20:22:28 455c02918c45: Pull complete 20:22:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:22:28 Status: Downloaded newer image for alpine:3.14 20:22:28 ---> ac73e934f311 20:22:28 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 20:22:28 ---> Running in 8a080f26655a 20:22:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:22:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:22:28 (1/6) Installing dumb-init (1.2.5-r1) 20:22:28 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:22:28 (3/6) Installing libsodium (1.0.18-r0) 20:22:28 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:22:28 (5/6) Installing libzmq (4.3.4-r0) 20:22:28 (6/6) Installing zeromq (4.3.4-r0) 20:22:28 Executing busybox-1.33.1-r7.trigger 20:22:28 OK: 8 MiB in 20 packages 20:22:28 Removing intermediate container 8a080f26655a 20:22:28 ---> 0b26cb0cf036 20:22:28 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:22:28 ---> f38033c825db 20:22:28 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:22:28 ---> 1452a091d629 20:22:28 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:22:28 ---> d40bf09df70f 20:22:28 Step 18/24 : EXPOSE 59993 20:22:28 ---> Running in 9b502b01deca 20:22:28 Removing intermediate container 9b502b01deca 20:22:28 ---> 95b86dee51d4 20:22:28 Step 19/24 : EXPOSE 161 20:22:28 ---> Running in 4b4833103909 20:22:28 Removing intermediate container 4b4833103909 20:22:28 ---> 5ed638d78bcb 20:22:28 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:22:28 ---> Running in 8a2d0bec12e2 20:22:28 Removing intermediate container 8a2d0bec12e2 20:22:28 ---> eb8217c66e7f 20:22:28 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:22:28 ---> Running in 874c21808a6b 20:22:28 Removing intermediate container 874c21808a6b 20:22:28 ---> cf3d0db9fb79 20:22:28 Step 22/24 : LABEL arch=arm64 20:22:28 ---> Running in 432007c21669 20:22:29 Removing intermediate container 432007c21669 20:22:29 ---> bcd90e0a6e56 20:22:29 Step 23/24 : LABEL git_sha=480fc110605f705546cd9b1d947e4f522cca56d6 20:22:29 ---> Running in 5cdefbdaa9fb 20:22:29 Removing intermediate container 5cdefbdaa9fb 20:22:29 ---> 5fbfea950c48 20:22:29 Step 24/24 : LABEL version=2.2.0-dev.6 20:22:29 ---> Running in 7015a585d44e 20:22:29 Removing intermediate container 7015a585d44e 20:22:29 ---> 191dccc2fcab 20:22:29 [Warning] One or more build-args [ARCH] were not consumed 20:22:29 Successfully built 191dccc2fcab 20:22:29 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 20:22:29 provisioning config files... 20:22:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/16@tmp/config9134214438000867020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:30 ---> docker-login.sh 20:22:30 nexus3.edgexfoundry.org:10001 20:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:30 Configure a credential helper to remove this warning. See 20:22:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:30 20:22:30 Login Succeeded 20:22:30 nexus3.edgexfoundry.org:10002 20:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:31 Configure a credential helper to remove this warning. See 20:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:31 20:22:31 Login Succeeded 20:22:31 nexus3.edgexfoundry.org:10003 20:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:31 Configure a credential helper to remove this warning. See 20:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:31 20:22:31 Login Succeeded 20:22:31 nexus3.edgexfoundry.org:10004 20:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:31 Configure a credential helper to remove this warning. See 20:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:31 20:22:31 Login Succeeded 20:22:31 docker.io 20:22:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:32 Configure a credential helper to remove this warning. See 20:22:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:32 20:22:32 Login Succeeded 20:22:32 ---> docker-login.sh ends [Pipeline] } 20:22:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:32 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 20:22:32 480fc110605f705546cd9b1d947e4f522cca56d6 20:22:32 latest 20:22:32 2.2.0-dev.6 20:22:32 480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 20:22:32 main 20:22:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:22:33 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] isUnix [Pipeline] sh 20:22:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6 20:22:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:22:33 57265a3d9d17: Preparing 20:22:33 dbaee4835800: Preparing 20:22:33 bc917d055724: Preparing 20:22:33 f87ec0bd2d54: Preparing 20:22:33 f73e7dbfee58: Preparing 20:22:33 f73e7dbfee58: Layer already exists 20:22:33 57265a3d9d17: Pushed 20:22:33 dbaee4835800: Pushed 20:22:34 f87ec0bd2d54: Pushed 20:22:37 bc917d055724: Pushed 20:22:37 480fc110605f705546cd9b1d947e4f522cca56d6: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:22:37 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:22:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 20:22:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:22:37 57265a3d9d17: Preparing 20:22:37 dbaee4835800: Preparing 20:22:37 bc917d055724: Preparing 20:22:37 f87ec0bd2d54: Preparing 20:22:37 f73e7dbfee58: Preparing 20:22:37 57265a3d9d17: Layer already exists 20:22:37 f73e7dbfee58: Layer already exists 20:22:37 bc917d055724: Layer already exists 20:22:37 f87ec0bd2d54: Layer already exists 20:22:37 dbaee4835800: Layer already exists 20:22:38 latest: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:22:38 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 20:22:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.6 20:22:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:22:38 57265a3d9d17: Preparing 20:22:38 dbaee4835800: Preparing 20:22:38 bc917d055724: Preparing 20:22:38 f87ec0bd2d54: Preparing 20:22:38 f73e7dbfee58: Preparing 20:22:38 f87ec0bd2d54: Layer already exists 20:22:38 f73e7dbfee58: Layer already exists 20:22:38 dbaee4835800: Layer already exists 20:22:38 57265a3d9d17: Layer already exists 20:22:38 bc917d055724: Layer already exists 20:22:39 2.2.0-dev.6: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:22:39 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 20:22:39 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 20:22:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:22:39 57265a3d9d17: Preparing 20:22:39 dbaee4835800: Preparing 20:22:39 bc917d055724: Preparing 20:22:39 f87ec0bd2d54: Preparing 20:22:39 f73e7dbfee58: Preparing 20:22:39 57265a3d9d17: Layer already exists 20:22:39 f87ec0bd2d54: Layer already exists 20:22:39 f73e7dbfee58: Layer already exists 20:22:39 bc917d055724: Layer already exists 20:22:39 dbaee4835800: Layer already exists 20:22:40 480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] isUnix [Pipeline] sh 20:22:40 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 20:22:40 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 20:22:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 20:22:40 57265a3d9d17: Preparing 20:22:40 dbaee4835800: Preparing 20:22:40 bc917d055724: Preparing 20:22:40 f87ec0bd2d54: Preparing 20:22:40 f73e7dbfee58: Preparing 20:22:40 bc917d055724: Layer already exists 20:22:40 57265a3d9d17: Layer already exists 20:22:40 f73e7dbfee58: Layer already exists 20:22:40 dbaee4835800: Layer already exists 20:22:40 f87ec0bd2d54: Layer already exists 20:22:41 main: digest: sha256:5f08c086d4daf195e3d36205ee25e775dcea6a7fd1de0af45c515e4ebedf3526 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:22:41 ===================================================== [Pipeline] echo 20:22:41 taggedImages: 20:22:41 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6 20:22:41 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 20:22:41 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.6 20:22:41 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:480fc110605f705546cd9b1d947e4f522cca56d6-2.2.0-dev.6 20:22:41 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:22:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:41 20:22:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:22:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:42 arm64: Pulling from edgex-lftools-log-publisher 20:22:42 8998bd30e6a1: Pulling fs layer 20:22:42 04944245beec: Pulling fs layer 20:22:42 699f458cf7ca: Pulling fs layer 20:22:42 765212b225bb: Pulling fs layer 20:22:42 f23df028b6ca: Pulling fs layer 20:22:42 d65c8cfc05b1: Pulling fs layer 20:22:42 2437ff75d9bd: Pulling fs layer 20:22:42 765212b225bb: Waiting 20:22:42 f23df028b6ca: Waiting 20:22:42 d65c8cfc05b1: Waiting 20:22:42 2437ff75d9bd: Waiting 20:22:42 04944245beec: Download complete 20:22:42 765212b225bb: Verifying Checksum 20:22:42 765212b225bb: Download complete 20:22:42 f23df028b6ca: Download complete 20:22:42 d65c8cfc05b1: Verifying Checksum 20:22:42 d65c8cfc05b1: Download complete 20:22:42 699f458cf7ca: Verifying Checksum 20:22:42 699f458cf7ca: Download complete 20:22:42 8998bd30e6a1: Download complete 20:22:45 2437ff75d9bd: Verifying Checksum 20:22:45 2437ff75d9bd: Download complete 20:22:47 8998bd30e6a1: Pull complete 20:22:47 04944245beec: Pull complete 20:22:49 699f458cf7ca: Pull complete 20:22:49 765212b225bb: Pull complete 20:22:50 f23df028b6ca: Pull complete 20:22:50 d65c8cfc05b1: Pull complete 20:23:05 2437ff75d9bd: Pull complete 20:23:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:23:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:23:05 prd-ubuntu20.04-docker-arm64-4c-16g-10783 does not seem to be running inside a container 20:23:05 $ 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/16 -v /w/workspace/device-snmp-go/16:/w/workspace/device-snmp-go/16:rw,z -v /w/workspace/device-snmp-go/16@tmp:/w/workspace/device-snmp-go/16@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 20:23:08 $ docker top 2e3a759f6e965f665a7fd12493d893acc5d2adcd8e19b1f655d6d4efb34a0a9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:09 ---> job-cost.sh 20:23:09 lf-activate-venv: SKIPPING 20:23:09 INFO: No Stack... 20:23:09 INFO: Retrieving Pricing Info for: v3-standard-4 20:23:10 INFO: Archiving Costs [Pipeline] sh 20:23:11 + cut -d, -f6 20:23:11 + cat /w/workspace/device-snmp-go/16/archives/cost.csv [Pipeline] lock 20:23:11 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] 20:23:11 Resource [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] did not exist. Created. 20:23:11 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:23:11 /w/workspace/device-snmp-go/16@tmp/durable-2626029a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:23:12 + echo total: 0.10999999940395355 [Pipeline] stash 20:23:12 Warning: overwriting stash ‘stack-cost’ 20:23:12 Stashed 1 file(s) [Pipeline] } 20:23:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 20:23:12 $ docker stop --time=1 2e3a759f6e965f665a7fd12493d893acc5d2adcd8e19b1f655d6d4efb34a0a9b 20:23:14 $ docker rm -f 2e3a759f6e965f665a7fd12493d893acc5d2adcd8e19b1f655d6d4efb34a0a9b [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 20:23:14 provisioning config files... 20:23:14 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3237493512947163098tmp [Pipeline] { [Pipeline] sh 20:23:15 + set +x 20:23:15 + + curlbash -s -s https://codecov.io/bash -- 20:23:15 20:23:15 20:23:15 _____ _ 20:23:15 / ____| | | 20:23:15 | | ___ __| | ___ ___ _____ __ 20:23:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:23:15 | |___| (_) | (_| | __/ (_| (_) \ V / 20:23:15 \_____\___/ \__,_|\___|\___\___/ \_/ 20:23:15 Bash-1.0.6 20:23:15 20:23:15 20:23:15 ==> git version 2.25.1 found 20:23:15 ==> 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 20:23:15 Release-Date: 2020-01-08 20:23:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:23:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:23:15 ==> Jenkins CI detected. 20:23:15 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 20:23:15 project root: . 20:23:15 --> token set from env 20:23:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:23:15 ==> Running gcov in . (disable via -X gcov) 20:23:15 ==> Python coveragepy not found 20:23:15 ==> Searching for coverage reports in: 20:23:15 + . 20:23:15 -> Found 1 reports 20:23:15 ==> Detecting git/mercurial file structure 20:23:15 ==> Reading reports 20:23:15 + ./coverage.out bytes=7631 20:23:15 ==> Appending adjustments 20:23:15 https://docs.codecov.io/docs/fixing-reports 20:23:15 + Found adjustments 20:23:15 ==> Gzipping contents 20:23:15 4.0K /tmp/codecov.EZhI26.gz 20:23:15 ==> Uploading reports 20:23:15 url: https://codecov.io 20:23:15 query: branch=main&commit=480fc110605f705546cd9b1d947e4f522cca56d6&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:23:15 -> Pinging Codecov 20:23:15 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=480fc110605f705546cd9b1d947e4f522cca56d6&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:23:15 -> Uploading to 20:23:15 https://storage.googleapis.com/codecov/v4/raw/2022-04-05/6C56EA5C29638FB4528AC87E60AF5AE0/480fc110605f705546cd9b1d947e4f522cca56d6/9e7db1ab-557d-4f98-b91f-dad263ac4167.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T202315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b573b09d894e2541a676ada73fee210c5a8bf4cacd365bde72232a0da6b136d6 20:23:15 % Total % Received % Xferd Average Speed Time Time Time Current 20:23:15 Dload Upload Total Spent Left Speed 20:23:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6686 --:--:-- --:--:-- --:--:-- 6686 20:23:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] } 20:23:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:23:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:23:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:23:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:23:16 20:23:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:23:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:23:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:23:16 188c0c94c7c5: Pulling fs layer 20:23:16 0ef7d3d256c8: Pulling fs layer 20:23:16 de9db76c5a1d: Pulling fs layer 20:23:16 0eba1c9be4d2: Pulling fs layer 20:23:16 0d57e429df01: Pulling fs layer 20:23:16 4e4be7b47b0d: Pulling fs layer 20:23:16 e1f770b5df2f: Pulling fs layer 20:23:16 0eba1c9be4d2: Waiting 20:23:16 0d57e429df01: Waiting 20:23:16 85a0685a4137: Pulling fs layer 20:23:16 4e4be7b47b0d: Waiting 20:23:16 e1f770b5df2f: Waiting 20:23:16 de9db76c5a1d: Verifying Checksum 20:23:16 de9db76c5a1d: Download complete 20:23:16 0ef7d3d256c8: Download complete 20:23:16 0d57e429df01: Download complete 20:23:16 4e4be7b47b0d: Verifying Checksum 20:23:16 4e4be7b47b0d: Download complete 20:23:16 188c0c94c7c5: Verifying Checksum 20:23:16 188c0c94c7c5: Download complete 20:23:16 188c0c94c7c5: Pull complete 20:23:16 e1f770b5df2f: Verifying Checksum 20:23:16 e1f770b5df2f: Download complete 20:23:16 0ef7d3d256c8: Pull complete 20:23:17 de9db76c5a1d: Pull complete 20:23:17 0eba1c9be4d2: Verifying Checksum 20:23:17 0eba1c9be4d2: Download complete 20:23:17 85a0685a4137: Verifying Checksum 20:23:17 85a0685a4137: Download complete 20:23:20 0eba1c9be4d2: Pull complete 20:23:20 0d57e429df01: Pull complete 20:23:20 4e4be7b47b0d: Pull complete 20:23:20 e1f770b5df2f: Pull complete 20:23:24 85a0685a4137: Pull complete 20:23:24 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:23:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:23:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:23:24 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:23:24 $ 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 20:23:26 $ docker top 773ab79d1f7eee9c271a637f57b17d9fa03e278318df80e36bdd907931ca6d65 -eo pid,comm [Pipeline] { [Pipeline] echo 20:23:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:23:26 + set -o pipefail 20:23:26 + snyk monitor '--org=edgex-jenkins' 20:23:32 20:23:32 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 20:23:32 20:23:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/f4c32c17-5706-4637-9ede-2654c3b14be9 20:23:32 20:23:32 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:23:32 20:23:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:23:32 20:23:32 [Pipeline] } 20:23:32 $ docker stop --time=1 773ab79d1f7eee9c271a637f57b17d9fa03e278318df80e36bdd907931ca6d65 20:23:34 $ docker rm -f 773ab79d1f7eee9c271a637f57b17d9fa03e278318df80e36bdd907931ca6d65 [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 20:23:34 + git log --format=format:%s -1 480fc110605f705546cd9b1d947e4f522cca56d6 [Pipeline] sh 20:23:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:23:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:35 . [Pipeline] withDockerContainer 20:23:35 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:23:35 $ 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 20:23:35 $ docker top c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:36 [ssh-agent] Looking for ssh-agent implementation... 20:23:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:36 $ docker exec c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 ssh-agent 20:23:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmmEhMo/agent.13 20:23:36 SSH_AGENT_PID=19 20:23:36 Running ssh-add (command line suppressed) 20:23:36 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9093444865188630503.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9093444865188630503.key) 20:23:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:36 + git semver tag 20:23:36 # -> Open(): unable to determine branch for HEAD 20:23:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 20:23:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 20:23:36 # $SEMVER_REMOTE_NAME = origin 20:23:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:23:36 # $SEMVER_USER_NAME = edgex-jenkins 20:23:36 # $SEMVER_BRANCH = main 20:23:36 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 20:23:36 # 480fc110605f705546cd9b1d947e4f522cca56d6 HEAD 20:23:36 # -> Force: false 20:23:36 # d65499e40a21f494fd5729f6007b111201f04566 refs/tags/v2.2.0-dev.6 [Pipeline] } 20:23:36 $ docker exec --env ******** --env ******** c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 ssh-agent -k 20:23:36 unset SSH_AUTH_SOCK; 20:23:36 unset SSH_AGENT_PID; 20:23:36 echo Agent pid 19 killed; 20:23:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:23:37 + git semver [Pipeline] } 20:23:37 $ docker stop --time=1 c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 20:23:38 $ docker rm -f c1b75a05cfe711af05752473376324914adee669d0108e5fb1de4f426e744626 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:23:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:23:38 20:23:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:23:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:23:39 0.23.1-centos7: Pulling from edgex-lftools 20:23:39 ab5ef0e58194: Pulling fs layer 20:23:39 9712f1f96733: Pulling fs layer 20:23:39 63f879dbbcfc: Pulling fs layer 20:23:39 0d9ebad4ef96: Pulling fs layer 20:23:39 e9a5061849ea: Pulling fs layer 20:23:39 d747dcd14b5f: Pulling fs layer 20:23:39 2de7ff778b66: Pulling fs layer 20:23:39 0d9ebad4ef96: Waiting 20:23:39 e9a5061849ea: Waiting 20:23:39 d747dcd14b5f: Waiting 20:23:39 2de7ff778b66: Waiting 20:23:39 9712f1f96733: Verifying Checksum 20:23:39 9712f1f96733: Download complete 20:23:39 63f879dbbcfc: Verifying Checksum 20:23:39 63f879dbbcfc: Download complete 20:23:39 0d9ebad4ef96: Verifying Checksum 20:23:39 0d9ebad4ef96: Download complete 20:23:39 d747dcd14b5f: Verifying Checksum 20:23:39 d747dcd14b5f: Download complete 20:23:39 e9a5061849ea: Verifying Checksum 20:23:39 e9a5061849ea: Download complete 20:23:39 ab5ef0e58194: Verifying Checksum 20:23:39 ab5ef0e58194: Download complete 20:23:40 2de7ff778b66: Verifying Checksum 20:23:40 2de7ff778b66: Download complete 20:23:42 ab5ef0e58194: Pull complete 20:23:42 9712f1f96733: Pull complete 20:23:43 63f879dbbcfc: Pull complete 20:23:46 0d9ebad4ef96: Pull complete 20:23:47 e9a5061849ea: Pull complete 20:23:47 d747dcd14b5f: Pull complete 20:23:48 2de7ff778b66: Pull complete 20:23:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:23:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:23:48 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:23:48 $ 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 20:23:50 $ docker top ece50e7520f6a28a42cd7386a27dd902e2b42789b3f6e2d7f3b81244c4e8f17c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:23:50 provisioning config files... 20:23:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8679564271761584659tmp 20:23:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6832875064151823836tmp 20:23:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6211776275157256385tmp [Pipeline] { [Pipeline] echo 20:23:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:23:51 ---> sigul-configuration.sh 20:23:51 gpg: directory `/root/.gnupg' created 20:23:51 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:23:51 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:23:51 gpg: keyring `/root/.gnupg/secring.gpg' created 20:23:51 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:23:51 gpg: CAST5 encrypted data 20:23:51 gpg: encrypted with 1 passphrase 20:23:51 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:23:51 + mkdir /home/jenkins 20:23:51 + mkdir /home/jenkins/sigul [Pipeline] sh 20:23:51 + 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 20:23:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:23:52 ---> sigul-install.sh 20:23:52 Sigul already installed; skipping installation. [Pipeline] sh 20:23:52 + git tag --list 20:23:52 1.0.0 20:23:52 v0.0.0 20:23:52 v1.1.0 20:23:52 v1.1.1 20:23:52 v1.2.2 20:23:52 v1.3.0 20:23:52 v1.3.1 20:23:52 v2.0.0 20:23:52 v2.0.1-dev.1 20:23:52 v2.0.1-dev.2 20:23:52 v2.0.1-dev.3 20:23:52 v2.0.1-dev.4 20:23:52 v2.0.1-dev.5 20:23:52 v2.0.1-dev.6 20:23:52 v2.1.0 20:23:52 v2.2.0-dev.1 20:23:52 v2.2.0-dev.2 20:23:52 v2.2.0-dev.3 20:23:52 v2.2.0-dev.4 20:23:52 v2.2.0-dev.5 20:23:52 v2.2.0-dev.6 [Pipeline] sh 20:23:52 + lftools sign git-tag v2.2.0-dev.6 20:23:53 Signing Git tag with Sigul... 20:23:53 Signing v2.2.0-dev.6 [Pipeline] echo 20:23:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:23:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:23:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:23:53 $ docker stop --time=1 ece50e7520f6a28a42cd7386a27dd902e2b42789b3f6e2d7f3b81244c4e8f17c 20:23:55 $ docker rm -f ece50e7520f6a28a42cd7386a27dd902e2b42789b3f6e2d7f3b81244c4e8f17c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:23:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:23:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:55 . [Pipeline] withDockerContainer 20:23:55 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:23:55 $ 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 20:23:56 $ docker top 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:56 [ssh-agent] Looking for ssh-agent implementation... 20:23:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:56 $ docker exec 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d ssh-agent 20:23:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpPOmgJ/agent.13 20:23:56 SSH_AGENT_PID=20 20:23:56 Running ssh-add (command line suppressed) 20:23:56 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8014581463639850931.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8014581463639850931.key) 20:23:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:57 + git semver bump pre 20:23:57 # -> Open(): unable to determine branch for HEAD 20:23:57 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 20:23:57 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 20:23:57 # $SEMVER_REMOTE_NAME = origin 20:23:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:23:57 # $SEMVER_USER_NAME = edgex-jenkins 20:23:57 # $SEMVER_BRANCH = main 20:23:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 20:23:57 2.2.0-dev.7 [Pipeline] } 20:23:57 $ docker exec --env ******** --env ******** 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d ssh-agent -k 20:23:57 unset SSH_AUTH_SOCK; 20:23:57 unset SSH_AGENT_PID; 20:23:57 echo Agent pid 20 killed; 20:23:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:23:57 + git semver [Pipeline] } 20:23:57 $ docker stop --time=1 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d 20:23:58 $ docker rm -f 96379d993373014a0e5114a42797b9f0dd6ccf97775de117c182e8a2bab9805d [Pipeline] // withDockerContainer [Pipeline] sh 20:23:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:23:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:59 . [Pipeline] withDockerContainer 20:23:59 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:23:59 $ 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 20:23:59 $ docker top af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:24:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:00 [ssh-agent] Looking for ssh-agent implementation... 20:24:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:00 $ docker exec af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 ssh-agent 20:24:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoljgph/agent.14 20:24:00 SSH_AGENT_PID=20 20:24:00 Running ssh-add (command line suppressed) 20:24:00 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6164438505417763940.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6164438505417763940.key) 20:24:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:00 + git semver push 20:24:00 # -> Open(): unable to determine branch for HEAD 20:24:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 20:24:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 20:24:00 # $SEMVER_REMOTE_NAME = origin 20:24:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:24:00 # $SEMVER_USER_NAME = edgex-jenkins 20:24:00 # $SEMVER_BRANCH = main 20:24:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 20:24:02 $ docker exec --env ******** --env ******** af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 ssh-agent -k 20:24:02 unset SSH_AUTH_SOCK; 20:24:02 unset SSH_AGENT_PID; 20:24:02 echo Agent pid 20 killed; 20:24:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:24:03 + git semver [Pipeline] } 20:24:03 $ docker stop --time=1 af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 20:24:04 $ docker rm -f af54b4783d9ef811bfe1e88f3fa00e41b2bbe4b0a8a458d2afc4a294584ba7b8 [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 20:24:05 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 20:24:05 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 20:24:05 total 16 20:24:05 drwxr-xr-x 3 root root 4096 Apr 5 20:11 . 20:24:05 drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:23 .. 20:24:05 drwxr-xr-x 2 root root 4096 Apr 5 20:11 cost 20:24:05 -rw-r--r-- 1 root root 84 Apr 5 20:11 cost.csv 20:24:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 20:24:05 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 20:24:05 total 16 20:24:05 drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 20:11 . 20:24:05 drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:23 .. 20:24:05 drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 20:11 cost 20:24:05 -rw-r--r-- 1 jenkins jenkins 84 Apr 5 20:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:24:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:24:06 ---> package-listing.sh 20:24:06 ++ facter osfamily 20:24:06 ++ tr '[:upper:]' '[:lower:]' 20:24:06 + OS_FAMILY=debian 20:24:06 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 20:24:06 + START_PACKAGES=/tmp/packages_start.txt 20:24:06 + END_PACKAGES=/tmp/packages_end.txt 20:24:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:24:06 + PACKAGES=/tmp/packages_start.txt 20:24:06 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 20:24:06 + PACKAGES=/tmp/packages_end.txt 20:24:06 + case "${OS_FAMILY}" in 20:24:06 + dpkg -l 20:24:06 + grep '^ii' 20:24:06 + '[' -f /tmp/packages_start.txt ']' 20:24:06 + '[' -f /tmp/packages_end.txt ']' 20:24:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:24:06 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 20:24:06 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 20:24:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 20:24:06 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 20:24:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:24:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:24:07 . [Pipeline] withDockerContainer 20:24:07 prd-ubuntu20.04-docker-8c-8g-10771 does not seem to be running inside a container 20:24:07 $ 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 20:24:07 $ docker top eef15bb61dbc428e9a8eed98e2576f82add19c67b1f17f2f2f888e83f82b1adc -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:08 + touch /tmp/pre-build-complete [Pipeline] sh 20:24:08 + mkdir -p /var/log/sysstat [Pipeline] sh 20:24:08 + ls /var/log/sa-host 20:24:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:08 provisioning config files... 20:24:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2652574918499813032tmp [Pipeline] { [Pipeline] echo 20:24:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:24:09 ---> create-netrc.sh [Pipeline] } 20:24:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:24:09 ---> python-tools-install.sh [Pipeline] echo 20:24:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:24:09 ---> sudo-logs.sh 20:24:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:24:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:24:10 ---> job-cost.sh 20:24:10 lf-activate-venv: SKIPPING 20:24:10 DEBUG: total: 0.2199999988079071 20:24:10 INFO: Retrieving Stack Cost... 20:24:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:24:10 INFO: Archiving Costs [Pipeline] echo 20:24:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:24:11 ---> logs-deploy.sh 20:24:11 lf-activate-venv: SKIPPING 20:24:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/16 20:24:11 INFO: archiving workspace using pattern(s): 20:24:12 Archives upload complete. 20:24:12 INFO: archiving logs to Nexus