Pull request #190 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cafad5304b8161a7473a48184de40e1fa23a64a0+fe7a4eb43542f16c84660f884d46e7cb5999737b (c53d2e7e513208fcfa69a914f59de854cacee3ce) 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-ssh4977947865260929720.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4449618847454384265.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-190/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-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh211094967333633659.key > 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-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2482773444153442025.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh18422293239743345364.key > 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-190/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-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8702724420218531867.key > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-28930 in /w/workspace/gexfoundry_device-snmp-go_PR-190 [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-190 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fe7a4eb43542f16c84660f884d46e7cb5999737b into PR head commit cafad5304b8161a7473a48184de40e1fa23a64a0 Merge succeeded, producing cafad5304b8161a7473a48184de40e1fa23a64a0 Checking out Revision cafad5304b8161a7473a48184de40e1fa23a64a0 (PR-190) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cafad5304b8161a7473a48184de40e1fa23a64a0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fe7a4eb43542f16c84660f884d46e7cb5999737b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cafad5304b8161a7473a48184de40e1fa23a64a0 # timeout=10 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 bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:30 ========================================================= 05:03:30 EdgeX Global Pipelines Version Info 05:03:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:31 ------------------- 05:03:31 stable info: 05:03:31 ------------------- 05:03:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:03:31 Message: update stable to v1.0.239 05:03:31 ------------------- 05:03:31 experimental info: 05:03:31 ------------------- 05:03:31 Commited By: **** collab-it+edgex@linuxfoundation.org 05:03:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 05:03:31 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cafad5304b8161a7473a48184de40e1fa23a64a0 [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cafad53 [Pipeline] echo 05:03:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:33 provisioning config files... 05:03:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp/config503979152886704031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:34 ---> docker-login.sh 05:03:34 nexus3.edgexfoundry.org:10001 05:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:34 Configure a credential helper to remove this warning. See 05:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:34 05:03:34 Login Succeeded 05:03:34 nexus3.edgexfoundry.org:10002 05:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:34 Configure a credential helper to remove this warning. See 05:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:34 05:03:34 Login Succeeded 05:03:34 nexus3.edgexfoundry.org:10003 05:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:34 Configure a credential helper to remove this warning. See 05:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:34 05:03:34 Login Succeeded 05:03:34 nexus3.edgexfoundry.org:10004 05:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:35 Configure a credential helper to remove this warning. See 05:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:35 05:03:35 Login Succeeded 05:03:35 docker.io 05:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:35 Configure a credential helper to remove this warning. See 05:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:35 05:03:35 Login Succeeded 05:03:35 ---> docker-login.sh ends [Pipeline] } 05:03:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:36 + git rev-list -1 --merges cafad5304b8161a7473a48184de40e1fa23a64a0~1..cafad5304b8161a7473a48184de40e1fa23a64a0 [Pipeline] echo 05:03:36 -----------> git rev-list -1 --merges cafad5304b8161a7473a48184de40e1fa23a64a0~1..cafad5304b8161a7473a48184de40e1fa23a64a0 cafad5304b8161a7473a48184de40e1fa23a64a0 [false] [Pipeline] sh 05:03:36 + git log --format=format:%s -1 cafad5304b8161a7473a48184de40e1fa23a64a0 [Pipeline] echo 05:03:36 ========================================================= 05:03:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:36 + git log --format=format:%s -1 cafad5304b8161a7473a48184de40e1fa23a64a0 [Pipeline] echo 05:03:36 [semverPrep] GIT_COMMIT: cafad5304b8161a7473a48184de40e1fa23a64a0, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:03:37 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:37 + grep -v github /etc/ssh/ssh_known_hosts 05:03:37 + [ -e /tmp/ssh_known_hosts ] 05:03:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:03:37 + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:37 05:03:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:38 0.1.4: Pulling from edgex-devops/py-git-semver 05:03:38 b85a868b505f: Pulling fs layer 05:03:38 e2be974225ed: Pulling fs layer 05:03:38 339a4e72a1f5: Pulling fs layer 05:03:38 988bab9f4d93: Pulling fs layer 05:03:38 1469e6f7b9e6: Pulling fs layer 05:03:38 eaf3925da568: Pulling fs layer 05:03:38 bab4dde63d76: Pulling fs layer 05:03:38 bde34c3a00c8: Pulling fs layer 05:03:38 b352a97aabf1: Pulling fs layer 05:03:38 eaf3925da568: Waiting 05:03:38 988bab9f4d93: Waiting 05:03:38 bab4dde63d76: Waiting 05:03:38 1469e6f7b9e6: Waiting 05:03:38 bde34c3a00c8: Waiting 05:03:38 b352a97aabf1: Waiting 05:03:38 4872d77fe225: Pulling fs layer 05:03:38 5851b861e8e6: Pulling fs layer 05:03:38 4872d77fe225: Waiting 05:03:38 5851b861e8e6: Waiting 05:03:38 e2be974225ed: Download complete 05:03:38 988bab9f4d93: Verifying Checksum 05:03:38 988bab9f4d93: Download complete 05:03:38 1469e6f7b9e6: Verifying Checksum 05:03:38 1469e6f7b9e6: Download complete 05:03:38 eaf3925da568: Verifying Checksum 05:03:38 eaf3925da568: Download complete 05:03:38 339a4e72a1f5: Verifying Checksum 05:03:38 339a4e72a1f5: Download complete 05:03:38 bde34c3a00c8: Download complete 05:03:38 b352a97aabf1: Download complete 05:03:38 4872d77fe225: Verifying Checksum 05:03:38 4872d77fe225: Download complete 05:03:38 5851b861e8e6: Verifying Checksum 05:03:38 5851b861e8e6: Download complete 05:03:38 b85a868b505f: Download complete 05:03:38 bab4dde63d76: Verifying Checksum 05:03:38 bab4dde63d76: Download complete 05:03:40 b85a868b505f: Pull complete 05:03:40 e2be974225ed: Pull complete 05:03:40 339a4e72a1f5: Pull complete 05:03:40 988bab9f4d93: Pull complete 05:03:41 1469e6f7b9e6: Pull complete 05:03:41 eaf3925da568: Pull complete 05:03:43 bab4dde63d76: Pull complete 05:03:43 bde34c3a00c8: Pull complete 05:03:43 b352a97aabf1: Pull complete 05:03:43 4872d77fe225: Pull complete 05:03:43 5851b861e8e6: Pull complete 05:03:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:03:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:43 prd-ubuntu20.04-docker-8c-8g-28930 does not seem to be running inside a container 05:03:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-190 -v /w/workspace/gexfoundry_device-snmp-go_PR-190:/w/workspace/gexfoundry_device-snmp-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-190@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:03:45 $ docker top 45da8ada1768b227642fa0fb8d7e9503f23a8e0502bc449e8e816a7a13462b16 -eo pid,comm 05:03:45 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:03:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:45 [ssh-agent] Looking for ssh-agent implementation... 05:03:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:45 $ docker exec 45da8ada1768b227642fa0fb8d7e9503f23a8e0502bc449e8e816a7a13462b16 ssh-agent 05:03:45 SSH_AUTH_SOCK=/tmp/ssh-P8SgYifcWYvl/agent.32 05:03:45 SSH_AGENT_PID=38 05:03:45 Running ssh-add (command line suppressed) 05:03:46 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-190@tmp/private_key_3019552633036127942.key (/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp/private_key_3019552633036127942.key) 05:03:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:46 + git tag --points-at HEAD [Pipeline] } 05:03:46 $ docker exec --env ******** --env ******** 45da8ada1768b227642fa0fb8d7e9503f23a8e0502bc449e8e816a7a13462b16 ssh-agent -k 05:03:46 unset SSH_AUTH_SOCK; 05:03:46 unset SSH_AGENT_PID; 05:03:46 echo Agent pid 38 killed; 05:03:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:03:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:46 [ssh-agent] Looking for ssh-agent implementation... 05:03:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:46 $ docker exec 45da8ada1768b227642fa0fb8d7e9503f23a8e0502bc449e8e816a7a13462b16 ssh-agent 05:03:46 SSH_AUTH_SOCK=/tmp/ssh-BNZOzIOczi3W/agent.70 05:03:46 SSH_AGENT_PID=76 05:03:46 Running ssh-add (command line suppressed) 05:03:47 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-190@tmp/private_key_6101472758868247509.key (/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp/private_key_6101472758868247509.key) 05:03:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:47 + git semver init 05:03:47 2022-09-12 05:03:47,609 [run_init] DEBUG init version:0.0.0 force:False 05:03:47 2022-09-12 05:03:47,610 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-190/.semver 05:03:47 2022-09-12 05:03:47,610 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-190/.semver 05:03:47 2022-09-12 05:03:47,611 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-190/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-190, universal_newlines=False, shell=None, istream=None) 05:03:48 2022-09-12 05:03:48,465 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-190/.git/info/exclude 05:03:48 2022-09-12 05:03:48,466 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-190/.semver/PR-190 with force:False 05:03:48 2022-09-12 05:03:48,466 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-190/.semver/PR-190 05:03:48 2022-09-12 05:03:48,470 [execute] INFO git cat-file --batch-check 05:03:48 2022-09-12 05:03:48,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 05:03:48 2022-09-12 05:03:48,478 [execute] INFO git cat-file --batch 05:03:48 2022-09-12 05:03:48,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 05:03:48 2022-09-12 05:03:48,482 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-190/.semver/PR-190 05:03:48 0.0.0 [Pipeline] } 05:03:48 $ docker exec --env ******** --env ******** 45da8ada1768b227642fa0fb8d7e9503f23a8e0502bc449e8e816a7a13462b16 ssh-agent -k 05:03:48 unset SSH_AUTH_SOCK; 05:03:48 unset SSH_AGENT_PID; 05:03:48 echo Agent pid 76 killed; 05:03:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:03:49 + git semver [Pipeline] } 05:03:49 $ docker stop --time=1 45da8ada1768b227642fa0fb8d7e9503f23a8e0502bc449e8e816a7a13462b16 05:03:50 $ docker rm -f 45da8ada1768b227642fa0fb8d7e9503f23a8e0502bc449e8e816a7a13462b16 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:03:51 Stashed 1 file(s) [Pipeline] echo 05:03:51 [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:03:52 provisioning config files... 05:03:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp/config2930961539472374315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:52 ---> docker-login.sh 05:03:52 nexus3.edgexfoundry.org:10001 05:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:52 Configure a credential helper to remove this warning. See 05:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:52 05:03:52 Login Succeeded 05:03:52 nexus3.edgexfoundry.org:10002 05:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:52 Configure a credential helper to remove this warning. See 05:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:52 05:03:52 Login Succeeded 05:03:52 nexus3.edgexfoundry.org:10003 05:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:52 Configure a credential helper to remove this warning. See 05:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:52 05:03:52 Login Succeeded 05:03:52 nexus3.edgexfoundry.org:10004 05:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:53 Configure a credential helper to remove this warning. See 05:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:53 05:03:53 Login Succeeded 05:03:53 docker.io 05:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:53 Configure a credential helper to remove this warning. See 05:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:53 05:03:53 Login Succeeded 05:03:53 ---> docker-login.sh ends [Pipeline] } 05:03:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:03:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:03:53 ========================================================= 05:03:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:03:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:54 + 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:03:54 Sending build context to Docker daemon 5.473MB 05:03:54 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:03:54 Step 2/12 : FROM ${BASE} AS builder 05:03:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:03:54 2408cc74d12b: Pulling fs layer 05:03:54 ea60b727a1ce: Pulling fs layer 05:03:54 30c4a7721957: Pulling fs layer 05:03:54 370296b7ddb6: Pulling fs layer 05:03:54 7c6cee850709: Pulling fs layer 05:03:54 39a5fcdaea64: Pulling fs layer 05:03:54 d94ebbe4e438: Pulling fs layer 05:03:54 bcfd1f05c69d: Pulling fs layer 05:03:54 59ccb84bbe0f: Pulling fs layer 05:03:54 d94ebbe4e438: Waiting 05:03:54 bcfd1f05c69d: Waiting 05:03:54 370296b7ddb6: Waiting 05:03:54 7c6cee850709: Waiting 05:03:54 39a5fcdaea64: Waiting 05:03:54 59ccb84bbe0f: Waiting 05:03:54 30c4a7721957: Download complete 05:03:54 ea60b727a1ce: Verifying Checksum 05:03:54 ea60b727a1ce: Download complete 05:03:54 7c6cee850709: Verifying Checksum 05:03:54 7c6cee850709: Download complete 05:03:54 39a5fcdaea64: Download complete 05:03:54 2408cc74d12b: Download complete 05:03:54 d94ebbe4e438: Verifying Checksum 05:03:54 d94ebbe4e438: Download complete 05:03:54 2408cc74d12b: Pull complete 05:03:54 ea60b727a1ce: Pull complete 05:03:54 30c4a7721957: Pull complete 05:03:54 59ccb84bbe0f: Verifying Checksum 05:03:54 59ccb84bbe0f: Download complete 05:03:54 bcfd1f05c69d: Verifying Checksum 05:03:54 bcfd1f05c69d: Download complete 05:03:55 370296b7ddb6: Verifying Checksum 05:03:55 370296b7ddb6: Download complete 05:03:59 370296b7ddb6: Pull complete 05:03:59 7c6cee850709: Pull complete 05:03:59 39a5fcdaea64: Pull complete 05:03:59 d94ebbe4e438: Pull complete 05:04:01 bcfd1f05c69d: Pull complete 05:04:02 59ccb84bbe0f: Pull complete 05:04:02 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:04:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:04:02 ---> a4fb48ad2a94 05:04:02 Step 3/12 : ARG MAKE='make build' 05:04:04 ---> Running in 026664bae1a0 05:04:04 Removing intermediate container 026664bae1a0 05:04:04 ---> ac8f04c723de 05:04:04 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:04 ---> Running in a800dd06cf19 05:04:04 Removing intermediate container a800dd06cf19 05:04:04 ---> 73233a027578 05:04:04 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:04:04 ---> Running in 7b779a620402 05:04:04 Removing intermediate container 7b779a620402 05:04:04 ---> 356e009c5aee 05:04:04 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:04 ---> Running in 907e3084cc3e 05:04:05 Removing intermediate container 907e3084cc3e 05:04:05 ---> c60b2a3a7537 05:04:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:05 ---> Running in 56d7e5512421 05:04:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:04:06 (2/4) Installing libedit (20210910.3.1-r0) 05:04:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:04:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:04:06 Executing busybox-1.35.0-r13.trigger 05:04:06 OK: 216 MiB in 55 packages 05:04:06 Still waiting to schedule task 05:04:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:04:07 Removing intermediate container 56d7e5512421 05:04:07 ---> e4ddf626465e 05:04:07 Step 8/12 : WORKDIR /device-snmp-go 05:04:07 ---> Running in 3674e826d010 05:04:07 Removing intermediate container 3674e826d010 05:04:07 ---> 3a96ff482be0 05:04:07 Step 9/12 : COPY go.mod vendor* ./ 05:04:07 ---> 0ff1d2858b74 05:04:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:07 ---> Running in 375e2108ffae 05:04:29 Removing intermediate container 375e2108ffae 05:04:29 ---> 3adee206c504 05:04:29 Step 11/12 : COPY . . 05:04:29 ---> 9c39e160d2e9 05:04:29 Step 12/12 : RUN ${MAKE} 05:04:29 ---> Running in 174b055d0bac 05:04:29 noop 05:04:29 Removing intermediate container 174b055d0bac 05:04:29 ---> 0192842796bd 05:04:29 Successfully built 0192842796bd 05:04:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:30 + docker inspect -f . ci-base-image-x86_64 05:04:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:30 prd-ubuntu20.04-docker-8c-8g-28930 does not seem to be running inside a container 05:04:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-190 -v /w/workspace/gexfoundry_device-snmp-go_PR-190:/w/workspace/gexfoundry_device-snmp-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-190@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:04:30 $ docker top 775ae473461b779618b4389a13d61bd529103713e918e86eec41396989635cf6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:31 + go version 05:04:31 go version go1.18.3 linux/amd64 [Pipeline] } 05:04:31 $ docker stop --time=1 775ae473461b779618b4389a13d61bd529103713e918e86eec41396989635cf6 05:04:32 $ docker rm -f 775ae473461b779618b4389a13d61bd529103713e918e86eec41396989635cf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:33 + docker inspect -f . ci-base-image-x86_64 05:04:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:33 prd-ubuntu20.04-docker-8c-8g-28930 does not seem to be running inside a container 05:04:33 $ 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-190 -v /w/workspace/gexfoundry_device-snmp-go_PR-190:/w/workspace/gexfoundry_device-snmp-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-190@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:04:34 $ docker top c44ab1912d2b4612e6dc70949579ff073ba1acd5c23bf81a7e15c5e0a5f8eca9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-190 [Pipeline] fileExists [Pipeline] sh 05:04:34 + make test 05:04:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:04:35 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:04:45 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:04:45 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 05:04:52 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:04:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:04:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:04:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:04:54 ./bin/test-attribution-txt.sh 05:04:54 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:04:54 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:04:54 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:04:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:04:54 $ docker stop --time=1 c44ab1912d2b4612e6dc70949579ff073ba1acd5c23bf81a7e15c5e0a5f8eca9 05:04:56 $ docker rm -f c44ab1912d2b4612e6dc70949579ff073ba1acd5c23bf81a7e15c5e0a5f8eca9 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:04:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:04:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:04:58 + ls -al . 05:04:58 total 172 05:04:58 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 05:04 . 05:04:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 05:03 .. 05:04:58 -rw-rw-r-- 1 jenkins jenkins 6 Sep 12 05:03 .dockerignore 05:04:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 05:04 .git 05:04:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 05:03 .github 05:04:58 -rw-rw-r-- 1 jenkins jenkins 328 Sep 12 05:03 .gitignore 05:04:58 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 05:03 .golangci.yml 05:04:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 05:03 .semver 05:04:58 -rw-rw-r-- 1 jenkins jenkins 8556 Sep 12 05:03 Attribution.txt 05:04:58 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 12 05:03 CHANGELOG.md 05:04:58 -rw-rw-r-- 1 jenkins jenkins 1518 Sep 12 05:03 Dockerfile 05:04:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 05:03 GOVERNANCE.md 05:04:58 -rw-rw-r-- 1 jenkins jenkins 656 Sep 12 05:03 Jenkinsfile 05:04:58 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 05:03 LICENSE 05:04:58 -rw-rw-r-- 1 jenkins jenkins 2334 Sep 12 05:03 Makefile 05:04:58 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 05:03 OWNERS.md 05:04:58 -rw-rw-r-- 1 jenkins jenkins 9390 Sep 12 05:03 README.md 05:04:58 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 05:03 VERSION 05:04:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 05:03 bin 05:04:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 05:03 cmd 05:04:58 -rw-r--r-- 1 jenkins jenkins 7631 Sep 12 05:04 coverage.out 05:04:58 -rw-rw-r-- 1 jenkins jenkins 3439 Sep 12 05:03 go.mod 05:04:58 -rw-rw-r-- 1 jenkins jenkins 36897 Sep 12 05:03 go.sum 05:04:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 05:03 internal 05:04:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 05:03 snap 05:04:58 -rw-rw-r-- 1 jenkins jenkins 228 Sep 12 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:58 + 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=cafad5304b8161a7473a48184de40e1fa23a64a0 --label arch=amd64 --label version=0.0.0 . 05:04:58 Sending build context to Docker daemon 5.481MB 05:04:58 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:04:58 Step 2/24 : FROM ${BASE} AS builder 05:04:58 ---> 0192842796bd 05:04:58 Step 3/24 : ARG MAKE='make build' 05:04:58 ---> Running in 2e465bd5e514 05:04:58 Removing intermediate container 2e465bd5e514 05:04:58 ---> 2672f43328cf 05:04:58 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:58 ---> Running in 77b553ad7417 05:04:58 Removing intermediate container 77b553ad7417 05:04:58 ---> 22f56eb0354d 05:04:58 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:04:58 ---> Running in 223995138de3 05:04:58 Removing intermediate container 223995138de3 05:04:58 ---> b2ba61f15f39 05:04:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:58 ---> Running in 55419a8fb4ca 05:04:59 Removing intermediate container 55419a8fb4ca 05:04:59 ---> e5b95ee1b539 05:04:59 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:59 ---> Running in 8677ce77da09 05:04:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:00 OK: 216 MiB in 55 packages 05:05:01 Removing intermediate container 8677ce77da09 05:05:01 ---> 99c0810cf605 05:05:01 Step 8/24 : WORKDIR /device-snmp-go 05:05:01 ---> Running in 874f2ac4792a 05:05:01 Removing intermediate container 874f2ac4792a 05:05:01 ---> 19067d984571 05:05:01 Step 9/24 : COPY go.mod vendor* ./ 05:05:01 ---> 015a881d82c7 05:05:01 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:01 ---> Running in 240315fe96ab 05:05:02 Removing intermediate container 240315fe96ab 05:05:02 ---> e0f120dbda08 05:05:02 Step 11/24 : COPY . . 05:05:02 ---> cc3024b2975b 05:05:02 Step 12/24 : RUN ${MAKE} 05:05:02 ---> Running in 0862c6d2ebc9 05:05:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.21 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:05:25 Removing intermediate container 0862c6d2ebc9 05:05:25 ---> d110aa9fc0d4 05:05:25 Step 13/24 : FROM alpine:3.16 05:05:25 3.16: Pulling from library/alpine 05:05:25 213ec9aee27d: Pulling fs layer 05:05:25 213ec9aee27d: Verifying Checksum 05:05:25 213ec9aee27d: Download complete 05:05:25 213ec9aee27d: Pull complete 05:05:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:05:25 Status: Downloaded newer image for alpine:3.16 05:05:25 ---> 9c6f07244728 05:05:25 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:05:25 ---> Running in 0649db2c7ad2 05:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:25 (1/6) Installing dumb-init (1.2.5-r1) 05:05:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:05:25 (3/6) Installing libsodium (1.0.18-r0) 05:05:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:05:25 (5/6) Installing libzmq (4.3.4-r0) 05:05:25 (6/6) Installing zeromq (4.3.4-r0) 05:05:25 Executing busybox-1.35.0-r17.trigger 05:05:25 OK: 8 MiB in 20 packages 05:05:26 Removing intermediate container 0649db2c7ad2 05:05:26 ---> b74ad708e06b 05:05:26 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:05:26 ---> d2ec6db450dd 05:05:26 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:05:27 ---> 0ff20582c632 05:05:27 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:05:27 ---> f10e6290f824 05:05:27 Step 18/24 : EXPOSE 59993 05:05:27 ---> Running in fe5bd45dbad6 05:05:27 Removing intermediate container fe5bd45dbad6 05:05:27 ---> 193c4013f65b 05:05:27 Step 19/24 : EXPOSE 161 05:05:27 ---> Running in ae3b9ad68f4f 05:05:27 Removing intermediate container ae3b9ad68f4f 05:05:27 ---> 3e6f2b494e5a 05:05:27 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:05:27 ---> Running in ca94acdeee94 05:05:27 Removing intermediate container ca94acdeee94 05:05:27 ---> e29f736997c9 05:05:27 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:05:27 ---> Running in 416d120a4156 05:05:27 Removing intermediate container 416d120a4156 05:05:27 ---> 67f27152ff40 05:05:27 Step 22/24 : LABEL arch=amd64 05:05:27 ---> Running in ced81fe4ee82 05:05:27 Removing intermediate container ced81fe4ee82 05:05:27 ---> 0b46a28fb9fe 05:05:27 Step 23/24 : LABEL git_sha=cafad5304b8161a7473a48184de40e1fa23a64a0 05:05:27 ---> Running in c6393f1a97ca 05:05:27 Removing intermediate container c6393f1a97ca 05:05:27 ---> 5a7c32563208 05:05:27 Step 24/24 : LABEL version=0.0.0 05:05:28 ---> Running in 2e66da258036 05:05:28 Removing intermediate container 2e66da258036 05:05:28 ---> 241b3dda7eac 05:05:28 [Warning] One or more build-args [ARCH] were not consumed 05:05:28 Successfully built 241b3dda7eac 05:05:28 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:05:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:29 05:05:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:29 latest: Pulling from edgex-lftools-log-publisher 05:05:29 5eb5b503b376: Pulling fs layer 05:05:29 5c69ac0246d0: Pulling fs layer 05:05:29 ec43610c2a17: Pulling fs layer 05:05:29 3a2ae6a8a46f: Pulling fs layer 05:05:29 33b1e0a273af: Pulling fs layer 05:05:29 5d3b04190fa2: Pulling fs layer 05:05:29 2f39f015ded8: Pulling fs layer 05:05:29 33b1e0a273af: Waiting 05:05:29 5d3b04190fa2: Waiting 05:05:29 2f39f015ded8: Waiting 05:05:29 3a2ae6a8a46f: Waiting 05:05:29 5c69ac0246d0: Verifying Checksum 05:05:29 5c69ac0246d0: Download complete 05:05:29 3a2ae6a8a46f: Verifying Checksum 05:05:29 3a2ae6a8a46f: Download complete 05:05:29 33b1e0a273af: Verifying Checksum 05:05:29 33b1e0a273af: Download complete 05:05:29 ec43610c2a17: Verifying Checksum 05:05:29 ec43610c2a17: Download complete 05:05:29 5d3b04190fa2: Verifying Checksum 05:05:29 5d3b04190fa2: Download complete 05:05:29 5eb5b503b376: Download complete 05:05:30 2f39f015ded8: Download complete 05:05:30 5eb5b503b376: Pull complete 05:05:31 5c69ac0246d0: Pull complete 05:05:31 ec43610c2a17: Pull complete 05:05:31 3a2ae6a8a46f: Pull complete 05:05:31 33b1e0a273af: Pull complete 05:05:31 5d3b04190fa2: Pull complete 05:05:36 2f39f015ded8: Pull complete 05:05:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:05:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:36 prd-ubuntu20.04-docker-8c-8g-28930 does not seem to be running inside a container 05:05:36 $ 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-190 -v /w/workspace/gexfoundry_device-snmp-go_PR-190:/w/workspace/gexfoundry_device-snmp-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-190@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-190@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:05:37 $ docker top 027381db272b3b1ab99a4c1e50a3afa295d55b06a730991f81696c929fe0f70f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:38 ---> job-cost.sh 05:05:38 lf-activate-venv: SKIPPING 05:05:38 INFO: No Stack... 05:05:39 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:39 INFO: Archiving Costs [Pipeline] sh 05:05:39 + cat /w/workspace/gexfoundry_device-snmp-go_PR-190/archives/cost.csv 05:05:39 + cut -d, -f6 [Pipeline] lock 05:05:39 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-190-1-stack-cost] 05:05:39 Resource [jenkins-edgexfoundry-device-snmp-go-PR-190-1-stack-cost] did not exist. Created. 05:05:39 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-190-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:40 + echo total: 0.2199999988079071 [Pipeline] stash 05:05:40 Stashed 1 file(s) [Pipeline] } 05:05:40 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-190-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:40 $ docker stop --time=1 027381db272b3b1ab99a4c1e50a3afa295d55b06a730991f81696c929fe0f70f 05:05:41 $ docker rm -f 027381db272b3b1ab99a4c1e50a3afa295d55b06a730991f81696c929fe0f70f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:05:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-28933 in /w/workspace/gexfoundry_device-snmp-go_PR-190 [Pipeline] { [Pipeline] ws 05:05:55 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:05:55 Selected Git installation does not exist. Using Default 05:05:55 The recommended git tool is: NONE 05:06:00 using credential edgex-jenkins-ssh 05:06:00 Cloning the remote Git repository 05:06:00 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:06:00 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:06:00 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:00 > git --version # timeout=10 05:06:00 > git --version # 'git version 2.25.1' 05:06:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:02 Merging remotes/origin/main commit fe7a4eb43542f16c84660f884d46e7cb5999737b into PR head commit cafad5304b8161a7473a48184de40e1fa23a64a0 05:06:03 Merge succeeded, producing cafad5304b8161a7473a48184de40e1fa23a64a0 05:06:03 Checking out Revision cafad5304b8161a7473a48184de40e1fa23a64a0 (PR-190) 05:06:02 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:02 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:02 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:06:02 > git config core.sparsecheckout # timeout=10 05:06:02 > git checkout -f cafad5304b8161a7473a48184de40e1fa23a64a0 # timeout=10 05:06:02 > git remote # timeout=10 05:06:02 > git config --get remote.origin.url # timeout=10 05:06:02 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:02 > git merge fe7a4eb43542f16c84660f884d46e7cb5999737b # timeout=10 05:06:03 > git rev-parse HEAD^{commit} # timeout=10 05:06:03 > git config core.sparsecheckout # timeout=10 05:06:03 > git checkout -f cafad5304b8161a7473a48184de40e1fa23a64a0 # timeout=10 05:06:07 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:06:07 > git --version # timeout=10 05:06:07 > git --version # 'git version 2.25.1' 05:06:07 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:08 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:08 Dload Upload Total Spent Left Speed 05:06:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12602 83 10504 0 0 83365 0 --:--:-- --:--:-- --:--:-- 83365 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 98453 [Pipeline] sh 05:06:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:10 + sudo tee /etc/docker/daemon.new 05:06:10 { 05:06:10 "registry-mirrors": [ 05:06:10 "https://nexus3.edgexfoundry.org:10001" 05:06:10 ], 05:06:10 "bip": "10.250.0.254/24", 05:06:10 "hosts": [ 05:06:10 "tcp://0.0.0.0:5555", 05:06:10 "unix:///var/run/docker.sock" 05:06:10 ], 05:06:10 "mtu": 1458, 05:06:10 "selinux-enabled": true, 05:06:10 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:10 } [Pipeline] sh 05:06:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:06:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:29 provisioning config files... 05:06:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8308338738366331849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:29 ---> docker-login.sh 05:06:29 nexus3.edgexfoundry.org:10001 05:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:30 Configure a credential helper to remove this warning. See 05:06:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:30 05:06:30 Login Succeeded 05:06:30 nexus3.edgexfoundry.org:10002 05:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:31 Configure a credential helper to remove this warning. See 05:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:31 05:06:31 Login Succeeded 05:06:31 nexus3.edgexfoundry.org:10003 05:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:31 Configure a credential helper to remove this warning. See 05:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:31 05:06:31 Login Succeeded 05:06:31 nexus3.edgexfoundry.org:10004 05:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:31 Configure a credential helper to remove this warning. See 05:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:31 05:06:31 Login Succeeded 05:06:31 docker.io 05:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:32 Configure a credential helper to remove this warning. See 05:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:32 05:06:32 Login Succeeded 05:06:32 ---> docker-login.sh ends [Pipeline] } 05:06:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:33 ========================================================= 05:06:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:06:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:33 + 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:06:34 Sending build context to Docker daemon 2.823MB 05:06:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 05:06:34 Step 2/12 : FROM ${BASE} AS builder 05:06:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:06:34 b3c136eddcbf: Pulling fs layer 05:06:34 c0a3192eca97: Pulling fs layer 05:06:34 a050256f5b6f: Pulling fs layer 05:06:34 656be50a0ddc: Pulling fs layer 05:06:34 2bbca73fdf42: Pulling fs layer 05:06:34 46d945488cbd: Pulling fs layer 05:06:34 8a5474983e97: Pulling fs layer 05:06:34 329c88fbcd65: Pulling fs layer 05:06:34 46d945488cbd: Waiting 05:06:34 8a5474983e97: Waiting 05:06:34 329c88fbcd65: Waiting 05:06:34 656be50a0ddc: Waiting 05:06:34 2bbca73fdf42: Waiting 05:06:34 a050256f5b6f: Verifying Checksum 05:06:34 a050256f5b6f: Download complete 05:06:34 c0a3192eca97: Verifying Checksum 05:06:34 c0a3192eca97: Download complete 05:06:34 2bbca73fdf42: Verifying Checksum 05:06:34 2bbca73fdf42: Download complete 05:06:34 46d945488cbd: Verifying Checksum 05:06:34 46d945488cbd: Download complete 05:06:34 b3c136eddcbf: Verifying Checksum 05:06:35 b3c136eddcbf: Pull complete 05:06:35 329c88fbcd65: Verifying Checksum 05:06:35 329c88fbcd65: Download complete 05:06:36 c0a3192eca97: Pull complete 05:06:36 a050256f5b6f: Pull complete 05:06:36 8a5474983e97: Verifying Checksum 05:06:36 8a5474983e97: Download complete 05:06:37 656be50a0ddc: Verifying Checksum 05:06:37 656be50a0ddc: Download complete 05:06:52 656be50a0ddc: Pull complete 05:06:52 2bbca73fdf42: Pull complete 05:06:52 46d945488cbd: Pull complete 05:06:57 8a5474983e97: Pull complete 05:07:00 329c88fbcd65: Pull complete 05:07:00 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:07:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:07:00 ---> ff4287adb874 05:07:00 Step 3/12 : ARG MAKE='make build' 05:07:02 ---> Running in afde6f5754d2 05:07:02 Removing intermediate container afde6f5754d2 05:07:02 ---> 9cfc8231c148 05:07:02 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:02 ---> Running in 21a60177ca7c 05:07:02 Removing intermediate container 21a60177ca7c 05:07:02 ---> e00eb8e60d21 05:07:02 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:07:03 ---> Running in 5caaad195575 05:07:03 Removing intermediate container 5caaad195575 05:07:03 ---> f83e4f3be81d 05:07:03 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:03 ---> Running in 8d76a6750992 05:07:05 Removing intermediate container 8d76a6750992 05:07:05 ---> 12a58a03a31e 05:07:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:05 ---> Running in 661e33b186b8 05:07:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:07:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:07:08 (1/4) Installing openssh-keygen (9.0_p1-r2) 05:07:08 (2/4) Installing libedit (20210910.3.1-r0) 05:07:08 (3/4) Installing openssh-client-common (9.0_p1-r2) 05:07:08 (4/4) Installing openssh-client-default (9.0_p1-r2) 05:07:08 Executing busybox-1.35.0-r13.trigger 05:07:08 OK: 226 MiB in 55 packages 05:07:09 Removing intermediate container 661e33b186b8 05:07:09 ---> 43d26b9b8cac 05:07:09 Step 8/12 : WORKDIR /device-snmp-go 05:07:09 ---> Running in 10901095f900 05:07:10 Removing intermediate container 10901095f900 05:07:10 ---> 08254e21bdb0 05:07:10 Step 9/12 : COPY go.mod vendor* ./ 05:07:10 ---> 24aab69198db 05:07:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:10 ---> Running in a982dabe6eaf 05:07:57 Removing intermediate container a982dabe6eaf 05:07:57 ---> 09dd3fd219b6 05:07:57 Step 11/12 : COPY . . 05:07:58 ---> a318a009c98b 05:07:58 Step 12/12 : RUN ${MAKE} 05:07:58 ---> Running in f93ecaaad6e5 05:07:59 noop 05:08:00 Removing intermediate container f93ecaaad6e5 05:08:00 ---> 9e9f970faec7 05:08:00 Successfully built 9e9f970faec7 05:08:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:00 + docker inspect -f . ci-base-image-arm64 05:08:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:01 prd-ubuntu20.04-docker-arm64-4c-16g-28933 does not seem to be running inside a container 05:08:01 $ 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:02 $ docker top dd6e7eaab8d2deca0b4b49824d515c6578be8f25db373802757b84b2ac4ba018 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:03 + go version 05:08:03 go version go1.18.3 linux/arm64 [Pipeline] } 05:08:03 $ docker stop --time=1 dd6e7eaab8d2deca0b4b49824d515c6578be8f25db373802757b84b2ac4ba018 05:08:05 $ docker rm -f dd6e7eaab8d2deca0b4b49824d515c6578be8f25db373802757b84b2ac4ba018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:06 + docker inspect -f . ci-base-image-arm64 05:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-28933 does not seem to be running inside a container 05:08:06 $ 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:08:07 $ docker top 0d773c4761a4bcae79b91fd53e97ebfb151e5bed12566f498d1cd745e64e6476 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:08 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:08:09 + make test 05:08:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:11 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:09:33 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:09:33 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 05:09:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:09:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:51 ./bin/test-attribution-txt.sh 05:09:51 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:09:51 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:09:51 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:09:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:51 $ docker stop --time=1 0d773c4761a4bcae79b91fd53e97ebfb151e5bed12566f498d1cd745e64e6476 05:09:53 $ docker rm -f 0d773c4761a4bcae79b91fd53e97ebfb151e5bed12566f498d1cd745e64e6476 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:54 Warning: overwriting stash ‘coverage-report’ 05:09:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:56 + ls -al . 05:09:56 total 168 05:09:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 05:08 . 05:09:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 05:06 .. 05:09:56 -rw-rw-r-- 1 jenkins jenkins 6 Sep 12 05:06 .dockerignore 05:09:56 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 05:06 .git 05:09:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 05:06 .github 05:09:56 -rw-rw-r-- 1 jenkins jenkins 328 Sep 12 05:06 .gitignore 05:09:56 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 05:06 .golangci.yml 05:09:56 -rw-rw-r-- 1 jenkins jenkins 8556 Sep 12 05:06 Attribution.txt 05:09:56 -rw-rw-r-- 1 jenkins jenkins 6948 Sep 12 05:06 CHANGELOG.md 05:09:56 -rw-rw-r-- 1 jenkins jenkins 1518 Sep 12 05:06 Dockerfile 05:09:56 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 05:06 GOVERNANCE.md 05:09:56 -rw-rw-r-- 1 jenkins jenkins 656 Sep 12 05:06 Jenkinsfile 05:09:56 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 05:06 LICENSE 05:09:56 -rw-rw-r-- 1 jenkins jenkins 2334 Sep 12 05:06 Makefile 05:09:56 -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 05:06 OWNERS.md 05:09:56 -rw-rw-r-- 1 jenkins jenkins 9390 Sep 12 05:06 README.md 05:09:56 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 05:03 VERSION 05:09:56 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 05:06 bin 05:09:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 05:06 cmd 05:09:56 -rw-r--r-- 1 jenkins jenkins 7631 Sep 12 05:09 coverage.out 05:09:56 -rw-rw-r-- 1 jenkins jenkins 3439 Sep 12 05:06 go.mod 05:09:56 -rw-rw-r-- 1 jenkins jenkins 36897 Sep 12 05:06 go.sum 05:09:56 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 05:06 internal 05:09:56 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 05:06 snap 05:09:56 -rw-rw-r-- 1 jenkins jenkins 228 Sep 12 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:56 + 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=cafad5304b8161a7473a48184de40e1fa23a64a0 --label arch=arm64 --label version=0.0.0 . 05:09:57 Sending build context to Docker daemon 2.831MB 05:09:57 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 05:09:57 Step 2/24 : FROM ${BASE} AS builder 05:09:57 ---> 9e9f970faec7 05:09:57 Step 3/24 : ARG MAKE='make build' 05:09:57 ---> Running in 771a13c96484 05:09:57 Removing intermediate container 771a13c96484 05:09:57 ---> 530db762fa2f 05:09:57 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:09:57 ---> Running in b8f5e9645ebf 05:09:58 Removing intermediate container b8f5e9645ebf 05:09:58 ---> 81715c8cfa72 05:09:58 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:09:58 ---> Running in 0edf6a4822f3 05:09:58 Removing intermediate container 0edf6a4822f3 05:09:58 ---> dfb758cf86bb 05:09:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:09:58 ---> Running in 6485887dc4f9 05:10:00 Removing intermediate container 6485887dc4f9 05:10:00 ---> 35e88d2b6742 05:10:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:00 ---> Running in 260d27f01f85 05:10:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:10:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:10:03 OK: 226 MiB in 55 packages 05:10:04 Removing intermediate container 260d27f01f85 05:10:04 ---> 950fc21e2775 05:10:04 Step 8/24 : WORKDIR /device-snmp-go 05:10:04 ---> Running in 6e57cd6b2954 05:10:04 Removing intermediate container 6e57cd6b2954 05:10:04 ---> 8714386c50ad 05:10:04 Step 9/24 : COPY go.mod vendor* ./ 05:10:05 ---> 4e03102647c0 05:10:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:05 ---> Running in 285dba7b2cba 05:10:07 Removing intermediate container 285dba7b2cba 05:10:07 ---> 08a849ea6529 05:10:07 Step 11/24 : COPY . . 05:10:08 ---> c1b146d186d0 05:10:08 Step 12/24 : RUN ${MAKE} 05:10:08 ---> Running in 3b839aaafaa6 05:10:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.21 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:12:31 Removing intermediate container 3b839aaafaa6 05:12:31 ---> d119078ff1e5 05:12:31 Step 13/24 : FROM alpine:3.16 05:12:31 3.16: Pulling from library/alpine 05:12:31 9b18e9b68314: Pulling fs layer 05:12:31 9b18e9b68314: Verifying Checksum 05:12:31 9b18e9b68314: Download complete 05:12:31 9b18e9b68314: Pull complete 05:12:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:12:31 Status: Downloaded newer image for alpine:3.16 05:12:31 ---> a6215f271958 05:12:31 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:12:31 ---> Running in abf78beed9e8 05:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:12:31 (1/6) Installing dumb-init (1.2.5-r1) 05:12:31 (2/6) Installing libgcc (11.2.1_git20220219-r2) 05:12:31 (3/6) Installing libsodium (1.0.18-r0) 05:12:31 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 05:12:31 (5/6) Installing libzmq (4.3.4-r0) 05:12:31 (6/6) Installing zeromq (4.3.4-r0) 05:12:31 Executing busybox-1.35.0-r17.trigger 05:12:31 OK: 8 MiB in 20 packages 05:12:31 Removing intermediate container abf78beed9e8 05:12:31 ---> 6baf9d80ff0a 05:12:31 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:12:31 ---> 388e9a8de147 05:12:31 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:12:31 ---> 818562d4a343 05:12:31 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:12:31 ---> abaa92d4c7e8 05:12:31 Step 18/24 : EXPOSE 59993 05:12:31 ---> Running in 71241c2091b4 05:12:31 Removing intermediate container 71241c2091b4 05:12:31 ---> e3d195dd4c35 05:12:31 Step 19/24 : EXPOSE 161 05:12:31 ---> Running in d5ead3481df1 05:12:31 Removing intermediate container d5ead3481df1 05:12:31 ---> 70d373053362 05:12:31 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:12:31 ---> Running in 85de0c1beba0 05:12:31 Removing intermediate container 85de0c1beba0 05:12:31 ---> d2a1405f6212 05:12:31 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:12:31 ---> Running in b6521d2ce34e 05:12:32 Removing intermediate container b6521d2ce34e 05:12:32 ---> 69d3c167dd43 05:12:32 Step 22/24 : LABEL arch=arm64 05:12:32 ---> Running in c9156e7dd6ad 05:12:32 Removing intermediate container c9156e7dd6ad 05:12:32 ---> 8990e745bfd5 05:12:32 Step 23/24 : LABEL git_sha=cafad5304b8161a7473a48184de40e1fa23a64a0 05:12:32 ---> Running in 956a2748a193 05:12:32 Removing intermediate container 956a2748a193 05:12:32 ---> ef8746be427a 05:12:32 Step 24/24 : LABEL version=0.0.0 05:12:32 ---> Running in 2d9fa3936539 05:12:33 Removing intermediate container 2d9fa3936539 05:12:33 ---> 4ff76ea2a64b 05:12:33 [Warning] One or more build-args [ARCH] were not consumed 05:12:33 Successfully built 4ff76ea2a64b 05:12:33 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:12:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:34 05:12:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:35 arm64: Pulling from edgex-lftools-log-publisher 05:12:35 8998bd30e6a1: Pulling fs layer 05:12:35 04944245beec: Pulling fs layer 05:12:35 699f458cf7ca: Pulling fs layer 05:12:35 765212b225bb: Pulling fs layer 05:12:35 f23df028b6ca: Pulling fs layer 05:12:35 d65c8cfc05b1: Pulling fs layer 05:12:35 2437ff75d9bd: Pulling fs layer 05:12:35 f23df028b6ca: Waiting 05:12:35 d65c8cfc05b1: Waiting 05:12:35 2437ff75d9bd: Waiting 05:12:35 765212b225bb: Waiting 05:12:35 04944245beec: Verifying Checksum 05:12:35 04944245beec: Download complete 05:12:35 765212b225bb: Verifying Checksum 05:12:35 765212b225bb: Download complete 05:12:35 f23df028b6ca: Download complete 05:12:35 d65c8cfc05b1: Verifying Checksum 05:12:35 d65c8cfc05b1: Download complete 05:12:35 699f458cf7ca: Verifying Checksum 05:12:35 699f458cf7ca: Download complete 05:12:35 8998bd30e6a1: Verifying Checksum 05:12:35 8998bd30e6a1: Download complete 05:12:38 2437ff75d9bd: Verifying Checksum 05:12:38 2437ff75d9bd: Download complete 05:12:39 8998bd30e6a1: Pull complete 05:12:40 04944245beec: Pull complete 05:12:41 699f458cf7ca: Pull complete 05:12:42 765212b225bb: Pull complete 05:12:43 f23df028b6ca: Pull complete 05:12:43 d65c8cfc05b1: Pull complete 05:12:58 2437ff75d9bd: Pull complete 05:12:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:12:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:58 prd-ubuntu20.04-docker-arm64-4c-16g-28933 does not seem to be running inside a container 05:12:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:13:01 $ docker top 0bcb99a6b8a068f3cb19bd0730d195290b44d6e02d8b70db2fcf0bdc71deac9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:02 ---> job-cost.sh 05:13:02 lf-activate-venv: SKIPPING 05:13:02 INFO: No Stack... 05:13:03 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:04 INFO: Archiving Costs [Pipeline] sh 05:13:04 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:13:04 + cut -d, -f6 [Pipeline] lock 05:13:04 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-190-1-stack-cost] 05:13:04 Resource [jenkins-edgexfoundry-device-snmp-go-PR-190-1-stack-cost] did not exist. Created. 05:13:04 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-190-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:05 /w/workspace/device-snmp-go/1@tmp/durable-75128015/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:06 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:06 Warning: overwriting stash ‘stack-cost’ 05:13:06 Stashed 1 file(s) [Pipeline] } 05:13:06 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-190-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:06 $ docker stop --time=1 0bcb99a6b8a068f3cb19bd0730d195290b44d6e02d8b70db2fcf0bdc71deac9d 05:13:08 $ docker rm -f 0bcb99a6b8a068f3cb19bd0730d195290b44d6e02d8b70db2fcf0bdc71deac9d [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:13:09 provisioning config files... 05:13:09 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp/config4546206235354805968tmp [Pipeline] { [Pipeline] sh 05:13:09 + set +x 05:13:09 + curl -s https://codecov.io/bash 05:13:09 + bash -s -- 05:13:09 05:13:09 _____ _ 05:13:09 / ____| | | 05:13:09 | | ___ __| | ___ ___ _____ __ 05:13:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:09 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:09 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:09 Bash-1.0.6 05:13:09 05:13:09 05:13:09 ==> git version 2.25.1 found 05:13:09 ==> 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:13:09 Release-Date: 2020-01-08 05:13:09 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:13:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:09 ==> Jenkins CI detected. 05:13:09 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-190 05:13:09 project root: . 05:13:09 --> token set from env 05:13:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:09 ==> Running gcov in . (disable via -X gcov) 05:13:09 ==> Python coveragepy not found 05:13:09 ==> Searching for coverage reports in: 05:13:09 + . 05:13:09 -> Found 1 reports 05:13:09 ==> Detecting git/mercurial file structure 05:13:09 ==> Reading reports 05:13:09 + ./coverage.out bytes=7631 05:13:09 ==> Appending adjustments 05:13:09 https://docs.codecov.io/docs/fixing-reports 05:13:09 + Found adjustments 05:13:09 ==> Gzipping contents 05:13:09 4.0K /tmp/codecov.QuPQzu.gz 05:13:09 ==> Uploading reports 05:13:09 url: https://codecov.io 05:13:09 query: branch=PR-190&commit=cafad5304b8161a7473a48184de40e1fa23a64a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-190%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=190&job=&cmd_args= 05:13:09 -> Pinging Codecov 05:13:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-190&commit=cafad5304b8161a7473a48184de40e1fa23a64a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-190%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=190&job=&cmd_args= 05:13:10 -> Uploading to 05:13:10 https://storage.googleapis.com/codecov/v4/raw/2022-09-12/6C56EA5C29638FB4528AC87E60AF5AE0/cafad5304b8161a7473a48184de40e1fa23a64a0/e7565b48-9b5b-4c5a-8246-6dbfba51b9d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220912T051309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4aa59bfd66e6277d2cf7e2ba650ae8de8eeda3fbd10087e6e68476f28cd10430 05:13:10 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:10 Dload Upload Total Spent Left Speed 05:13:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6290 --:--:-- --:--:-- --:--:-- 6290 05:13:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/cafad5304b8161a7473a48184de40e1fa23a64a0 [Pipeline] } 05:13:10 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:13:12 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-190/archives ] 05:13:12 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-190/archives 05:13:12 total 16 05:13:12 drwxr-xr-x 3 root root 4096 Sep 12 05:05 . 05:13:12 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 05:05 .. 05:13:12 drwxr-xr-x 2 root root 4096 Sep 12 05:05 cost 05:13:12 -rw-r--r-- 1 root root 86 Sep 12 05:05 cost.csv 05:13:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-190/archives 05:13:12 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-190/archives 05:13:12 total 16 05:13:12 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 05:05 . 05:13:12 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 05:05 .. 05:13:12 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 05:05 cost 05:13:12 -rw-r--r-- 1 jenkins jenkins 86 Sep 12 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:13 ---> package-listing.sh 05:13:13 ++ facter osfamily 05:13:13 ++ tr '[:upper:]' '[:lower:]' 05:13:13 + OS_FAMILY=debian 05:13:13 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-190 05:13:13 + START_PACKAGES=/tmp/packages_start.txt 05:13:13 + END_PACKAGES=/tmp/packages_end.txt 05:13:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:13 + PACKAGES=/tmp/packages_start.txt 05:13:13 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-190 ']' 05:13:13 + PACKAGES=/tmp/packages_end.txt 05:13:13 + case "${OS_FAMILY}" in 05:13:13 + dpkg -l 05:13:13 + grep '^ii' 05:13:13 + '[' -f /tmp/packages_start.txt ']' 05:13:13 + '[' -f /tmp/packages_end.txt ']' 05:13:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:13 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-190 ']' 05:13:13 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-190/archives/ 05:13:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-190/archives/ [Pipeline] echo 05:13:13 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-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:14 prd-ubuntu20.04-docker-8c-8g-28930 does not seem to be running inside a container 05:13:14 $ 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-190/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-190 -v /w/workspace/gexfoundry_device-snmp-go_PR-190:/w/workspace/gexfoundry_device-snmp-go_PR-190:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-190@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:13:15 $ docker top c7e46236807722b65eff617d821d991bd1369473c3e9411096a1be3f7e4e7ed8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:15 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:15 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:16 + ls /var/log/sa-host 05:13:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:16 provisioning config files... 05:13:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-190@tmp/config1571629696579791325tmp [Pipeline] { [Pipeline] echo 05:13:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:16 ---> create-netrc.sh [Pipeline] } 05:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:17 ---> python-tools-install.sh [Pipeline] echo 05:13:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:17 ---> sudo-logs.sh 05:13:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:17 ---> job-cost.sh 05:13:17 lf-activate-venv: SKIPPING 05:13:17 DEBUG: total: 0.2199999988079071 05:13:17 INFO: Retrieving Stack Cost... 05:13:18 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:18 INFO: Archiving Costs [Pipeline] echo 05:13:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:18 ---> logs-deploy.sh 05:13:18 lf-activate-venv: SKIPPING 05:13:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-190/1 05:13:18 INFO: archiving workspace using pattern(s): 05:13:19 Archives upload complete. 05:13:19 INFO: archiving logs to Nexus 05:13:20 ---> uname -a: 05:13:20 Linux prd-ubuntu20-04-docker-8c-8g-28930 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:13:20 05:13:20 05:13:20 ---> lscpu: 05:13:20 Architecture: x86_64 05:13:20 CPU op-mode(s): 32-bit, 64-bit 05:13:20 Byte Order: Little Endian 05:13:20 Address sizes: 40 bits physical, 48 bits virtual 05:13:20 CPU(s): 8 05:13:20 On-line CPU(s) list: 0-7 05:13:20 Thread(s) per core: 1 05:13:20 Core(s) per socket: 1 05:13:20 Socket(s): 8 05:13:20 NUMA node(s): 1 05:13:20 Vendor ID: AuthenticAMD 05:13:20 CPU family: 23 05:13:20 Model: 49 05:13:20 Model name: AMD EPYC-Rome Processor 05:13:20 Stepping: 0 05:13:20 CPU MHz: 2800.000 05:13:20 BogoMIPS: 5600.00 05:13:20 Virtualization: AMD-V 05:13:20 Hypervisor vendor: KVM 05:13:20 Virtualization type: full 05:13:20 L1d cache: 256 KiB 05:13:20 L1i cache: 256 KiB 05:13:20 L2 cache: 4 MiB 05:13:20 L3 cache: 128 MiB 05:13:20 NUMA node0 CPU(s): 0-7 05:13:20 Vulnerability Itlb multihit: Not affected 05:13:20 Vulnerability L1tf: Not affected 05:13:20 Vulnerability Mds: Not affected 05:13:20 Vulnerability Meltdown: Not affected 05:13:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:13:20 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:13:20 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:13:20 Vulnerability Srbds: Not affected 05:13:20 Vulnerability Tsx async abort: Not affected 05:13:20 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:13:20 05:13:20 05:13:20 ---> nproc: 05:13:20 8 05:13:20 05:13:20 05:13:20 ---> df -h: 05:13:20 Filesystem Size Used Avail Use% Mounted on 05:13:20 overlay 155G 11G 145G 7% / 05:13:20 tmpfs 64M 0 64M 0% /dev 05:13:20 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:13:20 shm 64M 0 64M 0% /dev/shm 05:13:20 /dev/vda1 155G 11G 145G 7% /facter-os 05:13:20 05:13:20 05:13:20 ---> sar -b -r -n DEV: 05:13:20 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-28930) 09/12/22 _x86_64_ (8 CPU) 05:13:20 05:13:20 05:02:51 LINUX RESTART (8 CPU) 05:13:20 05:13:20 05:03:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:13:20 05:04:01 334.96 56.52 278.44 0.00 7433.96 149821.83 0.00 05:13:20 05:05:01 217.68 1.03 216.65 0.00 17.73 107764.17 0.00 05:13:20 05:06:01 121.79 0.03 121.76 0.00 4.66 33795.50 0.00 05:13:20 05:07:01 2.30 0.00 2.30 0.00 0.00 25.75 0.00 05:13:20 05:08:01 1.77 0.02 1.75 0.00 0.13 19.99 0.00 05:13:20 05:09:01 2.05 0.00 2.05 0.00 0.00 23.73 0.00 05:13:20 05:10:01 0.95 0.00 0.95 0.00 0.00 11.46 0.00 05:13:20 05:11:01 1.43 0.00 1.43 0.00 0.00 17.20 0.00 05:13:20 05:12:01 1.67 0.63 1.03 0.00 22.53 11.86 0.00 05:13:20 05:13:01 2.65 0.93 1.72 0.00 26.53 22.26 0.00 05:13:20 Average: 68.72 5.92 62.81 0.00 750.50 29150.56 0.00 05:13:20 05:13:20 05:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:13:20 05:04:01 28883024 31753016 555624 1.69 115136 3024348 2204824 6.50 1129544 2497960 697600 05:13:20 05:05:01 28313824 31705432 589700 1.79 163480 3439396 2611572 7.70 1300780 2821712 408 05:13:20 05:06:01 27622552 31765680 526832 1.60 173496 4118456 1786436 5.26 1288676 3458936 184 05:13:20 05:07:01 27622760 31766068 526144 1.60 173564 4118456 1786436 5.26 1287956 3458936 128 05:13:20 05:08:01 27630216 31773584 518488 1.58 173636 4118468 1786436 5.26 1281280 3458948 200 05:13:20 05:09:01 27631184 31774572 517448 1.57 173688 4118472 1786436 5.26 1280400 3458948 8 05:13:20 05:10:01 27639092 31782492 509560 1.55 173708 4118472 1786436 5.26 1272872 3458956 16 05:13:20 05:11:01 27638784 31782396 509764 1.55 173732 4118480 1786436 5.26 1273340 3459144 208 05:13:20 05:12:01 27638176 31782472 509608 1.55 173760 4119132 1786436 5.26 1274588 3459580 24 05:13:20 05:13:01 27635808 31781980 509976 1.55 173788 4119956 1770192 5.22 1278064 3458672 0 05:13:20 Average: 27825542 31766769 527314 1.60 166799 3941364 1909164 5.63 1266750 3299179 69878 05:13:20 05:13:20 05:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:13:20 05:04:01 lo 7.40 7.40 0.71 0.71 0.00 0.00 0.00 0.00 05:13:20 05:04:01 docker0 3.40 2.85 0.36 41.28 0.00 0.00 0.00 0.00 05:13:20 05:04:01 ens3 791.22 495.70 7426.32 106.60 0.00 0.00 0.00 0.00 05:13:20 05:05:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 05:13:20 05:05:01 veth5a0c9e7 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:05:01 docker0 120.05 153.84 9.80 1519.58 0.00 0.00 0.00 0.00 05:13:20 05:05:01 ens3 239.73 179.94 1574.96 80.80 0.00 0.00 0.00 0.00 05:13:20 05:06:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 05:13:20 05:06:01 docker0 2.68 5.88 0.17 57.94 0.00 0.00 0.00 0.00 05:13:20 05:06:01 ens3 139.00 102.37 2636.13 59.33 0.00 0.00 0.00 0.00 05:13:20 05:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:13:20 05:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:07:01 ens3 0.35 0.20 0.10 0.07 0.00 0.00 0.00 0.00 05:13:20 05:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:08:01 ens3 0.42 0.20 0.26 0.19 0.00 0.00 0.00 0.00 05:13:20 05:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:13:20 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:09:01 ens3 0.32 0.20 0.09 0.07 0.00 0.00 0.00 0.00 05:13:20 05:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:10:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:13:20 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:11:01 ens3 0.55 0.35 0.27 0.21 0.00 0.00 0.00 0.00 05:13:20 05:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:12:01 ens3 0.68 0.53 0.73 0.35 0.00 0.00 0.00 0.00 05:13:20 05:13:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 05:13:20 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:20 05:13:01 ens3 6.35 4.67 4.44 5.44 0.00 0.00 0.00 0.00 05:13:20 Average: lo 1.04 1.04 0.10 0.10 0.00 0.00 0.00 0.00 05:13:20 Average: docker0 12.61 16.26 1.03 161.87 0.00 0.00 0.00 0.00 05:13:20 Average: ens3 117.86 78.41 1164.34 25.31 0.00 0.00 0.00 0.00 05:13:20 05:13:20 05:13:20 ---> sar -P ALL: 05:13:20 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-28930) 09/12/22 _x86_64_ (8 CPU) 05:13:20 05:13:20 05:02:51 LINUX RESTART (8 CPU) 05:13:20 05:13:20 05:03:01 CPU %user %nice %system %iowait %steal %idle 05:13:20 05:04:01 all 11.48 0.00 4.62 2.31 0.06 81.53 05:13:20 05:04:01 0 10.45 0.00 4.63 2.93 0.05 81.95 05:13:20 05:04:01 1 12.11 0.00 4.85 0.89 0.07 82.08 05:13:20 05:04:01 2 9.40 0.00 3.34 1.70 0.07 85.49 05:13:20 05:04:01 3 10.84 0.00 4.20 1.42 0.07 83.47 05:13:20 05:04:01 4 12.82 0.00 4.64 3.71 0.05 78.78 05:13:20 05:04:01 5 10.88 0.00 4.29 1.25 0.07 83.52 05:13:20 05:04:01 6 12.03 0.00 6.20 4.08 0.07 77.62 05:13:20 05:04:01 7 13.32 0.00 4.80 2.47 0.07 79.34 05:13:20 05:05:01 all 25.33 0.00 5.74 1.71 0.07 67.16 05:13:20 05:05:01 0 26.13 0.00 5.56 0.37 0.07 67.87 05:13:20 05:05:01 1 26.60 0.00 5.82 3.04 0.07 64.47 05:13:20 05:05:01 2 22.39 0.00 5.58 0.57 0.05 71.41 05:13:20 05:05:01 3 26.02 0.00 5.40 0.84 0.07 67.67 05:13:20 05:05:01 4 25.69 0.00 5.90 1.65 0.07 66.70 05:13:20 05:05:01 5 24.62 0.00 5.53 4.44 0.07 65.34 05:13:20 05:05:01 6 24.85 0.00 6.18 2.15 0.08 66.73 05:13:20 05:05:01 7 26.31 0.00 5.96 0.59 0.08 67.05 05:13:20 05:06:01 all 20.91 0.00 4.24 0.85 0.05 73.95 05:13:20 05:06:01 0 22.05 0.00 3.83 0.05 0.05 74.02 05:13:20 05:06:01 1 21.01 0.00 4.84 1.51 0.05 72.59 05:13:20 05:06:01 2 18.69 0.00 4.13 0.17 0.05 76.96 05:13:20 05:06:01 3 22.06 0.00 4.31 0.72 0.05 72.85 05:13:20 05:06:01 4 21.16 0.00 4.36 3.57 0.07 70.84 05:13:20 05:06:01 5 20.82 0.00 4.00 0.03 0.05 75.09 05:13:20 05:06:01 6 20.49 0.00 4.12 0.71 0.05 74.62 05:13:20 05:06:01 7 20.94 0.00 4.33 0.02 0.05 74.66 05:13:20 05:07:01 all 0.02 0.00 0.01 0.01 0.00 99.96 05:13:20 05:07:01 0 0.03 0.00 0.02 0.00 0.02 99.93 05:13:20 05:07:01 1 0.03 0.00 0.00 0.05 0.00 99.92 05:13:20 05:07:01 2 0.03 0.00 0.02 0.00 0.00 99.95 05:13:20 05:07:01 3 0.02 0.00 0.00 0.00 0.00 99.98 05:13:20 05:07:01 4 0.02 0.00 0.03 0.03 0.02 99.90 05:13:20 05:07:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:13:20 05:07:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:13:20 05:07:01 7 0.00 0.00 0.02 0.00 0.00 99.98 05:13:20 05:08:01 all 0.03 0.00 0.03 0.01 0.00 99.94 05:13:20 05:08:01 0 0.05 0.00 0.08 0.00 0.00 99.87 05:13:20 05:08:01 1 0.00 0.00 0.05 0.07 0.00 99.88 05:13:20 05:08:01 2 0.02 0.00 0.00 0.00 0.00 99.98 05:13:20 05:08:01 3 0.02 0.00 0.00 0.00 0.00 99.98 05:13:20 05:08:01 4 0.07 0.00 0.02 0.02 0.00 99.90 05:13:20 05:08:01 5 0.00 0.00 0.02 0.00 0.00 99.98 05:13:20 05:08:01 6 0.03 0.00 0.03 0.00 0.02 99.92 05:13:20 05:08:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:13:20 05:09:01 all 0.01 0.00 0.01 0.01 0.01 99.96 05:13:20 05:09:01 0 0.02 0.00 0.02 0.00 0.00 99.97 05:13:20 05:09:01 1 0.02 0.00 0.02 0.03 0.02 99.92 05:13:20 05:09:01 2 0.00 0.00 0.00 0.03 0.00 99.97 05:13:20 05:09:01 3 0.00 0.00 0.02 0.00 0.02 99.97 05:13:20 05:09:01 4 0.03 0.00 0.03 0.00 0.02 99.92 05:13:20 05:09:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:13:20 05:09:01 6 0.02 0.00 0.00 0.00 0.00 99.98 05:13:20 05:09:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:13:20 05:10:01 all 0.02 0.00 0.02 0.00 0.00 99.96 05:13:20 05:10:01 0 0.03 0.00 0.03 0.00 0.00 99.93 05:13:20 05:10:01 1 0.02 0.00 0.00 0.02 0.00 99.97 05:13:20 05:10:01 2 0.03 0.00 0.05 0.00 0.02 99.90 05:13:20 05:10:01 3 0.02 0.00 0.00 0.00 0.00 99.98 05:13:20 05:10:01 4 0.03 0.00 0.05 0.00 0.02 99.90 05:13:20 05:10:01 5 0.03 0.00 0.00 0.00 0.00 99.97 05:13:20 05:10:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:13:20 05:10:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:13:20 05:11:01 all 0.02 0.00 0.01 0.01 0.00 99.95 05:13:20 05:11:01 0 0.00 0.00 0.00 0.00 0.00 100.00 05:13:20 05:11:01 1 0.02 0.00 0.03 0.05 0.00 99.90 05:13:20 05:11:01 2 0.02 0.00 0.02 0.03 0.00 99.93 05:13:20 05:11:01 3 0.03 0.00 0.02 0.00 0.00 99.95 05:13:20 05:11:01 4 0.03 0.00 0.03 0.00 0.02 99.92 05:13:20 05:11:01 5 0.02 0.00 0.00 0.00 0.02 99.97 05:13:20 05:11:01 6 0.00 0.00 0.00 0.00 0.00 100.00 05:13:20 05:11:01 7 0.02 0.00 0.02 0.00 0.00 99.97 05:13:20 05:12:01 all 0.06 0.00 0.01 0.02 0.00 99.90 05:13:20 05:12:01 0 0.10 0.00 0.02 0.00 0.00 99.88 05:13:20 05:12:01 1 0.00 0.00 0.00 0.00 0.00 100.00 05:13:20 05:12:01 2 0.13 0.00 0.00 0.17 0.00 99.70 05:13:20 05:12:01 3 0.00 0.00 0.00 0.00 0.00 100.00 05:13:20 05:12:01 4 0.17 0.00 0.05 0.02 0.02 99.75 05:13:20 05:12:01 5 0.02 0.00 0.00 0.00 0.00 99.98 05:13:20 05:12:01 6 0.07 0.00 0.00 0.00 0.00 99.93 05:13:20 05:12:01 7 0.02 0.00 0.03 0.00 0.00 99.95 05:13:20 05:13:01 all 0.13 0.00 0.03 0.01 0.01 99.82 05:13:20 05:13:01 0 0.08 0.00 0.05 0.00 0.02 99.85 05:13:20 05:13:01 1 0.18 0.00 0.03 0.00 0.02 99.77 05:13:20 05:13:01 2 0.18 0.00 0.02 0.03 0.00 99.77 05:13:20 05:13:01 3 0.08 0.00 0.02 0.03 0.02 99.85 05:13:20 05:13:01 4 0.22 0.00 0.05 0.00 0.02 99.72 05:13:20 05:13:01 5 0.08 0.00 0.03 0.00 0.00 99.88 05:13:20 05:13:01 6 0.12 0.00 0.02 0.00 0.02 99.85 05:13:20 05:13:01 7 0.07 0.00 0.05 0.00 0.02 99.87 05:13:20 Average: all 5.76 0.00 1.46 0.49 0.02 92.26 05:13:20 Average: 0 5.87 0.00 1.42 0.33 0.02 92.36 05:13:20 Average: 1 5.96 0.00 1.56 0.56 0.02 91.90 05:13:20 Average: 2 5.05 0.00 1.30 0.27 0.02 93.36 05:13:20 Average: 3 5.87 0.00 1.39 0.30 0.02 92.43 05:13:20 Average: 4 5.99 0.00 1.51 0.89 0.03 91.58 05:13:20 Average: 5 5.61 0.00 1.38 0.57 0.02 92.42 05:13:20 Average: 6 5.73 0.00 1.65 0.69 0.02 91.91 05:13:20 Average: 7 6.01 0.00 1.50 0.30 0.02 92.16 05:13:20 05:13:20 05:13:20