Pull request #199 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b63f99bb65d0e15b86975d5c4b1513bc7943aff6+c5649ddb8ffd305e282f5692e5ab02afc05b76b1 (bd0029b8e23d4799a6d96bdeb5e2db6c389c4a5a) 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-ssh8777604479210094827.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-ssh3554378746834328064.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-199/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-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5636182902330141398.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-199/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9305537743669029245.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-ssh4934916673295297581.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-199/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-199/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12126394486840573242.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9180 in /w/workspace/gexfoundry_device-snmp-go_PR-199 [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-199 # 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/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c5649ddb8ffd305e282f5692e5ab02afc05b76b1 into PR head commit b63f99bb65d0e15b86975d5c4b1513bc7943aff6 Merge succeeded, producing b63f99bb65d0e15b86975d5c4b1513bc7943aff6 Checking out Revision b63f99bb65d0e15b86975d5c4b1513bc7943aff6 (PR-199) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:04:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b63f99bb65d0e15b86975d5c4b1513bc7943aff6 # 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 c5649ddb8ffd305e282f5692e5ab02afc05b76b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b63f99bb65d0e15b86975d5c4b1513bc7943aff6 # timeout=10 [Pipeline] echo 05:04:18 ========================================================= 05:04:18 EdgeX Global Pipelines Version Info 05:04:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:19 ------------------- 05:04:19 stable info: 05:04:19 ------------------- 05:04:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:19 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:04:19 Message: update stable to v1.0.243 05:04:20 ------------------- 05:04:20 experimental info: 05:04:20 ------------------- 05:04:20 Commited By: **** collab-it+edgex@linuxfoundation.org 05:04:20 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:04:20 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-199 [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-199 [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-199 [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b63f99b [Pipeline] echo 05:04:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:21 provisioning config files... 05:04:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/config10584092285449396750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:22 ---> docker-login.sh 05:04:22 nexus3.edgexfoundry.org:10001 05:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:22 Configure a credential helper to remove this warning. See 05:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:22 05:04:22 Login Succeeded 05:04:22 nexus3.edgexfoundry.org:10002 05:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:22 Configure a credential helper to remove this warning. See 05:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:22 05:04:22 Login Succeeded 05:04:22 nexus3.edgexfoundry.org:10003 05:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:22 Configure a credential helper to remove this warning. See 05:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:22 05:04:22 Login Succeeded 05:04:22 nexus3.edgexfoundry.org:10004 05:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:23 Configure a credential helper to remove this warning. See 05:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:23 05:04:23 Login Succeeded 05:04:23 docker.io 05:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:24 Configure a credential helper to remove this warning. See 05:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:24 05:04:24 Login Succeeded 05:04:24 ---> docker-login.sh ends [Pipeline] } 05:04:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:25 + git rev-list -1 --merges b63f99bb65d0e15b86975d5c4b1513bc7943aff6~1..b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] echo 05:04:25 -----------> git rev-list -1 --merges b63f99bb65d0e15b86975d5c4b1513bc7943aff6~1..b63f99bb65d0e15b86975d5c4b1513bc7943aff6 b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [false] [Pipeline] sh 05:04:25 + git log --format=format:%s -1 b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] echo 05:04:25 ========================================================= 05:04:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:25 + git log --format=format:%s -1 b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] echo 05:04:25 [semverPrep] GIT_COMMIT: b63f99bb65d0e15b86975d5c4b1513bc7943aff6, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:04:26 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:26 + grep -v github /etc/ssh/ssh_known_hosts 05:04:26 + [ -e /tmp/ssh_known_hosts ] 05:04:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:26 + + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:26 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:26 05:04:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:27 0.1.4: Pulling from edgex-devops/py-git-semver 05:04:27 b85a868b505f: Pulling fs layer 05:04:27 e2be974225ed: Pulling fs layer 05:04:27 339a4e72a1f5: Pulling fs layer 05:04:27 988bab9f4d93: Pulling fs layer 05:04:27 1469e6f7b9e6: Pulling fs layer 05:04:27 988bab9f4d93: Waiting 05:04:27 eaf3925da568: Pulling fs layer 05:04:27 bab4dde63d76: Pulling fs layer 05:04:27 1469e6f7b9e6: Waiting 05:04:27 eaf3925da568: Waiting 05:04:27 bde34c3a00c8: Pulling fs layer 05:04:27 bab4dde63d76: Waiting 05:04:27 b352a97aabf1: Pulling fs layer 05:04:27 bde34c3a00c8: Waiting 05:04:27 b352a97aabf1: Waiting 05:04:27 4872d77fe225: Pulling fs layer 05:04:27 5851b861e8e6: Pulling fs layer 05:04:27 e2be974225ed: Download complete 05:04:27 988bab9f4d93: Download complete 05:04:27 1469e6f7b9e6: Verifying Checksum 05:04:27 1469e6f7b9e6: Download complete 05:04:27 eaf3925da568: Verifying Checksum 05:04:27 eaf3925da568: Download complete 05:04:27 339a4e72a1f5: Verifying Checksum 05:04:27 339a4e72a1f5: Download complete 05:04:27 bde34c3a00c8: Verifying Checksum 05:04:27 bde34c3a00c8: Download complete 05:04:27 b352a97aabf1: Download complete 05:04:27 4872d77fe225: Verifying Checksum 05:04:27 4872d77fe225: Download complete 05:04:27 5851b861e8e6: Download complete 05:04:27 b85a868b505f: Download complete 05:04:27 bab4dde63d76: Verifying Checksum 05:04:27 bab4dde63d76: Download complete 05:04:29 b85a868b505f: Pull complete 05:04:29 e2be974225ed: Pull complete 05:04:29 339a4e72a1f5: Pull complete 05:04:29 988bab9f4d93: Pull complete 05:04:30 1469e6f7b9e6: Pull complete 05:04:30 eaf3925da568: Pull complete 05:04:32 bab4dde63d76: Pull complete 05:04:32 bde34c3a00c8: Pull complete 05:04:32 b352a97aabf1: Pull complete 05:04:32 4872d77fe225: Pull complete 05:04:32 5851b861e8e6: Pull complete 05:04:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:32 prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container 05:04:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:04:33 $ docker top aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 -eo pid,comm 05:04:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:04:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:34 [ssh-agent] Looking for ssh-agent implementation... 05:04:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:34 $ docker exec aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 ssh-agent 05:04:34 SSH_AUTH_SOCK=/tmp/ssh-zjBrNNZds2Gq/agent.32 05:04:34 SSH_AGENT_PID=38 05:04:34 Running ssh-add (command line suppressed) 05:04:34 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/private_key_7280347401061568274.key (/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/private_key_7280347401061568274.key) 05:04:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:34 + git tag --points-at HEAD [Pipeline] } 05:04:34 $ docker exec --env ******** --env ******** aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 ssh-agent -k 05:04:34 unset SSH_AUTH_SOCK; 05:04:34 unset SSH_AGENT_PID; 05:04:34 echo Agent pid 38 killed; 05:04:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:34 [ssh-agent] Looking for ssh-agent implementation... 05:04:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:35 $ docker exec aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 ssh-agent 05:04:35 SSH_AUTH_SOCK=/tmp/ssh-jSVtv7BDTIQR/agent.70 05:04:35 SSH_AGENT_PID=76 05:04:35 Running ssh-add (command line suppressed) 05:04:35 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/private_key_4426225656619927948.key (/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/private_key_4426225656619927948.key) 05:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:35 + git semver init 05:04:35 2022-10-24 05:04:35,830 [run_init] DEBUG init version:0.0.0 force:False 05:04:35 2022-10-24 05:04:35,831 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver 05:04:35 2022-10-24 05:04:35,832 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-199/.semver 05:04:35 2022-10-24 05:04:35,832 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-199, universal_newlines=False, shell=None, istream=None) 05:04:37 2022-10-24 05:04:36,899 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-199/.git/info/exclude 05:04:37 2022-10-24 05:04:36,900 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver/PR-199 with force:False 05:04:37 2022-10-24 05:04:36,900 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver/PR-199 05:04:37 2022-10-24 05:04:36,904 [execute] INFO git cat-file --batch-check 05:04:37 2022-10-24 05:04:36,905 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver, universal_newlines=False, shell=None, istream=) 05:04:37 2022-10-24 05:04:36,911 [execute] INFO git cat-file --batch 05:04:37 2022-10-24 05:04:36,911 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-199/.semver, universal_newlines=False, shell=None, istream=) 05:04:37 2022-10-24 05:04:36,917 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-199/.semver/PR-199 05:04:37 0.0.0 [Pipeline] } 05:04:37 $ docker exec --env ******** --env ******** aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 ssh-agent -k 05:04:37 unset SSH_AUTH_SOCK; 05:04:37 unset SSH_AGENT_PID; 05:04:37 echo Agent pid 76 killed; 05:04:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:37 + git semver [Pipeline] } 05:04:38 $ docker stop --time=1 aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 05:04:39 $ docker rm -f aae8f90f052f43386e0b0703a7fa1a8a9ae5756aec0cbbd511a13f83217fa6c3 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:40 Stashed 1 file(s) [Pipeline] echo 05:04:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:40 provisioning config files... 05:04:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/config14064706957693667273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:41 ---> docker-login.sh 05:04:41 nexus3.edgexfoundry.org:10001 05:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:41 Configure a credential helper to remove this warning. See 05:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:41 05:04:41 Login Succeeded 05:04:41 nexus3.edgexfoundry.org:10002 05:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:41 Configure a credential helper to remove this warning. See 05:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:41 05:04:41 Login Succeeded 05:04:41 nexus3.edgexfoundry.org:10003 05:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:41 Configure a credential helper to remove this warning. See 05:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:41 05:04:41 Login Succeeded 05:04:41 nexus3.edgexfoundry.org:10004 05:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:41 Configure a credential helper to remove this warning. See 05:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:41 05:04:41 Login Succeeded 05:04:41 docker.io 05:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:41 Configure a credential helper to remove this warning. See 05:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:41 05:04:41 Login Succeeded 05:04:41 ---> docker-login.sh ends [Pipeline] } 05:04:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:42 ========================================================= 05:04:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:04:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:04:42 Sending build context to Docker daemon 5.535MB 05:04:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:04:42 Step 2/13 : FROM ${BASE} AS builder 05:04:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:42 213ec9aee27d: Pulling fs layer 05:04:42 4583459ba037: Pulling fs layer 05:04:42 93c1e223e6f2: Pulling fs layer 05:04:42 53926ce57604: Pulling fs layer 05:04:42 21b2b0c7a3f4: Pulling fs layer 05:04:42 30f14e443154: Pulling fs layer 05:04:42 801331c1e519: Pulling fs layer 05:04:42 99cc6dd402b0: Pulling fs layer 05:04:42 7d9ed39f4882: Pulling fs layer 05:04:42 30f14e443154: Waiting 05:04:42 801331c1e519: Waiting 05:04:42 99cc6dd402b0: Waiting 05:04:42 7d9ed39f4882: Waiting 05:04:42 53926ce57604: Waiting 05:04:42 21b2b0c7a3f4: Waiting 05:04:42 93c1e223e6f2: Verifying Checksum 05:04:42 93c1e223e6f2: Download complete 05:04:42 4583459ba037: Verifying Checksum 05:04:42 4583459ba037: Download complete 05:04:42 21b2b0c7a3f4: Verifying Checksum 05:04:42 21b2b0c7a3f4: Download complete 05:04:42 30f14e443154: Download complete 05:04:42 213ec9aee27d: Verifying Checksum 05:04:42 213ec9aee27d: Download complete 05:04:42 801331c1e519: Verifying Checksum 05:04:42 801331c1e519: Download complete 05:04:42 213ec9aee27d: Pull complete 05:04:43 4583459ba037: Pull complete 05:04:43 93c1e223e6f2: Pull complete 05:04:43 53926ce57604: Verifying Checksum 05:04:43 53926ce57604: Download complete 05:04:43 7d9ed39f4882: Verifying Checksum 05:04:43 7d9ed39f4882: Download complete 05:04:43 99cc6dd402b0: Verifying Checksum 05:04:43 99cc6dd402b0: Download complete 05:04:47 53926ce57604: Pull complete 05:04:47 21b2b0c7a3f4: Pull complete 05:04:47 30f14e443154: Pull complete 05:04:47 801331c1e519: Pull complete 05:04:49 99cc6dd402b0: Pull complete 05:04:50 7d9ed39f4882: Pull complete 05:04:50 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 05:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:04:50 ---> 1dedd983c030 05:04:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:04:51 ---> Running in 24e4f71f123f 05:04:51 Removing intermediate container 24e4f71f123f 05:04:51 ---> 03b3d5228db4 05:04:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:52 ---> Running in 2d4a0c734b69 05:04:52 Removing intermediate container 2d4a0c734b69 05:04:52 ---> c1185b3c0993 05:04:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:52 ---> Running in 5dc347889e53 05:04:52 Removing intermediate container 5dc347889e53 05:04:52 ---> 1b440476a24f 05:04:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:04:52 ---> Running in da3a4c7281fe 05:04:52 Removing intermediate container da3a4c7281fe 05:04:52 ---> 70e556019e4a 05:04:52 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:52 ---> Running in 6ef5dd7ab6a6 05:04:53 Removing intermediate container 6ef5dd7ab6a6 05:04:53 ---> 2051ffc1a89b 05:04:53 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:53 ---> Running in 6241f77268b9 05:04:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:54 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:04:54 (2/4) Installing libedit (20210910.3.1-r0) 05:04:54 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:04:54 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:04:55 Executing busybox-1.35.0-r17.trigger 05:04:55 OK: 216 MiB in 55 packages 05:04:55 Removing intermediate container 6241f77268b9 05:04:55 ---> 54d95f1ae172 05:04:55 Step 9/13 : WORKDIR /device-snmp-go 05:04:55 Still waiting to schedule task 05:04:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:04:55 ---> Running in 88d1ab264552 05:04:55 Removing intermediate container 88d1ab264552 05:04:55 ---> d2b6082f16ee 05:04:55 Step 10/13 : COPY go.mod vendor* ./ 05:04:55 ---> 968517125a1c 05:04:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:55 ---> Running in 7eadda692d2d 05:05:13 Removing intermediate container 7eadda692d2d 05:05:13 ---> 035d9c3967c0 05:05:13 Step 12/13 : COPY . . 05:05:13 ---> a6a4888aefa5 05:05:13 Step 13/13 : RUN ${MAKE} 05:05:13 ---> Running in da7ecfcff825 05:05:13 noop 05:05:13 Removing intermediate container da7ecfcff825 05:05:13 ---> 95b1af1ab259 05:05:13 Successfully built 95b1af1ab259 05:05:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:14 + docker inspect -f . ci-base-image-x86_64 05:05:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:14 prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container 05:05:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:14 $ docker top d7d122666dbf1d0c88171a61df9ea531d15526cac27bcda733c42d2e0abef341 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:15 + go version 05:05:15 go version go1.18.7 linux/amd64 [Pipeline] } 05:05:15 $ docker stop --time=1 d7d122666dbf1d0c88171a61df9ea531d15526cac27bcda733c42d2e0abef341 05:05:16 $ docker rm -f d7d122666dbf1d0c88171a61df9ea531d15526cac27bcda733c42d2e0abef341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:17 + docker inspect -f . ci-base-image-x86_64 05:05:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:17 prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container 05:05:17 $ 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-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:17 $ docker top 8e97ec5bd98ec5e6537e45a9a4640573ab469788989b386e8114ec3e42bee48f -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-199 [Pipeline] fileExists [Pipeline] sh 05:05:18 + make test 05:05:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:05:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:29 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:29 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements 05:05:35 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 05:05:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:39 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:39 $ docker stop --time=1 8e97ec5bd98ec5e6537e45a9a4640573ab469788989b386e8114ec3e42bee48f 05:05:40 $ docker rm -f 8e97ec5bd98ec5e6537e45a9a4640573ab469788989b386e8114ec3e42bee48f [Pipeline] // withDockerContainer [Pipeline] sh 05:05:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:42 + ls -al . 05:05:42 total 172 05:05:42 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 05:05 . 05:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 .. 05:05:42 -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 05:04 .dockerignore 05:05:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:05 .git 05:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 .github 05:05:42 -rw-rw-r-- 1 jenkins jenkins 328 Oct 24 05:04 .gitignore 05:05:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:04 .golangci.yml 05:05:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:04 .semver 05:05:42 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 24 05:04 Attribution.txt 05:05:42 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 24 05:04 CHANGELOG.md 05:05:42 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 24 05:04 Dockerfile 05:05:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:04 GOVERNANCE.md 05:05:42 -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 05:04 Jenkinsfile 05:05:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:04 LICENSE 05:05:42 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 24 05:04 Makefile 05:05:42 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 05:04 OWNERS.md 05:05:42 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 24 05:04 README.md 05:05:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:04 VERSION 05:05:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 bin 05:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 cmd 05:05:42 -rw-r--r-- 1 jenkins jenkins 7631 Oct 24 05:05 coverage.out 05:05:42 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 24 05:04 go.mod 05:05:42 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 24 05:04 go.sum 05:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 internal 05:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 snap 05:05:42 -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:42 + 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=b63f99bb65d0e15b86975d5c4b1513bc7943aff6 --label arch=amd64 --label version=0.0.0 . 05:05:42 Sending build context to Docker daemon 5.543MB 05:05:42 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:05:42 Step 2/25 : FROM ${BASE} AS builder 05:05:42 ---> 95b1af1ab259 05:05:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:05:42 ---> Running in ca9beadabfd8 05:05:43 Removing intermediate container ca9beadabfd8 05:05:43 ---> 0a1834becb77 05:05:43 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:43 ---> Running in 59c535d3a388 05:05:43 Removing intermediate container 59c535d3a388 05:05:43 ---> ca3404c4640d 05:05:43 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:43 ---> Running in de3c2364d8db 05:05:43 Removing intermediate container de3c2364d8db 05:05:43 ---> 66cf5201d7f4 05:05:43 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:05:43 ---> Running in 3bbc6be33331 05:05:43 Removing intermediate container 3bbc6be33331 05:05:43 ---> 985d856d6c1d 05:05:43 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:43 ---> Running in 4a60825470fd 05:05:43 Removing intermediate container 4a60825470fd 05:05:43 ---> 98244b35c61d 05:05:43 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:43 ---> Running in 19612018ea4f 05:05:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:45 OK: 216 MiB in 55 packages 05:05:45 Removing intermediate container 19612018ea4f 05:05:45 ---> 911c11ef2d89 05:05:45 Step 9/25 : WORKDIR /device-snmp-go 05:05:45 ---> Running in 3d826bf42366 05:05:45 Removing intermediate container 3d826bf42366 05:05:45 ---> 159d7981929e 05:05:45 Step 10/25 : COPY go.mod vendor* ./ 05:05:45 ---> d2c5d587cc54 05:05:45 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:45 ---> Running in 14ed1a5f7e13 05:05:46 Removing intermediate container 14ed1a5f7e13 05:05:46 ---> 4cb8ed05dac1 05:05:46 Step 12/25 : COPY . . 05:05:47 ---> 68320935c2fa 05:05:47 Step 13/25 : RUN ${MAKE} 05:05:47 ---> Running in 4dbc41f1ccc9 05:05:47 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.45 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:06:09 Removing intermediate container 4dbc41f1ccc9 05:06:09 ---> 4804ff637213 05:06:09 Step 14/25 : FROM alpine:3.16 05:06:09 3.16: Pulling from library/alpine 05:06:09 213ec9aee27d: Already exists 05:06:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:06:09 Status: Downloaded newer image for alpine:3.16 05:06:09 ---> 9c6f07244728 05:06:09 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:06:09 ---> Running in e0f420555293 05:06:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:06:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:06:09 (1/6) Installing dumb-init (1.2.5-r1) 05:06:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:06:09 (3/6) Installing libsodium (1.0.18-r0) 05:06:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:06:09 (5/6) Installing libzmq (4.3.4-r0) 05:06:09 (6/6) Installing zeromq (4.3.4-r0) 05:06:09 Executing busybox-1.35.0-r17.trigger 05:06:09 OK: 8 MiB in 20 packages 05:06:09 Removing intermediate container e0f420555293 05:06:09 ---> db828488517f 05:06:09 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:06:09 ---> 29444190be0c 05:06:09 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:06:09 ---> 252f92d57d0a 05:06:09 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:06:09 ---> cd0b7ee154bd 05:06:09 Step 19/25 : EXPOSE 59993 05:06:09 ---> Running in c392477c479c 05:06:09 Removing intermediate container c392477c479c 05:06:09 ---> 08412fabd724 05:06:09 Step 20/25 : EXPOSE 161 05:06:09 ---> Running in 632a3d3b2701 05:06:09 Removing intermediate container 632a3d3b2701 05:06:09 ---> 6e60037bebc5 05:06:09 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:06:09 ---> Running in 8eed9f38036b 05:06:09 Removing intermediate container 8eed9f38036b 05:06:09 ---> 18e0c8ff4578 05:06:09 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:06:09 ---> Running in a31a0a3ca597 05:06:09 Removing intermediate container a31a0a3ca597 05:06:09 ---> e64eaef23ea8 05:06:09 Step 23/25 : LABEL arch=amd64 05:06:09 ---> Running in a8b7b969e209 05:06:10 Removing intermediate container a8b7b969e209 05:06:10 ---> 1694f6e09a15 05:06:10 Step 24/25 : LABEL git_sha=b63f99bb65d0e15b86975d5c4b1513bc7943aff6 05:06:10 ---> Running in 6bd9c80eeb79 05:06:10 Removing intermediate container 6bd9c80eeb79 05:06:10 ---> a0c4efd04e74 05:06:10 Step 25/25 : LABEL version=0.0.0 05:06:10 ---> Running in c294c4373db2 05:06:10 Removing intermediate container c294c4373db2 05:06:10 ---> 353f86cde473 05:06:10 [Warning] One or more build-args [ARCH] were not consumed 05:06:10 Successfully built 353f86cde473 05:06:10 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:11 05:06:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:11 latest: Pulling from edgex-lftools-log-publisher 05:06:11 5eb5b503b376: Pulling fs layer 05:06:11 5c69ac0246d0: Pulling fs layer 05:06:11 ec43610c2a17: Pulling fs layer 05:06:11 3a2ae6a8a46f: Pulling fs layer 05:06:11 33b1e0a273af: Pulling fs layer 05:06:11 5d3b04190fa2: Pulling fs layer 05:06:11 2f39f015ded8: Pulling fs layer 05:06:11 5d3b04190fa2: Waiting 05:06:11 33b1e0a273af: Waiting 05:06:11 2f39f015ded8: Waiting 05:06:11 3a2ae6a8a46f: Waiting 05:06:11 5c69ac0246d0: Download complete 05:06:11 3a2ae6a8a46f: Verifying Checksum 05:06:11 3a2ae6a8a46f: Download complete 05:06:12 33b1e0a273af: Verifying Checksum 05:06:12 33b1e0a273af: Download complete 05:06:12 5d3b04190fa2: Verifying Checksum 05:06:12 5d3b04190fa2: Download complete 05:06:12 ec43610c2a17: Verifying Checksum 05:06:12 5eb5b503b376: Verifying Checksum 05:06:12 5eb5b503b376: Download complete 05:06:13 2f39f015ded8: Download complete 05:06:13 5eb5b503b376: Pull complete 05:06:13 5c69ac0246d0: Pull complete 05:06:14 ec43610c2a17: Pull complete 05:06:14 3a2ae6a8a46f: Pull complete 05:06:14 33b1e0a273af: Pull complete 05:06:14 5d3b04190fa2: Pull complete 05:06:18 2f39f015ded8: Pull complete 05:06:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:19 prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container 05:06:19 $ 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-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:21 $ docker top 8ca360b9eec40f3b20cc14687960d051590af2ee574e1ef6757fe2a41fdb2d70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:21 ---> job-cost.sh 05:06:21 lf-activate-venv: SKIPPING 05:06:21 INFO: No Stack... 05:06:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:22 INFO: Archiving Costs [Pipeline] sh 05:06:22 + cat /w/workspace/gexfoundry_device-snmp-go_PR-199/archives/cost.csv 05:06:22 + cut -d, -f6 [Pipeline] lock 05:06:22 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] 05:06:22 Resource [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] did not exist. Created. 05:06:22 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:23 + echo total: 0.2199999988079071 [Pipeline] stash 05:06:23 Stashed 1 file(s) [Pipeline] } 05:06:23 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:23 $ docker stop --time=1 8ca360b9eec40f3b20cc14687960d051590af2ee574e1ef6757fe2a41fdb2d70 05:06:24 $ docker rm -f 8ca360b9eec40f3b20cc14687960d051590af2ee574e1ef6757fe2a41fdb2d70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9185 in /w/workspace/gexfoundry_device-snmp-go_PR-199 [Pipeline] { [Pipeline] ws 05:07:00 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:07:00 Selected Git installation does not exist. Using Default 05:07:00 The recommended git tool is: NONE 05:07:05 using credential edgex-jenkins-ssh 05:07:05 Cloning the remote Git repository 05:07:05 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:07:05 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:07:05 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:05 > git --version # timeout=10 05:07:05 > git --version # 'git version 2.25.1' 05:07:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:05 Verifying host key using known hosts file 05:07:06 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:07:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:07 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:07:08 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:07:08 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:07:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:08 Verifying host key using known hosts file 05:07:08 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:07:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/199/head:refs/remotes/origin/PR-199 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:07:08 Merging remotes/origin/main commit c5649ddb8ffd305e282f5692e5ab02afc05b76b1 into PR head commit b63f99bb65d0e15b86975d5c4b1513bc7943aff6 05:07:09 Merge succeeded, producing b63f99bb65d0e15b86975d5c4b1513bc7943aff6 05:07:09 Checking out Revision b63f99bb65d0e15b86975d5c4b1513bc7943aff6 (PR-199) 05:07:09 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:07:09 > git --version # timeout=10 05:07:09 > git --version # 'git version 2.25.1' 05:07:09 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:07:08 > git config core.sparsecheckout # timeout=10 05:07:08 > git checkout -f b63f99bb65d0e15b86975d5c4b1513bc7943aff6 # timeout=10 05:07:09 > git remote # timeout=10 05:07:09 > git config --get remote.origin.url # timeout=10 05:07:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:07:09 Verifying host key using known hosts file 05:07:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 05:07:09 > git merge c5649ddb8ffd305e282f5692e5ab02afc05b76b1 # timeout=10 05:07:09 > git rev-parse HEAD^{commit} # timeout=10 05:07:09 > git config core.sparsecheckout # timeout=10 05:07:09 > git checkout -f b63f99bb65d0e15b86975d5c4b1513bc7943aff6 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:10 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:10 Dload Upload Total Spent Left Speed 05:07:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 05:07:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:11 + sudo tee /etc/docker/daemon.new 05:07:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:11 { 05:07:11 "registry-mirrors": [ 05:07:11 "https://nexus3.edgexfoundry.org:10001" 05:07:11 ], 05:07:11 "bip": "10.250.0.254/24", 05:07:11 "hosts": [ 05:07:11 "tcp://0.0.0.0:5555", 05:07:11 "unix:///var/run/docker.sock" 05:07:11 ], 05:07:11 "mtu": 1458, 05:07:11 "selinux-enabled": true, 05:07:11 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:11 } [Pipeline] sh 05:07:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:30 provisioning config files... 05:07:30 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6520829122650579807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:31 ---> docker-login.sh 05:07:31 nexus3.edgexfoundry.org:10001 05:07:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:31 Configure a credential helper to remove this warning. See 05:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:31 05:07:31 Login Succeeded 05:07:31 nexus3.edgexfoundry.org:10002 05:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:32 Configure a credential helper to remove this warning. See 05:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:32 05:07:32 Login Succeeded 05:07:32 nexus3.edgexfoundry.org:10003 05:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:32 Configure a credential helper to remove this warning. See 05:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:32 05:07:32 Login Succeeded 05:07:32 nexus3.edgexfoundry.org:10004 05:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:32 Configure a credential helper to remove this warning. See 05:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:32 05:07:32 Login Succeeded 05:07:32 docker.io 05:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:33 Configure a credential helper to remove this warning. See 05:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:33 05:07:33 Login Succeeded 05:07:33 ---> docker-login.sh ends [Pipeline] } 05:07:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:34 ========================================================= 05:07:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:07:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:07:34 Sending build context to Docker daemon 2.86MB 05:07:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 05:07:34 Step 2/13 : FROM ${BASE} AS builder 05:07:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:35 9b18e9b68314: Pulling fs layer 05:07:35 d32db5db7311: Pulling fs layer 05:07:35 d0c4b47475fc: Pulling fs layer 05:07:35 5831b945b038: Pulling fs layer 05:07:35 86bbec2aaacd: Pulling fs layer 05:07:35 e10730c5d714: Pulling fs layer 05:07:35 5dd5c2283517: Pulling fs layer 05:07:35 d5ac0230b979: Pulling fs layer 05:07:35 86bbec2aaacd: Waiting 05:07:35 e10730c5d714: Waiting 05:07:35 5dd5c2283517: Waiting 05:07:35 d5ac0230b979: Waiting 05:07:35 5831b945b038: Waiting 05:07:35 d0c4b47475fc: Download complete 05:07:35 d32db5db7311: Download complete 05:07:35 86bbec2aaacd: Verifying Checksum 05:07:35 86bbec2aaacd: Download complete 05:07:35 e10730c5d714: Verifying Checksum 05:07:35 e10730c5d714: Download complete 05:07:35 9b18e9b68314: Verifying Checksum 05:07:35 9b18e9b68314: Download complete 05:07:36 9b18e9b68314: Pull complete 05:07:36 d5ac0230b979: Verifying Checksum 05:07:36 d5ac0230b979: Download complete 05:07:36 d32db5db7311: Pull complete 05:07:37 d0c4b47475fc: Pull complete 05:07:37 5dd5c2283517: Verifying Checksum 05:07:37 5dd5c2283517: Download complete 05:07:38 5831b945b038: Verifying Checksum 05:07:38 5831b945b038: Download complete 05:07:50 5831b945b038: Pull complete 05:07:50 86bbec2aaacd: Pull complete 05:07:50 e10730c5d714: Pull complete 05:07:54 5dd5c2283517: Pull complete 05:07:56 d5ac0230b979: Pull complete 05:07:56 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 05:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:07:56 ---> 59b3b1a385d4 05:07:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:07:58 ---> Running in b4c93fa9070c 05:07:58 Removing intermediate container b4c93fa9070c 05:07:58 ---> 34fada78fccf 05:07:58 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:07:59 ---> Running in 8fd5a0d3983d 05:07:59 Removing intermediate container 8fd5a0d3983d 05:07:59 ---> ff52144cdd6b 05:07:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:59 ---> Running in 417ab07aa2e5 05:07:59 Removing intermediate container 417ab07aa2e5 05:07:59 ---> 253295a747dd 05:07:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:07:59 ---> Running in 5e109e2ab4cc 05:08:00 Removing intermediate container 5e109e2ab4cc 05:08:00 ---> 2707dad97d2f 05:08:00 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:00 ---> Running in 4548d7df61aa 05:08:02 Removing intermediate container 4548d7df61aa 05:08:02 ---> d51bbc459155 05:08:02 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:08:02 ---> Running in 6b4a10169a19 05:08:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:08:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:08:04 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:08:05 (2/4) Installing libedit (20210910.3.1-r0) 05:08:05 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:08:05 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:08:05 Executing busybox-1.35.0-r17.trigger 05:08:05 OK: 226 MiB in 55 packages 05:08:06 Removing intermediate container 6b4a10169a19 05:08:06 ---> decf47dd5ef6 05:08:06 Step 9/13 : WORKDIR /device-snmp-go 05:08:06 ---> Running in 5ab2ed30840e 05:08:06 Removing intermediate container 5ab2ed30840e 05:08:06 ---> 936f6c39f7af 05:08:06 Step 10/13 : COPY go.mod vendor* ./ 05:08:07 ---> 8cb18ed23717 05:08:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:07 ---> Running in 9c2a5a23d746 05:08:54 Removing intermediate container 9c2a5a23d746 05:08:54 ---> ff4d8505e9c9 05:08:54 Step 12/13 : COPY . . 05:08:54 ---> cd5f68371107 05:08:54 Step 13/13 : RUN ${MAKE} 05:08:54 ---> Running in 61ad655748d3 05:08:55 noop 05:08:56 Removing intermediate container 61ad655748d3 05:08:56 ---> 1758727507cd 05:08:56 Successfully built 1758727507cd 05:08:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:56 + docker inspect -f . ci-base-image-arm64 05:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:57 prd-ubuntu20.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container 05:08:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:08:58 $ docker top 9e2aa9d288cd38403150d53b88c9121a242fe3f2beba059836988c2867651106 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:59 + go version 05:08:59 go version go1.18.7 linux/arm64 [Pipeline] } 05:08:59 $ docker stop --time=1 9e2aa9d288cd38403150d53b88c9121a242fe3f2beba059836988c2867651106 05:09:01 $ docker rm -f 9e2aa9d288cd38403150d53b88c9121a242fe3f2beba059836988c2867651106 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:02 + docker inspect -f . ci-base-image-arm64 05:09:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:02 prd-ubuntu20.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container 05:09:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:03 $ docker top d269b6abcf8f0752e5b9ed1dce67773841239035cfbd60346a6aae5fe37707d5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:04 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:09:04 + make test 05:09:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:09:06 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:43 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:10:43 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements 05:10:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:10:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:10:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:58 ./bin/test-attribution-txt.sh [Pipeline] echo 05:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:10:58 $ docker stop --time=1 d269b6abcf8f0752e5b9ed1dce67773841239035cfbd60346a6aae5fe37707d5 05:11:00 $ docker rm -f d269b6abcf8f0752e5b9ed1dce67773841239035cfbd60346a6aae5fe37707d5 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:01 Warning: overwriting stash ‘coverage-report’ 05:11:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:02 + ls -al . 05:11:02 total 168 05:11:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:09 . 05:11:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:07 .. 05:11:02 -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 05:07 .dockerignore 05:11:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:07 .git 05:11:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 .github 05:11:02 -rw-rw-r-- 1 jenkins jenkins 328 Oct 24 05:07 .gitignore 05:11:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:07 .golangci.yml 05:11:02 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 24 05:07 Attribution.txt 05:11:02 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 24 05:07 CHANGELOG.md 05:11:02 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 24 05:07 Dockerfile 05:11:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:07 GOVERNANCE.md 05:11:02 -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 05:07 Jenkinsfile 05:11:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:07 LICENSE 05:11:02 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 24 05:07 Makefile 05:11:02 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 05:07 OWNERS.md 05:11:02 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 24 05:07 README.md 05:11:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:04 VERSION 05:11:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:07 bin 05:11:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 cmd 05:11:02 -rw-r--r-- 1 jenkins jenkins 7631 Oct 24 05:10 coverage.out 05:11:02 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 24 05:07 go.mod 05:11:02 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 24 05:07 go.sum 05:11:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:07 internal 05:11:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:07 snap 05:11:02 -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:03 + 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=b63f99bb65d0e15b86975d5c4b1513bc7943aff6 --label arch=arm64 --label version=0.0.0 . 05:11:03 Sending build context to Docker daemon 2.868MB 05:11:03 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 05:11:03 Step 2/25 : FROM ${BASE} AS builder 05:11:03 ---> 1758727507cd 05:11:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:11:04 ---> Running in 2c6a0e880a13 05:11:04 Removing intermediate container 2c6a0e880a13 05:11:04 ---> 88d175a7d3ae 05:11:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:11:04 ---> Running in 1d054c0ef444 05:11:04 Removing intermediate container 1d054c0ef444 05:11:04 ---> 11909896b5e6 05:11:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:11:04 ---> Running in 63a863c48627 05:11:05 Removing intermediate container 63a863c48627 05:11:05 ---> 7ef125f5abe9 05:11:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:11:05 ---> Running in 36792719d906 05:11:05 Removing intermediate container 36792719d906 05:11:05 ---> 11c0e6b148d4 05:11:05 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:05 ---> Running in ca407a14f26e 05:11:07 Removing intermediate container ca407a14f26e 05:11:07 ---> 2f2ec46a45ef 05:11:07 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:11:07 ---> Running in 81c931c35d2a 05:11:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:11:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:11:10 OK: 226 MiB in 55 packages 05:11:11 Removing intermediate container 81c931c35d2a 05:11:11 ---> ba2e974d06f8 05:11:11 Step 9/25 : WORKDIR /device-snmp-go 05:11:11 ---> Running in c18a00b306d8 05:11:11 Removing intermediate container c18a00b306d8 05:11:11 ---> d4ecf8b53562 05:11:11 Step 10/25 : COPY go.mod vendor* ./ 05:11:12 ---> a7ad207d81d8 05:11:12 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:12 ---> Running in 1ff2e32d2fc5 05:11:15 Removing intermediate container 1ff2e32d2fc5 05:11:15 ---> 50e078592932 05:11:15 Step 12/25 : COPY . . 05:11:15 ---> 8d535646c7b7 05:11:15 Step 13/25 : RUN ${MAKE} 05:11:15 ---> Running in 186ea99678c3 05:11:17 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.45 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:14:08 Removing intermediate container 186ea99678c3 05:14:08 ---> 095cba9de32f 05:14:08 Step 14/25 : FROM alpine:3.16 05:14:08 3.16: Pulling from library/alpine 05:14:08 9b18e9b68314: Already exists 05:14:08 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:14:08 Status: Downloaded newer image for alpine:3.16 05:14:08 ---> a6215f271958 05:14:08 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 05:14:08 ---> Running in 0450c6210c6f 05:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:14:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:14:08 (1/6) Installing dumb-init (1.2.5-r1) 05:14:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:14:08 (3/6) Installing libsodium (1.0.18-r0) 05:14:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:14:08 (5/6) Installing libzmq (4.3.4-r0) 05:14:08 (6/6) Installing zeromq (4.3.4-r0) 05:14:08 Executing busybox-1.35.0-r17.trigger 05:14:08 OK: 8 MiB in 20 packages 05:14:08 Removing intermediate container 0450c6210c6f 05:14:08 ---> d32af3be537b 05:14:08 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 05:14:09 ---> 458df5677182 05:14:09 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:14:10 ---> 3131e386af2d 05:14:10 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 05:14:10 ---> 7920ac1a180b 05:14:10 Step 19/25 : EXPOSE 59993 05:14:10 ---> Running in a99a7957cdbb 05:14:11 Removing intermediate container a99a7957cdbb 05:14:11 ---> 170c78846eec 05:14:11 Step 20/25 : EXPOSE 161 05:14:11 ---> Running in 3734c004f526 05:14:11 Removing intermediate container 3734c004f526 05:14:11 ---> 8c34f6f01d8a 05:14:11 Step 21/25 : ENTRYPOINT ["/device-snmp"] 05:14:11 ---> Running in 192cef0273f8 05:14:12 Removing intermediate container 192cef0273f8 05:14:12 ---> c1b52897b521 05:14:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:14:12 ---> Running in 27ae68f9560e 05:14:12 Removing intermediate container 27ae68f9560e 05:14:12 ---> e412b3edc56b 05:14:12 Step 23/25 : LABEL arch=arm64 05:14:12 ---> Running in d06e95913958 05:14:12 Removing intermediate container d06e95913958 05:14:12 ---> e43fdf01173d 05:14:12 Step 24/25 : LABEL git_sha=b63f99bb65d0e15b86975d5c4b1513bc7943aff6 05:14:12 ---> Running in 734dc41d3922 05:14:13 Removing intermediate container 734dc41d3922 05:14:13 ---> c285ae19e43f 05:14:13 Step 25/25 : LABEL version=0.0.0 05:14:13 ---> Running in 10567c1db495 05:14:13 Removing intermediate container 10567c1db495 05:14:13 ---> a1921916d6aa 05:14:13 [Warning] One or more build-args [ARCH] were not consumed 05:14:13 Successfully built a1921916d6aa 05:14:13 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:14 05:14:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:15 arm64: Pulling from edgex-lftools-log-publisher 05:14:15 8998bd30e6a1: Pulling fs layer 05:14:15 04944245beec: Pulling fs layer 05:14:15 699f458cf7ca: Pulling fs layer 05:14:15 765212b225bb: Pulling fs layer 05:14:15 f23df028b6ca: Pulling fs layer 05:14:15 d65c8cfc05b1: Pulling fs layer 05:14:15 2437ff75d9bd: Pulling fs layer 05:14:15 765212b225bb: Waiting 05:14:15 f23df028b6ca: Waiting 05:14:15 d65c8cfc05b1: Waiting 05:14:15 2437ff75d9bd: Waiting 05:14:15 04944245beec: Verifying Checksum 05:14:15 04944245beec: Download complete 05:14:15 765212b225bb: Verifying Checksum 05:14:15 765212b225bb: Download complete 05:14:15 f23df028b6ca: Verifying Checksum 05:14:15 f23df028b6ca: Download complete 05:14:15 d65c8cfc05b1: Verifying Checksum 05:14:15 d65c8cfc05b1: Download complete 05:14:15 699f458cf7ca: Verifying Checksum 05:14:15 699f458cf7ca: Download complete 05:14:15 8998bd30e6a1: Verifying Checksum 05:14:15 8998bd30e6a1: Download complete 05:14:18 2437ff75d9bd: Verifying Checksum 05:14:18 2437ff75d9bd: Download complete 05:14:19 8998bd30e6a1: Pull complete 05:14:20 04944245beec: Pull complete 05:14:21 699f458cf7ca: Pull complete 05:14:21 765212b225bb: Pull complete 05:14:22 f23df028b6ca: Pull complete 05:14:22 d65c8cfc05b1: Pull complete 05:14:37 2437ff75d9bd: Pull complete 05:14:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:14:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:14:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:38 prd-ubuntu20.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container 05:14:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:14:41 $ docker top 35a5bf984b2c44b19ab94a14864e2dda15a5e97e212f0b106b78bafa79a143f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:42 ---> job-cost.sh 05:14:42 lf-activate-venv: SKIPPING 05:14:42 INFO: No Stack... 05:14:42 INFO: Retrieving Pricing Info for: v3-standard-4 05:14:43 INFO: Archiving Costs [Pipeline] sh 05:14:44 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:14:44 + cut -d, -f6 [Pipeline] lock 05:14:44 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] 05:14:44 Resource [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] did not exist. Created. 05:14:44 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:14:44 /w/workspace/device-snmp-go/1@tmp/durable-f3c8aa30/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:14:45 + echo total: 0.10999999940395355 [Pipeline] stash 05:14:45 Warning: overwriting stash ‘stack-cost’ 05:14:45 Stashed 1 file(s) [Pipeline] } 05:14:45 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-199-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:14:45 $ docker stop --time=1 35a5bf984b2c44b19ab94a14864e2dda15a5e97e212f0b106b78bafa79a143f8 05:14:47 $ docker rm -f 35a5bf984b2c44b19ab94a14864e2dda15a5e97e212f0b106b78bafa79a143f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:14:48 provisioning config files... 05:14:48 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/config1637968604921404689tmp [Pipeline] { [Pipeline] sh 05:14:48 + set +x 05:14:48 + bash -s -- 05:14:48 + curl -s https://codecov.io/bash 05:14:48 05:14:48 _____ _ 05:14:48 / ____| | | 05:14:48 | | ___ __| | ___ ___ _____ __ 05:14:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:14:48 | |___| (_) | (_| | __/ (_| (_) \ V / 05:14:48 \_____\___/ \__,_|\___|\___\___/ \_/ 05:14:48 Bash-1.0.6 05:14:48 05:14:48 05:14:48 ==> git version 2.25.1 found 05:14:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:14:48 Release-Date: 2020-01-08 05:14:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:14:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:14:48 ==> Jenkins CI detected. 05:14:48 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-199 05:14:48 project root: . 05:14:48 --> token set from env 05:14:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:14:48 ==> Running gcov in . (disable via -X gcov) 05:14:48 ==> Python coveragepy not found 05:14:48 ==> Searching for coverage reports in: 05:14:48 + . 05:14:48 -> Found 1 reports 05:14:48 ==> Detecting git/mercurial file structure 05:14:48 ==> Reading reports 05:14:48 + ./coverage.out bytes=7631 05:14:48 ==> Appending adjustments 05:14:48 https://docs.codecov.io/docs/fixing-reports 05:14:48 + Found adjustments 05:14:48 ==> Gzipping contents 05:14:48 4.0K /tmp/codecov.dvBmD6.gz 05:14:48 ==> Uploading reports 05:14:48 url: https://codecov.io 05:14:48 query: branch=PR-199&commit=b63f99bb65d0e15b86975d5c4b1513bc7943aff6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=199&job=&cmd_args= 05:14:48 -> Pinging Codecov 05:14:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-199&commit=b63f99bb65d0e15b86975d5c4b1513bc7943aff6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-199%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=199&job=&cmd_args= 05:14:49 -> Uploading to 05:14:49 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/6C56EA5C29638FB4528AC87E60AF5AE0/b63f99bb65d0e15b86975d5c4b1513bc7943aff6/08ac07a2-5c50-494e-a7fd-ef7bb7fc7c12.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T051448Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd38ca7def65e477d54cce84bcca207ef5a864a60a83e9c9c2e1149d1ce5b379 05:14:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:49 Dload Upload Total Spent Left Speed 05:14:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 5779 --:--:-- --:--:-- --:--:-- 5779 05:14:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/b63f99bb65d0e15b86975d5c4b1513bc7943aff6 [Pipeline] } 05:14:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:14:51 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-199/archives ] 05:14:51 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-199/archives 05:14:51 total 16 05:14:51 drwxr-xr-x 3 root root 4096 Oct 24 05:06 . 05:14:51 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 05:06 .. 05:14:51 drwxr-xr-x 2 root root 4096 Oct 24 05:06 cost 05:14:51 -rw-r--r-- 1 root root 86 Oct 24 05:06 cost.csv 05:14:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-199/archives 05:14:51 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-199/archives 05:14:51 total 16 05:14:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:06 . 05:14:51 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 05:06 .. 05:14:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 05:06 cost 05:14:51 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:14:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:14:52 ---> package-listing.sh 05:14:52 ++ facter osfamily 05:14:52 ++ tr '[:upper:]' '[:lower:]' 05:14:52 + OS_FAMILY=debian 05:14:52 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-199 05:14:52 + START_PACKAGES=/tmp/packages_start.txt 05:14:52 + END_PACKAGES=/tmp/packages_end.txt 05:14:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:14:52 + PACKAGES=/tmp/packages_start.txt 05:14:52 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-199 ']' 05:14:52 + PACKAGES=/tmp/packages_end.txt 05:14:52 + case "${OS_FAMILY}" in 05:14:52 + dpkg -l 05:14:52 + grep '^ii' 05:14:52 + '[' -f /tmp/packages_start.txt ']' 05:14:52 + '[' -f /tmp/packages_end.txt ']' 05:14:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:14:52 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-199 ']' 05:14:52 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-199/archives/ 05:14:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-199/archives/ [Pipeline] echo 05:14:52 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-199/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:14:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:14:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:53 prd-ubuntu20.04-docker-8c-8g-9180 does not seem to be running inside a container 05:14:53 $ 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-199/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-199 -v /w/workspace/gexfoundry_device-snmp-go_PR-199:/w/workspace/gexfoundry_device-snmp-go_PR-199:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:14:54 $ docker top ab1422652f44b5a882292d66367376b8cbc2b4e82ff7e89b45a34dcafcb810a4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:54 + touch /tmp/pre-build-complete [Pipeline] sh 05:14:54 + mkdir -p /var/log/sysstat [Pipeline] sh 05:14:55 + ls /var/log/sa-host 05:14:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:55 provisioning config files... 05:14:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-199@tmp/config2719510490748893221tmp [Pipeline] { [Pipeline] echo 05:14:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:14:55 ---> create-netrc.sh [Pipeline] } 05:14:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:14:56 ---> python-tools-install.sh [Pipeline] echo 05:14:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:14:56 ---> sudo-logs.sh 05:14:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:14:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:14:56 ---> job-cost.sh 05:14:56 lf-activate-venv: SKIPPING 05:14:56 DEBUG: total: 0.2199999988079071 05:14:56 INFO: Retrieving Stack Cost... 05:14:57 INFO: Retrieving Pricing Info for: v3-standard-8 05:14:57 INFO: Archiving Costs [Pipeline] echo 05:14:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:14:57 ---> logs-deploy.sh 05:14:57 lf-activate-venv: SKIPPING 05:14:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-199/1 05:14:57 INFO: archiving workspace using pattern(s): 05:14:58 Archives upload complete. 05:14:58 INFO: archiving logs to Nexus 05:14:59 ---> uname -a: 05:14:59 Linux prd-ubuntu20-04-docker-8c-8g-9180 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:14:59 05:14:59 05:14:59 ---> lscpu: 05:14:59 Architecture: x86_64 05:14:59 CPU op-mode(s): 32-bit, 64-bit 05:14:59 Byte Order: Little Endian 05:14:59 Address sizes: 40 bits physical, 48 bits virtual 05:14:59 CPU(s): 8 05:14:59 On-line CPU(s) list: 0-7 05:14:59 Thread(s) per core: 1 05:14:59 Core(s) per socket: 1 05:14:59 Socket(s): 8 05:14:59 NUMA node(s): 1 05:14:59 Vendor ID: AuthenticAMD 05:14:59 CPU family: 23 05:14:59 Model: 49 05:14:59 Model name: AMD EPYC-Rome Processor 05:14:59 Stepping: 0 05:14:59 CPU MHz: 2799.998 05:14:59 BogoMIPS: 5599.99 05:14:59 Virtualization: AMD-V 05:14:59 Hypervisor vendor: KVM 05:14:59 Virtualization type: full 05:14:59 L1d cache: 256 KiB 05:14:59 L1i cache: 256 KiB 05:14:59 L2 cache: 4 MiB 05:14:59 L3 cache: 128 MiB 05:14:59 NUMA node0 CPU(s): 0-7 05:14:59 Vulnerability Itlb multihit: Not affected 05:14:59 Vulnerability L1tf: Not affected 05:14:59 Vulnerability Mds: Not affected 05:14:59 Vulnerability Meltdown: Not affected 05:14:59 Vulnerability Mmio stale data: Not affected 05:14:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:14:59 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:14:59 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:14:59 Vulnerability Srbds: Not affected 05:14:59 Vulnerability Tsx async abort: Not affected 05:14:59 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:14:59 05:14:59 05:14:59 ---> nproc: 05:14:59 8 05:14:59 05:14:59 05:14:59 ---> df -h: 05:14:59 Filesystem Size Used Avail Use% Mounted on 05:14:59 overlay 155G 12G 144G 8% / 05:14:59 tmpfs 64M 0 64M 0% /dev 05:14:59 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:14:59 shm 64M 0 64M 0% /dev/shm 05:14:59 /dev/vda1 155G 12G 144G 8% /facter-os 05:14:59 05:14:59 05:14:59 ---> sar -b -r -n DEV: 05:14:59 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9180) 10/24/22 _x86_64_ (8 CPU) 05:14:59 05:14:59 05:03:46 LINUX RESTART (8 CPU) 05:14:59 05:14:59 05:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:14:59 05:05:01 210.16 48.97 161.20 0.00 5433.66 141040.99 0.00 05:14:59 05:06:01 153.62 0.37 153.26 0.00 31.58 43116.18 0.00 05:14:59 05:07:01 112.30 0.07 112.23 0.00 5.73 33012.38 0.00 05:14:59 05:08:01 1.78 0.00 1.78 0.00 0.00 19.73 0.00 05:14:59 05:09:01 37.88 9.38 28.50 0.00 2893.65 4754.94 0.00 05:14:59 05:10:01 2.07 0.00 2.07 0.00 0.00 26.13 0.00 05:14:59 05:11:01 1.02 0.00 1.02 0.00 0.00 11.20 0.00 05:14:59 05:12:01 1.62 0.00 1.62 0.00 0.00 17.46 0.00 05:14:59 05:13:01 0.93 0.00 0.93 0.00 0.00 10.80 0.00 05:14:59 05:14:01 1.58 0.00 1.58 0.00 0.00 28.93 0.00 05:14:59 Average: 52.30 5.88 46.42 0.00 836.48 22205.81 0.00 05:14:59 05:14:59 05:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:14:59 05:05:01 28629264 31592088 716144 2.18 102032 3070940 1866892 5.50 1108432 2715972 475016 05:14:59 05:06:01 28171612 31539072 760128 2.31 135916 3424796 2000792 5.90 1361244 2891992 341888 05:14:59 05:07:01 27827656 31570988 730016 2.22 145892 3756236 1758936 5.18 1211720 3348436 24 05:14:59 05:08:01 27827316 31570784 729832 2.22 145912 3756240 1758936 5.18 1212376 3348440 4 05:14:59 05:09:01 27529248 31546352 735988 2.24 164212 4005444 1798348 5.30 1376668 3459204 264 05:14:59 05:10:01 27541344 31558400 724360 2.20 164236 4005440 1815176 5.35 1361204 3459148 56 05:14:59 05:11:01 27550304 31567428 715248 2.18 164256 4005444 1815176 5.35 1352784 3459152 8 05:14:59 05:12:01 27550476 31567604 715008 2.17 164296 4005444 1815176 5.35 1352568 3459156 4 05:14:59 05:13:01 27550240 31567432 715208 2.18 164312 4005448 1815176 5.35 1352668 3459160 8 05:14:59 05:14:01 27550200 31567908 715096 2.17 164392 4005452 1815176 5.35 1352352 3459616 220 05:14:59 Average: 27772766 31564806 725703 2.21 151546 3804088 1825978 5.38 1304202 3306028 81749 05:14:59 05:14:59 05:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:14:59 05:05:01 ens3 875.82 599.97 8133.39 107.63 0.00 0.00 0.00 0.00 05:14:59 05:05:01 docker0 151.10 199.32 12.16 1746.58 0.00 0.00 0.00 0.00 05:14:59 05:05:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 05:14:59 05:06:01 ens3 62.87 53.64 81.19 93.41 0.00 0.00 0.00 0.00 05:14:59 05:06:01 docker0 7.41 9.25 0.42 40.85 0.00 0.00 0.00 0.00 05:14:59 05:06:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 05:14:59 05:06:01 vethead5697 0.05 0.22 0.00 0.02 0.00 0.00 0.00 0.00 05:14:59 05:07:01 ens3 107.47 71.80 2586.26 12.55 0.00 0.00 0.00 0.00 05:14:59 05:07:01 docker0 2.85 5.23 0.18 58.00 0.00 0.00 0.00 0.00 05:14:59 05:07:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 05:14:59 05:08:01 ens3 1.85 0.68 0.67 0.47 0.00 0.00 0.00 0.00 05:14:59 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:14:59 05:09:01 ens3 53.29 30.34 1297.69 2.74 0.00 0.00 0.00 0.00 05:14:59 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:09:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 05:14:59 05:10:01 ens3 0.45 0.33 0.10 0.08 0.00 0.00 0.00 0.00 05:14:59 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:14:59 05:11:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:12:01 ens3 0.23 0.12 0.01 0.01 0.00 0.00 0.00 0.00 05:14:59 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:14:59 05:13:01 ens3 0.15 0.02 0.01 0.00 0.00 0.00 0.00 0.00 05:14:59 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:14:01 ens3 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:14:59 05:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:14:59 05:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:14:59 Average: ens3 110.24 75.71 1209.97 21.69 0.00 0.00 0.00 0.00 05:14:59 Average: docker0 16.14 21.38 1.28 184.56 0.00 0.00 0.00 0.00 05:14:59 Average: lo 1.03 1.03 0.10 0.10 0.00 0.00 0.00 0.00 05:14:59 05:14:59 05:14:59 ---> sar -P ALL: 05:14:59 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9180) 10/24/22 _x86_64_ (8 CPU) 05:14:59 05:14:59 05:03:46 LINUX RESTART (8 CPU) 05:14:59 05:14:59 05:04:01 CPU %user %nice %system %iowait %steal %idle 05:14:59 05:05:01 all 11.33 0.00 4.20 1.56 0.05 82.85 05:14:59 05:05:01 0 9.77 0.00 3.79 3.11 0.05 83.28 05:14:59 05:05:01 1 10.49 0.00 3.79 3.27 0.03 82.41 05:14:59 05:05:01 2 11.22 0.00 3.94 1.40 0.05 83.39 05:14:59 05:05:01 3 13.51 0.00 5.76 0.19 0.05 80.49 05:14:59 05:05:01 4 10.10 0.00 3.71 0.42 0.05 85.72 05:14:59 05:05:01 5 10.50 0.00 4.34 0.61 0.05 84.51 05:14:59 05:05:01 6 13.83 0.00 3.74 3.05 0.07 79.31 05:14:59 05:05:01 7 11.26 0.00 4.51 0.46 0.07 83.71 05:14:59 05:06:01 all 38.91 0.00 7.04 0.82 0.07 53.15 05:14:59 05:06:01 0 38.36 0.00 6.50 1.23 0.07 53.85 05:14:59 05:06:01 1 38.65 0.00 8.14 2.51 0.08 50.61 05:14:59 05:06:01 2 37.15 0.00 6.15 0.10 0.07 56.53 05:14:59 05:06:01 3 39.64 0.00 6.92 1.37 0.08 52.00 05:14:59 05:06:01 4 39.12 0.00 7.13 0.12 0.07 53.57 05:14:59 05:06:01 5 38.85 0.00 6.78 0.37 0.07 53.93 05:14:59 05:06:01 6 39.18 0.00 7.85 0.80 0.08 52.08 05:14:59 05:06:01 7 40.36 0.00 6.86 0.08 0.07 52.62 05:14:59 05:07:01 all 4.17 0.00 1.84 0.99 0.03 92.96 05:14:59 05:07:01 0 3.98 0.00 2.06 0.25 0.03 93.68 05:14:59 05:07:01 1 4.76 0.00 2.46 2.03 0.02 90.73 05:14:59 05:07:01 2 5.08 0.00 1.49 0.23 0.03 93.17 05:14:59 05:07:01 3 4.42 0.00 1.58 0.05 0.03 93.92 05:14:59 05:07:01 4 4.81 0.00 1.76 0.22 0.03 93.18 05:14:59 05:07:01 5 3.58 0.00 1.80 2.30 0.03 92.29 05:14:59 05:07:01 6 3.22 0.00 1.61 2.60 0.02 92.56 05:14:59 05:07:01 7 3.54 0.00 2.00 0.25 0.07 94.15 05:14:59 05:08:01 all 0.27 0.00 0.02 0.00 0.01 99.70 05:14:59 05:08:01 0 0.02 0.00 0.03 0.00 0.02 99.93 05:14:59 05:08:01 1 0.05 0.00 0.02 0.00 0.02 99.92 05:14:59 05:08:01 2 1.97 0.00 0.00 0.00 0.00 98.03 05:14:59 05:08:01 3 0.00 0.00 0.02 0.02 0.00 99.97 05:14:59 05:08:01 4 0.00 0.00 0.02 0.00 0.02 99.97 05:14:59 05:08:01 5 0.00 0.00 0.00 0.02 0.00 99.98 05:14:59 05:08:01 6 0.03 0.00 0.00 0.00 0.00 99.97 05:14:59 05:08:01 7 0.05 0.00 0.07 0.00 0.02 99.87 05:14:59 05:09:01 all 1.29 0.00 0.73 0.34 0.01 97.63 05:14:59 05:09:01 0 0.65 0.00 0.35 0.32 0.02 98.66 05:14:59 05:09:01 1 2.02 0.00 0.38 0.07 0.00 97.53 05:14:59 05:09:01 2 1.67 0.00 0.38 0.05 0.02 97.89 05:14:59 05:09:01 3 1.44 0.00 0.72 0.87 0.02 96.96 05:14:59 05:09:01 4 1.48 0.00 0.77 0.33 0.02 97.40 05:14:59 05:09:01 5 1.45 0.00 0.83 0.93 0.03 96.75 05:14:59 05:09:01 6 0.85 0.00 1.67 0.10 0.02 97.36 05:14:59 05:09:01 7 0.73 0.00 0.70 0.03 0.00 98.53 05:14:59 05:10:01 all 0.02 0.00 0.02 0.01 0.00 99.95 05:14:59 05:10:01 0 0.03 0.00 0.03 0.00 0.00 99.93 05:14:59 05:10:01 1 0.03 0.00 0.02 0.00 0.02 99.93 05:14:59 05:10:01 2 0.03 0.00 0.02 0.00 0.00 99.95 05:14:59 05:10:01 3 0.05 0.00 0.02 0.02 0.00 99.92 05:14:59 05:10:01 4 0.00 0.00 0.00 0.07 0.00 99.93 05:14:59 05:10:01 5 0.00 0.00 0.02 0.00 0.00 99.98 05:14:59 05:10:01 6 0.00 0.00 0.02 0.00 0.00 99.98 05:14:59 05:10:01 7 0.00 0.00 0.02 0.00 0.00 99.98 05:14:59 05:11:01 all 0.02 0.00 0.01 0.00 0.00 99.97 05:14:59 05:11:01 0 0.05 0.00 0.07 0.00 0.02 99.87 05:14:59 05:11:01 1 0.02 0.00 0.00 0.00 0.00 99.98 05:14:59 05:11:01 2 0.00 0.00 0.02 0.00 0.00 99.98 05:14:59 05:11:01 3 0.02 0.00 0.00 0.00 0.02 99.97 05:14:59 05:11:01 4 0.02 0.00 0.00 0.02 0.00 99.97 05:14:59 05:11:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:14:59 05:11:01 6 0.02 0.00 0.00 0.00 0.00 99.98 05:14:59 05:11:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:14:59 05:12:01 all 0.26 0.00 0.01 0.01 0.01 99.71 05:14:59 05:12:01 0 1.99 0.00 0.03 0.00 0.02 97.96 05:14:59 05:12:01 1 0.05 0.00 0.02 0.00 0.00 99.93 05:14:59 05:12:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:14:59 05:12:01 3 0.00 0.00 0.03 0.02 0.00 99.95 05:14:59 05:12:01 4 0.02 0.00 0.00 0.03 0.02 99.93 05:14:59 05:12:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:14:59 05:12:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:14:59 05:12:01 7 0.02 0.00 0.02 0.00 0.02 99.95 05:14:59 05:13:01 all 0.27 0.00 0.01 0.00 0.01 99.71 05:14:59 05:13:01 0 2.02 0.00 0.03 0.00 0.02 97.93 05:14:59 05:13:01 1 0.02 0.00 0.00 0.00 0.02 99.97 05:14:59 05:13:01 2 0.00 0.00 0.02 0.00 0.00 99.98 05:14:59 05:13:01 3 0.03 0.00 0.03 0.02 0.02 99.90 05:14:59 05:13:01 4 0.00 0.00 0.00 0.02 0.00 99.98 05:14:59 05:13:01 5 0.03 0.00 0.02 0.00 0.00 99.95 05:14:59 05:13:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:14:59 05:13:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:14:59 05:14:01 all 0.27 0.00 0.01 0.01 0.01 99.69 05:14:59 05:14:01 0 1.99 0.00 0.05 0.00 0.03 97.93 05:14:59 05:14:01 1 0.03 0.00 0.00 0.00 0.00 99.97 05:14:59 05:14:01 2 0.00 0.00 0.00 0.00 0.00 100.00 05:14:59 05:14:01 3 0.02 0.00 0.00 0.10 0.00 99.88 05:14:59 05:14:01 4 0.05 0.00 0.00 0.02 0.00 99.93 05:14:59 05:14:01 5 0.02 0.00 0.02 0.00 0.02 99.95 05:14:59 05:14:01 6 0.03 0.00 0.00 0.00 0.00 99.97 05:14:59 05:14:01 7 0.03 0.00 0.02 0.00 0.00 99.95 05:14:59 Average: all 5.63 0.00 1.38 0.37 0.02 92.60 05:14:59 Average: 0 5.83 0.00 1.28 0.48 0.03 92.38 05:14:59 Average: 1 5.57 0.00 1.47 0.78 0.02 92.16 05:14:59 Average: 2 5.67 0.00 1.19 0.18 0.02 92.95 05:14:59 Average: 3 5.87 0.00 1.50 0.26 0.02 92.35 05:14:59 Average: 4 5.51 0.00 1.33 0.12 0.02 93.02 05:14:59 Average: 5 5.40 0.00 1.37 0.42 0.02 92.79 05:14:59 Average: 6 5.66 0.00 1.48 0.65 0.02 92.20 05:14:59 Average: 7 5.55 0.00 1.41 0.08 0.02 92.93 05:14:59 05:14:59 05:14:59