Pull request #203 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c45b2c14f631b001c11475974c4a9fc1fed78b60+cc201530981e513eba2542fa850395c651a4a8aa (26a5b8e682291e96828f6ed1f940f2ee4a680bf1) 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-ssh10317096100142484289.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10998032415748203552.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17083916286146911523.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh370608845277267216.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh17531150410236308034.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10680958830521424389.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118380’ Running on prd-ubuntu20.04-docker-8c-8g-118389 in /w/workspace/gexfoundry_device-snmp-go_PR-203 [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/gexfoundry_device-snmp-go_PR-203 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cc201530981e513eba2542fa850395c651a4a8aa into PR head commit c45b2c14f631b001c11475974c4a9fc1fed78b60 Merge succeeded, producing c45b2c14f631b001c11475974c4a9fc1fed78b60 Checking out Revision c45b2c14f631b001c11475974c4a9fc1fed78b60 (PR-203) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:07:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:07:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo > git config core.sparsecheckout # timeout=10 > git checkout -f c45b2c14f631b001c11475974c4a9fc1fed78b60 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c45b2c14f631b001c11475974c4a9fc1fed78b60 # timeout=10 05:07:02 ========================================================= 05:07:02 EdgeX Global Pipelines Version Info 05:07:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:07:03 ------------------- 05:07:03 stable info: 05:07:03 ------------------- 05:07:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:07:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:07:03 Message: update stable to v1.0.244 05:07:03 ------------------- 05:07:03 experimental info: 05:07:03 ------------------- 05:07:03 Commited By: **** collab-it+edgex@linuxfoundation.org 05:07:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:07:03 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:07:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c45b2c1 [Pipeline] echo 05:07:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:05 provisioning config files... 05:07:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/config6178209158695805622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:05 ---> docker-login.sh 05:07:05 nexus3.edgexfoundry.org:10001 05:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:06 Configure a credential helper to remove this warning. See 05:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:06 05:07:06 Login Succeeded 05:07:06 nexus3.edgexfoundry.org:10002 05:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:06 Configure a credential helper to remove this warning. See 05:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:06 05:07:06 Login Succeeded 05:07:06 nexus3.edgexfoundry.org:10003 05:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:06 Configure a credential helper to remove this warning. See 05:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:06 05:07:06 Login Succeeded 05:07:06 nexus3.edgexfoundry.org:10004 05:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:06 Configure a credential helper to remove this warning. See 05:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:06 05:07:06 Login Succeeded 05:07:06 docker.io 05:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:06 Configure a credential helper to remove this warning. See 05:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:06 05:07:06 Login Succeeded 05:07:06 ---> docker-login.sh ends [Pipeline] } 05:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:07:07 + git rev-list -1 --merges c45b2c14f631b001c11475974c4a9fc1fed78b60~1..c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] echo 05:07:07 -----------> git rev-list -1 --merges c45b2c14f631b001c11475974c4a9fc1fed78b60~1..c45b2c14f631b001c11475974c4a9fc1fed78b60 c45b2c14f631b001c11475974c4a9fc1fed78b60 [false] [Pipeline] sh 05:07:08 + git log --format=format:%s -1 c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] echo 05:07:08 ========================================================= 05:07:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:07:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:08 + git log --format=format:%s -1 c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] echo 05:07:08 [semverPrep] GIT_COMMIT: c45b2c14f631b001c11475974c4a9fc1fed78b60, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:07:08 [semverPrep] This is not a build commit. [Pipeline] sh 05:07:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:07:08 + grep -v github /etc/ssh/ssh_known_hosts 05:07:08 + [ -e /tmp/ssh_known_hosts ] 05:07:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:07:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:07:08 + sudo tee -a /etc/ssh/ssh_known_hosts 05:07:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:09 05:07:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:09 0.1.4: Pulling from edgex-devops/py-git-semver 05:07:09 b85a868b505f: Pulling fs layer 05:07:09 e2be974225ed: Pulling fs layer 05:07:09 339a4e72a1f5: Pulling fs layer 05:07:09 988bab9f4d93: Pulling fs layer 05:07:09 1469e6f7b9e6: Pulling fs layer 05:07:09 eaf3925da568: Pulling fs layer 05:07:09 bab4dde63d76: Pulling fs layer 05:07:09 bde34c3a00c8: Pulling fs layer 05:07:09 b352a97aabf1: Pulling fs layer 05:07:09 4872d77fe225: Pulling fs layer 05:07:09 5851b861e8e6: Pulling fs layer 05:07:09 eaf3925da568: Waiting 05:07:09 bab4dde63d76: Waiting 05:07:09 bde34c3a00c8: Waiting 05:07:09 4872d77fe225: Waiting 05:07:09 5851b861e8e6: Waiting 05:07:09 b352a97aabf1: Waiting 05:07:09 988bab9f4d93: Waiting 05:07:09 1469e6f7b9e6: Waiting 05:07:09 e2be974225ed: Verifying Checksum 05:07:09 e2be974225ed: Download complete 05:07:09 988bab9f4d93: Download complete 05:07:09 1469e6f7b9e6: Verifying Checksum 05:07:09 1469e6f7b9e6: Download complete 05:07:09 eaf3925da568: Verifying Checksum 05:07:09 eaf3925da568: Download complete 05:07:09 339a4e72a1f5: Verifying Checksum 05:07:09 339a4e72a1f5: Download complete 05:07:09 bde34c3a00c8: Verifying Checksum 05:07:09 bde34c3a00c8: Download complete 05:07:09 b352a97aabf1: Download complete 05:07:09 4872d77fe225: Download complete 05:07:09 5851b861e8e6: Verifying Checksum 05:07:09 5851b861e8e6: Download complete 05:07:09 b85a868b505f: Verifying Checksum 05:07:10 bab4dde63d76: Verifying Checksum 05:07:10 bab4dde63d76: Download complete 05:07:11 b85a868b505f: Pull complete 05:07:11 e2be974225ed: Pull complete 05:07:11 339a4e72a1f5: Pull complete 05:07:11 988bab9f4d93: Pull complete 05:07:11 1469e6f7b9e6: Pull complete 05:07:12 eaf3925da568: Pull complete 05:07:14 bab4dde63d76: Pull complete 05:07:14 bde34c3a00c8: Pull complete 05:07:14 b352a97aabf1: Pull complete 05:07:14 4872d77fe225: Pull complete 05:07:14 5851b861e8e6: Pull complete 05:07:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:07:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:14 prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container 05:07:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@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-devops/py-git-semver:0.1.4 cat 05:07:15 $ docker top f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 -eo pid,comm 05:07:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:07:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:07:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:16 [ssh-agent] Looking for ssh-agent implementation... 05:07:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:16 $ docker exec f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 ssh-agent 05:07:16 SSH_AUTH_SOCK=/tmp/ssh-HPW1flk2j1sz/agent.32 05:07:16 SSH_AGENT_PID=38 05:07:16 Running ssh-add (command line suppressed) 05:07:16 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/private_key_18035553834483114991.key (/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/private_key_18035553834483114991.key) 05:07:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:16 + git tag --points-at HEAD [Pipeline] } 05:07:16 $ docker exec --env ******** --env ******** f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 ssh-agent -k 05:07:16 unset SSH_AUTH_SOCK; 05:07:16 unset SSH_AGENT_PID; 05:07:16 echo Agent pid 38 killed; 05:07:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:07:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:17 [ssh-agent] Looking for ssh-agent implementation... 05:07:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:17 $ docker exec f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 ssh-agent 05:07:17 SSH_AUTH_SOCK=/tmp/ssh-59wO2NDcvEBO/agent.70 05:07:17 SSH_AGENT_PID=76 05:07:17 Running ssh-add (command line suppressed) 05:07:17 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/private_key_1056033155142990613.key (/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/private_key_1056033155142990613.key) 05:07:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:17 + git semver init 05:07:18 2022-11-07 05:07:17,937 [run_init] DEBUG init version:0.0.0 force:False 05:07:18 2022-11-07 05:07:17,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver 05:07:18 2022-11-07 05:07:17,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-203/.semver 05:07:18 2022-11-07 05:07:17,939 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-203, universal_newlines=False, shell=None, istream=None) 05:07:18 2022-11-07 05:07:18,903 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-203/.git/info/exclude 05:07:18 2022-11-07 05:07:18,904 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver/PR-203 with force:False 05:07:18 2022-11-07 05:07:18,904 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver/PR-203 05:07:18 2022-11-07 05:07:18,908 [execute] INFO git cat-file --batch-check 05:07:18 2022-11-07 05:07:18,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver, universal_newlines=False, shell=None, istream=) 05:07:18 2022-11-07 05:07:18,914 [execute] INFO git cat-file --batch 05:07:18 2022-11-07 05:07:18,915 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-203/.semver, universal_newlines=False, shell=None, istream=) 05:07:18 2022-11-07 05:07:18,921 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-203/.semver/PR-203 05:07:18 0.0.0 [Pipeline] } 05:07:19 $ docker exec --env ******** --env ******** f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 ssh-agent -k 05:07:19 unset SSH_AUTH_SOCK; 05:07:19 unset SSH_AGENT_PID; 05:07:19 echo Agent pid 76 killed; 05:07:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:07:19 + git semver [Pipeline] } 05:07:20 $ docker stop --time=1 f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 05:07:21 $ docker rm -f f658a9e19e78e3f4669122845e28eef6c27a0d58e69b76f91815e22bc425ee79 [Pipeline] // withDockerContainer [Pipeline] sh 05:07:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:07:22 Stashed 1 file(s) [Pipeline] echo 05:07:22 [edgeXSemver]: initialized semver on version 0.0.0 [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:07:22 provisioning config files... 05:07:22 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/config11294365709852935371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:23 ---> docker-login.sh 05:07:23 nexus3.edgexfoundry.org:10001 05:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:23 Configure a credential helper to remove this warning. See 05:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:23 05:07:23 Login Succeeded 05:07:23 nexus3.edgexfoundry.org:10002 05:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:23 Configure a credential helper to remove this warning. See 05:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:23 05:07:23 Login Succeeded 05:07:23 nexus3.edgexfoundry.org:10003 05:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:23 Configure a credential helper to remove this warning. See 05:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:23 05:07:23 Login Succeeded 05:07:23 nexus3.edgexfoundry.org:10004 05:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:23 Configure a credential helper to remove this warning. See 05:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:23 05:07:23 Login Succeeded 05:07:23 docker.io 05:07:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:23 Configure a credential helper to remove this warning. See 05:07:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:23 05:07:23 Login Succeeded 05:07:23 ---> docker-login.sh ends [Pipeline] } 05:07:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:24 ========================================================= 05:07:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:07:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:07:24 Sending build context to Docker daemon 5.581MB 05:07:24 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:07:24 Step 2/12 : FROM ${BASE} AS builder 05:07:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:07:24 213ec9aee27d: Pulling fs layer 05:07:24 4583459ba037: Pulling fs layer 05:07:24 93c1e223e6f2: Pulling fs layer 05:07:24 53926ce57604: Pulling fs layer 05:07:24 21b2b0c7a3f4: Pulling fs layer 05:07:24 22ff95d597cd: Pulling fs layer 05:07:24 12d6caf4c0d1: Pulling fs layer 05:07:24 96b7cbca73a9: Pulling fs layer 05:07:24 a7acece74701: Pulling fs layer 05:07:24 53926ce57604: Waiting 05:07:24 21b2b0c7a3f4: Waiting 05:07:24 22ff95d597cd: Waiting 05:07:24 12d6caf4c0d1: Waiting 05:07:24 96b7cbca73a9: Waiting 05:07:24 a7acece74701: Waiting 05:07:24 93c1e223e6f2: Verifying Checksum 05:07:24 93c1e223e6f2: Download complete 05:07:24 4583459ba037: Download complete 05:07:24 21b2b0c7a3f4: Verifying Checksum 05:07:24 21b2b0c7a3f4: Download complete 05:07:24 22ff95d597cd: Download complete 05:07:24 213ec9aee27d: Download complete 05:07:24 12d6caf4c0d1: Verifying Checksum 05:07:24 12d6caf4c0d1: Download complete 05:07:24 213ec9aee27d: Pull complete 05:07:25 4583459ba037: Pull complete 05:07:25 93c1e223e6f2: Pull complete 05:07:25 a7acece74701: Verifying Checksum 05:07:25 a7acece74701: Download complete 05:07:25 96b7cbca73a9: Verifying Checksum 05:07:25 96b7cbca73a9: Download complete 05:07:25 53926ce57604: Verifying Checksum 05:07:25 53926ce57604: Download complete 05:07:30 53926ce57604: Pull complete 05:07:30 21b2b0c7a3f4: Pull complete 05:07:30 22ff95d597cd: Pull complete 05:07:30 12d6caf4c0d1: Pull complete 05:07:32 96b7cbca73a9: Pull complete 05:07:33 a7acece74701: Pull complete 05:07:33 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:07:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:07:33 ---> db6d94c90886 05:07:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:07:35 ---> Running in 2ad4b2c8d242 05:07:35 Removing intermediate container 2ad4b2c8d242 05:07:35 ---> d78ef1ef5dd4 05:07:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:07:35 ---> Running in 1d9178205f57 05:07:35 Removing intermediate container 1d9178205f57 05:07:35 ---> 0cfad02086c3 05:07:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:35 ---> Running in 306e6792bf67 05:07:35 Removing intermediate container 306e6792bf67 05:07:35 ---> 89c081494db6 05:07:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:07:35 ---> Running in ac7e565704d0 05:07:35 Removing intermediate container ac7e565704d0 05:07:35 ---> 48565ce66037 05:07:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:36 ---> Running in 299d0da97075 05:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:07:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:07:36 (2/4) Installing libedit (20210910.3.1-r0) 05:07:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:07:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:07:36 Executing busybox-1.35.0-r17.trigger 05:07:36 OK: 216 MiB in 55 packages 05:07:37 Removing intermediate container 299d0da97075 05:07:37 ---> dd94c1fda8ed 05:07:37 Step 8/12 : WORKDIR /device-snmp-go 05:07:37 ---> Running in 3480971bc5ec 05:07:37 Removing intermediate container 3480971bc5ec 05:07:37 ---> 3a6a3f4b0d5b 05:07:37 Step 9/12 : COPY go.mod vendor* ./ 05:07:37 ---> ec22553a41d6 05:07:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:37 Still waiting to schedule task 05:07:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118385’ 05:07:37 ---> Running in d1bbe1b0448d 05:07:55 Removing intermediate container d1bbe1b0448d 05:07:55 ---> 950488d71783 05:07:55 Step 11/12 : COPY . . 05:07:55 ---> a4086de2a741 05:07:55 Step 12/12 : RUN ${MAKE} 05:07:55 ---> Running in 3655f337a3c4 05:07:55 noop 05:07:55 Removing intermediate container 3655f337a3c4 05:07:55 ---> 19ae346c3dc0 05:07:55 Successfully built 19ae346c3dc0 05:07:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:56 + docker inspect -f . ci-base-image-x86_64 05:07:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:56 prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container 05:07:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:07:56 $ docker top d334806205485b6ed439249dbf6f882eea7cf8e1facf8026e81fb063f72b582a -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:57 + go version 05:07:57 go version go1.18.7 linux/amd64 [Pipeline] } 05:07:57 $ docker stop --time=1 d334806205485b6ed439249dbf6f882eea7cf8e1facf8026e81fb063f72b582a 05:07:58 $ docker rm -f d334806205485b6ed439249dbf6f882eea7cf8e1facf8026e81fb063f72b582a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:59 + docker inspect -f . ci-base-image-x86_64 05:07:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:59 prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container 05:07:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:07:59 $ docker top 0e0a44a191db6e9ea14f2cd40015432c3697df1f0e8e88f0f5d2ecbdd9084df6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-203 [Pipeline] fileExists [Pipeline] sh 05:08:00 + make test 05:08:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:01 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:08:11 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:08:11 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 05:08:17 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:08:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:08:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:20 ./bin/test-attribution-txt.sh [Pipeline] echo 05:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:08:20 $ docker stop --time=1 0e0a44a191db6e9ea14f2cd40015432c3697df1f0e8e88f0f5d2ecbdd9084df6 05:08:22 $ docker rm -f 0e0a44a191db6e9ea14f2cd40015432c3697df1f0e8e88f0f5d2ecbdd9084df6 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:08:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:23 + ls -al . 05:08:23 total 180 05:08:23 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 05:08 . 05:08:23 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:06 .. 05:08:23 -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 05:07 .dockerignore 05:08:23 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:08 .git 05:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:07 .github 05:08:23 -rw-rw-r-- 1 jenkins jenkins 328 Nov 7 05:07 .gitignore 05:08:23 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:07 .golangci.yml 05:08:23 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:07 .semver 05:08:23 -rw-rw-r-- 1 jenkins jenkins 8932 Nov 7 05:07 Attribution.txt 05:08:23 -rw-rw-r-- 1 jenkins jenkins 8355 Nov 7 05:07 CHANGELOG.md 05:08:23 -rw-rw-r-- 1 jenkins jenkins 1486 Nov 7 05:07 Dockerfile 05:08:23 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:07 GOVERNANCE.md 05:08:23 -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 05:07 Jenkinsfile 05:08:23 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:07 LICENSE 05:08:23 -rw-rw-r-- 1 jenkins jenkins 2543 Nov 7 05:07 Makefile 05:08:23 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 05:07 OWNERS.md 05:08:23 -rw-rw-r-- 1 jenkins jenkins 10054 Nov 7 05:07 README.md 05:08:23 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION 05:08:23 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:07 bin 05:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:07 cmd 05:08:23 -rw-r--r-- 1 jenkins jenkins 7631 Nov 7 05:08 coverage.out 05:08:23 -rw-rw-r-- 1 jenkins jenkins 3420 Nov 7 05:07 go.mod 05:08:23 -rw-rw-r-- 1 jenkins jenkins 44985 Nov 7 05:07 go.sum 05:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:07 internal 05:08:23 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:07 snap 05:08:23 -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:24 + 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=c45b2c14f631b001c11475974c4a9fc1fed78b60 --label arch=amd64 --label version=0.0.0 . 05:08:24 Sending build context to Docker daemon 5.589MB 05:08:24 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:08:24 Step 2/24 : FROM ${BASE} AS builder 05:08:24 ---> 19ae346c3dc0 05:08:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:08:24 ---> Running in ec80d2bbc398 05:08:24 Removing intermediate container ec80d2bbc398 05:08:24 ---> 5a3b9ee4a7ac 05:08:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:08:24 ---> Running in e2dbda6d6c80 05:08:24 Removing intermediate container e2dbda6d6c80 05:08:24 ---> d5fca3f021d6 05:08:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:08:24 ---> Running in 0ae5d098bb72 05:08:24 Removing intermediate container 0ae5d098bb72 05:08:24 ---> aeaf171c740c 05:08:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:08:24 ---> Running in 35a3a0071f41 05:08:24 Removing intermediate container 35a3a0071f41 05:08:24 ---> 52aea63d5732 05:08:24 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:24 ---> Running in cf31e5145689 05:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:08:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:08:25 OK: 216 MiB in 55 packages 05:08:25 Removing intermediate container cf31e5145689 05:08:25 ---> f39e513479d9 05:08:25 Step 8/24 : WORKDIR /device-snmp-go 05:08:25 ---> Running in 27ec5d223094 05:08:25 Removing intermediate container 27ec5d223094 05:08:25 ---> 17aea12959e1 05:08:25 Step 9/24 : COPY go.mod vendor* ./ 05:08:25 ---> 19b759009724 05:08:25 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:25 ---> Running in fb70e5d40402 05:08:26 Removing intermediate container fb70e5d40402 05:08:26 ---> b134e27c8c82 05:08:26 Step 11/24 : COPY . . 05:08:26 ---> bfb1dce562a2 05:08:26 Step 12/24 : RUN ${MAKE} 05:08:26 ---> Running in 77516c1839fb 05:08:27 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.51 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:08:49 Removing intermediate container 77516c1839fb 05:08:49 ---> 5652d5532f3a 05:08:49 Step 13/24 : FROM alpine:3.16 05:08:49 3.16: Pulling from library/alpine 05:08:49 213ec9aee27d: Already exists 05:08:49 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:08:49 Status: Downloaded newer image for alpine:3.16 05:08:49 ---> 9c6f07244728 05:08:49 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:08:49 ---> Running in b9353fc57656 05:08:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:08:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:08:49 (1/6) Installing dumb-init (1.2.5-r1) 05:08:49 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:08:49 (3/6) Installing libsodium (1.0.18-r0) 05:08:49 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:08:49 (5/6) Installing libzmq (4.3.4-r0) 05:08:49 (6/6) Installing zeromq (4.3.4-r0) 05:08:49 Executing busybox-1.35.0-r17.trigger 05:08:49 OK: 8 MiB in 20 packages 05:08:49 Removing intermediate container b9353fc57656 05:08:49 ---> 05b9f5d73fdf 05:08:49 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:08:49 ---> a1deff2fbf78 05:08:49 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:08:49 ---> e7bfe562dce2 05:08:49 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:08:49 ---> 5f84eaf87121 05:08:49 Step 18/24 : EXPOSE 59993 05:08:49 ---> Running in c62015b679f0 05:08:49 Removing intermediate container c62015b679f0 05:08:49 ---> 0222b6567eee 05:08:49 Step 19/24 : EXPOSE 161 05:08:49 ---> Running in 15252db78537 05:08:49 Removing intermediate container 15252db78537 05:08:49 ---> 0c2a3b1d3e28 05:08:49 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:08:49 ---> Running in 600b704e912f 05:08:49 Removing intermediate container 600b704e912f 05:08:49 ---> b09901f0b81d 05:08:49 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:08:49 ---> Running in c52723be9427 05:08:49 Removing intermediate container c52723be9427 05:08:49 ---> 8814acfb68f4 05:08:49 Step 22/24 : LABEL arch=amd64 05:08:50 ---> Running in 87f124e756ec 05:08:50 Removing intermediate container 87f124e756ec 05:08:50 ---> c07625baa248 05:08:50 Step 23/24 : LABEL git_sha=c45b2c14f631b001c11475974c4a9fc1fed78b60 05:08:50 ---> Running in 9aaf1a9fcf57 05:08:50 Removing intermediate container 9aaf1a9fcf57 05:08:50 ---> 2ea55cff55be 05:08:50 Step 24/24 : LABEL version=0.0.0 05:08:50 ---> Running in 314b85a682c6 05:08:50 Removing intermediate container 314b85a682c6 05:08:50 ---> 7a502e21ec21 05:08:50 [Warning] One or more build-args [ARCH] were not consumed 05:08:50 Successfully built 7a502e21ec21 05:08:50 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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] withEnv [Pipeline] { [Pipeline] sh 05:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:51 05:08:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:51 latest: Pulling from edgex-lftools-log-publisher 05:08:51 5eb5b503b376: Pulling fs layer 05:08:51 5c69ac0246d0: Pulling fs layer 05:08:51 ec43610c2a17: Pulling fs layer 05:08:51 3a2ae6a8a46f: Pulling fs layer 05:08:51 33b1e0a273af: Pulling fs layer 05:08:51 5d3b04190fa2: Pulling fs layer 05:08:51 2f39f015ded8: Pulling fs layer 05:08:51 3a2ae6a8a46f: Waiting 05:08:51 33b1e0a273af: Waiting 05:08:51 5d3b04190fa2: Waiting 05:08:51 2f39f015ded8: Waiting 05:08:51 5c69ac0246d0: Verifying Checksum 05:08:51 5c69ac0246d0: Download complete 05:08:51 3a2ae6a8a46f: Verifying Checksum 05:08:51 3a2ae6a8a46f: Download complete 05:08:51 33b1e0a273af: Verifying Checksum 05:08:51 33b1e0a273af: Download complete 05:08:51 ec43610c2a17: Verifying Checksum 05:08:51 ec43610c2a17: Download complete 05:08:51 5d3b04190fa2: Verifying Checksum 05:08:51 5d3b04190fa2: Download complete 05:08:51 5eb5b503b376: Verifying Checksum 05:08:51 5eb5b503b376: Download complete 05:08:52 2f39f015ded8: Download complete 05:08:52 5eb5b503b376: Pull complete 05:08:53 5c69ac0246d0: Pull complete 05:08:53 ec43610c2a17: Pull complete 05:08:53 3a2ae6a8a46f: Pull complete 05:08:53 33b1e0a273af: Pull complete 05:08:54 5d3b04190fa2: Pull complete 05:08:58 2f39f015ded8: Pull complete 05:08:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:08:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:58 prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container 05:08:58 $ 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/gexfoundry_device-snmp-go_PR-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:09:00 $ docker top 9ae73bd57e7c8745c7dc01f42dffc17b2607530ec757f2972cac4f3720e82b93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:00 ---> job-cost.sh 05:09:00 lf-activate-venv: SKIPPING 05:09:00 INFO: No Stack... 05:09:01 INFO: Retrieving Pricing Info for: v3-standard-8 05:09:01 INFO: Archiving Costs [Pipeline] sh 05:09:01 + cat /w/workspace/gexfoundry_device-snmp-go_PR-203/archives/cost.csv 05:09:01 + cut -d, -f6 [Pipeline] lock 05:09:01 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] 05:09:01 Resource [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] did not exist. Created. 05:09:01 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:02 + echo total: 0.2199999988079071 [Pipeline] stash 05:09:02 Stashed 1 file(s) [Pipeline] } 05:09:02 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:09:02 $ docker stop --time=1 9ae73bd57e7c8745c7dc01f42dffc17b2607530ec757f2972cac4f3720e82b93 05:09:03 $ docker rm -f 9ae73bd57e7c8745c7dc01f42dffc17b2607530ec757f2972cac4f3720e82b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:10:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118394 in /w/workspace/gexfoundry_device-snmp-go_PR-203 [Pipeline] { [Pipeline] ws 05:10:26 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:10:26 Selected Git installation does not exist. Using Default 05:10:26 The recommended git tool is: NONE 05:10:32 using credential edgex-jenkins-ssh 05:10:32 Cloning the remote Git repository 05:10:32 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:10:32 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:10:32 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:10:32 > git --version # timeout=10 05:10:33 > git --version # 'git version 2.25.1' 05:10:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:33 Verifying host key using known hosts file 05:10:33 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:10:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:34 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:10:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:10:35 Merging remotes/origin/main commit cc201530981e513eba2542fa850395c651a4a8aa into PR head commit c45b2c14f631b001c11475974c4a9fc1fed78b60 05:10:35 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:10:35 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:10:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:35 Verifying host key using known hosts file 05:10:35 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:10:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:10:35 > git config core.sparsecheckout # timeout=10 05:10:35 > git checkout -f c45b2c14f631b001c11475974c4a9fc1fed78b60 # timeout=10 05:10:36 Merge succeeded, producing c45b2c14f631b001c11475974c4a9fc1fed78b60 05:10:36 Checking out Revision c45b2c14f631b001c11475974c4a9fc1fed78b60 (PR-203) 05:10:36 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:10:36 > git --version # timeout=10 05:10:36 > git --version # 'git version 2.25.1' 05:10:36 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:36 > git remote # timeout=10 05:10:36 > git config --get remote.origin.url # timeout=10 05:10:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:10:36 Verifying host key using known hosts file 05:10:36 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:10:36 > git merge cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 05:10:36 > git rev-parse HEAD^{commit} # timeout=10 05:10:36 > git config core.sparsecheckout # timeout=10 05:10:36 > git checkout -f c45b2c14f631b001c11475974c4a9fc1fed78b60 # timeout=10 05:10:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:10:37 % Total % Received % Xferd Average Speed Time Time Time Current 05:10:37 Dload Upload Total Spent Left Speed 05:10:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 05:10:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:10:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:10:38 + sudo tee /etc/docker/daemon.new 05:10:38 { 05:10:38 "registry-mirrors": [ 05:10:38 "https://nexus3.edgexfoundry.org:10001" 05:10:38 ], 05:10:38 "bip": "10.250.0.254/24", 05:10:38 "hosts": [ 05:10:38 "tcp://0.0.0.0:5555", 05:10:38 "unix:///var/run/docker.sock" 05:10:38 ], 05:10:38 "mtu": 1458, 05:10:38 "selinux-enabled": true, 05:10:38 "seccomp-profile": "/etc/docker/seccomp.json" 05:10:38 } [Pipeline] sh 05:10:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:10:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:57 provisioning config files... 05:10:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config17094902096774211939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:58 ---> docker-login.sh 05:10:58 nexus3.edgexfoundry.org:10001 05:10:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:58 Configure a credential helper to remove this warning. See 05:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:58 05:10:58 Login Succeeded 05:10:58 nexus3.edgexfoundry.org:10002 05:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:59 Configure a credential helper to remove this warning. See 05:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:59 05:10:59 Login Succeeded 05:10:59 nexus3.edgexfoundry.org:10003 05:10:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:59 Configure a credential helper to remove this warning. See 05:10:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:59 05:10:59 Login Succeeded 05:10:59 nexus3.edgexfoundry.org:10004 05:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:00 Configure a credential helper to remove this warning. See 05:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:00 05:11:00 Login Succeeded 05:11:00 docker.io 05:11:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:00 Configure a credential helper to remove this warning. See 05:11:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:00 05:11:00 Login Succeeded 05:11:00 ---> docker-login.sh ends [Pipeline] } 05:11:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:11:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:11:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:11:01 ========================================================= 05:11:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:11:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:11:02 Sending build context to Docker daemon 2.886MB 05:11:02 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:11:02 Step 2/12 : FROM ${BASE} AS builder 05:11:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:11:02 9b18e9b68314: Pulling fs layer 05:11:02 35d82f9e3411: Pulling fs layer 05:11:02 e16973657156: Pulling fs layer 05:11:02 fc693d55d65f: Pulling fs layer 05:11:02 7e9fc2657dce: Pulling fs layer 05:11:02 dda99020689f: Pulling fs layer 05:11:02 db1c61fa0a46: Pulling fs layer 05:11:02 891c053d2c06: Pulling fs layer 05:11:02 fc693d55d65f: Waiting 05:11:02 7e9fc2657dce: Waiting 05:11:02 dda99020689f: Waiting 05:11:02 db1c61fa0a46: Waiting 05:11:02 891c053d2c06: Waiting 05:11:02 e16973657156: Verifying Checksum 05:11:02 e16973657156: Download complete 05:11:02 35d82f9e3411: Download complete 05:11:02 7e9fc2657dce: Verifying Checksum 05:11:02 7e9fc2657dce: Download complete 05:11:02 dda99020689f: Verifying Checksum 05:11:02 dda99020689f: Download complete 05:11:02 9b18e9b68314: Verifying Checksum 05:11:02 9b18e9b68314: Download complete 05:11:03 9b18e9b68314: Pull complete 05:11:03 891c053d2c06: Verifying Checksum 05:11:03 891c053d2c06: Download complete 05:11:03 35d82f9e3411: Pull complete 05:11:04 e16973657156: Pull complete 05:11:04 db1c61fa0a46: Verifying Checksum 05:11:04 db1c61fa0a46: Download complete 05:11:05 fc693d55d65f: Verifying Checksum 05:11:05 fc693d55d65f: Download complete 05:11:17 fc693d55d65f: Pull complete 05:11:17 7e9fc2657dce: Pull complete 05:11:17 dda99020689f: Pull complete 05:11:21 db1c61fa0a46: Pull complete 05:11:23 891c053d2c06: Pull complete 05:11:23 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:11:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:11:23 ---> f96f9c87975a 05:11:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:11:25 ---> Running in cae497e17432 05:11:25 Removing intermediate container cae497e17432 05:11:25 ---> f35008437a27 05:11:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:11:25 ---> Running in 46974d0349f4 05:11:26 Removing intermediate container 46974d0349f4 05:11:26 ---> cd9f593e21a1 05:11:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:11:26 ---> Running in 3c859d44e158 05:11:26 Removing intermediate container 3c859d44e158 05:11:26 ---> 5a231b4475fb 05:11:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:11:26 ---> Running in 3a6af632e199 05:11:27 Removing intermediate container 3a6af632e199 05:11:27 ---> 8bd958b87664 05:11:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:11:27 ---> Running in 540bb014c565 05:11:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:11:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:11:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:11:29 (2/4) Installing libedit (20210910.3.1-r0) 05:11:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:11:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:11:29 Executing busybox-1.35.0-r17.trigger 05:11:29 OK: 226 MiB in 55 packages 05:11:30 Removing intermediate container 540bb014c565 05:11:30 ---> 85e6754ed8e0 05:11:30 Step 8/12 : WORKDIR /device-snmp-go 05:11:30 ---> Running in cce6f31c2c00 05:11:31 Removing intermediate container cce6f31c2c00 05:11:31 ---> 3e1da6fc76dd 05:11:31 Step 9/12 : COPY go.mod vendor* ./ 05:11:31 ---> 5399d81f4850 05:11:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:31 ---> Running in d1f8ed7a1d4a 05:12:28 Removing intermediate container d1f8ed7a1d4a 05:12:28 ---> 15f571a87f55 05:12:28 Step 11/12 : COPY . . 05:12:28 ---> bf699d618a76 05:12:28 Step 12/12 : RUN ${MAKE} 05:12:28 ---> Running in 33b256039a30 05:12:28 noop 05:12:28 Removing intermediate container 33b256039a30 05:12:28 ---> b5e629b52cc2 05:12:28 Successfully built b5e629b52cc2 05:12:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:28 + docker inspect -f . ci-base-image-arm64 05:12:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:29 prd-ubuntu20.04-docker-arm64-4c-16g-118394 does not seem to be running inside a container 05:12:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:12:30 $ docker top 4dab238a42c94f812b24e696cb9b765891f34af0c83c4ea13aaf22714736c4c8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:31 + go version 05:12:31 go version go1.18.7 linux/arm64 [Pipeline] } 05:12:31 $ docker stop --time=1 4dab238a42c94f812b24e696cb9b765891f34af0c83c4ea13aaf22714736c4c8 05:12:33 $ docker rm -f 4dab238a42c94f812b24e696cb9b765891f34af0c83c4ea13aaf22714736c4c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:34 + docker inspect -f . ci-base-image-arm64 05:12:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:34 prd-ubuntu20.04-docker-arm64-4c-16g-118394 does not seem to be running inside a container 05:12:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:12:35 $ docker top 1c8ccf3087221e96e14b4c34e122129a5c49ef9707ebcc704e21da87f96761b1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:36 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:12:37 + make test 05:12:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:12:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:14:16 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:14:16 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.080s coverage: 0.0% of statements 05:14:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:14:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:14:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:14:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:14:38 ./bin/test-attribution-txt.sh [Pipeline] echo 05:14:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:14:38 $ docker stop --time=1 1c8ccf3087221e96e14b4c34e122129a5c49ef9707ebcc704e21da87f96761b1 05:14:40 $ docker rm -f 1c8ccf3087221e96e14b4c34e122129a5c49ef9707ebcc704e21da87f96761b1 [Pipeline] // withDockerContainer [Pipeline] sh 05:14:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:14:41 Warning: overwriting stash ‘coverage-report’ 05:14:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:14:42 + ls -al . 05:14:42 total 176 05:14:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:12 . 05:14:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:10 .. 05:14:42 -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 05:10 .dockerignore 05:14:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:10 .git 05:14:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 .github 05:14:42 -rw-rw-r-- 1 jenkins jenkins 328 Nov 7 05:10 .gitignore 05:14:42 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:10 .golangci.yml 05:14:42 -rw-rw-r-- 1 jenkins jenkins 8932 Nov 7 05:10 Attribution.txt 05:14:42 -rw-rw-r-- 1 jenkins jenkins 8355 Nov 7 05:10 CHANGELOG.md 05:14:42 -rw-rw-r-- 1 jenkins jenkins 1486 Nov 7 05:10 Dockerfile 05:14:42 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:10 GOVERNANCE.md 05:14:42 -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 05:10 Jenkinsfile 05:14:42 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:10 LICENSE 05:14:42 -rw-rw-r-- 1 jenkins jenkins 2543 Nov 7 05:10 Makefile 05:14:42 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 05:10 OWNERS.md 05:14:42 -rw-rw-r-- 1 jenkins jenkins 10054 Nov 7 05:10 README.md 05:14:42 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION 05:14:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:10 bin 05:14:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 cmd 05:14:42 -rw-r--r-- 1 jenkins jenkins 7631 Nov 7 05:14 coverage.out 05:14:42 -rw-rw-r-- 1 jenkins jenkins 3420 Nov 7 05:10 go.mod 05:14:42 -rw-rw-r-- 1 jenkins jenkins 44985 Nov 7 05:10 go.sum 05:14:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 internal 05:14:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:10 snap 05:14:42 -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:43 + 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=c45b2c14f631b001c11475974c4a9fc1fed78b60 --label arch=arm64 --label version=0.0.0 . 05:14:44 Sending build context to Docker daemon 2.894MB 05:14:44 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:14:44 Step 2/24 : FROM ${BASE} AS builder 05:14:44 ---> b5e629b52cc2 05:14:44 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:14:44 ---> Running in 5c97dffc2216 05:14:44 Removing intermediate container 5c97dffc2216 05:14:44 ---> 6b1452762fe4 05:14:44 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:14:44 ---> Running in b3f1a1f59094 05:14:45 Removing intermediate container b3f1a1f59094 05:14:45 ---> d841f8664a93 05:14:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:14:45 ---> Running in e474c53f144a 05:14:45 Removing intermediate container e474c53f144a 05:14:45 ---> c79bd8ccd87f 05:14:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:14:45 ---> Running in f8ef2bb60d99 05:14:46 Removing intermediate container f8ef2bb60d99 05:14:46 ---> afa4ab1d13f2 05:14:46 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:14:46 ---> Running in c07b256e7c9e 05:14:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:14:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:14:48 OK: 226 MiB in 55 packages 05:14:49 Removing intermediate container c07b256e7c9e 05:14:49 ---> c1a47bb69b4f 05:14:49 Step 8/24 : WORKDIR /device-snmp-go 05:14:49 ---> Running in 2eac3ab4229c 05:14:50 Removing intermediate container 2eac3ab4229c 05:14:50 ---> 6426fa470f34 05:14:50 Step 9/24 : COPY go.mod vendor* ./ 05:14:50 ---> 7ad48a93127f 05:14:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:50 ---> Running in b7f660847251 05:14:52 Removing intermediate container b7f660847251 05:14:52 ---> 1d640ffbce35 05:14:52 Step 11/24 : COPY . . 05:14:54 ---> a5a5d6b3e419 05:14:54 Step 12/24 : RUN ${MAKE} 05:14:54 ---> Running in 9c0e87068f34 05:14:55 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.51 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:17:31 Removing intermediate container 9c0e87068f34 05:17:31 ---> f90722c407f6 05:17:31 Step 13/24 : FROM alpine:3.16 05:17:32 3.16: Pulling from library/alpine 05:17:32 9b18e9b68314: Already exists 05:17:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:17:32 Status: Downloaded newer image for alpine:3.16 05:17:32 ---> a6215f271958 05:17:32 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:17:32 ---> Running in d012dd2758e6 05:17:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:17:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:17:35 (1/6) Installing dumb-init (1.2.5-r1) 05:17:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:17:35 (3/6) Installing libsodium (1.0.18-r0) 05:17:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:17:35 (5/6) Installing libzmq (4.3.4-r0) 05:17:35 (6/6) Installing zeromq (4.3.4-r0) 05:17:35 Executing busybox-1.35.0-r17.trigger 05:17:35 OK: 8 MiB in 20 packages 05:17:36 Removing intermediate container d012dd2758e6 05:17:36 ---> 366641f6c3f4 05:17:36 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:17:37 ---> a845af2e5006 05:17:37 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:17:38 ---> 703844b2e7cc 05:17:38 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:17:38 ---> 3d3aef91be58 05:17:38 Step 18/24 : EXPOSE 59993 05:17:38 ---> Running in 20c807367877 05:17:39 Removing intermediate container 20c807367877 05:17:39 ---> 9672dd7b53f4 05:17:39 Step 19/24 : EXPOSE 161 05:17:39 ---> Running in 52820b67a2fc 05:17:39 Removing intermediate container 52820b67a2fc 05:17:39 ---> f9770f018745 05:17:39 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:17:39 ---> Running in ccf9a481f158 05:17:40 Removing intermediate container ccf9a481f158 05:17:40 ---> 222e940f1733 05:17:40 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:17:40 ---> Running in e1afb7b814ba 05:17:40 Removing intermediate container e1afb7b814ba 05:17:40 ---> 2c7e0f0df3f4 05:17:40 Step 22/24 : LABEL arch=arm64 05:17:40 ---> Running in 21436e54175b 05:17:40 Removing intermediate container 21436e54175b 05:17:40 ---> 69147cb9a000 05:17:40 Step 23/24 : LABEL git_sha=c45b2c14f631b001c11475974c4a9fc1fed78b60 05:17:40 ---> Running in c96093746841 05:17:41 Removing intermediate container c96093746841 05:17:41 ---> 2c9844566fea 05:17:41 Step 24/24 : LABEL version=0.0.0 05:17:41 ---> Running in 42266fd376cc 05:17:41 Removing intermediate container 42266fd376cc 05:17:41 ---> 728e5aa1a17d 05:17:41 [Warning] One or more build-args [ARCH] were not consumed 05:17:41 Successfully built 728e5aa1a17d 05:17:41 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:17:42 05:17:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:17:42 arm64: Pulling from edgex-lftools-log-publisher 05:17:42 8998bd30e6a1: Pulling fs layer 05:17:42 04944245beec: Pulling fs layer 05:17:42 699f458cf7ca: Pulling fs layer 05:17:42 765212b225bb: Pulling fs layer 05:17:42 f23df028b6ca: Pulling fs layer 05:17:42 d65c8cfc05b1: Pulling fs layer 05:17:42 2437ff75d9bd: Pulling fs layer 05:17:42 f23df028b6ca: Waiting 05:17:42 765212b225bb: Waiting 05:17:42 d65c8cfc05b1: Waiting 05:17:42 2437ff75d9bd: Waiting 05:17:43 04944245beec: Verifying Checksum 05:17:43 04944245beec: Download complete 05:17:43 765212b225bb: Verifying Checksum 05:17:43 765212b225bb: Download complete 05:17:43 f23df028b6ca: Verifying Checksum 05:17:43 f23df028b6ca: Download complete 05:17:43 d65c8cfc05b1: Verifying Checksum 05:17:43 d65c8cfc05b1: Download complete 05:17:43 699f458cf7ca: Download complete 05:17:43 8998bd30e6a1: Verifying Checksum 05:17:43 8998bd30e6a1: Download complete 05:17:46 2437ff75d9bd: Verifying Checksum 05:17:46 2437ff75d9bd: Download complete 05:17:47 8998bd30e6a1: Pull complete 05:17:48 04944245beec: Pull complete 05:17:49 699f458cf7ca: Pull complete 05:17:49 765212b225bb: Pull complete 05:17:50 f23df028b6ca: Pull complete 05:17:50 d65c8cfc05b1: Pull complete 05:18:05 2437ff75d9bd: Pull complete 05:18:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:18:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:06 prd-ubuntu20.04-docker-arm64-4c-16g-118394 does not seem to be running inside a container 05:18:06 $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:18:08 $ docker top 0449a52102590920b8c680f339e49a9e602b9c16a7657453ddcaae49cf23f03a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:09 ---> job-cost.sh 05:18:09 lf-activate-venv: SKIPPING 05:18:09 INFO: No Stack... 05:18:09 INFO: Retrieving Pricing Info for: v3-standard-4 05:18:10 INFO: Archiving Costs [Pipeline] sh 05:18:11 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:18:11 + cut -d, -f6 [Pipeline] lock 05:18:11 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] 05:18:11 Resource [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] did not exist. Created. 05:18:11 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:18:11 /w/workspace/device-snmp-go/1@tmp/durable-f5275454/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:18:12 + echo total: 0.10999999940395355 [Pipeline] stash 05:18:12 Warning: overwriting stash ‘stack-cost’ 05:18:12 Stashed 1 file(s) [Pipeline] } 05:18:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-203-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:18:12 $ docker stop --time=1 0449a52102590920b8c680f339e49a9e602b9c16a7657453ddcaae49cf23f03a 05:18:14 $ docker rm -f 0449a52102590920b8c680f339e49a9e602b9c16a7657453ddcaae49cf23f03a [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:18:15 provisioning config files... 05:18:15 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/config7994499456440764221tmp [Pipeline] { [Pipeline] sh 05:18:15 + set +x 05:18:15 + bash -s -- 05:18:15 + curl -s https://codecov.io/bash 05:18:15 05:18:15 _____ _ 05:18:15 / ____| | | 05:18:15 | | ___ __| | ___ ___ _____ __ 05:18:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:18:15 | |___| (_) | (_| | __/ (_| (_) \ V / 05:18:15 \_____\___/ \__,_|\___|\___\___/ \_/ 05:18:15 Bash-1.0.6 05:18:15 05:18:15 05:18:15 ==> git version 2.25.1 found 05:18:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:18:15 Release-Date: 2020-01-08 05:18:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:18:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:18:15 ==> Jenkins CI detected. 05:18:15 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-203 05:18:15 project root: . 05:18:15 --> token set from env 05:18:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:18:15 ==> Running gcov in . (disable via -X gcov) 05:18:15 ==> Python coveragepy not found 05:18:15 ==> Searching for coverage reports in: 05:18:15 + . 05:18:15 -> Found 1 reports 05:18:15 ==> Detecting git/mercurial file structure 05:18:15 ==> Reading reports 05:18:15 + ./coverage.out bytes=7631 05:18:15 ==> Appending adjustments 05:18:15 https://docs.codecov.io/docs/fixing-reports 05:18:15 + Found adjustments 05:18:15 ==> Gzipping contents 05:18:15 4.0K /tmp/codecov.7XP5MB.gz 05:18:15 ==> Uploading reports 05:18:15 url: https://codecov.io 05:18:15 query: branch=PR-203&commit=c45b2c14f631b001c11475974c4a9fc1fed78b60&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-203%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=203&job=&cmd_args= 05:18:15 -> Pinging Codecov 05:18:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-203&commit=c45b2c14f631b001c11475974c4a9fc1fed78b60&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-203%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=203&job=&cmd_args= 05:18:16 -> Uploading to 05:18:16 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/6C56EA5C29638FB4528AC87E60AF5AE0/c45b2c14f631b001c11475974c4a9fc1fed78b60/e36be526-10dc-420c-8aa1-2ad34ae9d99d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T051815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e67435eb2153ffc85871bf507fdc6a3e5bdf01b1354174fa6f6d4e42a91191ad 05:18:16 % Total % Received % Xferd Average Speed Time Time Time Current 05:18:16 Dload Upload Total Spent Left Speed 05:18:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6767 --:--:-- --:--:-- --:--:-- 6767 05:18:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c45b2c14f631b001c11475974c4a9fc1fed78b60 [Pipeline] } 05:18:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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:18:18 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-203/archives ] 05:18:18 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-203/archives 05:18:18 total 16 05:18:18 drwxr-xr-x 3 root root 4096 Nov 7 05:09 . 05:18:18 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:09 .. 05:18:18 drwxr-xr-x 2 root root 4096 Nov 7 05:09 cost 05:18:18 -rw-r--r-- 1 root root 86 Nov 7 05:09 cost.csv 05:18:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-203/archives 05:18:18 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-203/archives 05:18:18 total 16 05:18:18 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:09 . 05:18:18 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:09 .. 05:18:18 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 05:09 cost 05:18:18 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 05:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:18:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:18:19 ---> package-listing.sh 05:18:19 ++ facter osfamily 05:18:19 ++ tr '[:upper:]' '[:lower:]' 05:18:19 + OS_FAMILY=debian 05:18:19 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-203 05:18:19 + START_PACKAGES=/tmp/packages_start.txt 05:18:19 + END_PACKAGES=/tmp/packages_end.txt 05:18:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:18:19 + PACKAGES=/tmp/packages_start.txt 05:18:19 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-203 ']' 05:18:19 + PACKAGES=/tmp/packages_end.txt 05:18:19 + case "${OS_FAMILY}" in 05:18:19 + dpkg -l 05:18:19 + grep '^ii' 05:18:19 + '[' -f /tmp/packages_start.txt ']' 05:18:19 + '[' -f /tmp/packages_end.txt ']' 05:18:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:18:19 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-203 ']' 05:18:19 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-203/archives/ 05:18:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-203/archives/ [Pipeline] echo 05:18:19 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/gexfoundry_device-snmp-go_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:18:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:18:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:20 prd-ubuntu20.04-docker-8c-8g-118389 does not seem to be running inside a container 05:18:20 $ 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/gexfoundry_device-snmp-go_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-203 -v /w/workspace/gexfoundry_device-snmp-go_PR-203:/w/workspace/gexfoundry_device-snmp-go_PR-203:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-203@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-203@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:18:20 $ docker top d2023520f9b293c1e3a8c5d23285be384b0676a3a0f473734042b039d6879706 -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:21 + touch /tmp/pre-build-complete [Pipeline] sh 05:18:21 + mkdir -p /var/log/sysstat [Pipeline] sh 05:18:21 + ls /var/log/sa-host 05:18:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:18:22 provisioning config files... 05:18:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-203@tmp/config7976241646337546207tmp [Pipeline] { [Pipeline] echo 05:18:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:18:22 ---> create-netrc.sh [Pipeline] } 05:18:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:18:22 ---> python-tools-install.sh [Pipeline] echo 05:18:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:18:23 ---> sudo-logs.sh 05:18:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:18:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:18:23 ---> job-cost.sh 05:18:23 lf-activate-venv: SKIPPING 05:18:23 DEBUG: total: 0.2199999988079071 05:18:23 INFO: Retrieving Stack Cost... 05:18:24 INFO: Retrieving Pricing Info for: v3-standard-8 05:18:24 INFO: Archiving Costs [Pipeline] echo 05:18:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:18:24 ---> logs-deploy.sh 05:18:24 lf-activate-venv: SKIPPING 05:18:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-203/1 05:18:24 INFO: archiving workspace using pattern(s): 05:18:25 Archives upload complete. 05:18:25 INFO: archiving logs to Nexus 05:18:26 ---> uname -a: 05:18:26 Linux prd-ubuntu20-04-docker-8c-8g-118389 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:18:26 05:18:26 05:18:26 ---> lscpu: 05:18:26 Architecture: x86_64 05:18:26 CPU op-mode(s): 32-bit, 64-bit 05:18:26 Byte Order: Little Endian 05:18:26 Address sizes: 40 bits physical, 48 bits virtual 05:18:26 CPU(s): 8 05:18:26 On-line CPU(s) list: 0-7 05:18:26 Thread(s) per core: 1 05:18:26 Core(s) per socket: 1 05:18:26 Socket(s): 8 05:18:26 NUMA node(s): 1 05:18:26 Vendor ID: AuthenticAMD 05:18:26 CPU family: 23 05:18:26 Model: 49 05:18:26 Model name: AMD EPYC-Rome Processor 05:18:26 Stepping: 0 05:18:26 CPU MHz: 2799.998 05:18:26 BogoMIPS: 5599.99 05:18:26 Virtualization: AMD-V 05:18:26 Hypervisor vendor: KVM 05:18:26 Virtualization type: full 05:18:26 L1d cache: 256 KiB 05:18:26 L1i cache: 256 KiB 05:18:26 L2 cache: 4 MiB 05:18:26 L3 cache: 128 MiB 05:18:26 NUMA node0 CPU(s): 0-7 05:18:26 Vulnerability Itlb multihit: Not affected 05:18:26 Vulnerability L1tf: Not affected 05:18:26 Vulnerability Mds: Not affected 05:18:26 Vulnerability Meltdown: Not affected 05:18:26 Vulnerability Mmio stale data: Not affected 05:18:26 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:18:26 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:18:26 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:18:26 Vulnerability Srbds: Not affected 05:18:26 Vulnerability Tsx async abort: Not affected 05:18:26 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:18:26 05:18:26 05:18:26 ---> nproc: 05:18:26 8 05:18:26 05:18:26 05:18:26 ---> df -h: 05:18:26 Filesystem Size Used Avail Use% Mounted on 05:18:26 overlay 155G 12G 144G 8% / 05:18:26 tmpfs 64M 0 64M 0% /dev 05:18:26 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:18:26 shm 64M 0 64M 0% /dev/shm 05:18:26 /dev/vda1 155G 12G 144G 8% /facter-os 05:18:26 05:18:26 05:18:26 ---> sar -b -r -n DEV: 05:18:26 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118389) 11/07/22 _x86_64_ (8 CPU) 05:18:26 05:18:26 05:06:19 LINUX RESTART (8 CPU) 05:18:26 05:18:26 05:07:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:18:26 05:08:01 226.50 11.54 214.96 0.00 1820.94 171226.43 0.00 05:18:26 05:09:01 168.46 0.22 168.24 0.00 12.00 44654.96 0.00 05:18:26 05:10:01 3.67 0.02 3.65 0.00 0.13 58.39 0.00 05:18:26 05:11:01 1.57 0.00 1.57 0.00 0.00 17.34 0.00 05:18:26 05:12:01 38.61 9.33 29.28 0.00 2884.32 4800.00 0.00 05:18:26 05:13:01 2.42 0.00 2.42 0.00 0.00 27.60 0.00 05:18:26 05:14:01 1.03 0.00 1.03 0.00 0.00 12.00 0.00 05:18:26 05:15:01 1.75 0.00 1.75 0.00 0.00 19.46 0.00 05:18:26 05:16:01 1.42 0.00 1.42 0.00 0.00 15.20 0.00 05:18:26 05:17:01 2.25 0.02 2.23 0.00 0.13 35.19 0.00 05:18:26 05:18:01 1.20 0.00 1.20 0.00 0.00 13.73 0.00 05:18:26 Average: 40.53 1.91 38.62 0.00 426.76 19852.40 0.00 05:18:26 05:18:26 05:07:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:18:26 05:08:01 28417104 31457204 842848 2.56 137600 3115556 2266248 6.68 1238144 2789272 5248 05:18:26 05:09:01 27765412 31554108 743876 2.26 150712 3794676 1799684 5.30 1226940 3391948 312 05:18:26 05:10:01 27785968 31574396 725636 2.21 150808 3794544 1740968 5.13 1217504 3383224 12 05:18:26 05:11:01 27785648 31574168 725564 2.21 150844 3794544 1740968 5.13 1218120 3383224 16 05:18:26 05:12:01 27492516 31557744 728512 2.22 169264 4043300 1779596 5.24 1368880 3497848 228 05:18:26 05:13:01 27494700 31559920 726356 2.21 169336 4043304 1762760 5.20 1368704 3497808 176 05:18:26 05:14:01 27504732 31570020 716220 2.18 169372 4043308 1762760 5.20 1358212 3497816 172 05:18:26 05:15:01 27504976 31570312 715944 2.18 169436 4043308 1762760 5.20 1357704 3497824 8 05:18:26 05:16:01 27505180 31570576 715608 2.18 169512 4043304 1762760 5.20 1357760 3497832 8 05:18:26 05:17:01 27504524 31570112 716092 2.18 169616 4043312 1762760 5.20 1357916 3497884 16 05:18:26 05:18:01 27504300 31570076 715804 2.18 169656 4043436 1762760 5.20 1358156 3498012 12 05:18:26 Average: 27660460 31557149 733860 2.23 161469 3891145 1809457 5.33 1311640 3402972 564 05:18:26 05:18:26 05:07:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:18:26 05:08:01 docker0 130.43 190.80 11.40 1851.13 0.00 0.00 0.00 0.00 05:18:26 05:08:01 ens3 517.27 326.28 7709.56 55.43 0.00 0.00 0.00 0.00 05:18:26 05:08:01 lo 6.10 6.10 0.59 0.59 0.00 0.00 0.00 0.00 05:18:26 05:08:01 veth83ff7ca 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 05:18:26 05:09:01 docker0 4.08 9.18 0.26 98.57 0.00 0.00 0.00 0.00 05:18:26 05:09:01 ens3 154.47 110.38 2638.24 96.38 0.00 0.00 0.00 0.00 05:18:26 05:09:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 05:18:26 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:10:01 ens3 6.97 3.83 5.74 2.23 0.00 0.00 0.00 0.00 05:18:26 05:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:11:01 ens3 2.08 1.03 4.54 0.43 0.00 0.00 0.00 0.00 05:18:26 05:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:18:26 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:12:01 ens3 89.42 54.42 1314.39 4.01 0.00 0.00 0.00 0.00 05:18:26 05:12:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 05:18:26 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:13:01 ens3 0.20 0.15 0.01 0.01 0.00 0.00 0.00 0.00 05:18:26 05:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:18:26 05:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:14:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:15:01 ens3 0.27 0.12 0.02 0.01 0.00 0.00 0.00 0.00 05:18:26 05:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:18:26 05:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:16:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:17:01 ens3 0.33 0.20 0.09 0.07 0.00 0.00 0.00 0.00 05:18:26 05:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:18:26 05:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 05:18:01 ens3 0.18 0.00 0.01 0.00 0.00 0.00 0.00 0.00 05:18:26 05:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:18:26 Average: docker0 12.05 17.92 1.04 174.73 0.00 0.00 0.00 0.00 05:18:26 Average: ens3 69.44 44.71 1051.13 14.35 0.00 0.00 0.00 0.00 05:18:26 Average: lo 0.84 0.84 0.08 0.08 0.00 0.00 0.00 0.00 05:18:26 05:18:26