Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76bc78b56c3c6b32f516faff42577919f6a867f5 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-ssh7028924485714541100.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-ssh2252775810427553387.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-ssh12200769313590741783.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-ssh10474853396084459052.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-ssh7917790559385794801.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11756 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 76bc78b56c3c6b32f516faff42577919f6a867f5 (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 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 Commit message: "Merge pull request #152 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk 7306a6f06add30c2c77de82c1e2d09b100e0c142 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:10 ========================================================= 05:04:10 EdgeX Global Pipelines Version Info 05:04:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:10 ------------------- 05:04:10 stable info: 05:04:10 ------------------- 05:04:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:10 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:10 Message: update stable to v1.0.221 05:04:11 ------------------- 05:04:11 experimental info: 05:04:11 ------------------- 05:04:11 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:11 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:11 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] echo 05:04:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76bc78b [Pipeline] echo 05:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:12 provisioning config files... 05:04:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config862283229356354818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:12 ---> docker-login.sh 05:04:12 nexus3.edgexfoundry.org:10001 05:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:12 Configure a credential helper to remove this warning. See 05:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:12 05:04:12 Login Succeeded 05:04:12 nexus3.edgexfoundry.org:10002 05:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:12 Configure a credential helper to remove this warning. See 05:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:12 05:04:12 Login Succeeded 05:04:12 nexus3.edgexfoundry.org:10003 05:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:13 Configure a credential helper to remove this warning. See 05:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:13 05:04:13 Login Succeeded 05:04:13 nexus3.edgexfoundry.org:10004 05:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:13 Configure a credential helper to remove this warning. See 05:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:13 05:04:13 Login Succeeded 05:04:13 docker.io 05:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:13 Configure a credential helper to remove this warning. See 05:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:13 05:04:13 Login Succeeded 05:04:13 ---> docker-login.sh ends [Pipeline] } 05:04:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:14 + git rev-list -1 --merges 76bc78b56c3c6b32f516faff42577919f6a867f5~1..76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] echo 05:04:14 -----------> git rev-list -1 --merges 76bc78b56c3c6b32f516faff42577919f6a867f5~1..76bc78b56c3c6b32f516faff42577919f6a867f5 76bc78b56c3c6b32f516faff42577919f6a867f5 05:04:14 76bc78b56c3c6b32f516faff42577919f6a867f5 [false] [Pipeline] sh 05:04:14 + git log --format=format:%s -1 76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] echo 05:04:14 ========================================================= 05:04:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:14 + git log --format=format:%s -1 76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] echo 05:04:14 [semverPrep] GIT_COMMIT: 76bc78b56c3c6b32f516faff42577919f6a867f5, Commit Message: Merge pull request #152 from jpwhitemn/enable-security-hardening [Pipeline] echo 05:04:14 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:15 + grep -v github /etc/ssh/ssh_known_hosts 05:04:15 + [ -e /tmp/ssh_known_hosts ] 05:04:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:15 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:04:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:15 05:04:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:04:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:15 latest: Pulling from edgex-devops/git-semver 05:04:15 a0d0a0d46f8b: Pulling fs layer 05:04:15 3e5f54012d9b: Pulling fs layer 05:04:15 4c7163046ea9: Pulling fs layer 05:04:15 0c2d73faf560: Pulling fs layer 05:04:15 0c2d73faf560: Waiting 05:04:15 3e5f54012d9b: Verifying Checksum 05:04:15 3e5f54012d9b: Download complete 05:04:15 a0d0a0d46f8b: Verifying Checksum 05:04:15 a0d0a0d46f8b: Download complete 05:04:15 4c7163046ea9: Verifying Checksum 05:04:15 4c7163046ea9: Download complete 05:04:15 0c2d73faf560: Verifying Checksum 05:04:15 0c2d73faf560: Download complete 05:04:16 a0d0a0d46f8b: Pull complete 05:04:16 3e5f54012d9b: Pull complete 05:04:16 4c7163046ea9: Pull complete 05:04:16 0c2d73faf560: Pull complete 05:04:16 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:04:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:04:16 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:04:16 $ 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 05:04:17 $ docker top 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:17 [ssh-agent] Looking for ssh-agent implementation... 05:04:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:17 $ docker exec 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 ssh-agent 05:04:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnlcnil/agent.14 05:04:17 SSH_AGENT_PID=21 05:04:17 Running ssh-add (command line suppressed) 05:04:17 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6971799598173521859.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6971799598173521859.key) 05:04:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:18 + git tag --points-at HEAD [Pipeline] } 05:04:18 $ docker exec --env ******** --env ******** 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 ssh-agent -k 05:04:18 unset SSH_AUTH_SOCK; 05:04:18 unset SSH_AGENT_PID; 05:04:18 echo Agent pid 21 killed; 05:04:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:18 [ssh-agent] Looking for ssh-agent implementation... 05:04:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:18 $ docker exec 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 ssh-agent 05:04:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoaFhLA/agent.53 05:04:18 SSH_AGENT_PID=60 05:04:18 Running ssh-add (command line suppressed) 05:04:18 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3565861646626700091.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3565861646626700091.key) 05:04:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:19 + git semver init 05:04:19 # -> Open(): unable to determine branch for HEAD 05:04:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 05:04:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 05:04:19 # $SEMVER_REMOTE_NAME = origin 05:04:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:04:19 # $SEMVER_USER_NAME = edgex-jenkins 05:04:19 # $SEMVER_BRANCH = main 05:04:19 # $SEMVER_TEMP = /tmp/semver-714936509 05:04:19 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:04:20 # '/tmp/semver-714936509' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 05:04:20 # -> Force: false 05:04:20 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 05:04:20 $ docker exec --env ******** --env ******** 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 ssh-agent -k 05:04:20 unset SSH_AUTH_SOCK; 05:04:20 unset SSH_AGENT_PID; 05:04:20 echo Agent pid 60 killed; 05:04:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:20 + git semver [Pipeline] } 05:04:20 $ docker stop --time=1 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 05:04:21 $ docker rm -f 0d6607c0cd3ca4c27dd2af1ffe40621cc91e326038eb50c0105bd3f188ae38b9 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:22 Stashed 1 file(s) [Pipeline] echo 05:04:22 [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [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 05:04:22 provisioning config files... 05:04:22 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6213824395601913050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:23 ---> docker-login.sh 05:04:23 nexus3.edgexfoundry.org:10001 05:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:23 Configure a credential helper to remove this warning. See 05:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:23 05:04:23 Login Succeeded 05:04:23 nexus3.edgexfoundry.org:10002 05:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:23 Configure a credential helper to remove this warning. See 05:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:23 05:04:23 Login Succeeded 05:04:23 nexus3.edgexfoundry.org:10003 05:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:23 Configure a credential helper to remove this warning. See 05:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:23 05:04:23 Login Succeeded 05:04:23 nexus3.edgexfoundry.org:10004 05:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:23 Configure a credential helper to remove this warning. See 05:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:23 05:04:23 Login Succeeded 05:04:23 docker.io 05:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:23 Configure a credential helper to remove this warning. See 05:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:23 05:04:23 Login Succeeded 05:04:23 ---> docker-login.sh ends [Pipeline] } 05:04:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:23 ========================================================= 05:04:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:04:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:04:24 + 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 . 05:04:24 Sending build context to Docker daemon 5.229MB 05:04:24 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:04:24 Step 2/12 : FROM ${BASE} AS builder 05:04:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:24 59bf1c3509f3: Pulling fs layer 05:04:24 666ba61612fd: Pulling fs layer 05:04:24 8ed8ca486205: Pulling fs layer 05:04:24 4fe6c5a15a65: Pulling fs layer 05:04:24 22a0e8bec74d: Pulling fs layer 05:04:24 4fe6c5a15a65: Waiting 05:04:24 22a0e8bec74d: Waiting 05:04:24 640e595b4fbd: Pulling fs layer 05:04:24 763cafe07f6e: Pulling fs layer 05:04:24 0c0b528cf693: Pulling fs layer 05:04:24 10935f4eaf8b: Pulling fs layer 05:04:24 10935f4eaf8b: Waiting 05:04:24 8ed8ca486205: Verifying Checksum 05:04:24 8ed8ca486205: Download complete 05:04:24 666ba61612fd: Verifying Checksum 05:04:24 666ba61612fd: Download complete 05:04:24 22a0e8bec74d: Download complete 05:04:24 59bf1c3509f3: Verifying Checksum 05:04:24 59bf1c3509f3: Download complete 05:04:24 640e595b4fbd: Verifying Checksum 05:04:24 640e595b4fbd: Download complete 05:04:24 763cafe07f6e: Download complete 05:04:24 0c0b528cf693: Verifying Checksum 05:04:24 0c0b528cf693: Download complete 05:04:24 59bf1c3509f3: Pull complete 05:04:24 666ba61612fd: Pull complete 05:04:24 8ed8ca486205: Pull complete 05:04:24 10935f4eaf8b: Verifying Checksum 05:04:24 10935f4eaf8b: Download complete 05:04:24 4fe6c5a15a65: Verifying Checksum 05:04:24 4fe6c5a15a65: Download complete 05:04:29 4fe6c5a15a65: Pull complete 05:04:29 22a0e8bec74d: Pull complete 05:04:29 640e595b4fbd: Pull complete 05:04:29 763cafe07f6e: Pull complete 05:04:29 0c0b528cf693: Pull complete 05:04:32 10935f4eaf8b: Pull complete 05:04:32 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:04:32 ---> 99d49a6021b9 05:04:32 Step 3/12 : ARG MAKE='make build' 05:04:33 ---> Running in d49be64e8821 05:04:33 Removing intermediate container d49be64e8821 05:04:33 ---> f3f737591f98 05:04:33 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:33 ---> Running in 32131baf2e3f 05:04:33 Removing intermediate container 32131baf2e3f 05:04:33 ---> 307d86e909f3 05:04:33 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:04:33 ---> Running in 582be2684d7c 05:04:33 Removing intermediate container 582be2684d7c 05:04:33 ---> f7b279820830 05:04:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:33 ---> Running in f94a1a0e5f5f 05:04:34 Removing intermediate container f94a1a0e5f5f 05:04:34 ---> 75cedf3ebd49 05:04:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:34 ---> Running in 5c4c9eb2ad22 05:04:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:04:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:04:35 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:04:36 (2/4) Installing libedit (20210910.3.1-r0) 05:04:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:04:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:04:36 Executing busybox-1.34.1-r3.trigger 05:04:36 OK: 224 MiB in 56 packages 05:04:36 Removing intermediate container 5c4c9eb2ad22 05:04:36 ---> 1b3009fbee9f 05:04:36 Step 8/12 : WORKDIR /device-snmp-go 05:04:37 ---> Running in 00f71196855c 05:04:37 Removing intermediate container 00f71196855c 05:04:37 ---> 16c46447e3e8 05:04:37 Step 9/12 : COPY go.mod vendor* ./ 05:04:37 ---> d4fe93c3b269 05:04:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:37 ---> Running in 90e870fac935 05:04:37 Still waiting to schedule task 05:04:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-11757’ is offline 05:04:52 Removing intermediate container 90e870fac935 05:04:52 ---> 03718788221b 05:04:52 Step 11/12 : COPY . . 05:04:52 ---> 6e780d9b408f 05:04:52 Step 12/12 : RUN ${MAKE} 05:04:52 ---> Running in 0c5f9c517158 05:04:52 noop 05:04:52 Removing intermediate container 0c5f9c517158 05:04:52 ---> 59c0956bbc5f 05:04:52 Successfully built 59c0956bbc5f 05:04:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:04:52 + docker inspect -f . ci-base-image-x86_64 05:04:52 . [Pipeline] withDockerContainer 05:04:52 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:04:52 $ 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 05:04:53 $ docker top 3b3ca9f857087bc9470b6b80694a8101883e5ceebb6b745c41235616157f8ccf -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:53 + go version 05:04:53 go version go1.17.6 linux/amd64 [Pipeline] } 05:04:53 $ docker stop --time=1 3b3ca9f857087bc9470b6b80694a8101883e5ceebb6b745c41235616157f8ccf 05:04:55 $ docker rm -f 3b3ca9f857087bc9470b6b80694a8101883e5ceebb6b745c41235616157f8ccf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:04:55 + docker inspect -f . ci-base-image-x86_64 05:04:55 . [Pipeline] withDockerContainer 05:04:55 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:04:55 $ 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 05:04:56 $ docker top 8f47d2837ae9521ed6574183971d6bc3560814ae27fd538e3ae97fec04d2506f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:04:56 + make test 05:04:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:04:56 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:06 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:06 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 05:05:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:16 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:17 $ docker stop --time=1 8f47d2837ae9521ed6574183971d6bc3560814ae27fd538e3ae97fec04d2506f 05:05:19 $ docker rm -f 8f47d2837ae9521ed6574183971d6bc3560814ae27fd538e3ae97fec04d2506f [Pipeline] // withDockerContainer [Pipeline] sh 05:05:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:20 + ls -al . 05:05:20 total 164 05:05:20 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:05 . 05:05:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:04 .. 05:05:20 -rw-rw-r-- 1 jenkins jenkins 6 Apr 10 05:04 .dockerignore 05:05:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:04 .git 05:05:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:04 .github 05:05:20 -rw-rw-r-- 1 jenkins jenkins 262 Apr 10 05:04 .gitignore 05:05:20 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:04 .golangci.yml 05:05:20 drwx------ 3 jenkins jenkins 4096 Apr 10 05:04 .semver 05:05:20 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 10 05:04 Attribution.txt 05:05:20 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 10 05:04 CHANGELOG.md 05:05:20 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 10 05:04 Dockerfile 05:05:20 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:04 GOVERNANCE.md 05:05:20 -rw-rw-r-- 1 jenkins jenkins 656 Apr 10 05:04 Jenkinsfile 05:05:20 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:04 LICENSE 05:05:20 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 10 05:04 Makefile 05:05:20 -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 05:04 OWNERS.md 05:05:20 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 10 05:04 README.md 05:05:20 -rw-rw-r-- 1 jenkins jenkins 11 Apr 10 05:04 VERSION 05:05:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:04 bin 05:05:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:04 cmd 05:05:20 -rw-r--r-- 1 jenkins jenkins 7631 Apr 10 05:05 coverage.out 05:05:20 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 10 05:04 go.mod 05:05:20 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 10 05:04 go.sum 05:05:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:04 internal 05:05:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:04 snap 05:05:20 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 05:04 version.go [Pipeline] isUnix [Pipeline] sh 05:05:21 + 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=76bc78b56c3c6b32f516faff42577919f6a867f5 --label arch=amd64 --label version=2.2.0-dev.8 . 05:05:21 Sending build context to Docker daemon 5.237MB 05:05:21 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:05:21 Step 2/24 : FROM ${BASE} AS builder 05:05:21 ---> 59c0956bbc5f 05:05:21 Step 3/24 : ARG MAKE='make build' 05:05:21 ---> Running in a86da6c4300d 05:05:21 Removing intermediate container a86da6c4300d 05:05:21 ---> 54ada37b31b7 05:05:21 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:21 ---> Running in 3f39a05bd168 05:05:21 Removing intermediate container 3f39a05bd168 05:05:21 ---> 502af5bc5cf0 05:05:21 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:05:21 ---> Running in 5c3ff32b3110 05:05:21 Removing intermediate container 5c3ff32b3110 05:05:21 ---> 60faeb8a5c45 05:05:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:21 ---> Running in d30676b0debb 05:05:22 Removing intermediate container d30676b0debb 05:05:22 ---> 362e87e594cf 05:05:22 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:22 ---> Running in e027fffec739 05:05:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:23 OK: 224 MiB in 56 packages 05:05:24 Removing intermediate container e027fffec739 05:05:24 ---> 3dc47d365124 05:05:24 Step 8/24 : WORKDIR /device-snmp-go 05:05:24 ---> Running in d50d409970c7 05:05:24 Removing intermediate container d50d409970c7 05:05:24 ---> 973d61a01b9b 05:05:24 Step 9/24 : COPY go.mod vendor* ./ 05:05:24 ---> ab8f4467ffbe 05:05:24 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:24 ---> Running in 620721479eea 05:05:25 Removing intermediate container 620721479eea 05:05:25 ---> a410bd7c39a5 05:05:25 Step 11/24 : COPY . . 05:05:25 ---> 6a1aeb40d268 05:05:25 Step 12/24 : RUN ${MAKE} 05:05:25 ---> Running in f6cfdb822637 05:05:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:05:47 Removing intermediate container f6cfdb822637 05:05:47 ---> 3fe508091222 05:05:47 Step 13/24 : FROM alpine:3.14 05:05:47 3.14: Pulling from library/alpine 05:05:47 8663204ce13b: Pulling fs layer 05:05:47 8663204ce13b: Verifying Checksum 05:05:47 8663204ce13b: Download complete 05:05:47 8663204ce13b: Pull complete 05:05:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:05:47 Status: Downloaded newer image for alpine:3.14 05:05:47 ---> e04c818066af 05:05:47 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:05:47 ---> Running in ec9c4ba86198 05:05:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:05:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:05:47 (1/6) Installing dumb-init (1.2.5-r1) 05:05:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:05:47 (3/6) Installing libsodium (1.0.18-r0) 05:05:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:05:47 (5/6) Installing libzmq (4.3.4-r0) 05:05:47 (6/6) Installing zeromq (4.3.4-r0) 05:05:47 Executing busybox-1.33.1-r7.trigger 05:05:47 OK: 8 MiB in 20 packages 05:05:47 Removing intermediate container ec9c4ba86198 05:05:47 ---> 4a291f2f85df 05:05:47 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:05:47 ---> f2d0b7d68302 05:05:47 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:05:47 ---> e19d29ab20bf 05:05:47 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:05:47 ---> 9392924febe6 05:05:47 Step 18/24 : EXPOSE 59993 05:05:47 ---> Running in dacf8d01e97d 05:05:47 Removing intermediate container dacf8d01e97d 05:05:47 ---> 0fadc1a7b7b5 05:05:47 Step 19/24 : EXPOSE 161 05:05:47 ---> Running in 8f257aa4ebd5 05:05:47 Removing intermediate container 8f257aa4ebd5 05:05:47 ---> f8d2402333a6 05:05:47 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:05:47 ---> Running in 4bbd70ad1d9e 05:05:47 Removing intermediate container 4bbd70ad1d9e 05:05:47 ---> 45e9966c9bd5 05:05:47 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:05:47 ---> Running in 7c22c94cff91 05:05:48 Removing intermediate container 7c22c94cff91 05:05:48 ---> cf3e3f053501 05:05:48 Step 22/24 : LABEL arch=amd64 05:05:48 ---> Running in af7e9c9c09a5 05:05:48 Removing intermediate container af7e9c9c09a5 05:05:48 ---> aadf9ed9a972 05:05:48 Step 23/24 : LABEL git_sha=76bc78b56c3c6b32f516faff42577919f6a867f5 05:05:48 ---> Running in ab5a677d1660 05:05:48 Removing intermediate container ab5a677d1660 05:05:48 ---> 44d52b3813e5 05:05:48 Step 24/24 : LABEL version=2.2.0-dev.8 05:05:48 ---> Running in 606fdd0ed640 05:05:48 Removing intermediate container 606fdd0ed640 05:05:48 ---> b2e80e6a0ed2 05:05:48 [Warning] One or more build-args [ARCH] were not consumed 05:05:48 Successfully built b2e80e6a0ed2 05:05:48 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:48 provisioning config files... 05:05:48 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5077368787568263975tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:48 ---> docker-login.sh 05:05:48 nexus3.edgexfoundry.org:10001 05:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:48 Configure a credential helper to remove this warning. See 05:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:48 05:05:48 Login Succeeded 05:05:48 nexus3.edgexfoundry.org:10002 05:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:48 Configure a credential helper to remove this warning. See 05:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:48 05:05:48 Login Succeeded 05:05:48 nexus3.edgexfoundry.org:10003 05:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:48 Configure a credential helper to remove this warning. See 05:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:48 05:05:48 Login Succeeded 05:05:48 nexus3.edgexfoundry.org:10004 05:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:49 Configure a credential helper to remove this warning. See 05:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:49 05:05:49 Login Succeeded 05:05:49 docker.io 05:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:05:49 Configure a credential helper to remove this warning. See 05:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:05:49 05:05:49 Login Succeeded 05:05:49 ---> docker-login.sh ends [Pipeline] } 05:05:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:05:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:05:49 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 05:05:49 76bc78b56c3c6b32f516faff42577919f6a867f5 05:05:49 latest 05:05:49 2.2.0-dev.8 05:05:49 76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 05:05:49 main 05:05:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:05:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] isUnix [Pipeline] sh 05:05:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5 05:05:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:05:50 7a0ecdaccf87: Preparing 05:05:50 c50c6da4b6ce: Preparing 05:05:50 22980ac5961d: Preparing 05:05:50 c0cd5d3bc6c3: Preparing 05:05:50 b541d28bf3b4: Preparing 05:05:50 b541d28bf3b4: Layer already exists 05:05:50 c50c6da4b6ce: Pushed 05:05:50 7a0ecdaccf87: Pushed 05:05:50 c0cd5d3bc6c3: Pushed 05:05:52 22980ac5961d: Pushed 05:05:52 76bc78b56c3c6b32f516faff42577919f6a867f5: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] isUnix [Pipeline] sh 05:05:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 05:05:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 05:05:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:05:53 7a0ecdaccf87: Preparing 05:05:53 c50c6da4b6ce: Preparing 05:05:53 22980ac5961d: Preparing 05:05:53 c0cd5d3bc6c3: Preparing 05:05:53 b541d28bf3b4: Preparing 05:05:53 7a0ecdaccf87: Layer already exists 05:05:53 c0cd5d3bc6c3: Layer already exists 05:05:53 c50c6da4b6ce: Layer already exists 05:05:53 b541d28bf3b4: Layer already exists 05:05:53 22980ac5961d: Layer already exists 05:05:53 latest: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] isUnix [Pipeline] sh 05:05:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 05:05:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.8 05:05:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:05:54 7a0ecdaccf87: Preparing 05:05:54 c50c6da4b6ce: Preparing 05:05:54 22980ac5961d: Preparing 05:05:54 c0cd5d3bc6c3: Preparing 05:05:54 b541d28bf3b4: Preparing 05:05:54 22980ac5961d: Layer already exists 05:05:54 c0cd5d3bc6c3: Layer already exists 05:05:54 c50c6da4b6ce: Layer already exists 05:05:54 7a0ecdaccf87: Layer already exists 05:05:54 b541d28bf3b4: Layer already exists 05:05:54 2.2.0-dev.8: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] isUnix [Pipeline] sh 05:05:54 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 05:05:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 05:05:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:05:54 7a0ecdaccf87: Preparing 05:05:54 c50c6da4b6ce: Preparing 05:05:54 22980ac5961d: Preparing 05:05:54 c0cd5d3bc6c3: Preparing 05:05:54 b541d28bf3b4: Preparing 05:05:54 b541d28bf3b4: Layer already exists 05:05:54 c0cd5d3bc6c3: Layer already exists 05:05:54 7a0ecdaccf87: Layer already exists 05:05:54 22980ac5961d: Layer already exists 05:05:54 c50c6da4b6ce: Layer already exists 05:05:54 76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] isUnix [Pipeline] sh 05:05:55 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 05:05:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 05:05:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:05:55 7a0ecdaccf87: Preparing 05:05:55 c50c6da4b6ce: Preparing 05:05:55 22980ac5961d: Preparing 05:05:55 c0cd5d3bc6c3: Preparing 05:05:55 b541d28bf3b4: Preparing 05:05:55 c50c6da4b6ce: Layer already exists 05:05:55 22980ac5961d: Layer already exists 05:05:55 b541d28bf3b4: Layer already exists 05:05:55 c0cd5d3bc6c3: Layer already exists 05:05:55 7a0ecdaccf87: Layer already exists 05:05:55 main: digest: sha256:e866a0fe1942ed9fb5bc6ee2df16205448b4df5dec0151d887fce02c5cb084fc size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:05:55 ===================================================== [Pipeline] echo 05:05:55 taggedImages: 05:05:55 - nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5 05:05:55 - nexus3.edgexfoundry.org:10004/device-snmp:latest 05:05:55 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.8 05:05:55 - nexus3.edgexfoundry.org:10004/device-snmp:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 05:05:55 - 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 05:05:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:55 05:05:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:05:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:56 latest: Pulling from edgex-lftools-log-publisher 05:05:56 5eb5b503b376: Pulling fs layer 05:05:56 5c69ac0246d0: Pulling fs layer 05:05:56 ec43610c2a17: Pulling fs layer 05:05:56 3a2ae6a8a46f: Pulling fs layer 05:05:56 33b1e0a273af: Pulling fs layer 05:05:56 5d3b04190fa2: Pulling fs layer 05:05:56 2f39f015ded8: Pulling fs layer 05:05:56 3a2ae6a8a46f: Waiting 05:05:56 33b1e0a273af: Waiting 05:05:56 5d3b04190fa2: Waiting 05:05:56 2f39f015ded8: Waiting 05:05:56 5c69ac0246d0: Verifying Checksum 05:05:56 5c69ac0246d0: Download complete 05:05:56 3a2ae6a8a46f: Verifying Checksum 05:05:56 3a2ae6a8a46f: Download complete 05:05:56 33b1e0a273af: Verifying Checksum 05:05:56 33b1e0a273af: Download complete 05:05:56 5d3b04190fa2: Verifying Checksum 05:05:56 5d3b04190fa2: Download complete 05:05:56 ec43610c2a17: Verifying Checksum 05:05:56 ec43610c2a17: Download complete 05:05:56 5eb5b503b376: Verifying Checksum 05:05:56 5eb5b503b376: Download complete 05:05:56 2f39f015ded8: Verifying Checksum 05:05:56 2f39f015ded8: Download complete 05:05:57 5eb5b503b376: Pull complete 05:05:57 5c69ac0246d0: Pull complete 05:05:58 ec43610c2a17: Pull complete 05:05:58 3a2ae6a8a46f: Pull complete 05:05:58 33b1e0a273af: Pull complete 05:05:58 5d3b04190fa2: Pull complete 05:06:02 2f39f015ded8: Pull complete 05:06:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:06:02 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:06:03 $ 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 05:06:04 $ docker top 903b2d552dbb562a09eb86b37ac93b5264238fd131e8a694ee1569716cf7b567 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:05 ---> job-cost.sh 05:06:05 lf-activate-venv: SKIPPING 05:06:05 INFO: No Stack... 05:06:05 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:06 INFO: Archiving Costs [Pipeline] sh 05:06:06 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 05:06:06 + cut -d, -f6 [Pipeline] lock 05:06:06 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] 05:06:06 Resource [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] did not exist. Created. 05:06:06 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:06 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:06 Stashed 1 file(s) [Pipeline] } 05:06:06 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:06 $ docker stop --time=1 903b2d552dbb562a09eb86b37ac93b5264238fd131e8a694ee1569716cf7b567 05:06:08 $ docker rm -f 903b2d552dbb562a09eb86b37ac93b5264238fd131e8a694ee1569716cf7b567 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11762 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 05:07:29 Running in /w/workspace/device-snmp-go/18 [Pipeline] { [Pipeline] checkout 05:07:30 Selected Git installation does not exist. Using Default 05:07:30 The recommended git tool is: NONE 05:07:39 using credential edgex-jenkins-ssh 05:07:39 Cloning the remote Git repository 05:07:39 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:39 > git init /w/workspace/device-snmp-go/18 # timeout=10 05:07:39 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:39 > git --version # timeout=10 05:07:39 > git --version # 'git version 2.25.1' 05:07:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:41 Avoid second fetch 05:07:41 Checking out Revision 76bc78b56c3c6b32f516faff42577919f6a867f5 (main) 05:07:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:41 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:41 > git config core.sparsecheckout # timeout=10 05:07:41 > git checkout -f 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 05:07:46 Commit message: "Merge pull request #152 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:47 Dload Upload Total Spent Left Speed 05:07:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46625 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh 05:07:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:48 + sudo tee /etc/docker/daemon.new 05:07:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:48 { 05:07:48 "registry-mirrors": [ 05:07:48 "https://nexus3.edgexfoundry.org:10001" 05:07:48 ], 05:07:48 "bip": "10.250.0.254/24", 05:07:48 "hosts": [ 05:07:48 "tcp://0.0.0.0:5555", 05:07:48 "unix:///var/run/docker.sock" 05:07:48 ], 05:07:48 "mtu": 1458, 05:07:48 "selinux-enabled": true, 05:07:48 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:48 } [Pipeline] sh 05:07:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:07 provisioning config files... 05:08:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/18@tmp/config5770780435448273717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:08 ---> docker-login.sh 05:08:08 nexus3.edgexfoundry.org:10001 05:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:09 Configure a credential helper to remove this warning. See 05:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:09 05:08:09 Login Succeeded 05:08:09 nexus3.edgexfoundry.org:10002 05:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:09 Configure a credential helper to remove this warning. See 05:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:09 05:08:09 Login Succeeded 05:08:09 nexus3.edgexfoundry.org:10003 05:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:10 Configure a credential helper to remove this warning. See 05:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:10 05:08:10 Login Succeeded 05:08:10 nexus3.edgexfoundry.org:10004 05:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:10 Configure a credential helper to remove this warning. See 05:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:10 05:08:10 Login Succeeded 05:08:10 docker.io 05:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:11 Configure a credential helper to remove this warning. See 05:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:11 05:08:11 Login Succeeded 05:08:11 ---> docker-login.sh ends [Pipeline] } 05:08:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:08:12 ========================================================= 05:08:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:08:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:08:12 + 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 . 05:08:13 Sending build context to Docker daemon 2.725MB 05:08:13 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:08:13 Step 2/12 : FROM ${BASE} AS builder 05:08:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:13 9b3977197b4f: Pulling fs layer 05:08:13 1a89e8eeedd5: Pulling fs layer 05:08:13 94645a83ff95: Pulling fs layer 05:08:13 3f3a8bcf1eab: Pulling fs layer 05:08:13 0c92f367c5e7: Pulling fs layer 05:08:13 f7c0051592d6: Pulling fs layer 05:08:13 a227ed2f7395: Pulling fs layer 05:08:13 7b1c46037f91: Pulling fs layer 05:08:13 3f3a8bcf1eab: Waiting 05:08:13 f7c0051592d6: Waiting 05:08:13 0c92f367c5e7: Waiting 05:08:13 a227ed2f7395: Waiting 05:08:13 7b1c46037f91: Waiting 05:08:13 94645a83ff95: Verifying Checksum 05:08:13 94645a83ff95: Download complete 05:08:13 1a89e8eeedd5: Download complete 05:08:13 0c92f367c5e7: Download complete 05:08:13 f7c0051592d6: Verifying Checksum 05:08:13 f7c0051592d6: Download complete 05:08:13 a227ed2f7395: Verifying Checksum 05:08:13 a227ed2f7395: Download complete 05:08:13 9b3977197b4f: Download complete 05:08:14 9b3977197b4f: Pull complete 05:08:14 1a89e8eeedd5: Pull complete 05:08:15 94645a83ff95: Pull complete 05:08:15 7b1c46037f91: Verifying Checksum 05:08:15 7b1c46037f91: Download complete 05:08:16 3f3a8bcf1eab: Download complete 05:08:28 3f3a8bcf1eab: Pull complete 05:08:28 0c92f367c5e7: Pull complete 05:08:28 f7c0051592d6: Pull complete 05:08:28 a227ed2f7395: Pull complete 05:08:35 7b1c46037f91: Pull complete 05:08:35 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:08:35 ---> f79e39bc4007 05:08:35 Step 3/12 : ARG MAKE='make build' 05:08:35 ---> Running in 5648125a1c1d 05:08:35 Removing intermediate container 5648125a1c1d 05:08:35 ---> 37af95e594af 05:08:35 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:35 ---> Running in b0efa6db971f 05:08:35 Removing intermediate container b0efa6db971f 05:08:35 ---> bebeb1182d12 05:08:35 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:08:36 ---> Running in 921c8795766b 05:08:36 Removing intermediate container 921c8795766b 05:08:36 ---> fd9b18b5ce7f 05:08:36 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:36 ---> Running in 68cceaf8541c 05:08:38 Removing intermediate container 68cceaf8541c 05:08:38 ---> d62992b40b7f 05:08:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:38 ---> Running in 70bac7e85d33 05:08:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:08:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:08:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:08:41 (2/4) Installing libedit (20210910.3.1-r0) 05:08:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:08:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:08:41 Executing busybox-1.34.1-r3.trigger 05:08:41 OK: 224 MiB in 56 packages 05:08:42 Removing intermediate container 70bac7e85d33 05:08:42 ---> 56874f069be1 05:08:42 Step 8/12 : WORKDIR /device-snmp-go 05:08:42 ---> Running in 1bd94b9d10bf 05:08:43 Removing intermediate container 1bd94b9d10bf 05:08:43 ---> cac7a727e049 05:08:43 Step 9/12 : COPY go.mod vendor* ./ 05:08:43 ---> 567234d64742 05:08:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:43 ---> Running in c543ddc2854b 05:09:30 Removing intermediate container c543ddc2854b 05:09:30 ---> f1de66708fbd 05:09:30 Step 11/12 : COPY . . 05:09:30 ---> 462987cbc401 05:09:30 Step 12/12 : RUN ${MAKE} 05:09:30 ---> Running in de9235c0385f 05:09:31 noop 05:09:32 Removing intermediate container de9235c0385f 05:09:32 ---> f2bca5aee593 05:09:32 Successfully built f2bca5aee593 05:09:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:09:33 + docker inspect -f . ci-base-image-arm64 05:09:33 . [Pipeline] withDockerContainer 05:09:33 prd-ubuntu20.04-docker-arm64-4c-16g-11762 does not seem to be running inside a container 05:09:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@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 05:09:34 $ docker top 7d490522781bd4e23337479df7d3bf41df8dea22aeb19294e0696e3df79fd513 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:35 + go version 05:09:35 go version go1.17.6 linux/arm64 [Pipeline] } 05:09:35 $ docker stop --time=1 7d490522781bd4e23337479df7d3bf41df8dea22aeb19294e0696e3df79fd513 05:09:37 $ docker rm -f 7d490522781bd4e23337479df7d3bf41df8dea22aeb19294e0696e3df79fd513 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:09:38 + docker inspect -f . ci-base-image-arm64 05:09:38 . [Pipeline] withDockerContainer 05:09:38 prd-ubuntu20.04-docker-arm64-4c-16g-11762 does not seem to be running inside a container 05:09:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@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 05:09:39 $ docker top 9e69d6e8ff9a1fcd97ada3bb2ff8f9f9d1e7248ddfd727fb80ea618947272653 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:09:40 + make test 05:09:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:09:42 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:11:04 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:11:04 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 05:11:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:11:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:11:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:11:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:11:32 ./bin/test-attribution-txt.sh [Pipeline] echo 05:11:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:11:35 $ docker stop --time=1 9e69d6e8ff9a1fcd97ada3bb2ff8f9f9d1e7248ddfd727fb80ea618947272653 05:11:37 $ docker rm -f 9e69d6e8ff9a1fcd97ada3bb2ff8f9f9d1e7248ddfd727fb80ea618947272653 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:38 Warning: overwriting stash ‘coverage-report’ 05:11:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:39 + ls -al . 05:11:39 total 160 05:11:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:11 . 05:11:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:07 .. 05:11:39 -rw-rw-r-- 1 jenkins jenkins 6 Apr 10 05:07 .dockerignore 05:11:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:07 .git 05:11:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:07 .github 05:11:39 -rw-rw-r-- 1 jenkins jenkins 262 Apr 10 05:07 .gitignore 05:11:39 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:07 .golangci.yml 05:11:39 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 10 05:07 Attribution.txt 05:11:39 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 10 05:07 CHANGELOG.md 05:11:39 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 10 05:07 Dockerfile 05:11:39 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:07 GOVERNANCE.md 05:11:39 -rw-rw-r-- 1 jenkins jenkins 656 Apr 10 05:07 Jenkinsfile 05:11:39 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:07 LICENSE 05:11:39 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 10 05:07 Makefile 05:11:39 -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 05:07 OWNERS.md 05:11:39 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 10 05:07 README.md 05:11:39 -rw-rw-r-- 1 jenkins jenkins 11 Apr 10 05:04 VERSION 05:11:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:07 bin 05:11:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:07 cmd 05:11:39 -rw-r--r-- 1 jenkins jenkins 7631 Apr 10 05:11 coverage.out 05:11:39 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 10 05:07 go.mod 05:11:39 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 10 05:07 go.sum 05:11:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:07 internal 05:11:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:07 snap 05:11:39 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 05:07 version.go [Pipeline] isUnix [Pipeline] sh 05:11:40 + 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=76bc78b56c3c6b32f516faff42577919f6a867f5 --label arch=arm64 --label version=2.2.0-dev.8 . 05:11:40 Sending build context to Docker daemon 2.733MB 05:11:40 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:11:40 Step 2/24 : FROM ${BASE} AS builder 05:11:40 ---> f2bca5aee593 05:11:40 Step 3/24 : ARG MAKE='make build' 05:11:40 ---> Running in 0e17af722cbe 05:11:41 Removing intermediate container 0e17af722cbe 05:11:41 ---> 42a75489d15b 05:11:41 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:11:41 ---> Running in babc91d56c90 05:11:41 Removing intermediate container babc91d56c90 05:11:41 ---> a525e8e0095e 05:11:41 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:11:41 ---> Running in 8f9cc706e812 05:11:41 Removing intermediate container 8f9cc706e812 05:11:41 ---> fb9f421b4a01 05:11:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:42 ---> Running in 75516ca7f1e6 05:11:43 Removing intermediate container 75516ca7f1e6 05:11:43 ---> c7393b5e460e 05:11:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:11:43 ---> Running in 51ab1c179d68 05:11:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:11:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:11:46 OK: 224 MiB in 56 packages 05:11:47 Removing intermediate container 51ab1c179d68 05:11:47 ---> cf708ea48788 05:11:47 Step 8/24 : WORKDIR /device-snmp-go 05:11:47 ---> Running in 1c895c0af85f 05:11:48 Removing intermediate container 1c895c0af85f 05:11:48 ---> c2d77e3a1a8a 05:11:48 Step 9/24 : COPY go.mod vendor* ./ 05:11:48 ---> 11b431845772 05:11:48 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:48 ---> Running in 53157b8f4437 05:11:50 Removing intermediate container 53157b8f4437 05:11:50 ---> ee6ee960068d 05:11:50 Step 11/24 : COPY . . 05:11:51 ---> 842c0d8f99a6 05:11:51 Step 12/24 : RUN ${MAKE} 05:11:51 ---> Running in 48f0787d4572 05:11:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:13:59 Removing intermediate container 48f0787d4572 05:13:59 ---> 3f48879f1b5c 05:13:59 Step 13/24 : FROM alpine:3.14 05:13:59 3.14: Pulling from library/alpine 05:13:59 455c02918c45: Pulling fs layer 05:13:59 455c02918c45: Verifying Checksum 05:13:59 455c02918c45: Download complete 05:13:59 455c02918c45: Pull complete 05:13:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:13:59 Status: Downloaded newer image for alpine:3.14 05:13:59 ---> ac73e934f311 05:13:59 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:13:59 ---> Running in 42289e5f0ce5 05:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:14:00 (1/6) Installing dumb-init (1.2.5-r1) 05:14:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:14:00 (3/6) Installing libsodium (1.0.18-r0) 05:14:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:14:00 (5/6) Installing libzmq (4.3.4-r0) 05:14:00 (6/6) Installing zeromq (4.3.4-r0) 05:14:00 Executing busybox-1.33.1-r7.trigger 05:14:00 OK: 8 MiB in 20 packages 05:14:01 Removing intermediate container 42289e5f0ce5 05:14:01 ---> 7c06b5da0000 05:14:01 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:14:02 ---> 783737ce9600 05:14:02 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:14:03 ---> 490238e47517 05:14:03 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:14:04 ---> cba9d682e424 05:14:04 Step 18/24 : EXPOSE 59993 05:14:04 ---> Running in f7caddc5cdcc 05:14:04 Removing intermediate container f7caddc5cdcc 05:14:04 ---> ec8ebeb73457 05:14:04 Step 19/24 : EXPOSE 161 05:14:04 ---> Running in b5d5d9706e44 05:14:05 Removing intermediate container b5d5d9706e44 05:14:05 ---> e5e001d6399e 05:14:05 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:14:05 ---> Running in bd6838b6ca34 05:14:05 Removing intermediate container bd6838b6ca34 05:14:05 ---> aa521d1203d5 05:14:05 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:14:05 ---> Running in ecacd3bb03b9 05:14:05 Removing intermediate container ecacd3bb03b9 05:14:05 ---> 3befc038e44b 05:14:05 Step 22/24 : LABEL arch=arm64 05:14:05 ---> Running in aa3c0da7ffbf 05:14:06 Removing intermediate container aa3c0da7ffbf 05:14:06 ---> b06ce64988e9 05:14:06 Step 23/24 : LABEL git_sha=76bc78b56c3c6b32f516faff42577919f6a867f5 05:14:06 ---> Running in 7d7829511905 05:14:06 Removing intermediate container 7d7829511905 05:14:06 ---> 2a0f222c559c 05:14:06 Step 24/24 : LABEL version=2.2.0-dev.8 05:14:06 ---> Running in ff75f67bd2a2 05:14:07 Removing intermediate container ff75f67bd2a2 05:14:07 ---> fe1139515300 05:14:07 [Warning] One or more build-args [ARCH] were not consumed 05:14:07 Successfully built fe1139515300 05:14:07 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 05:14:07 provisioning config files... 05:14:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/18@tmp/config2775763686260503813tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:07 ---> docker-login.sh 05:14:07 nexus3.edgexfoundry.org:10001 05:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:07 Configure a credential helper to remove this warning. See 05:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:07 05:14:07 Login Succeeded 05:14:08 nexus3.edgexfoundry.org:10002 05:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:08 Configure a credential helper to remove this warning. See 05:14:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:08 05:14:08 Login Succeeded 05:14:08 nexus3.edgexfoundry.org:10003 05:14:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:09 Configure a credential helper to remove this warning. See 05:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:09 05:14:09 Login Succeeded 05:14:09 nexus3.edgexfoundry.org:10004 05:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:09 Configure a credential helper to remove this warning. See 05:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:09 05:14:09 Login Succeeded 05:14:09 docker.io 05:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:10 Configure a credential helper to remove this warning. See 05:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:10 05:14:10 Login Succeeded 05:14:10 ---> docker-login.sh ends [Pipeline] } 05:14:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:14:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:14:10 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 05:14:10 76bc78b56c3c6b32f516faff42577919f6a867f5 05:14:10 latest 05:14:10 2.2.0-dev.8 05:14:10 76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 05:14:10 main 05:14:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:14:10 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] isUnix [Pipeline] sh 05:14:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5 05:14:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:14:11 a703aa77dc34: Preparing 05:14:11 6da68632b26c: Preparing 05:14:11 5d20b9e7e051: Preparing 05:14:11 d5187d6bc47a: Preparing 05:14:11 f73e7dbfee58: Preparing 05:14:11 f73e7dbfee58: Layer already exists 05:14:11 a703aa77dc34: Pushed 05:14:11 6da68632b26c: Pushed 05:14:11 d5187d6bc47a: Pushed 05:14:17 5d20b9e7e051: Pushed 05:14:17 76bc78b56c3c6b32f516faff42577919f6a867f5: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] isUnix [Pipeline] sh 05:14:17 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:14:18 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:14:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:14:18 a703aa77dc34: Preparing 05:14:18 6da68632b26c: Preparing 05:14:18 5d20b9e7e051: Preparing 05:14:18 d5187d6bc47a: Preparing 05:14:18 f73e7dbfee58: Preparing 05:14:18 6da68632b26c: Layer already exists 05:14:18 d5187d6bc47a: Layer already exists 05:14:18 a703aa77dc34: Layer already exists 05:14:18 f73e7dbfee58: Layer already exists 05:14:18 5d20b9e7e051: Layer already exists 05:14:18 latest: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] isUnix [Pipeline] sh 05:14:18 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 05:14:19 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.8 05:14:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:14:19 a703aa77dc34: Preparing 05:14:19 6da68632b26c: Preparing 05:14:19 5d20b9e7e051: Preparing 05:14:19 d5187d6bc47a: Preparing 05:14:19 f73e7dbfee58: Preparing 05:14:19 f73e7dbfee58: Layer already exists 05:14:19 a703aa77dc34: Layer already exists 05:14:19 5d20b9e7e051: Layer already exists 05:14:19 6da68632b26c: Layer already exists 05:14:19 d5187d6bc47a: Layer already exists 05:14:19 2.2.0-dev.8: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] isUnix [Pipeline] sh 05:14:19 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh 05:14:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 05:14:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:14:20 a703aa77dc34: Preparing 05:14:20 6da68632b26c: Preparing 05:14:20 5d20b9e7e051: Preparing 05:14:20 d5187d6bc47a: Preparing 05:14:20 f73e7dbfee58: Preparing 05:14:20 a703aa77dc34: Layer already exists 05:14:20 f73e7dbfee58: Layer already exists 05:14:20 5d20b9e7e051: Layer already exists 05:14:20 6da68632b26c: Layer already exists 05:14:20 d5187d6bc47a: Layer already exists 05:14:20 76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] isUnix [Pipeline] sh 05:14:20 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 05:14:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 05:14:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:14:21 a703aa77dc34: Preparing 05:14:21 6da68632b26c: Preparing 05:14:21 5d20b9e7e051: Preparing 05:14:21 d5187d6bc47a: Preparing 05:14:21 f73e7dbfee58: Preparing 05:14:21 5d20b9e7e051: Layer already exists 05:14:21 f73e7dbfee58: Layer already exists 05:14:21 6da68632b26c: Layer already exists 05:14:21 a703aa77dc34: Layer already exists 05:14:21 d5187d6bc47a: Layer already exists 05:14:21 main: digest: sha256:b41d76cf6e1dfe41e89e43da2c8edbe48dbccfe654db2edee9705024a6b6e032 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:14:21 ===================================================== [Pipeline] echo 05:14:21 taggedImages: 05:14:21 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5 05:14:21 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:14:21 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.8 05:14:21 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:76bc78b56c3c6b32f516faff42577919f6a867f5-2.2.0-dev.8 05:14:21 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:14:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:21 05:14:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:14:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:22 arm64: Pulling from edgex-lftools-log-publisher 05:14:22 8998bd30e6a1: Pulling fs layer 05:14:22 04944245beec: Pulling fs layer 05:14:22 699f458cf7ca: Pulling fs layer 05:14:22 765212b225bb: Pulling fs layer 05:14:22 f23df028b6ca: Pulling fs layer 05:14:22 d65c8cfc05b1: Pulling fs layer 05:14:22 2437ff75d9bd: Pulling fs layer 05:14:22 765212b225bb: Waiting 05:14:22 f23df028b6ca: Waiting 05:14:22 d65c8cfc05b1: Waiting 05:14:22 2437ff75d9bd: Waiting 05:14:22 04944245beec: Download complete 05:14:22 765212b225bb: Verifying Checksum 05:14:22 765212b225bb: Download complete 05:14:22 f23df028b6ca: Verifying Checksum 05:14:22 f23df028b6ca: Download complete 05:14:22 d65c8cfc05b1: Verifying Checksum 05:14:22 d65c8cfc05b1: Download complete 05:14:22 699f458cf7ca: Verifying Checksum 05:14:22 699f458cf7ca: Download complete 05:14:23 8998bd30e6a1: Download complete 05:14:25 2437ff75d9bd: Verifying Checksum 05:14:25 2437ff75d9bd: Download complete 05:14:27 8998bd30e6a1: Pull complete 05:14:28 04944245beec: Pull complete 05:14:29 699f458cf7ca: Pull complete 05:14:29 765212b225bb: Pull complete 05:14:30 f23df028b6ca: Pull complete 05:14:31 d65c8cfc05b1: Pull complete 05:14:46 2437ff75d9bd: Pull complete 05:14:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:14:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:14:46 prd-ubuntu20.04-docker-arm64-4c-16g-11762 does not seem to be running inside a container 05:14:46 $ 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/18 -v /w/workspace/device-snmp-go/18:/w/workspace/device-snmp-go/18:rw,z -v /w/workspace/device-snmp-go/18@tmp:/w/workspace/device-snmp-go/18@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 05:14:49 $ docker top 01410482b6d3fd02f00d26df1928ad2ebef8e9ed706f6c78e1d42ef86e238be1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:50 ---> job-cost.sh 05:14:50 lf-activate-venv: SKIPPING 05:14:50 INFO: No Stack... 05:14:51 INFO: Retrieving Pricing Info for: v3-standard-4 05:14:52 INFO: Archiving Costs [Pipeline] sh 05:14:53 + cat /w/workspace/device-snmp-go/18/archives/cost.csv 05:14:53 + cut -d, -f6 [Pipeline] lock 05:14:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] 05:14:53 Resource [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] did not exist. Created. 05:14:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:14:54 /w/workspace/device-snmp-go/18@tmp/durable-a11b7376/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:14:54 + echo total: 0.10999999940395355 [Pipeline] stash 05:14:54 Warning: overwriting stash ‘stack-cost’ 05:14:54 Stashed 1 file(s) [Pipeline] } 05:14:54 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } 05:14:54 $ docker stop --time=1 01410482b6d3fd02f00d26df1928ad2ebef8e9ed706f6c78e1d42ef86e238be1 05:14:56 $ docker rm -f 01410482b6d3fd02f00d26df1928ad2ebef8e9ed706f6c78e1d42ef86e238be1 [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 05:14:57 provisioning config files... 05:14:57 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3330462441714438991tmp [Pipeline] { [Pipeline] sh 05:14:57 + set +x 05:14:57 + curl -s https://codecov.io/bash 05:14:57 + bash -s -- 05:14:57 05:14:57 _____ _ 05:14:57 / ____| | | 05:14:57 | | ___ __| | ___ ___ _____ __ 05:14:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:14:57 | |___| (_) | (_| | __/ (_| (_) \ V / 05:14:57 \_____\___/ \__,_|\___|\___\___/ \_/ 05:14:57 Bash-1.0.6 05:14:57 05:14:57 05:14:57 ==> git version 2.25.1 found 05:14:57 ==> 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 05:14:57 Release-Date: 2020-01-08 05:14:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:14:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:14:57 ==> Jenkins CI detected. 05:14:57 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 05:14:57 project root: . 05:14:57 --> token set from env 05:14:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:14:57 ==> Running gcov in . (disable via -X gcov) 05:14:57 ==> Python coveragepy not found 05:14:57 ==> Searching for coverage reports in: 05:14:57 + . 05:14:57 -> Found 1 reports 05:14:57 ==> Detecting git/mercurial file structure 05:14:57 ==> Reading reports 05:14:57 + ./coverage.out bytes=7631 05:14:57 ==> Appending adjustments 05:14:57 https://docs.codecov.io/docs/fixing-reports 05:14:57 + Found adjustments 05:14:57 ==> Gzipping contents 05:14:57 4.0K /tmp/codecov.xzMr0g.gz 05:14:57 ==> Uploading reports 05:14:57 url: https://codecov.io 05:14:57 query: branch=main&commit=76bc78b56c3c6b32f516faff42577919f6a867f5&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:14:57 -> Pinging Codecov 05:14:57 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=76bc78b56c3c6b32f516faff42577919f6a867f5&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:14:57 -> Uploading to 05:14:57 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/6C56EA5C29638FB4528AC87E60AF5AE0/76bc78b56c3c6b32f516faff42577919f6a867f5/1ef16a9d-114e-445c-a0d9-3b4258bc521a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T051457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f44779927b4040ebff6846221daf21a976d831bfe73e6353a712bd49d95b28e6 05:14:57 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:57 Dload Upload Total Spent Left Speed 05:14:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7719 --:--:-- --:--:-- --:--:-- 7719 05:14:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] } 05:14:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:14:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:14:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:14:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:14:58 05:14:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:14:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:14:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:14:58 188c0c94c7c5: Pulling fs layer 05:14:58 0ef7d3d256c8: Pulling fs layer 05:14:58 de9db76c5a1d: Pulling fs layer 05:14:58 0eba1c9be4d2: Pulling fs layer 05:14:58 0d57e429df01: Pulling fs layer 05:14:58 4e4be7b47b0d: Pulling fs layer 05:14:58 e1f770b5df2f: Pulling fs layer 05:14:58 85a0685a4137: Pulling fs layer 05:14:58 0eba1c9be4d2: Waiting 05:14:58 0d57e429df01: Waiting 05:14:58 4e4be7b47b0d: Waiting 05:14:58 e1f770b5df2f: Waiting 05:14:58 85a0685a4137: Waiting 05:14:58 de9db76c5a1d: Verifying Checksum 05:14:58 de9db76c5a1d: Download complete 05:14:58 0ef7d3d256c8: Verifying Checksum 05:14:58 0ef7d3d256c8: Download complete 05:14:58 0d57e429df01: Verifying Checksum 05:14:58 0d57e429df01: Download complete 05:14:58 4e4be7b47b0d: Verifying Checksum 05:14:58 4e4be7b47b0d: Download complete 05:14:58 188c0c94c7c5: Verifying Checksum 05:14:58 188c0c94c7c5: Download complete 05:14:58 e1f770b5df2f: Verifying Checksum 05:14:58 e1f770b5df2f: Download complete 05:14:58 188c0c94c7c5: Pull complete 05:14:58 0ef7d3d256c8: Pull complete 05:14:59 de9db76c5a1d: Pull complete 05:14:59 0eba1c9be4d2: Verifying Checksum 05:14:59 0eba1c9be4d2: Download complete 05:14:59 85a0685a4137: Verifying Checksum 05:14:59 85a0685a4137: Download complete 05:15:02 0eba1c9be4d2: Pull complete 05:15:02 0d57e429df01: Pull complete 05:15:02 4e4be7b47b0d: Pull complete 05:15:02 e1f770b5df2f: Pull complete 05:15:06 85a0685a4137: Pull complete 05:15:06 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:15:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:15:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:15:06 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:15:06 $ 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 05:15:08 $ docker top 9f91f5087709e619a9c50b48e0f888b2bd64a37771846fd1787fdf982b4a5658 -eo pid,comm [Pipeline] { [Pipeline] echo 05:15:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:15:08 + set -o pipefail 05:15:08 + snyk monitor '--org=edgex-jenkins' 05:15:13 05:15:13 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 05:15:13 05:15:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/7a72b58a-1d16-4f1c-8413-549a2832001f 05:15:13 05:15:13 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:15:13 05:15:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:15:13 05:15:13 [Pipeline] } 05:15:14 $ docker stop --time=1 9f91f5087709e619a9c50b48e0f888b2bd64a37771846fd1787fdf982b4a5658 05:15:16 $ docker rm -f 9f91f5087709e619a9c50b48e0f888b2bd64a37771846fd1787fdf982b4a5658 [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 05:15:16 + git log --format=format:%s -1 76bc78b56c3c6b32f516faff42577919f6a867f5 [Pipeline] sh 05:15:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:15:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:15:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:15:17 . [Pipeline] withDockerContainer 05:15:17 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:15:17 $ 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 05:15:18 $ docker top be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:15:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:15:18 [ssh-agent] Looking for ssh-agent implementation... 05:15:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:15:18 $ docker exec be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 ssh-agent 05:15:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcHMKnI/agent.14 05:15:18 SSH_AGENT_PID=20 05:15:18 Running ssh-add (command line suppressed) 05:15:18 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6366441820777888799.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6366441820777888799.key) 05:15:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:15:18 + git semver tag 05:15:18 # -> Open(): unable to determine branch for HEAD 05:15:18 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 05:15:18 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 05:15:18 # $SEMVER_REMOTE_NAME = origin 05:15:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:15:18 # $SEMVER_USER_NAME = edgex-jenkins 05:15:18 # $SEMVER_BRANCH = main 05:15:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:15:18 # 76bc78b56c3c6b32f516faff42577919f6a867f5 HEAD 05:15:18 # -> Force: false 05:15:18 # bf7769d30a6fdcbd54cb19f01024a84a5db6e77a refs/tags/v2.2.0-dev.8 [Pipeline] } 05:15:18 $ docker exec --env ******** --env ******** be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 ssh-agent -k 05:15:19 unset SSH_AUTH_SOCK; 05:15:19 unset SSH_AGENT_PID; 05:15:19 echo Agent pid 20 killed; 05:15:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:15:19 + git semver [Pipeline] } 05:15:19 $ docker stop --time=1 be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 05:15:20 $ docker rm -f be1684d079cc37ca4ea12235c11dd1b9b095dbf3b8f4c79aade1de0b7b0811b9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:15:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:15:21 05:15:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:15:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:15:21 0.23.1-centos7: Pulling from edgex-lftools 05:15:21 ab5ef0e58194: Pulling fs layer 05:15:21 9712f1f96733: Pulling fs layer 05:15:21 63f879dbbcfc: Pulling fs layer 05:15:21 0d9ebad4ef96: Pulling fs layer 05:15:21 e9a5061849ea: Pulling fs layer 05:15:21 d747dcd14b5f: Pulling fs layer 05:15:21 2de7ff778b66: Pulling fs layer 05:15:21 0d9ebad4ef96: Waiting 05:15:21 e9a5061849ea: Waiting 05:15:21 d747dcd14b5f: Waiting 05:15:21 2de7ff778b66: Waiting 05:15:21 9712f1f96733: Verifying Checksum 05:15:21 9712f1f96733: Download complete 05:15:21 63f879dbbcfc: Verifying Checksum 05:15:21 63f879dbbcfc: Download complete 05:15:21 e9a5061849ea: Verifying Checksum 05:15:21 e9a5061849ea: Download complete 05:15:21 d747dcd14b5f: Verifying Checksum 05:15:21 d747dcd14b5f: Download complete 05:15:21 0d9ebad4ef96: Verifying Checksum 05:15:21 ab5ef0e58194: Verifying Checksum 05:15:21 ab5ef0e58194: Download complete 05:15:21 2de7ff778b66: Verifying Checksum 05:15:21 2de7ff778b66: Download complete 05:15:25 ab5ef0e58194: Pull complete 05:15:25 9712f1f96733: Pull complete 05:15:25 63f879dbbcfc: Pull complete 05:15:29 0d9ebad4ef96: Pull complete 05:15:29 e9a5061849ea: Pull complete 05:15:29 d747dcd14b5f: Pull complete 05:15:30 2de7ff778b66: Pull complete 05:15:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:15:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:15:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:15:30 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:15:31 $ 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 05:15:33 $ docker top ea91b1abdd36f76d011a896b0478eea6b6e3d3bc6aeb4e92b64701e459f778fa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:15:33 provisioning config files... 05:15:33 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2664646057235097767tmp 05:15:33 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8192228220444417765tmp 05:15:33 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7043044573766412500tmp [Pipeline] { [Pipeline] echo 05:15:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:15:33 ---> sigul-configuration.sh 05:15:33 gpg: directory `/root/.gnupg' created 05:15:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:15:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:15:33 gpg: keyring `/root/.gnupg/secring.gpg' created 05:15:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:15:33 gpg: CAST5 encrypted data 05:15:33 gpg: encrypted with 1 passphrase 05:15:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:15:33 + mkdir /home/jenkins 05:15:33 + mkdir /home/jenkins/sigul [Pipeline] sh 05:15:34 + 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 05:15:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:15:34 ---> sigul-install.sh 05:15:34 Sigul already installed; skipping installation. [Pipeline] sh 05:15:34 + git tag --list 05:15:34 1.0.0 05:15:34 v0.0.0 05:15:34 v1.1.0 05:15:34 v1.1.1 05:15:34 v1.2.2 05:15:34 v1.3.0 05:15:34 v1.3.1 05:15:34 v2.0.0 05:15:34 v2.0.1-dev.1 05:15:34 v2.0.1-dev.2 05:15:34 v2.0.1-dev.3 05:15:34 v2.0.1-dev.4 05:15:34 v2.0.1-dev.5 05:15:34 v2.0.1-dev.6 05:15:34 v2.1.0 05:15:34 v2.2.0-dev.1 05:15:34 v2.2.0-dev.2 05:15:34 v2.2.0-dev.3 05:15:34 v2.2.0-dev.4 05:15:34 v2.2.0-dev.5 05:15:34 v2.2.0-dev.6 05:15:34 v2.2.0-dev.7 05:15:34 v2.2.0-dev.8 [Pipeline] sh 05:15:35 + lftools sign git-tag v2.2.0-dev.8 05:15:35 Signing Git tag with Sigul... 05:15:35 Signing v2.2.0-dev.8 [Pipeline] echo 05:15:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:15:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:15:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:15:36 $ docker stop --time=1 ea91b1abdd36f76d011a896b0478eea6b6e3d3bc6aeb4e92b64701e459f778fa 05:15:37 $ docker rm -f ea91b1abdd36f76d011a896b0478eea6b6e3d3bc6aeb4e92b64701e459f778fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:15:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:15:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:15:38 . [Pipeline] withDockerContainer 05:15:38 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:15:38 $ 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 05:15:38 $ docker top 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:15:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:15:38 [ssh-agent] Looking for ssh-agent implementation... 05:15:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:15:39 $ docker exec 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 ssh-agent 05:15:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNBoJjb/agent.15 05:15:39 SSH_AGENT_PID=21 05:15:39 Running ssh-add (command line suppressed) 05:15:39 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2742396867879444796.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2742396867879444796.key) 05:15:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:15:39 + git semver bump pre 05:15:39 # -> Open(): unable to determine branch for HEAD 05:15:39 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 05:15:39 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 05:15:39 # $SEMVER_REMOTE_NAME = origin 05:15:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:15:39 # $SEMVER_USER_NAME = edgex-jenkins 05:15:39 # $SEMVER_BRANCH = main 05:15:39 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:15:39 2.2.0-dev.9 [Pipeline] } 05:15:39 $ docker exec --env ******** --env ******** 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 ssh-agent -k 05:15:39 unset SSH_AUTH_SOCK; 05:15:39 unset SSH_AGENT_PID; 05:15:39 echo Agent pid 21 killed; 05:15:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:15:40 + git semver [Pipeline] } 05:15:40 $ docker stop --time=1 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 05:15:41 $ docker rm -f 264865e06c0d0ecd38c5320cea3174c84bc70f5c60e7ee84e68e29e577dd8342 [Pipeline] // withDockerContainer [Pipeline] sh 05:15:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:15:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:15:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:15:41 . [Pipeline] withDockerContainer 05:15:42 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:15:42 $ 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 05:15:42 $ docker top c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:15:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:15:42 [ssh-agent] Looking for ssh-agent implementation... 05:15:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:15:42 $ docker exec c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e ssh-agent 05:15:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDpBnaL/agent.13 05:15:42 SSH_AGENT_PID=19 05:15:42 Running ssh-add (command line suppressed) 05:15:42 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4923741342018827055.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4923741342018827055.key) 05:15:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:15:43 + git semver push 05:15:43 # -> Open(): unable to determine branch for HEAD 05:15:43 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 05:15:43 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 05:15:43 # $SEMVER_REMOTE_NAME = origin 05:15:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:15:43 # $SEMVER_USER_NAME = edgex-jenkins 05:15:43 # $SEMVER_BRANCH = main 05:15:43 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 05:15:44 $ docker exec --env ******** --env ******** c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e ssh-agent -k 05:15:44 unset SSH_AUTH_SOCK; 05:15:44 unset SSH_AGENT_PID; 05:15:44 echo Agent pid 19 killed; 05:15:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:15:45 + git semver [Pipeline] } 05:15:45 $ docker stop --time=1 c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e 05:15:46 $ docker rm -f c9c2da8a8950a22e6b518f22aa39a0080e664629847d9c2e39facbc641298f1e [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 05:15:47 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 05:15:47 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:15:47 total 16 05:15:47 drwxr-xr-x 3 root root 4096 Apr 10 05:06 . 05:15:47 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:15 .. 05:15:47 drwxr-xr-x 2 root root 4096 Apr 10 05:06 cost 05:15:47 -rw-r--r-- 1 root root 84 Apr 10 05:06 cost.csv 05:15:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:15:47 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:15:47 total 16 05:15:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:06 . 05:15:47 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:15 .. 05:15:47 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:06 cost 05:15:47 -rw-r--r-- 1 jenkins jenkins 84 Apr 10 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:15:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:15:48 ---> package-listing.sh 05:15:48 ++ facter osfamily 05:15:48 ++ tr '[:upper:]' '[:lower:]' 05:15:48 + OS_FAMILY=debian 05:15:48 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 05:15:48 + START_PACKAGES=/tmp/packages_start.txt 05:15:48 + END_PACKAGES=/tmp/packages_end.txt 05:15:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:15:48 + PACKAGES=/tmp/packages_start.txt 05:15:48 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:15:48 + PACKAGES=/tmp/packages_end.txt 05:15:48 + case "${OS_FAMILY}" in 05:15:48 + dpkg -l 05:15:48 + grep '^ii' 05:15:48 + '[' -f /tmp/packages_start.txt ']' 05:15:48 + '[' -f /tmp/packages_end.txt ']' 05:15:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:15:48 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:15:48 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 05:15:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 05:15:48 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 05:15:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:49 . [Pipeline] withDockerContainer 05:15:49 prd-ubuntu20.04-docker-8c-8g-11756 does not seem to be running inside a container 05:15:49 $ 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 05:15:49 $ docker top 243c2e0d69b76299da3759b7c2158f3e5fef59672862f04e50210d9cc534ecce -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:50 + touch /tmp/pre-build-complete [Pipeline] sh 05:15:50 + mkdir -p /var/log/sysstat [Pipeline] sh 05:15:50 + ls /var/log/sa-host 05:15:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:50 provisioning config files... 05:15:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7607178930315695110tmp [Pipeline] { [Pipeline] echo 05:15:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:15:51 ---> create-netrc.sh [Pipeline] } 05:15:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:15:51 ---> python-tools-install.sh [Pipeline] echo 05:15:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:15:51 ---> sudo-logs.sh 05:15:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:15:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:15:52 ---> job-cost.sh 05:15:52 lf-activate-venv: SKIPPING 05:15:52 DEBUG: total: 0.2199999988079071 05:15:52 INFO: Retrieving Stack Cost... 05:15:52 INFO: Retrieving Pricing Info for: v3-standard-8 05:15:52 INFO: Archiving Costs [Pipeline] echo 05:15:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:15:53 ---> logs-deploy.sh 05:15:53 lf-activate-venv: SKIPPING 05:15:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/18 05:15:53 INFO: archiving workspace using pattern(s): 05:15:54 Archives upload complete. 05:15:54 INFO: archiving logs to Nexus 05:15:54 ---> uname -a: 05:15:54 Linux prd-ubuntu20-04-docker-8c-8g-11756 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:15:54 05:15:54 05:15:54 ---> lscpu: 05:15:54 Architecture: x86_64 05:15:54 CPU op-mode(s): 32-bit, 64-bit 05:15:54 Byte Order: Little Endian 05:15:54 Address sizes: 40 bits physical, 48 bits virtual 05:15:54 CPU(s): 8 05:15:54 On-line CPU(s) list: 0-7 05:15:54 Thread(s) per core: 1 05:15:54 Core(s) per socket: 1 05:15:54 Socket(s): 8 05:15:54 NUMA node(s): 1 05:15:54 Vendor ID: AuthenticAMD 05:15:54 CPU family: 23 05:15:54 Model: 49 05:15:54 Model name: AMD EPYC-Rome Processor 05:15:54 Stepping: 0 05:15:54 CPU MHz: 2799.998 05:15:54 BogoMIPS: 5599.99 05:15:54 Virtualization: AMD-V 05:15:54 Hypervisor vendor: KVM 05:15:54 Virtualization type: full 05:15:54 L1d cache: 256 KiB 05:15:54 L1i cache: 256 KiB 05:15:54 L2 cache: 4 MiB 05:15:54 L3 cache: 128 MiB 05:15:54 NUMA node0 CPU(s): 0-7 05:15:54 Vulnerability Itlb multihit: Not affected 05:15:54 Vulnerability L1tf: Not affected 05:15:54 Vulnerability Mds: Not affected 05:15:54 Vulnerability Meltdown: Not affected 05:15:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:15:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:15:54 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:15:54 Vulnerability Srbds: Not affected 05:15:54 Vulnerability Tsx async abort: Not affected 05:15:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:15:54 05:15:54 05:15:54 ---> nproc: 05:15:54 8 05:15:54 05:15:54 05:15:54 ---> df -h: 05:15:54 Filesystem Size Used Avail Use% Mounted on 05:15:54 overlay 155G 12G 144G 8% / 05:15:54 tmpfs 64M 0 64M 0% /dev 05:15:54 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:15:54 shm 64M 0 64M 0% /dev/shm 05:15:54 /dev/vda1 155G 12G 144G 8% /facter-os 05:15:54 05:15:54