Pull request #200 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-snmp-go Loading trusted files from base branch main at dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b rather than 301726731a76eec323ffbb0feb935b854cec5725 Obtained Jenkinsfile from dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 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-ssh801986766646913418.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13759840886106825066.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-200/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-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14263465040266749105.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-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13684253669414855957.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh10084982784469468272.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-200/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-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9948305145130874108.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-117004’ Running on prd-ubuntu20.04-docker-8c-8g-117006 in /w/workspace/gexfoundry_device-snmp-go_PR-200 [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-200 # 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/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b into PR head commit 301726731a76eec323ffbb0feb935b854cec5725 Merge succeeded, producing 301726731a76eec323ffbb0feb935b854cec5725 Checking out Revision 301726731a76eec323ffbb0feb935b854cec5725 (PR-200) > git config core.sparsecheckout # timeout=10 > git checkout -f 301726731a76eec323ffbb0feb935b854cec5725 # 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 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 301726731a76eec323ffbb0feb935b854cec5725 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:26:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:26:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:26:12 ========================================================= 23:26:12 EdgeX Global Pipelines Version Info 23:26:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:26:13 ------------------- 23:26:13 stable info: 23:26:13 ------------------- 23:26:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:26:13 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 23:26:13 Message: update stable to v1.0.243 23:26:13 ------------------- 23:26:13 experimental info: 23:26:13 ------------------- 23:26:13 Commited By: **** collab-it+edgex@linuxfoundation.org 23:26:13 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 23:26:13 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 23:26:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo 23:26:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo 23:26:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo 23:26:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 301726731a76eec323ffbb0feb935b854cec5725 [Pipeline] echo 23:26:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3017267 [Pipeline] echo 23:26:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:26:15 provisioning config files... 23:26:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config8972414440275513890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:15 ---> docker-login.sh 23:26:15 nexus3.edgexfoundry.org:10001 23:26:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:16 Configure a credential helper to remove this warning. See 23:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:16 23:26:16 Login Succeeded 23:26:16 nexus3.edgexfoundry.org:10002 23:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:16 Configure a credential helper to remove this warning. See 23:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:16 23:26:16 Login Succeeded 23:26:16 nexus3.edgexfoundry.org:10003 23:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:16 Configure a credential helper to remove this warning. See 23:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:16 23:26:16 Login Succeeded 23:26:16 nexus3.edgexfoundry.org:10004 23:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:16 Configure a credential helper to remove this warning. See 23:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:16 23:26:16 Login Succeeded 23:26:16 docker.io 23:26:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:16 Configure a credential helper to remove this warning. See 23:26:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:16 23:26:16 Login Succeeded 23:26:16 ---> docker-login.sh ends [Pipeline] } 23:26:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:26:17 + git rev-list -1 --merges 301726731a76eec323ffbb0feb935b854cec5725~1..301726731a76eec323ffbb0feb935b854cec5725 [Pipeline] echo 23:26:17 -----------> git rev-list -1 --merges 301726731a76eec323ffbb0feb935b854cec5725~1..301726731a76eec323ffbb0feb935b854cec5725 301726731a76eec323ffbb0feb935b854cec5725 [false] [Pipeline] sh 23:26:17 + git log --format=format:%s -1 301726731a76eec323ffbb0feb935b854cec5725 [Pipeline] echo 23:26:18 ========================================================= 23:26:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:26:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:18 + git log --format=format:%s -1 301726731a76eec323ffbb0feb935b854cec5725 [Pipeline] echo 23:26:18 [semverPrep] GIT_COMMIT: 301726731a76eec323ffbb0feb935b854cec5725, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 23:26:18 [semverPrep] This is not a build commit. [Pipeline] sh 23:26:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:26:18 + grep -v github /etc/ssh/ssh_known_hosts 23:26:18 + [ -e /tmp/ssh_known_hosts ] 23:26:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:26:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:26:18 + sudo tee -a /etc/ssh/ssh_known_hosts 23:26:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:19 23:26:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:19 0.1.4: Pulling from edgex-devops/py-git-semver 23:26:19 b85a868b505f: Pulling fs layer 23:26:19 e2be974225ed: Pulling fs layer 23:26:19 339a4e72a1f5: Pulling fs layer 23:26:19 988bab9f4d93: Pulling fs layer 23:26:19 1469e6f7b9e6: Pulling fs layer 23:26:19 eaf3925da568: Pulling fs layer 23:26:19 bab4dde63d76: Pulling fs layer 23:26:19 bde34c3a00c8: Pulling fs layer 23:26:19 b352a97aabf1: Pulling fs layer 23:26:19 4872d77fe225: Pulling fs layer 23:26:19 5851b861e8e6: Pulling fs layer 23:26:19 1469e6f7b9e6: Waiting 23:26:19 eaf3925da568: Waiting 23:26:19 bab4dde63d76: Waiting 23:26:19 bde34c3a00c8: Waiting 23:26:19 b352a97aabf1: Waiting 23:26:19 4872d77fe225: Waiting 23:26:19 5851b861e8e6: Waiting 23:26:19 988bab9f4d93: Waiting 23:26:19 e2be974225ed: Verifying Checksum 23:26:19 e2be974225ed: Download complete 23:26:19 988bab9f4d93: Download complete 23:26:19 1469e6f7b9e6: Verifying Checksum 23:26:19 1469e6f7b9e6: Download complete 23:26:20 eaf3925da568: Download complete 23:26:20 339a4e72a1f5: Verifying Checksum 23:26:20 339a4e72a1f5: Download complete 23:26:20 bde34c3a00c8: Download complete 23:26:20 b352a97aabf1: Verifying Checksum 23:26:20 b352a97aabf1: Download complete 23:26:20 4872d77fe225: Download complete 23:26:20 5851b861e8e6: Verifying Checksum 23:26:20 5851b861e8e6: Download complete 23:26:20 b85a868b505f: Verifying Checksum 23:26:20 b85a868b505f: Download complete 23:26:20 bab4dde63d76: Verifying Checksum 23:26:20 bab4dde63d76: Download complete 23:26:21 b85a868b505f: Pull complete 23:26:21 e2be974225ed: Pull complete 23:26:21 339a4e72a1f5: Pull complete 23:26:22 988bab9f4d93: Pull complete 23:26:22 1469e6f7b9e6: Pull complete 23:26:22 eaf3925da568: Pull complete 23:26:24 bab4dde63d76: Pull complete 23:26:24 bde34c3a00c8: Pull complete 23:26:24 b352a97aabf1: Pull complete 23:26:24 4872d77fe225: Pull complete 23:26:24 5851b861e8e6: Pull complete 23:26:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:26:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:24 prd-ubuntu20.04-docker-8c-8g-117006 does not seem to be running inside a container 23:26:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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-devops/py-git-semver:0.1.4 cat 23:26:26 $ docker top 37c7f8606a3b786898caf15aeccb97975589421857cb15e6eab53198dbf5499f -eo pid,comm 23:26:26 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). 23:26:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:26:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:26 [ssh-agent] Looking for ssh-agent implementation... 23:26:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:26 $ docker exec 37c7f8606a3b786898caf15aeccb97975589421857cb15e6eab53198dbf5499f ssh-agent 23:26:26 SSH_AUTH_SOCK=/tmp/ssh-jvAR2Ks4ZhaR/agent.33 23:26:26 SSH_AGENT_PID=39 23:26:26 Running ssh-add (command line suppressed) 23:26:26 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_16460459696306999188.key (/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_16460459696306999188.key) 23:26:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:27 + git tag --points-at HEAD [Pipeline] } 23:26:27 $ docker exec --env ******** --env ******** 37c7f8606a3b786898caf15aeccb97975589421857cb15e6eab53198dbf5499f ssh-agent -k 23:26:27 unset SSH_AUTH_SOCK; 23:26:27 unset SSH_AGENT_PID; 23:26:27 echo Agent pid 39 killed; 23:26:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:26:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:27 [ssh-agent] Looking for ssh-agent implementation... 23:26:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:27 $ docker exec 37c7f8606a3b786898caf15aeccb97975589421857cb15e6eab53198dbf5499f ssh-agent 23:26:27 SSH_AUTH_SOCK=/tmp/ssh-YJdZNU1iMi6K/agent.71 23:26:27 SSH_AGENT_PID=77 23:26:27 Running ssh-add (command line suppressed) 23:26:27 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_10458517495872807567.key (/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_10458517495872807567.key) 23:26:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:28 + git semver init 23:26:28 2022-10-25 23:26:28,251 [run_init] DEBUG init version:0.0.0 force:False 23:26:28 2022-10-25 23:26:28,251 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver 23:26:28 2022-10-25 23:26:28,252 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-200/.semver 23:26:28 2022-10-25 23:26:28,252 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200, universal_newlines=False, shell=None, istream=None) 23:26:29 2022-10-25 23:26:29,180 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-200/.git/info/exclude 23:26:29 2022-10-25 23:26:29,181 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 with force:False 23:26:29 2022-10-25 23:26:29,181 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 23:26:29 2022-10-25 23:26:29,185 [execute] INFO git cat-file --batch-check 23:26:29 2022-10-25 23:26:29,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) 23:26:29 2022-10-25 23:26:29,193 [execute] INFO git cat-file --batch 23:26:29 2022-10-25 23:26:29,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) 23:26:29 2022-10-25 23:26:29,198 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 23:26:29 0.0.0 [Pipeline] } 23:26:29 $ docker exec --env ******** --env ******** 37c7f8606a3b786898caf15aeccb97975589421857cb15e6eab53198dbf5499f ssh-agent -k 23:26:29 unset SSH_AUTH_SOCK; 23:26:29 unset SSH_AGENT_PID; 23:26:29 echo Agent pid 77 killed; 23:26:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:26:29 + git semver [Pipeline] } 23:26:30 $ docker stop --time=1 37c7f8606a3b786898caf15aeccb97975589421857cb15e6eab53198dbf5499f 23:26:31 $ docker rm -f 37c7f8606a3b786898caf15aeccb97975589421857cb15e6eab53198dbf5499f [Pipeline] // withDockerContainer [Pipeline] sh 23:26:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:26:32 Stashed 1 file(s) [Pipeline] echo 23:26:32 [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 23:26:32 provisioning config files... 23:26:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config3399490641364457422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:33 ---> docker-login.sh 23:26:33 nexus3.edgexfoundry.org:10001 23:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:33 Configure a credential helper to remove this warning. See 23:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:33 23:26:33 Login Succeeded 23:26:33 nexus3.edgexfoundry.org:10002 23:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:33 Configure a credential helper to remove this warning. See 23:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:33 23:26:33 Login Succeeded 23:26:33 nexus3.edgexfoundry.org:10003 23:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:33 Configure a credential helper to remove this warning. See 23:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:33 23:26:33 Login Succeeded 23:26:33 nexus3.edgexfoundry.org:10004 23:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:33 Configure a credential helper to remove this warning. See 23:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:33 23:26:33 Login Succeeded 23:26:33 docker.io 23:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:33 Configure a credential helper to remove this warning. See 23:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:33 23:26:33 Login Succeeded 23:26:33 ---> docker-login.sh ends [Pipeline] } 23:26:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:26:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:26:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:26:34 ========================================================= 23:26:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:26:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:34 + 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 . 23:26:34 Sending build context to Docker daemon 5.565MB 23:26:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:26:34 Step 2/12 : FROM ${BASE} AS builder 23:26:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:26:34 213ec9aee27d: Pulling fs layer 23:26:34 4583459ba037: Pulling fs layer 23:26:34 93c1e223e6f2: Pulling fs layer 23:26:34 53926ce57604: Pulling fs layer 23:26:34 21b2b0c7a3f4: Pulling fs layer 23:26:34 30f14e443154: Pulling fs layer 23:26:34 801331c1e519: Pulling fs layer 23:26:34 99cc6dd402b0: Pulling fs layer 23:26:34 7d9ed39f4882: Pulling fs layer 23:26:34 53926ce57604: Waiting 23:26:34 21b2b0c7a3f4: Waiting 23:26:34 30f14e443154: Waiting 23:26:34 801331c1e519: Waiting 23:26:34 99cc6dd402b0: Waiting 23:26:34 7d9ed39f4882: Waiting 23:26:34 93c1e223e6f2: Download complete 23:26:34 4583459ba037: Verifying Checksum 23:26:34 4583459ba037: Download complete 23:26:34 21b2b0c7a3f4: Download complete 23:26:34 30f14e443154: Download complete 23:26:34 213ec9aee27d: Verifying Checksum 23:26:34 213ec9aee27d: Download complete 23:26:34 801331c1e519: Download complete 23:26:34 213ec9aee27d: Pull complete 23:26:35 4583459ba037: Pull complete 23:26:35 93c1e223e6f2: Pull complete 23:26:35 7d9ed39f4882: Verifying Checksum 23:26:35 7d9ed39f4882: Download complete 23:26:35 99cc6dd402b0: Verifying Checksum 23:26:35 99cc6dd402b0: Download complete 23:26:35 53926ce57604: Verifying Checksum 23:26:35 53926ce57604: Download complete 23:26:39 53926ce57604: Pull complete 23:26:39 21b2b0c7a3f4: Pull complete 23:26:39 30f14e443154: Pull complete 23:26:39 801331c1e519: Pull complete 23:26:41 99cc6dd402b0: Pull complete 23:26:42 7d9ed39f4882: Pull complete 23:26:42 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 23:26:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:26:42 ---> 1dedd983c030 23:26:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:26:44 ---> Running in 2fd55323b30f 23:26:44 Removing intermediate container 2fd55323b30f 23:26:44 ---> 665d06a8c58b 23:26:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:26:44 ---> Running in 46db1f5ee7b9 23:26:44 Removing intermediate container 46db1f5ee7b9 23:26:44 ---> 092c2525dfbb 23:26:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:26:44 ---> Running in d80f2473dbe5 23:26:44 Removing intermediate container d80f2473dbe5 23:26:44 ---> 4d4c225be2f8 23:26:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:26:44 ---> Running in 0d0af66ea684 23:26:44 Removing intermediate container 0d0af66ea684 23:26:44 ---> 1c41d7b38b9b 23:26:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:26:44 ---> Running in c7262eca87ef 23:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:26:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:26:45 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:26:45 (2/4) Installing libedit (20210910.3.1-r0) 23:26:45 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:26:45 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:26:45 Executing busybox-1.35.0-r17.trigger 23:26:45 OK: 216 MiB in 55 packages 23:26:45 Removing intermediate container c7262eca87ef 23:26:45 ---> ab76b6697ae3 23:26:45 Step 8/12 : WORKDIR /device-snmp-go 23:26:45 ---> Running in 72cb3465422f 23:26:46 Removing intermediate container 72cb3465422f 23:26:46 ---> 337026fd2afb 23:26:46 Step 9/12 : COPY go.mod vendor* ./ 23:26:46 ---> 8de2d72e237c 23:26:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:26:46 ---> Running in 0993dc8afa03 23:26:47 Still waiting to schedule task 23:26:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117005’ 23:27:04 Removing intermediate container 0993dc8afa03 23:27:04 ---> bdcea57280df 23:27:04 Step 11/12 : COPY . . 23:27:04 ---> 2f9185b9ca7f 23:27:04 Step 12/12 : RUN ${MAKE} 23:27:04 ---> Running in f32fab005fed 23:27:05 noop 23:27:05 Removing intermediate container f32fab005fed 23:27:05 ---> 172a74091d82 23:27:05 Successfully built 172a74091d82 23:27:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:05 + docker inspect -f . ci-base-image-x86_64 23:27:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:05 prd-ubuntu20.04-docker-8c-8g-117006 does not seem to be running inside a container 23:27:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:27:06 $ docker top 3102277a20de027b0a690eba8fe4ba7e2d28b8366a8e74f02d5e18827bb639d6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:06 + go version 23:27:06 go version go1.18.7 linux/amd64 [Pipeline] } 23:27:06 $ docker stop --time=1 3102277a20de027b0a690eba8fe4ba7e2d28b8366a8e74f02d5e18827bb639d6 23:27:07 $ docker rm -f 3102277a20de027b0a690eba8fe4ba7e2d28b8366a8e74f02d5e18827bb639d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:08 + docker inspect -f . ci-base-image-x86_64 23:27:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:08 prd-ubuntu20.04-docker-8c-8g-117006 does not seem to be running inside a container 23:27:08 $ 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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:27:09 $ docker top 739ece732dcbc1a1802e4d758cbecc28cd52656e9f01431d952757f804fe0092 -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-200 [Pipeline] fileExists [Pipeline] sh 23:27:09 + make test 23:27:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:27:10 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:27:20 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:27:20 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 23:27:24 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." 23:27:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:27:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:27:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:27:27 ./bin/test-attribution-txt.sh [Pipeline] echo 23:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:27:27 $ docker stop --time=1 739ece732dcbc1a1802e4d758cbecc28cd52656e9f01431d952757f804fe0092 23:27:29 $ docker rm -f 739ece732dcbc1a1802e4d758cbecc28cd52656e9f01431d952757f804fe0092 [Pipeline] // withDockerContainer [Pipeline] sh 23:27:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:27:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:27:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:27:31 + ls -al . 23:27:31 total 180 23:27:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 23:27 . 23:27:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:26 .. 23:27:31 -rw-rw-r-- 1 jenkins jenkins 6 Oct 25 23:26 .dockerignore 23:27:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:27 .git 23:27:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:26 .github 23:27:31 -rw-rw-r-- 1 jenkins jenkins 328 Oct 25 23:26 .gitignore 23:27:31 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:26 .golangci.yml 23:27:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 23:26 .semver 23:27:31 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 25 23:26 Attribution.txt 23:27:31 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 25 23:26 CHANGELOG.md 23:27:31 -rw-rw-r-- 1 jenkins jenkins 1486 Oct 25 23:26 Dockerfile 23:27:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:26 GOVERNANCE.md 23:27:31 -rw-rw-r-- 1 jenkins jenkins 656 Oct 25 23:26 Jenkinsfile 23:27:31 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 23:26 LICENSE 23:27:31 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 25 23:26 Makefile 23:27:31 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 23:26 OWNERS.md 23:27:31 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 25 23:26 README.md 23:27:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 23:26 VERSION 23:27:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:26 bin 23:27:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:26 cmd 23:27:31 -rw-r--r-- 1 jenkins jenkins 7631 Oct 25 23:27 coverage.out 23:27:31 -rw-rw-r-- 1 jenkins jenkins 3462 Oct 25 23:26 go.mod 23:27:31 -rw-rw-r-- 1 jenkins jenkins 45069 Oct 25 23:26 go.sum 23:27:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:26 internal 23:27:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:26 snap 23:27:31 -rw-rw-r-- 1 jenkins jenkins 228 Oct 25 23:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:31 + 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=301726731a76eec323ffbb0feb935b854cec5725 --label arch=amd64 --label version=0.0.0 . 23:27:31 Sending build context to Docker daemon 5.574MB 23:27:31 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:27:31 Step 2/24 : FROM ${BASE} AS builder 23:27:31 ---> 172a74091d82 23:27:31 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:27:31 ---> Running in 91870f88c727 23:27:31 Removing intermediate container 91870f88c727 23:27:31 ---> 7832647c4088 23:27:31 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:27:31 ---> Running in 36f7566f890e 23:27:31 Removing intermediate container 36f7566f890e 23:27:31 ---> 940c9ed875d0 23:27:31 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:27:31 ---> Running in 514d86ed5968 23:27:31 Removing intermediate container 514d86ed5968 23:27:31 ---> 1ba57463c94b 23:27:31 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:27:31 ---> Running in 18973d479ff9 23:27:32 Removing intermediate container 18973d479ff9 23:27:32 ---> 4ac6c21ca176 23:27:32 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:27:32 ---> Running in 4e87fdb8b65c 23:27:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:27:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:27:32 OK: 216 MiB in 55 packages 23:27:32 Removing intermediate container 4e87fdb8b65c 23:27:32 ---> 22e6bf19f0cf 23:27:32 Step 8/24 : WORKDIR /device-snmp-go 23:27:32 ---> Running in a4b2d28fa792 23:27:33 Removing intermediate container a4b2d28fa792 23:27:33 ---> 507eb53ad3d1 23:27:33 Step 9/24 : COPY go.mod vendor* ./ 23:27:33 ---> a5a67813894d 23:27:33 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:27:33 ---> Running in b64394e5a72c 23:27:34 Removing intermediate container b64394e5a72c 23:27:34 ---> 0c9be4336901 23:27:34 Step 11/24 : COPY . . 23:27:34 ---> 403534ebb682 23:27:34 Step 12/24 : RUN ${MAKE} 23:27:34 ---> Running in 4e448d463ef9 23:27:34 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.46 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 23:27:56 Removing intermediate container 4e448d463ef9 23:27:56 ---> 6e292434916a 23:27:56 Step 13/24 : FROM alpine:3.16 23:27:56 3.16: Pulling from library/alpine 23:27:56 213ec9aee27d: Already exists 23:27:56 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:27:56 Status: Downloaded newer image for alpine:3.16 23:27:56 ---> 9c6f07244728 23:27:56 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 23:27:56 ---> Running in 68f8b4251bd4 23:27:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:27:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:27:56 (1/6) Installing dumb-init (1.2.5-r1) 23:27:56 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:27:56 (3/6) Installing libsodium (1.0.18-r0) 23:27:56 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:27:56 (5/6) Installing libzmq (4.3.4-r0) 23:27:56 (6/6) Installing zeromq (4.3.4-r0) 23:27:56 Executing busybox-1.35.0-r17.trigger 23:27:56 OK: 8 MiB in 20 packages 23:27:56 Removing intermediate container 68f8b4251bd4 23:27:56 ---> 325fee3a1b60 23:27:56 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 23:27:56 ---> 82c5e662746f 23:27:56 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:27:56 ---> 4ea90f08f6fa 23:27:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 23:27:56 ---> 69e51a786ef6 23:27:56 Step 18/24 : EXPOSE 59993 23:27:56 ---> Running in 865fa697e195 23:27:56 Removing intermediate container 865fa697e195 23:27:56 ---> 969ac739e9e4 23:27:56 Step 19/24 : EXPOSE 161 23:27:56 ---> Running in 86d9f31cef37 23:27:56 Removing intermediate container 86d9f31cef37 23:27:56 ---> d53e59d915e2 23:27:56 Step 20/24 : ENTRYPOINT ["/device-snmp"] 23:27:56 ---> Running in 4cd5de3b5d72 23:27:56 Removing intermediate container 4cd5de3b5d72 23:27:56 ---> 723562bbf0d2 23:27:56 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:27:57 ---> Running in 06a1ff72dc25 23:27:57 Removing intermediate container 06a1ff72dc25 23:27:57 ---> abece4e266bd 23:27:57 Step 22/24 : LABEL arch=amd64 23:27:57 ---> Running in 4bc57e9212bf 23:27:57 Removing intermediate container 4bc57e9212bf 23:27:57 ---> 900063ecbe25 23:27:57 Step 23/24 : LABEL git_sha=301726731a76eec323ffbb0feb935b854cec5725 23:27:57 ---> Running in b940ea742218 23:27:57 Removing intermediate container b940ea742218 23:27:57 ---> 3bcc516c89eb 23:27:57 Step 24/24 : LABEL version=0.0.0 23:27:57 ---> Running in 09d434c7be3c 23:27:57 Removing intermediate container 09d434c7be3c 23:27:57 ---> 4ea21332cae5 23:27:57 [Warning] One or more build-args [ARCH] were not consumed 23:27:57 Successfully built 4ea21332cae5 23:27:57 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 23:27:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:58 23:27:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:58 latest: Pulling from edgex-lftools-log-publisher 23:27:58 5eb5b503b376: Pulling fs layer 23:27:58 5c69ac0246d0: Pulling fs layer 23:27:58 ec43610c2a17: Pulling fs layer 23:27:58 3a2ae6a8a46f: Pulling fs layer 23:27:58 33b1e0a273af: Pulling fs layer 23:27:58 5d3b04190fa2: Pulling fs layer 23:27:58 2f39f015ded8: Pulling fs layer 23:27:58 3a2ae6a8a46f: Waiting 23:27:58 33b1e0a273af: Waiting 23:27:58 5d3b04190fa2: Waiting 23:27:58 2f39f015ded8: Waiting 23:27:58 5c69ac0246d0: Download complete 23:27:58 3a2ae6a8a46f: Download complete 23:27:58 33b1e0a273af: Verifying Checksum 23:27:58 33b1e0a273af: Download complete 23:27:58 5d3b04190fa2: Verifying Checksum 23:27:58 5d3b04190fa2: Download complete 23:27:58 ec43610c2a17: Download complete 23:27:58 5eb5b503b376: Verifying Checksum 23:27:58 5eb5b503b376: Download complete 23:27:59 2f39f015ded8: Download complete 23:28:00 5eb5b503b376: Pull complete 23:28:00 5c69ac0246d0: Pull complete 23:28:00 ec43610c2a17: Pull complete 23:28:00 3a2ae6a8a46f: Pull complete 23:28:00 33b1e0a273af: Pull complete 23:28:00 5d3b04190fa2: Pull complete 23:28:05 2f39f015ded8: Pull complete 23:28:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:28:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:05 prd-ubuntu20.04-docker-8c-8g-117006 does not seem to be running inside a container 23:28:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:28:06 $ docker top 6de119e92096d79dd27469f020e4aed18679e8d77cef0ad0c0846b723479d0d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:07 ---> job-cost.sh 23:28:07 lf-activate-venv: SKIPPING 23:28:07 INFO: No Stack... 23:28:07 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:08 INFO: Archiving Costs [Pipeline] sh 23:28:08 + cat /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/cost.csv 23:28:08 + cut -d, -f6 [Pipeline] lock 23:28:08 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-200-1-stack-cost] 23:28:08 Resource [jenkins-edgexfoundry-device-snmp-go-PR-200-1-stack-cost] did not exist. Created. 23:28:08 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:08 + echo total: 0.2199999988079071 [Pipeline] stash 23:28:08 Stashed 1 file(s) [Pipeline] } 23:28:08 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:09 $ docker stop --time=1 6de119e92096d79dd27469f020e4aed18679e8d77cef0ad0c0846b723479d0d6 23:28:10 $ docker rm -f 6de119e92096d79dd27469f020e4aed18679e8d77cef0ad0c0846b723479d0d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:29:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117007 in /w/workspace/gexfoundry_device-snmp-go_PR-200 [Pipeline] { [Pipeline] ws 23:29:35 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 23:29:35 Selected Git installation does not exist. Using Default 23:29:35 The recommended git tool is: NONE 23:29:40 using credential edgex-jenkins-ssh 23:29:40 Cloning the remote Git repository 23:29:40 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 23:29:40 > git init /w/workspace/device-snmp-go/1 # timeout=10 23:29:40 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:29:40 > git --version # timeout=10 23:29:40 > git --version # 'git version 2.25.1' 23:29:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:40 Verifying host key using known hosts file 23:29:41 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. 23:29:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:42 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:29:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:43 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:29:43 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:29:43 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:43 Verifying host key using known hosts file 23:29:43 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. 23:29:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:29:43 Merging remotes/origin/main commit dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b into PR head commit 301726731a76eec323ffbb0feb935b854cec5725 23:29:44 Merge succeeded, producing 301726731a76eec323ffbb0feb935b854cec5725 23:29:44 Checking out Revision 301726731a76eec323ffbb0feb935b854cec5725 (PR-200) 23:29:43 > git config core.sparsecheckout # timeout=10 23:29:43 > git checkout -f 301726731a76eec323ffbb0feb935b854cec5725 # timeout=10 23:29:43 > git remote # timeout=10 23:29:43 > git config --get remote.origin.url # timeout=10 23:29:43 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:43 Verifying host key using known hosts file 23:29:43 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. 23:29:43 > git merge dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 23:29:44 > git rev-parse HEAD^{commit} # timeout=10 23:29:44 > git config core.sparsecheckout # timeout=10 23:29:44 > git checkout -f 301726731a76eec323ffbb0feb935b854cec5725 # timeout=10 23:29:47 Commit message: "build: Latest go-mods, config and Dockerfile fix" 23:29:47 > git --version # timeout=10 23:29:47 > git --version # 'git version 2.25.1' 23:29:47 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:29:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:29:48 % Total % Received % Xferd Average Speed Time Time Time Current 23:29:48 Dload Upload Total Spent Left Speed 23:29:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh 23:29:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:29:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:29:49 + sudo tee /etc/docker/daemon.new 23:29:49 { 23:29:49 "registry-mirrors": [ 23:29:49 "https://nexus3.edgexfoundry.org:10001" 23:29:49 ], 23:29:49 "bip": "10.250.0.254/24", 23:29:49 "hosts": [ 23:29:49 "tcp://0.0.0.0:5555", 23:29:49 "unix:///var/run/docker.sock" 23:29:49 ], 23:29:49 "mtu": 1458, 23:29:49 "selinux-enabled": true, 23:29:49 "seccomp-profile": "/etc/docker/seccomp.json" 23:29:49 } [Pipeline] sh 23:29:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:29:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:30:08 provisioning config files... 23:30:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8608635756938328761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:09 ---> docker-login.sh 23:30:09 nexus3.edgexfoundry.org:10001 23:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:09 Configure a credential helper to remove this warning. See 23:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:09 23:30:09 Login Succeeded 23:30:09 nexus3.edgexfoundry.org:10002 23:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:09 Configure a credential helper to remove this warning. See 23:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:09 23:30:09 Login Succeeded 23:30:09 nexus3.edgexfoundry.org:10003 23:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:10 Configure a credential helper to remove this warning. See 23:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:10 23:30:10 Login Succeeded 23:30:10 nexus3.edgexfoundry.org:10004 23:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:10 Configure a credential helper to remove this warning. See 23:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:10 23:30:10 Login Succeeded 23:30:10 docker.io 23:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:11 Configure a credential helper to remove this warning. See 23:30:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:11 23:30:11 Login Succeeded 23:30:11 ---> docker-login.sh ends [Pipeline] } 23:30:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:30:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:11 ========================================================= 23:30:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:30:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:12 + 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 . 23:30:12 Sending build context to Docker daemon 2.889MB 23:30:12 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:30:12 Step 2/12 : FROM ${BASE} AS builder 23:30:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:30:12 9b18e9b68314: Pulling fs layer 23:30:12 d32db5db7311: Pulling fs layer 23:30:12 d0c4b47475fc: Pulling fs layer 23:30:12 5831b945b038: Pulling fs layer 23:30:12 86bbec2aaacd: Pulling fs layer 23:30:12 e10730c5d714: Pulling fs layer 23:30:12 5dd5c2283517: Pulling fs layer 23:30:12 d5ac0230b979: Pulling fs layer 23:30:12 5831b945b038: Waiting 23:30:12 86bbec2aaacd: Waiting 23:30:12 e10730c5d714: Waiting 23:30:12 5dd5c2283517: Waiting 23:30:12 d5ac0230b979: Waiting 23:30:12 d0c4b47475fc: Verifying Checksum 23:30:12 d0c4b47475fc: Download complete 23:30:12 d32db5db7311: Verifying Checksum 23:30:12 d32db5db7311: Download complete 23:30:12 86bbec2aaacd: Verifying Checksum 23:30:12 86bbec2aaacd: Download complete 23:30:12 e10730c5d714: Verifying Checksum 23:30:12 e10730c5d714: Download complete 23:30:12 9b18e9b68314: Verifying Checksum 23:30:12 9b18e9b68314: Download complete 23:30:13 9b18e9b68314: Pull complete 23:30:13 d5ac0230b979: Verifying Checksum 23:30:13 d5ac0230b979: Download complete 23:30:15 5dd5c2283517: Verifying Checksum 23:30:15 5dd5c2283517: Download complete 23:30:15 d32db5db7311: Pull complete 23:30:15 d0c4b47475fc: Pull complete 23:30:15 5831b945b038: Verifying Checksum 23:30:15 5831b945b038: Download complete 23:30:27 5831b945b038: Pull complete 23:30:27 86bbec2aaacd: Pull complete 23:30:27 e10730c5d714: Pull complete 23:30:34 5dd5c2283517: Pull complete 23:30:35 d5ac0230b979: Pull complete 23:30:35 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 23:30:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:30:35 ---> 59b3b1a385d4 23:30:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:30:37 ---> Running in af1ac46fa491 23:30:37 Removing intermediate container af1ac46fa491 23:30:37 ---> 1ccee42dfcc7 23:30:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:30:37 ---> Running in 7a58a759912f 23:30:37 Removing intermediate container 7a58a759912f 23:30:37 ---> 952e627cf268 23:30:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:30:37 ---> Running in cdb325016984 23:30:38 Removing intermediate container cdb325016984 23:30:38 ---> 70f928978da9 23:30:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:30:38 ---> Running in 5ec64c32dc83 23:30:38 Removing intermediate container 5ec64c32dc83 23:30:38 ---> 58f04d6f5ef0 23:30:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:38 ---> Running in d68b3ab78a76 23:30:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:30:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:30:40 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:30:40 (2/4) Installing libedit (20210910.3.1-r0) 23:30:40 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:30:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:30:41 Executing busybox-1.35.0-r17.trigger 23:30:41 OK: 226 MiB in 55 packages 23:30:42 Removing intermediate container d68b3ab78a76 23:30:42 ---> 112dc41e61e7 23:30:42 Step 8/12 : WORKDIR /device-snmp-go 23:30:42 ---> Running in f87f3091b01a 23:30:42 Removing intermediate container f87f3091b01a 23:30:42 ---> 3d055e9eb301 23:30:42 Step 9/12 : COPY go.mod vendor* ./ 23:30:43 ---> d577b09628ba 23:30:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:30:43 ---> Running in dbcb9b3e5e46 23:31:39 Removing intermediate container dbcb9b3e5e46 23:31:39 ---> f1b4060f618a 23:31:39 Step 11/12 : COPY . . 23:31:39 ---> 85fbbdf0faa2 23:31:39 Step 12/12 : RUN ${MAKE} 23:31:39 ---> Running in b858bc98cbcd 23:31:39 noop 23:31:39 Removing intermediate container b858bc98cbcd 23:31:39 ---> d5dc53a3348b 23:31:39 Successfully built d5dc53a3348b 23:31:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:40 + docker inspect -f . ci-base-image-arm64 23:31:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:40 prd-ubuntu20.04-docker-arm64-4c-16g-117007 does not seem to be running inside a container 23:31:40 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:31:41 $ docker top 99b7c1fcee66fa656d0be3c9b4424fdda4fcdfb38f5f547dbaf4d6573c7496c7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:42 + go version 23:31:42 go version go1.18.7 linux/arm64 [Pipeline] } 23:31:42 $ docker stop --time=1 99b7c1fcee66fa656d0be3c9b4424fdda4fcdfb38f5f547dbaf4d6573c7496c7 23:31:44 $ docker rm -f 99b7c1fcee66fa656d0be3c9b4424fdda4fcdfb38f5f547dbaf4d6573c7496c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:45 + docker inspect -f . ci-base-image-arm64 23:31:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:45 prd-ubuntu20.04-docker-arm64-4c-16g-117007 does not seem to be running inside a container 23:31:45 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:31:46 $ docker top d8c6339a8d2f05a34510607ca4e2a26b1c7e7ebf6e503b52fce28e887630a65a -eo pid,comm [Pipeline] { [Pipeline] sh 23:31:47 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 23:31:48 + make test 23:31:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:31:49 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:33:11 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:33:11 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.054s coverage: 0.0% of statements 23:33:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:33:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:33:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:33:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:33:29 ./bin/test-attribution-txt.sh [Pipeline] echo 23:33:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:33:29 $ docker stop --time=1 d8c6339a8d2f05a34510607ca4e2a26b1c7e7ebf6e503b52fce28e887630a65a 23:33:31 $ docker rm -f d8c6339a8d2f05a34510607ca4e2a26b1c7e7ebf6e503b52fce28e887630a65a [Pipeline] // withDockerContainer [Pipeline] sh 23:33:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:33:32 Warning: overwriting stash ‘coverage-report’ 23:33:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:33:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:33:33 + ls -al . 23:33:33 total 176 23:33:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:31 . 23:33:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:29 .. 23:33:33 -rw-rw-r-- 1 jenkins jenkins 6 Oct 25 23:29 .dockerignore 23:33:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:29 .git 23:33:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:29 .github 23:33:33 -rw-rw-r-- 1 jenkins jenkins 328 Oct 25 23:29 .gitignore 23:33:33 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:29 .golangci.yml 23:33:33 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 25 23:29 Attribution.txt 23:33:33 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 25 23:29 CHANGELOG.md 23:33:33 -rw-rw-r-- 1 jenkins jenkins 1486 Oct 25 23:29 Dockerfile 23:33:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:29 GOVERNANCE.md 23:33:33 -rw-rw-r-- 1 jenkins jenkins 656 Oct 25 23:29 Jenkinsfile 23:33:33 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 23:29 LICENSE 23:33:33 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 25 23:29 Makefile 23:33:33 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 23:29 OWNERS.md 23:33:33 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 25 23:29 README.md 23:33:33 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 23:26 VERSION 23:33:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:29 bin 23:33:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:29 cmd 23:33:33 -rw-r--r-- 1 jenkins jenkins 7631 Oct 25 23:33 coverage.out 23:33:33 -rw-rw-r-- 1 jenkins jenkins 3462 Oct 25 23:29 go.mod 23:33:33 -rw-rw-r-- 1 jenkins jenkins 45069 Oct 25 23:29 go.sum 23:33:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:29 internal 23:33:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:29 snap 23:33:33 -rw-rw-r-- 1 jenkins jenkins 228 Oct 25 23:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:33 + 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=301726731a76eec323ffbb0feb935b854cec5725 --label arch=arm64 --label version=0.0.0 . 23:33:34 Sending build context to Docker daemon 2.897MB 23:33:34 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:33:34 Step 2/24 : FROM ${BASE} AS builder 23:33:34 ---> d5dc53a3348b 23:33:34 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:33:34 ---> Running in a23bc7a4cec2 23:33:34 Removing intermediate container a23bc7a4cec2 23:33:34 ---> 6e055ad7a179 23:33:34 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:33:34 ---> Running in 0043b09d2489 23:33:34 Removing intermediate container 0043b09d2489 23:33:34 ---> 5b35e3c9b727 23:33:34 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:33:34 ---> Running in 1054837afa0b 23:33:35 Removing intermediate container 1054837afa0b 23:33:35 ---> 712589eb60c0 23:33:35 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:33:35 ---> Running in 2f10bfaa81f5 23:33:35 Removing intermediate container 2f10bfaa81f5 23:33:35 ---> 1b4cfa64a0ed 23:33:35 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:33:35 ---> Running in 41c3f0343c77 23:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:33:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:33:37 OK: 226 MiB in 55 packages 23:33:38 Removing intermediate container 41c3f0343c77 23:33:38 ---> 8fd3c0169c2c 23:33:38 Step 8/24 : WORKDIR /device-snmp-go 23:33:38 ---> Running in 0ebad70c2a99 23:33:38 Removing intermediate container 0ebad70c2a99 23:33:38 ---> aaa9c9f51dc7 23:33:38 Step 9/24 : COPY go.mod vendor* ./ 23:33:39 ---> 8b0e5105a95e 23:33:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:33:39 ---> Running in 28762eaf8847 23:33:41 Removing intermediate container 28762eaf8847 23:33:41 ---> eec504071b79 23:33:41 Step 11/24 : COPY . . 23:33:41 ---> 9133c2ff7a93 23:33:41 Step 12/24 : RUN ${MAKE} 23:33:41 ---> Running in faf8ed5ff51d 23:33:42 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.46 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 23:36:20 Removing intermediate container faf8ed5ff51d 23:36:20 ---> 5f0ab0e3068e 23:36:20 Step 13/24 : FROM alpine:3.16 23:36:20 3.16: Pulling from library/alpine 23:36:20 9b18e9b68314: Already exists 23:36:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:36:20 Status: Downloaded newer image for alpine:3.16 23:36:20 ---> a6215f271958 23:36:20 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 23:36:20 ---> Running in 344b908ae2ff 23:36:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:36:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:36:20 (1/6) Installing dumb-init (1.2.5-r1) 23:36:20 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:36:20 (3/6) Installing libsodium (1.0.18-r0) 23:36:20 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:36:20 (5/6) Installing libzmq (4.3.4-r0) 23:36:20 (6/6) Installing zeromq (4.3.4-r0) 23:36:20 Executing busybox-1.35.0-r17.trigger 23:36:20 OK: 8 MiB in 20 packages 23:36:20 Removing intermediate container 344b908ae2ff 23:36:20 ---> ac74f483bb7b 23:36:20 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 23:36:20 ---> 9cc80d8e1dfc 23:36:20 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:36:20 ---> 5c4593679baa 23:36:20 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 23:36:20 ---> 77c712e5f502 23:36:20 Step 18/24 : EXPOSE 59993 23:36:20 ---> Running in 524b1c752b4f 23:36:20 Removing intermediate container 524b1c752b4f 23:36:20 ---> d2d2929f5348 23:36:20 Step 19/24 : EXPOSE 161 23:36:20 ---> Running in b42997a8d80b 23:36:20 Removing intermediate container b42997a8d80b 23:36:20 ---> 0354a4fce591 23:36:20 Step 20/24 : ENTRYPOINT ["/device-snmp"] 23:36:20 ---> Running in ece86704cfa9 23:36:20 Removing intermediate container ece86704cfa9 23:36:20 ---> cf16dbfa4d76 23:36:20 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:36:20 ---> Running in a9a9c51f5b29 23:36:20 Removing intermediate container a9a9c51f5b29 23:36:20 ---> e824ef6ae713 23:36:20 Step 22/24 : LABEL arch=arm64 23:36:20 ---> Running in 45a484f8b0f7 23:36:20 Removing intermediate container 45a484f8b0f7 23:36:20 ---> 739fbd54f536 23:36:20 Step 23/24 : LABEL git_sha=301726731a76eec323ffbb0feb935b854cec5725 23:36:20 ---> Running in 60ac52f120d2 23:36:20 Removing intermediate container 60ac52f120d2 23:36:20 ---> 397c45455112 23:36:20 Step 24/24 : LABEL version=0.0.0 23:36:20 ---> Running in 6754246c3fc3 23:36:21 Removing intermediate container 6754246c3fc3 23:36:21 ---> e679114bca99 23:36:21 [Warning] One or more build-args [ARCH] were not consumed 23:36:21 Successfully built e679114bca99 23:36:21 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 23:36:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:36:21 23:36:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:36:22 arm64: Pulling from edgex-lftools-log-publisher 23:36:22 8998bd30e6a1: Pulling fs layer 23:36:22 04944245beec: Pulling fs layer 23:36:22 699f458cf7ca: Pulling fs layer 23:36:22 765212b225bb: Pulling fs layer 23:36:22 f23df028b6ca: Pulling fs layer 23:36:22 d65c8cfc05b1: Pulling fs layer 23:36:22 2437ff75d9bd: Pulling fs layer 23:36:22 f23df028b6ca: Waiting 23:36:22 d65c8cfc05b1: Waiting 23:36:22 2437ff75d9bd: Waiting 23:36:22 765212b225bb: Waiting 23:36:22 04944245beec: Verifying Checksum 23:36:22 04944245beec: Download complete 23:36:22 765212b225bb: Verifying Checksum 23:36:22 765212b225bb: Download complete 23:36:22 f23df028b6ca: Verifying Checksum 23:36:22 f23df028b6ca: Download complete 23:36:22 d65c8cfc05b1: Verifying Checksum 23:36:22 d65c8cfc05b1: Download complete 23:36:22 699f458cf7ca: Verifying Checksum 23:36:22 699f458cf7ca: Download complete 23:36:23 8998bd30e6a1: Verifying Checksum 23:36:23 8998bd30e6a1: Download complete 23:36:25 2437ff75d9bd: Verifying Checksum 23:36:25 2437ff75d9bd: Download complete 23:36:27 8998bd30e6a1: Pull complete 23:36:27 04944245beec: Pull complete 23:36:28 699f458cf7ca: Pull complete 23:36:28 765212b225bb: Pull complete 23:36:29 f23df028b6ca: Pull complete 23:36:29 d65c8cfc05b1: Pull complete 23:36:44 2437ff75d9bd: Pull complete 23:36:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:36:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:36:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:45 prd-ubuntu20.04-docker-arm64-4c-16g-117007 does not seem to be running inside a container 23:36:45 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:36:47 $ docker top 34f5c2da747c1140d5c04d028649938783156ee38fef2e03080171c6019cd523 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:48 ---> job-cost.sh 23:36:48 lf-activate-venv: SKIPPING 23:36:48 INFO: No Stack... 23:36:49 INFO: Retrieving Pricing Info for: v3-standard-4 23:36:49 INFO: Archiving Costs [Pipeline] sh 23:36:50 + cut -d, -f6 23:36:50 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 23:36:50 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-200-1-stack-cost] 23:36:50 Resource [jenkins-edgexfoundry-device-snmp-go-PR-200-1-stack-cost] did not exist. Created. 23:36:50 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:36:50 /w/workspace/device-snmp-go/1@tmp/durable-e9e9ebde/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:36:51 + echo total: 0.10999999940395355 [Pipeline] stash 23:36:51 Warning: overwriting stash ‘stack-cost’ 23:36:51 Stashed 1 file(s) [Pipeline] } 23:36:51 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:36:51 $ docker stop --time=1 34f5c2da747c1140d5c04d028649938783156ee38fef2e03080171c6019cd523 23:36:53 $ docker rm -f 34f5c2da747c1140d5c04d028649938783156ee38fef2e03080171c6019cd523 [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 23:36:54 provisioning config files... 23:36:54 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config1564793808529806135tmp [Pipeline] { [Pipeline] sh 23:36:54 + set +x 23:36:54 + bash -s -- 23:36:54 + curl -s https://codecov.io/bash 23:36:54 23:36:54 _____ _ 23:36:54 / ____| | | 23:36:54 | | ___ __| | ___ ___ _____ __ 23:36:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:36:54 | |___| (_) | (_| | __/ (_| (_) \ V / 23:36:54 \_____\___/ \__,_|\___|\___\___/ \_/ 23:36:54 Bash-1.0.6 23:36:54 23:36:54 23:36:54 ==> git version 2.25.1 found 23:36:54 ==> 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 23:36:54 Release-Date: 2020-01-08 23:36:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:36:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:36:54 ==> Jenkins CI detected. 23:36:54 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-200 23:36:54 project root: . 23:36:54 --> token set from env 23:36:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:36:54 ==> Running gcov in . (disable via -X gcov) 23:36:54 ==> Python coveragepy not found 23:36:54 ==> Searching for coverage reports in: 23:36:54 + . 23:36:54 -> Found 1 reports 23:36:54 ==> Detecting git/mercurial file structure 23:36:54 ==> Reading reports 23:36:54 + ./coverage.out bytes=7631 23:36:54 ==> Appending adjustments 23:36:54 https://docs.codecov.io/docs/fixing-reports 23:36:54 + Found adjustments 23:36:54 ==> Gzipping contents 23:36:54 4.0K /tmp/codecov.xJrceG.gz 23:36:54 ==> Uploading reports 23:36:54 url: https://codecov.io 23:36:54 query: branch=PR-200&commit=301726731a76eec323ffbb0feb935b854cec5725&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=200&job=&cmd_args= 23:36:54 -> Pinging Codecov 23:36:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-200&commit=301726731a76eec323ffbb0feb935b854cec5725&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-200%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=200&job=&cmd_args= 23:36:55 -> Uploading to 23:36:55 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/6C56EA5C29638FB4528AC87E60AF5AE0/301726731a76eec323ffbb0feb935b854cec5725/6876045b-4810-4258-9867-19426897cbca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T233655Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc1f2da0f8e1cf02be5f75dac63abcbc7434e1a96e4069157719dab573e47f85 23:36:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:36:55 Dload Upload Total Spent Left Speed 23:36:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 5471 --:--:-- --:--:-- --:--:-- 5471 23:36:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/301726731a76eec323ffbb0feb935b854cec5725 [Pipeline] } 23:36:55 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 23:36:57 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-200/archives ] 23:36:57 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-200/archives 23:36:57 total 16 23:36:57 drwxr-xr-x 3 root root 4096 Oct 25 23:28 . 23:36:57 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 23:28 .. 23:36:57 drwxr-xr-x 2 root root 4096 Oct 25 23:28 cost 23:36:57 -rw-r--r-- 1 root root 86 Oct 25 23:28 cost.csv 23:36:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-200/archives 23:36:57 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-200/archives 23:36:57 total 16 23:36:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 23:28 . 23:36:57 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 23:28 .. 23:36:57 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 23:28 cost 23:36:57 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 23:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:36:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:36:58 ---> package-listing.sh 23:36:58 ++ facter osfamily 23:36:58 ++ tr '[:upper:]' '[:lower:]' 23:36:58 + OS_FAMILY=debian 23:36:58 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-200 23:36:58 + START_PACKAGES=/tmp/packages_start.txt 23:36:58 + END_PACKAGES=/tmp/packages_end.txt 23:36:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:36:58 + PACKAGES=/tmp/packages_start.txt 23:36:58 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-200 ']' 23:36:58 + PACKAGES=/tmp/packages_end.txt 23:36:58 + case "${OS_FAMILY}" in 23:36:58 + dpkg -l 23:36:58 + grep '^ii' 23:36:58 + '[' -f /tmp/packages_start.txt ']' 23:36:58 + '[' -f /tmp/packages_end.txt ']' 23:36:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:36:58 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-200 ']' 23:36:58 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/ 23:36:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/ [Pipeline] echo 23:36:58 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-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:36:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:59 prd-ubuntu20.04-docker-8c-8g-117006 does not seem to be running inside a container 23:36:59 $ 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-200/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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:36:59 $ docker top 4efeecafedb4eda32d92fef31bed7343a848b205214d76e1a72960d30725d84d -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:37:00 + mkdir -p /var/log/sysstat [Pipeline] sh 23:37:00 + ls /var/log/sa-host 23:37:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:01 provisioning config files... 23:37:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config369305094047963066tmp [Pipeline] { [Pipeline] echo 23:37:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:37:01 ---> create-netrc.sh [Pipeline] } 23:37:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:37:01 ---> python-tools-install.sh [Pipeline] echo 23:37:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:37:02 ---> sudo-logs.sh 23:37:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:37:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:37:02 ---> job-cost.sh 23:37:02 lf-activate-venv: SKIPPING 23:37:02 DEBUG: total: 0.2199999988079071 23:37:02 INFO: Retrieving Stack Cost... 23:37:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:37:03 INFO: Archiving Costs [Pipeline] echo 23:37:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:37:03 ---> logs-deploy.sh 23:37:03 lf-activate-venv: SKIPPING 23:37:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-200/1 23:37:03 INFO: archiving workspace using pattern(s): 23:37:04 Archives upload complete. 23:37:04 INFO: archiving logs to Nexus 23:37:05 ---> uname -a: 23:37:05 Linux prd-ubuntu20-04-docker-8c-8g-117006 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 23:37:05 23:37:05 23:37:05 ---> lscpu: 23:37:05 Architecture: x86_64 23:37:05 CPU op-mode(s): 32-bit, 64-bit 23:37:05 Byte Order: Little Endian 23:37:05 Address sizes: 40 bits physical, 48 bits virtual 23:37:05 CPU(s): 8 23:37:05 On-line CPU(s) list: 0-7 23:37:05 Thread(s) per core: 1 23:37:05 Core(s) per socket: 1 23:37:05 Socket(s): 8 23:37:05 NUMA node(s): 1 23:37:05 Vendor ID: AuthenticAMD 23:37:05 CPU family: 23 23:37:05 Model: 49 23:37:05 Model name: AMD EPYC-Rome Processor 23:37:05 Stepping: 0 23:37:05 CPU MHz: 2800.000 23:37:05 BogoMIPS: 5600.00 23:37:05 Virtualization: AMD-V 23:37:05 Hypervisor vendor: KVM 23:37:05 Virtualization type: full 23:37:05 L1d cache: 256 KiB 23:37:05 L1i cache: 256 KiB 23:37:05 L2 cache: 4 MiB 23:37:05 L3 cache: 128 MiB 23:37:05 NUMA node0 CPU(s): 0-7 23:37:05 Vulnerability Itlb multihit: Not affected 23:37:05 Vulnerability L1tf: Not affected 23:37:05 Vulnerability Mds: Not affected 23:37:05 Vulnerability Meltdown: Not affected 23:37:05 Vulnerability Mmio stale data: Not affected 23:37:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:37:05 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:37:05 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 23:37:05 Vulnerability Srbds: Not affected 23:37:05 Vulnerability Tsx async abort: Not affected 23:37:05 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 23:37:05 23:37:05 23:37:05 ---> nproc: 23:37:05 8 23:37:05 23:37:05