Pull request #325 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5744b377334436cc2da1254aefc36c3f7dba3b42+23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 (71fadb4ec979999ef3c434b5fb7feec82360b7fd) 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-ssh3084960183315450705.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh16976983110938785415.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-325/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-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1985435402301661939.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-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4317622419675346875.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh835275753086655693.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-325/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-325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9291161351104691022.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-10441’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10447 in /w/workspace/gexfoundry_device-snmp-go_PR-325 [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-325 # 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 > 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/325/head:refs/remotes/origin/PR-325 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 into PR head commit 5744b377334436cc2da1254aefc36c3f7dba3b42 Merge succeeded, producing 5744b377334436cc2da1254aefc36c3f7dba3b42 Checking out Revision 5744b377334436cc2da1254aefc36c3f7dba3b42 (PR-325) Commit message: "build(deps): Bump google.golang.org/grpc from 1.53.0 to 1.56.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:27:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:27:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 5744b377334436cc2da1254aefc36c3f7dba3b42 # 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 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5744b377334436cc2da1254aefc36c3f7dba3b42 # timeout=10 [Pipeline] echo 22:27:55 ========================================================= 22:27:55 EdgeX Global Pipelines Version Info 22:27:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:27:56 ------------------- 22:27:56 stable info: 22:27:56 ------------------- 22:27:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:27:56 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:27:56 Message: update stable to v1.0.254 22:27:56 ------------------- 22:27:56 experimental info: 22:27:56 ------------------- 22:27:56 Commited By: **** collab-it+edgex@linuxfoundation.org 22:27:56 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 22:27:56 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:27:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-325 [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-325 [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-325 [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5744b377334436cc2da1254aefc36c3f7dba3b42 [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5744b37 [Pipeline] echo 22:27:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:27:58 provisioning config files... 22:27:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-325@tmp/config14733291650758900246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:27:59 ---> docker-login.sh 22:27:59 nexus3.edgexfoundry.org:10001 22:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:59 Configure a credential helper to remove this warning. See 22:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:59 22:27:59 Login Succeeded 22:27:59 nexus3.edgexfoundry.org:10002 22:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:59 Configure a credential helper to remove this warning. See 22:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:59 22:27:59 Login Succeeded 22:27:59 nexus3.edgexfoundry.org:10003 22:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:59 Configure a credential helper to remove this warning. See 22:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:59 22:27:59 Login Succeeded 22:27:59 nexus3.edgexfoundry.org:10004 22:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:27:59 Configure a credential helper to remove this warning. See 22:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:27:59 22:27:59 Login Succeeded 22:27:59 docker.io 22:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:00 Configure a credential helper to remove this warning. See 22:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:00 22:28:00 Login Succeeded 22:28:00 ---> docker-login.sh ends [Pipeline] } 22:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:28:00 + git rev-list -1 --merges 5744b377334436cc2da1254aefc36c3f7dba3b42~1..5744b377334436cc2da1254aefc36c3f7dba3b42 [Pipeline] echo 22:28:00 -----------> git rev-list -1 --merges 5744b377334436cc2da1254aefc36c3f7dba3b42~1..5744b377334436cc2da1254aefc36c3f7dba3b42 5744b377334436cc2da1254aefc36c3f7dba3b42 [false] [Pipeline] sh 22:28:01 + git log --format=format:%s -1 5744b377334436cc2da1254aefc36c3f7dba3b42 [Pipeline] echo 22:28:01 ========================================================= 22:28:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:28:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:01 + git log --format=format:%s -1 5744b377334436cc2da1254aefc36c3f7dba3b42 [Pipeline] echo 22:28:01 [semverPrep] GIT_COMMIT: 5744b377334436cc2da1254aefc36c3f7dba3b42, Commit Message: build(deps): Bump google.golang.org/grpc from 1.53.0 to 1.56.3 [Pipeline] echo 22:28:01 [semverPrep] This is not a build commit. [Pipeline] sh 22:28:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:28:02 + grep -v github /etc/ssh/ssh_known_hosts 22:28:02 + [ -e /tmp/ssh_known_hosts ] 22:28:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:28:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:28:02 + sudo tee -a /etc/ssh/ssh_known_hosts 22:28:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:02 22:28:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:02 0.1.4: Pulling from edgex-devops/py-git-semver 22:28:02 b85a868b505f: Pulling fs layer 22:28:02 e2be974225ed: Pulling fs layer 22:28:02 339a4e72a1f5: Pulling fs layer 22:28:02 988bab9f4d93: Pulling fs layer 22:28:02 1469e6f7b9e6: Pulling fs layer 22:28:02 eaf3925da568: Pulling fs layer 22:28:02 bab4dde63d76: Pulling fs layer 22:28:02 bde34c3a00c8: Pulling fs layer 22:28:02 b352a97aabf1: Pulling fs layer 22:28:02 4872d77fe225: Pulling fs layer 22:28:02 5851b861e8e6: Pulling fs layer 22:28:02 bab4dde63d76: Waiting 22:28:02 5851b861e8e6: Waiting 22:28:02 4872d77fe225: Waiting 22:28:02 b352a97aabf1: Waiting 22:28:02 eaf3925da568: Waiting 22:28:02 1469e6f7b9e6: Waiting 22:28:02 bde34c3a00c8: Waiting 22:28:02 988bab9f4d93: Waiting 22:28:02 e2be974225ed: Verifying Checksum 22:28:02 e2be974225ed: Download complete 22:28:02 988bab9f4d93: Verifying Checksum 22:28:02 988bab9f4d93: Download complete 22:28:03 1469e6f7b9e6: Verifying Checksum 22:28:03 1469e6f7b9e6: Download complete 22:28:03 eaf3925da568: Verifying Checksum 22:28:03 eaf3925da568: Download complete 22:28:03 339a4e72a1f5: Verifying Checksum 22:28:03 339a4e72a1f5: Download complete 22:28:03 bde34c3a00c8: Download complete 22:28:03 b352a97aabf1: Verifying Checksum 22:28:03 b352a97aabf1: Download complete 22:28:03 4872d77fe225: Download complete 22:28:03 5851b861e8e6: Verifying Checksum 22:28:03 5851b861e8e6: Download complete 22:28:03 b85a868b505f: Verifying Checksum 22:28:03 b85a868b505f: Download complete 22:28:03 bab4dde63d76: Verifying Checksum 22:28:03 bab4dde63d76: Download complete 22:28:04 b85a868b505f: Pull complete 22:28:04 e2be974225ed: Pull complete 22:28:04 339a4e72a1f5: Pull complete 22:28:04 988bab9f4d93: Pull complete 22:28:05 1469e6f7b9e6: Pull complete 22:28:05 eaf3925da568: Pull complete 22:28:07 bab4dde63d76: Pull complete 22:28:07 bde34c3a00c8: Pull complete 22:28:07 b352a97aabf1: Pull complete 22:28:07 4872d77fe225: Pull complete 22:28:08 5851b861e8e6: Pull complete 22:28:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:08 prd-ubuntu20.04-docker-8c-8g-10447 does not seem to be running inside a container 22:28:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-325 -v /w/workspace/gexfoundry_device-snmp-go_PR-325:/w/workspace/gexfoundry_device-snmp-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-325@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-325@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 22:28:13 $ docker top 1b407d86c057e4d784a68efc489c64a584a48c028256ffea2c76e419af72672f -eo pid,comm 22:28:13 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). 22:28:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:28:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:13 [ssh-agent] Looking for ssh-agent implementation... 22:28:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:14 $ docker exec 1b407d86c057e4d784a68efc489c64a584a48c028256ffea2c76e419af72672f ssh-agent 22:28:14 SSH_AUTH_SOCK=/tmp/ssh-lteekLLm6saD/agent.33 22:28:14 SSH_AGENT_PID=39 22:28:14 Running ssh-add (command line suppressed) 22:28:14 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-325@tmp/private_key_2342333657488355390.key (/w/workspace/gexfoundry_device-snmp-go_PR-325@tmp/private_key_2342333657488355390.key) 22:28:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:14 + git tag --points-at HEAD [Pipeline] } 22:28:14 $ docker exec --env ******** --env ******** 1b407d86c057e4d784a68efc489c64a584a48c028256ffea2c76e419af72672f ssh-agent -k 22:28:14 unset SSH_AUTH_SOCK; 22:28:14 unset SSH_AGENT_PID; 22:28:14 echo Agent pid 39 killed; 22:28:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:28:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:14 [ssh-agent] Looking for ssh-agent implementation... 22:28:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:14 $ docker exec 1b407d86c057e4d784a68efc489c64a584a48c028256ffea2c76e419af72672f ssh-agent 22:28:15 SSH_AUTH_SOCK=/tmp/ssh-vTQurAuWiZj1/agent.71 22:28:15 SSH_AGENT_PID=77 22:28:15 Running ssh-add (command line suppressed) 22:28:15 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-325@tmp/private_key_16810879055199106651.key (/w/workspace/gexfoundry_device-snmp-go_PR-325@tmp/private_key_16810879055199106651.key) 22:28:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:15 + git semver init 22:28:15 2023-10-25 22:28:15,678 [run_init] DEBUG init version:0.0.0 force:False 22:28:15 2023-10-25 22:28:15,679 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-325/.semver 22:28:15 2023-10-25 22:28:15,680 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-325/.semver 22:28:15 2023-10-25 22:28:15,680 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-325/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-325, universal_newlines=False, shell=None, istream=None) 22:28:16 2023-10-25 22:28:16,585 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-325/.git/info/exclude 22:28:16 2023-10-25 22:28:16,586 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-325/.semver/PR-325 with force:False 22:28:16 2023-10-25 22:28:16,586 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-325/.semver/PR-325 22:28:16 2023-10-25 22:28:16,591 [execute] INFO git cat-file --batch-check 22:28:16 2023-10-25 22:28:16,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-325/.semver, universal_newlines=False, shell=None, istream=) 22:28:16 2023-10-25 22:28:16,597 [execute] INFO git cat-file --batch 22:28:16 2023-10-25 22:28:16,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-325/.semver, universal_newlines=False, shell=None, istream=) 22:28:16 2023-10-25 22:28:16,602 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-325/.semver/PR-325 22:28:16 0.0.0 [Pipeline] } 22:28:16 $ docker exec --env ******** --env ******** 1b407d86c057e4d784a68efc489c64a584a48c028256ffea2c76e419af72672f ssh-agent -k 22:28:16 unset SSH_AUTH_SOCK; 22:28:16 unset SSH_AGENT_PID; 22:28:16 echo Agent pid 77 killed; 22:28:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:28:17 + git semver [Pipeline] } 22:28:17 $ docker stop --time=1 1b407d86c057e4d784a68efc489c64a584a48c028256ffea2c76e419af72672f 22:28:18 $ docker rm -f --volumes 1b407d86c057e4d784a68efc489c64a584a48c028256ffea2c76e419af72672f [Pipeline] // withDockerContainer [Pipeline] sh 22:28:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:28:19 Stashed 1 file(s) [Pipeline] echo 22:28:19 [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 22:28:20 provisioning config files... 22:28:20 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-325@tmp/config3748122556270456999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:20 ---> docker-login.sh 22:28:20 nexus3.edgexfoundry.org:10001 22:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:20 Configure a credential helper to remove this warning. See 22:28:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:20 22:28:20 Login Succeeded 22:28:20 nexus3.edgexfoundry.org:10002 22:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:20 Configure a credential helper to remove this warning. See 22:28:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:20 22:28:20 Login Succeeded 22:28:20 nexus3.edgexfoundry.org:10003 22:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:21 Configure a credential helper to remove this warning. See 22:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:21 22:28:21 Login Succeeded 22:28:21 nexus3.edgexfoundry.org:10004 22:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:21 Configure a credential helper to remove this warning. See 22:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:21 22:28:21 Login Succeeded 22:28:21 docker.io 22:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:21 Configure a credential helper to remove this warning. See 22:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:21 22:28:21 Login Succeeded 22:28:21 ---> docker-login.sh ends [Pipeline] } 22:28:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:28:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:22 ========================================================= 22:28:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:28:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:28:22 Sending build context to Docker daemon 5.741MB 22:28:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:28:22 Step 2/12 : FROM ${BASE} AS builder 22:28:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:28:22 7264a8db6415: Pulling fs layer 22:28:22 c4d48a809fc2: Pulling fs layer 22:28:22 4f1c88b9dad5: Pulling fs layer 22:28:22 ad3a456e5733: Pulling fs layer 22:28:22 33e27b845d1e: Pulling fs layer 22:28:22 c68163c4e522: Pulling fs layer 22:28:22 ad3a456e5733: Waiting 22:28:22 33e27b845d1e: Waiting 22:28:22 50da416c3ac9: Pulling fs layer 22:28:22 c68163c4e522: Waiting 22:28:22 23d2d4c4bb30: Pulling fs layer 22:28:22 50da416c3ac9: Waiting 22:28:22 23d2d4c4bb30: Waiting 22:28:22 c4d48a809fc2: Download complete 22:28:22 ad3a456e5733: Verifying Checksum 22:28:22 ad3a456e5733: Download complete 22:28:22 7264a8db6415: Download complete 22:28:23 33e27b845d1e: Verifying Checksum 22:28:23 33e27b845d1e: Download complete 22:28:23 c68163c4e522: Verifying Checksum 22:28:23 c68163c4e522: Download complete 22:28:23 7264a8db6415: Pull complete 22:28:23 23d2d4c4bb30: Verifying Checksum 22:28:23 23d2d4c4bb30: Download complete 22:28:23 c4d48a809fc2: Pull complete 22:28:23 4f1c88b9dad5: Verifying Checksum 22:28:23 4f1c88b9dad5: Download complete 22:28:23 50da416c3ac9: Verifying Checksum 22:28:23 50da416c3ac9: Download complete 22:28:26 4f1c88b9dad5: Pull complete 22:28:26 ad3a456e5733: Pull complete 22:28:26 33e27b845d1e: Pull complete 22:28:26 c68163c4e522: Pull complete 22:28:28 50da416c3ac9: Pull complete 22:28:28 23d2d4c4bb30: Pull complete 22:28:28 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 22:28:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:28:28 ---> 0786185ac409 22:28:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:28:35 Still waiting to schedule task 22:28:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:28:37 ---> Running in c9297b737ae7 22:28:37 Removing intermediate container c9297b737ae7 22:28:37 ---> d4cbe9616c9b 22:28:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:28:37 ---> Running in d9d5c9b3145c 22:28:37 Removing intermediate container d9d5c9b3145c 22:28:37 ---> aaf2148a4ead 22:28:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:28:38 ---> Running in 55c6f1a60bba 22:28:38 Removing intermediate container 55c6f1a60bba 22:28:38 ---> d5f6a0e0b9d7 22:28:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:28:38 ---> Running in 5d13c39a9e44 22:28:38 Removing intermediate container 5d13c39a9e44 22:28:38 ---> 459bc36b6781 22:28:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:28:38 ---> Running in a847bfce8d1c 22:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:28:39 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:28:39 (2/4) Installing libedit (20221030.3.1-r1) 22:28:39 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:28:39 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:28:39 Executing busybox-1.36.1-r2.trigger 22:28:39 OK: 268 MiB in 56 packages 22:28:39 Removing intermediate container a847bfce8d1c 22:28:39 ---> 8c619ee14d1d 22:28:39 Step 8/12 : WORKDIR /device-snmp-go 22:28:39 ---> Running in a9197a796f46 22:28:39 Removing intermediate container a9197a796f46 22:28:39 ---> 66da7a0a5a0f 22:28:39 Step 9/12 : COPY go.mod vendor* ./ 22:28:40 ---> 67ece15de8bd 22:28:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:28:40 ---> Running in 33006cfc27ee 22:29:48 Removing intermediate container 33006cfc27ee 22:29:48 ---> 7083e42eae9b 22:29:48 Step 11/12 : COPY . . 22:29:48 ---> adec79e36d9a 22:29:48 Step 12/12 : RUN ${MAKE} 22:29:48 ---> Running in 6aef2f0b3b7e 22:29:48 noop 22:29:48 Removing intermediate container 6aef2f0b3b7e 22:29:48 ---> c89a962a5bc6 22:29:48 Successfully built c89a962a5bc6 22:29:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:48 + docker inspect -f . ci-base-image-x86_64 22:29:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:48 prd-ubuntu20.04-docker-8c-8g-10447 does not seem to be running inside a container 22:29:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-325 -v /w/workspace/gexfoundry_device-snmp-go_PR-325:/w/workspace/gexfoundry_device-snmp-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-325@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-325@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 22:29:49 $ docker top 2c518e98066a582170f86ff64c59c55cd4413edad20e3ced3080cc90aced35ad -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:49 + go version 22:29:49 go version go1.21.0 linux/amd64 [Pipeline] } 22:29:49 $ docker stop --time=1 2c518e98066a582170f86ff64c59c55cd4413edad20e3ced3080cc90aced35ad 22:29:51 $ docker rm -f --volumes 2c518e98066a582170f86ff64c59c55cd4413edad20e3ced3080cc90aced35ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:51 + docker inspect -f . ci-base-image-x86_64 22:29:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:51 prd-ubuntu20.04-docker-8c-8g-10447 does not seem to be running inside a container 22:29:52 $ 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-325 -v /w/workspace/gexfoundry_device-snmp-go_PR-325:/w/workspace/gexfoundry_device-snmp-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-325@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-325@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 22:29:52 $ docker top 1ec0bd47a52c5a31ba1ebefbb4c1c4b55c81536a72f543784a31bb3078acba60 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-325 [Pipeline] fileExists [Pipeline] sh 22:29:53 + make test 22:29:53 go test ./... -coverprofile=coverage.out 22:29:54 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:30:04 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:30:04 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 22:30:11 go vet ./... 22:30:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:30:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:30:13 ./bin/test-attribution-txt.sh [Pipeline] echo 22:30:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:30:14 $ docker stop --time=1 1ec0bd47a52c5a31ba1ebefbb4c1c4b55c81536a72f543784a31bb3078acba60 22:30:19 $ docker rm -f --volumes 1ec0bd47a52c5a31ba1ebefbb4c1c4b55c81536a72f543784a31bb3078acba60 [Pipeline] // withDockerContainer [Pipeline] sh 22:30:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:30:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:30:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:30:20 + ls -al . 22:30:20 total 172 22:30:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:29 . 22:30:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:27 .. 22:30:20 -rw-rw-r-- 1 jenkins jenkins 6 Oct 25 22:27 .dockerignore 22:30:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:30 .git 22:30:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:27 .github 22:30:20 -rw-rw-r-- 1 jenkins jenkins 263 Oct 25 22:27 .gitignore 22:30:20 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:27 .golangci.yml 22:30:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:28 .semver 22:30:20 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 25 22:27 Attribution.txt 22:30:20 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 25 22:27 CHANGELOG.md 22:30:20 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 25 22:27 Dockerfile 22:30:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:27 GOVERNANCE.md 22:30:20 -rw-rw-r-- 1 jenkins jenkins 656 Oct 25 22:27 Jenkinsfile 22:30:20 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:27 LICENSE 22:30:20 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 25 22:27 Makefile 22:30:20 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 22:27 OWNERS.md 22:30:20 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 25 22:27 README.md 22:30:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:28 VERSION 22:30:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:27 bin 22:30:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:27 cmd 22:30:20 -rw-r--r-- 1 jenkins jenkins 8837 Oct 25 22:30 coverage.out 22:30:20 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 25 22:27 go.mod 22:30:20 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 25 22:27 go.sum 22:30:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:27 internal 22:30:20 -rw-rw-r-- 1 jenkins jenkins 228 Oct 25 22:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:21 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5744b377334436cc2da1254aefc36c3f7dba3b42 --label arch=amd64 --label version=0.0.0 . 22:30:21 Sending build context to Docker daemon 5.75MB 22:30:21 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 22:30:21 Step 2/24 : FROM ${BASE} AS builder 22:30:21 ---> c89a962a5bc6 22:30:21 Step 3/24 : ARG ADD_BUILD_TAGS="" 22:30:21 ---> Running in b9d574b5f416 22:30:22 Removing intermediate container b9d574b5f416 22:30:22 ---> 00877113ef17 22:30:22 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:30:22 ---> Running in 271a2e572c4e 22:30:22 Removing intermediate container 271a2e572c4e 22:30:22 ---> 8590c9266591 22:30:22 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:30:22 ---> Running in 80c44117d2d9 22:30:22 Removing intermediate container 80c44117d2d9 22:30:22 ---> 771cf2b9093c 22:30:22 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 22:30:22 ---> Running in a38f2bf534e6 22:30:22 Removing intermediate container a38f2bf534e6 22:30:22 ---> c8bb90b1dfe8 22:30:22 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:30:22 ---> Running in 577633e93f1e 22:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:30:23 OK: 268 MiB in 56 packages 22:30:23 Removing intermediate container 577633e93f1e 22:30:23 ---> 3e8e8b258f3b 22:30:23 Step 8/24 : WORKDIR /device-snmp-go 22:30:23 ---> Running in 1d4af4ed3dda 22:30:23 Removing intermediate container 1d4af4ed3dda 22:30:23 ---> 66948b2abf7a 22:30:23 Step 9/24 : COPY go.mod vendor* ./ 22:30:23 ---> 3bb516b04339 22:30:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:30:23 ---> Running in 835ccdb0d52f 22:30:24 Removing intermediate container 835ccdb0d52f 22:30:24 ---> d8d6da9ba45c 22:30:24 Step 11/24 : COPY . . 22:30:24 ---> b6416ac80970 22:30:24 Step 12/24 : RUN ${MAKE} 22:30:24 ---> Running in 31cb5c13c74a 22:30:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 22:30:51 Removing intermediate container 31cb5c13c74a 22:30:51 ---> 59bad5ab92f4 22:30:51 Step 13/24 : FROM alpine:3.18 22:30:51 3.18: Pulling from library/alpine 22:30:51 96526aa774ef: Pulling fs layer 22:30:51 96526aa774ef: Download complete 22:30:51 96526aa774ef: Pull complete 22:30:51 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:30:51 Status: Downloaded newer image for alpine:3.18 22:30:51 ---> 8ca4688f4f35 22:30:51 Step 14/24 : RUN apk add --update --no-cache dumb-init 22:30:51 ---> Running in a1147734b71a 22:30:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:30:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:30:51 (1/1) Installing dumb-init (1.2.5-r2) 22:30:51 Executing busybox-1.36.1-r2.trigger 22:30:51 OK: 7 MiB in 16 packages 22:30:51 Removing intermediate container a1147734b71a 22:30:51 ---> 7a62ffe4dac7 22:30:51 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:30:53 ---> 5d915fec3e06 22:30:53 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:30:53 ---> 6553dc6c56b5 22:30:53 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:30:53 ---> 89c077cfaca4 22:30:53 Step 18/24 : EXPOSE 59993 22:30:53 ---> Running in 4711fbdd2d02 22:30:53 Removing intermediate container 4711fbdd2d02 22:30:53 ---> cd931ff5adb0 22:30:53 Step 19/24 : EXPOSE 161 22:30:53 ---> Running in 8d2654437a62 22:30:53 Removing intermediate container 8d2654437a62 22:30:53 ---> 73e74898e1a4 22:30:53 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:30:53 ---> Running in 74db78d07cea 22:30:53 Removing intermediate container 74db78d07cea 22:30:53 ---> 300cb12cd5d8 22:30:53 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:30:53 ---> Running in 8f2de91e3da3 22:30:53 Removing intermediate container 8f2de91e3da3 22:30:53 ---> ccf2ea1b7ead 22:30:53 Step 22/24 : LABEL arch=amd64 22:30:53 ---> Running in fedc5d183947 22:30:53 Removing intermediate container fedc5d183947 22:30:53 ---> a35bda8d998f 22:30:53 Step 23/24 : LABEL git_sha=5744b377334436cc2da1254aefc36c3f7dba3b42 22:30:53 ---> Running in 046443bc3ae7 22:30:53 Removing intermediate container 046443bc3ae7 22:30:53 ---> 493fa4583987 22:30:53 Step 24/24 : LABEL version=0.0.0 22:30:53 ---> Running in 2db2b8d39cc7 22:30:53 Removing intermediate container 2db2b8d39cc7 22:30:53 ---> 878dcfd0bbb6 22:30:53 [Warning] One or more build-args [ARCH] were not consumed 22:30:53 Successfully built 878dcfd0bbb6 22:30:53 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 22:30:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:54 22:30:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:55 latest: Pulling from edgex-lftools-log-publisher 22:30:55 5eb5b503b376: Pulling fs layer 22:30:55 5c69ac0246d0: Pulling fs layer 22:30:55 ec43610c2a17: Pulling fs layer 22:30:55 3a2ae6a8a46f: Pulling fs layer 22:30:55 33b1e0a273af: Pulling fs layer 22:30:55 5d3b04190fa2: Pulling fs layer 22:30:55 2f39f015ded8: Pulling fs layer 22:30:55 3a2ae6a8a46f: Waiting 22:30:55 33b1e0a273af: Waiting 22:30:55 5d3b04190fa2: Waiting 22:30:55 2f39f015ded8: Waiting 22:30:55 5c69ac0246d0: Download complete 22:30:55 3a2ae6a8a46f: Download complete 22:30:55 33b1e0a273af: Verifying Checksum 22:30:55 33b1e0a273af: Download complete 22:30:55 5d3b04190fa2: Verifying Checksum 22:30:55 5d3b04190fa2: Download complete 22:30:55 ec43610c2a17: Verifying Checksum 22:30:55 ec43610c2a17: Download complete 22:30:55 5eb5b503b376: Verifying Checksum 22:30:55 5eb5b503b376: Download complete 22:30:56 2f39f015ded8: Verifying Checksum 22:30:56 2f39f015ded8: Download complete 22:30:57 5eb5b503b376: Pull complete 22:30:57 5c69ac0246d0: Pull complete 22:30:57 ec43610c2a17: Pull complete 22:30:57 3a2ae6a8a46f: Pull complete 22:30:57 33b1e0a273af: Pull complete 22:30:58 5d3b04190fa2: Pull complete 22:31:02 2f39f015ded8: Pull complete 22:31:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:31:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:02 prd-ubuntu20.04-docker-8c-8g-10447 does not seem to be running inside a container 22:31:02 $ 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-325 -v /w/workspace/gexfoundry_device-snmp-go_PR-325:/w/workspace/gexfoundry_device-snmp-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-325@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-325@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 22:31:10 $ docker top 0115c7aa380b1681d9b43c58b3bdcf3956c051c88bd570d0bb2550a48b0ddb6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:10 ---> job-cost.sh 22:31:10 lf-activate-venv: SKIPPING 22:31:10 INFO: No Stack... 22:31:10 INFO: Retrieving Pricing Info for: v3-standard-8 22:31:11 INFO: Archiving Costs [Pipeline] sh 22:31:11 + cat /w/workspace/gexfoundry_device-snmp-go_PR-325/archives/cost.csv 22:31:11 + cut -d, -f6 [Pipeline] lock 22:31:11 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-325-1-stack-cost] 22:31:11 Resource [jenkins-edgexfoundry-device-snmp-go-PR-325-1-stack-cost] did not exist. Created. 22:31:11 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:12 + echo total: 0.2199999988079071 [Pipeline] stash 22:31:12 Stashed 1 file(s) [Pipeline] } 22:31:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-325-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:31:12 $ docker stop --time=1 0115c7aa380b1681d9b43c58b3bdcf3956c051c88bd570d0bb2550a48b0ddb6f 22:31:14 $ docker rm -f --volumes 0115c7aa380b1681d9b43c58b3bdcf3956c051c88bd570d0bb2550a48b0ddb6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:37:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10778 in /w/workspace/gexfoundry_device-snmp-go_PR-325 [Pipeline] { [Pipeline] ws 22:37:47 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 22:37:47 Selected Git installation does not exist. Using Default 22:37:47 The recommended git tool is: NONE 22:37:55 using credential edgex-jenkins-ssh 22:37:55 Cloning the remote Git repository 22:37:55 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 22:37:55 > git init /w/workspace/device-snmp-go/1 # timeout=10 22:37:55 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:37:55 > git --version # timeout=10 22:37:55 > git --version # 'git version 2.25.1' 22:37:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:37:56 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:37:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:37:58 Merging remotes/origin/main commit 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 into PR head commit 5744b377334436cc2da1254aefc36c3f7dba3b42 22:37:59 Merge succeeded, producing 5744b377334436cc2da1254aefc36c3f7dba3b42 22:37:59 Checking out Revision 5744b377334436cc2da1254aefc36c3f7dba3b42 (PR-325) 22:37:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 22:37:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 22:37:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/325/head:refs/remotes/origin/PR-325 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:37:58 > git config core.sparsecheckout # timeout=10 22:37:59 > git checkout -f 5744b377334436cc2da1254aefc36c3f7dba3b42 # timeout=10 22:37:59 > git remote # timeout=10 22:37:59 > git config --get remote.origin.url # timeout=10 22:37:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:59 > git merge 23cb2162db5ff9c1f8a3f7ed618905d70ecaa520 # timeout=10 22:37:59 > git rev-parse HEAD^{commit} # timeout=10 22:37:59 > git config core.sparsecheckout # timeout=10 22:37:59 > git checkout -f 5744b377334436cc2da1254aefc36c3f7dba3b42 # timeout=10 22:37:59 Commit message: "build(deps): Bump google.golang.org/grpc from 1.53.0 to 1.56.3" 22:37:59 > git --version # timeout=10 22:37:59 > git --version # 'git version 2.25.1' 22:37:59 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:38:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:38:01 % Total % Received % Xferd Average Speed Time Time Time Current 22:38:01 Dload Upload Total Spent Left Speed 22:38:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 22:38:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:38:02 + sudo tee /etc/docker/daemon.new 22:38:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:38:02 { 22:38:02 "registry-mirrors": [ 22:38:02 "https://nexus3.edgexfoundry.org:10001" 22:38:02 ], 22:38:02 "bip": "10.250.0.254/24", 22:38:02 "hosts": [ 22:38:02 "tcp://0.0.0.0:5555", 22:38:02 "unix:///var/run/docker.sock" 22:38:02 ], 22:38:02 "mtu": 1458, 22:38:02 "selinux-enabled": true, 22:38:02 "seccomp-profile": "/etc/docker/seccomp.json" 22:38:02 } [Pipeline] sh 22:38:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:38:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:38:21 provisioning config files... 22:38:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config12585686846980649510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:21 ---> docker-login.sh 22:38:21 nexus3.edgexfoundry.org:10001 22:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:22 Configure a credential helper to remove this warning. See 22:38:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:22 22:38:22 Login Succeeded 22:38:22 nexus3.edgexfoundry.org:10002 22:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:23 Configure a credential helper to remove this warning. See 22:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:23 22:38:23 Login Succeeded 22:38:23 nexus3.edgexfoundry.org:10003 22:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:23 Configure a credential helper to remove this warning. See 22:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:23 22:38:23 Login Succeeded 22:38:23 nexus3.edgexfoundry.org:10004 22:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:24 Configure a credential helper to remove this warning. See 22:38:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:24 22:38:24 Login Succeeded 22:38:24 docker.io 22:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:25 Configure a credential helper to remove this warning. See 22:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:25 22:38:25 Login Succeeded 22:38:25 ---> docker-login.sh ends [Pipeline] } 22:38:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:38:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:38:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:38:25 ========================================================= 22:38:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:38:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 22:38:26 Sending build context to Docker daemon 2.948MB 22:38:26 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 22:38:26 Step 2/12 : FROM ${BASE} AS builder 22:38:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:38:27 9fda8d8052c6: Pulling fs layer 22:38:27 5d54e960e981: Pulling fs layer 22:38:27 c4a7e357bf2a: Pulling fs layer 22:38:27 f0e02332f6b5: Pulling fs layer 22:38:27 cefa15bbcfad: Pulling fs layer 22:38:27 17808c966233: Pulling fs layer 22:38:27 f4c1fc716caa: Pulling fs layer 22:38:27 f0e02332f6b5: Waiting 22:38:27 cefa15bbcfad: Waiting 22:38:27 17808c966233: Waiting 22:38:27 f4c1fc716caa: Waiting 22:38:27 5d54e960e981: Download complete 22:38:27 f0e02332f6b5: Download complete 22:38:27 cefa15bbcfad: Verifying Checksum 22:38:27 cefa15bbcfad: Download complete 22:38:27 9fda8d8052c6: Download complete 22:38:27 f4c1fc716caa: Verifying Checksum 22:38:27 f4c1fc716caa: Download complete 22:38:28 9fda8d8052c6: Pull complete 22:38:29 5d54e960e981: Pull complete 22:38:29 c4a7e357bf2a: Verifying Checksum 22:38:29 c4a7e357bf2a: Download complete 22:38:30 17808c966233: Verifying Checksum 22:38:30 17808c966233: Download complete 22:38:43 c4a7e357bf2a: Pull complete 22:38:43 f0e02332f6b5: Pull complete 22:38:43 cefa15bbcfad: Pull complete 22:38:52 17808c966233: Pull complete 22:38:53 f4c1fc716caa: Pull complete 22:38:53 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 22:38:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:38:53 ---> ea914061e18c 22:38:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:38:55 ---> Running in 142f1d8c039f 22:38:56 Removing intermediate container 142f1d8c039f 22:38:56 ---> 591ee21ad547 22:38:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:38:56 ---> Running in 3b7bce271098 22:38:56 Removing intermediate container 3b7bce271098 22:38:56 ---> aadd7e328326 22:38:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:38:57 ---> Running in 8791c0c9ac79 22:38:57 Removing intermediate container 8791c0c9ac79 22:38:57 ---> f7f6fec40bb4 22:38:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:38:57 ---> Running in 6783f38b7d14 22:38:57 Removing intermediate container 6783f38b7d14 22:38:57 ---> f8ed0be4d6f3 22:38:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:38:57 ---> Running in 0efd3de1d3fe 22:38:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:38:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:39:00 (1/4) Installing openssh-keygen (9.3_p2-r0) 22:39:00 (2/4) Installing libedit (20221030.3.1-r1) 22:39:00 (3/4) Installing openssh-client-common (9.3_p2-r0) 22:39:01 (4/4) Installing openssh-client-default (9.3_p2-r0) 22:39:01 Executing busybox-1.36.1-r2.trigger 22:39:01 OK: 270 MiB in 56 packages 22:39:03 Removing intermediate container 0efd3de1d3fe 22:39:03 ---> 69e6a6dc3e90 22:39:03 Step 8/12 : WORKDIR /device-snmp-go 22:39:03 ---> Running in 1c4eafc5617c 22:39:04 Removing intermediate container 1c4eafc5617c 22:39:04 ---> 046152a311fd 22:39:04 Step 9/12 : COPY go.mod vendor* ./ 22:39:04 ---> 4fc381f4aa2a 22:39:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:39:04 ---> Running in 8bfd5116b086 22:40:56 Removing intermediate container 8bfd5116b086 22:40:56 ---> bf133b449d1f 22:40:56 Step 11/12 : COPY . . 22:40:56 ---> a2bc66222ebf 22:40:56 Step 12/12 : RUN ${MAKE} 22:40:56 ---> Running in f222e3f2d5db 22:40:56 noop 22:40:56 Removing intermediate container f222e3f2d5db 22:40:56 ---> 11a3b6354d58 22:40:56 Successfully built 11a3b6354d58 22:40:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:57 + docker inspect -f . ci-base-image-arm64 22:40:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:57 prd-ubuntu20.04-docker-arm64-4c-16g-10778 does not seem to be running inside a container 22:40:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:40:59 $ docker top 98cdd50ecbb32afc347ebd3b52417f7130e5b5f4dc8246c4a065289ddf99a744 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:00 + go version 22:41:00 go version go1.21.0 linux/arm64 [Pipeline] } 22:41:00 $ docker stop --time=1 98cdd50ecbb32afc347ebd3b52417f7130e5b5f4dc8246c4a065289ddf99a744 22:41:01 $ docker rm -f --volumes 98cdd50ecbb32afc347ebd3b52417f7130e5b5f4dc8246c4a065289ddf99a744 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:02 + docker inspect -f . ci-base-image-arm64 22:41:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:03 prd-ubuntu20.04-docker-arm64-4c-16g-10778 does not seem to be running inside a container 22:41:03 $ 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 22:41:04 $ docker top 044180c34b4ed3ca0954a490ea8da73ef97e74fd7df3b2d8b99705e66b057af9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:05 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 22:41:06 + make test 22:41:06 go test ./... -coverprofile=coverage.out 22:41:13 ? github.com/edgexfoundry/device-snmp-go [no test files] 22:43:19 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 22:43:19 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 22:43:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:43:19 go vet ./... 22:43:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:43:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:43:42 ./bin/test-attribution-txt.sh [Pipeline] echo 22:43:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:43:42 $ docker stop --time=1 044180c34b4ed3ca0954a490ea8da73ef97e74fd7df3b2d8b99705e66b057af9 22:43:44 $ docker rm -f --volumes 044180c34b4ed3ca0954a490ea8da73ef97e74fd7df3b2d8b99705e66b057af9 [Pipeline] // withDockerContainer [Pipeline] sh 22:43:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:43:45 Warning: overwriting stash ‘coverage-report’ 22:43:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:43:46 + ls -al . 22:43:46 total 168 22:43:46 drwxrwxr-x 7 jenkins jenkins 4096 Oct 25 22:41 . 22:43:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:37 .. 22:43:46 -rw-rw-r-- 1 jenkins jenkins 6 Oct 25 22:37 .dockerignore 22:43:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:37 .git 22:43:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:37 .github 22:43:46 -rw-rw-r-- 1 jenkins jenkins 263 Oct 25 22:37 .gitignore 22:43:46 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:37 .golangci.yml 22:43:46 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 25 22:37 Attribution.txt 22:43:46 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 25 22:37 CHANGELOG.md 22:43:46 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 25 22:37 Dockerfile 22:43:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:37 GOVERNANCE.md 22:43:46 -rw-rw-r-- 1 jenkins jenkins 656 Oct 25 22:37 Jenkinsfile 22:43:46 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:37 LICENSE 22:43:46 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 25 22:37 Makefile 22:43:46 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 22:37 OWNERS.md 22:43:46 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 25 22:37 README.md 22:43:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:28 VERSION 22:43:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:37 bin 22:43:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:37 cmd 22:43:46 -rw-r--r-- 1 jenkins jenkins 8837 Oct 25 22:43 coverage.out 22:43:46 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 25 22:37 go.mod 22:43:46 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 25 22:37 go.sum 22:43:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:37 internal 22:43:46 -rw-rw-r-- 1 jenkins jenkins 228 Oct 25 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:47 + 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=5744b377334436cc2da1254aefc36c3f7dba3b42 --label arch=arm64 --label version=0.0.0 . 22:43:47 Sending build context to Docker daemon 2.958MB 22:43:47 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 22:43:47 Step 2/24 : FROM ${BASE} AS builder 22:43:47 ---> 11a3b6354d58 22:43:47 Step 3/24 : ARG ADD_BUILD_TAGS="" 22:43:47 ---> Running in ec82b26d26c7 22:43:48 Removing intermediate container ec82b26d26c7 22:43:48 ---> 34f2013fb3d8 22:43:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:43:48 ---> Running in 849b4685fa6f 22:43:48 Removing intermediate container 849b4685fa6f 22:43:48 ---> aaad875b29c5 22:43:48 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:43:48 ---> Running in 63748aeca94e 22:43:48 Removing intermediate container 63748aeca94e 22:43:48 ---> d89db5c91c24 22:43:48 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 22:43:48 ---> Running in 109ed9926829 22:43:49 Removing intermediate container 109ed9926829 22:43:49 ---> b7794f94c2b8 22:43:49 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:43:49 ---> Running in 4f6134f949ac 22:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:43:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:43:52 OK: 270 MiB in 56 packages 22:43:53 Removing intermediate container 4f6134f949ac 22:43:53 ---> 71503455973d 22:43:53 Step 8/24 : WORKDIR /device-snmp-go 22:43:53 ---> Running in c9ec146e614d 22:43:53 Removing intermediate container c9ec146e614d 22:43:53 ---> ef8d11705fec 22:43:53 Step 9/24 : COPY go.mod vendor* ./ 22:43:54 ---> 0bf793add7da 22:43:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:54 ---> Running in dfe2950f6d8d 22:43:57 Removing intermediate container dfe2950f6d8d 22:43:57 ---> 68590a490f4b 22:43:57 Step 11/24 : COPY . . 22:43:57 ---> b1ea68b41025 22:43:57 Step 12/24 : RUN ${MAKE} 22:43:57 ---> Running in 824d07ecae3d 22:43:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 22:46:21 Removing intermediate container 824d07ecae3d 22:46:21 ---> 0d57adbf2701 22:46:21 Step 13/24 : FROM alpine:3.18 22:46:21 3.18: Pulling from library/alpine 22:46:21 579b34f0a95b: Pulling fs layer 22:46:21 579b34f0a95b: Verifying Checksum 22:46:21 579b34f0a95b: Download complete 22:46:21 579b34f0a95b: Pull complete 22:46:21 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:46:21 Status: Downloaded newer image for alpine:3.18 22:46:21 ---> 3cc203321400 22:46:21 Step 14/24 : RUN apk add --update --no-cache dumb-init 22:46:21 ---> Running in a2c80ee8185b 22:46:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:46:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:46:21 (1/1) Installing dumb-init (1.2.5-r2) 22:46:21 Executing busybox-1.36.1-r2.trigger 22:46:21 OK: 8 MiB in 16 packages 22:46:21 Removing intermediate container a2c80ee8185b 22:46:21 ---> 973d7fc1ca87 22:46:21 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 22:46:21 ---> 6860520bc0cb 22:46:21 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 22:46:22 ---> 7b3f42855157 22:46:22 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 22:46:23 ---> d3c6ed2d5e5f 22:46:23 Step 18/24 : EXPOSE 59993 22:46:23 ---> Running in c7346ce2e78d 22:46:23 Removing intermediate container c7346ce2e78d 22:46:23 ---> 6c9d608ed520 22:46:23 Step 19/24 : EXPOSE 161 22:46:23 ---> Running in 98b71c849863 22:46:23 Removing intermediate container 98b71c849863 22:46:23 ---> bbcb16ba49a8 22:46:23 Step 20/24 : ENTRYPOINT ["/device-snmp"] 22:46:24 ---> Running in e32be2e012cc 22:46:24 Removing intermediate container e32be2e012cc 22:46:24 ---> 9e3930f8cc9d 22:46:24 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:46:24 ---> Running in b4b1a3cbfc60 22:46:25 Removing intermediate container b4b1a3cbfc60 22:46:25 ---> 67fc46131b84 22:46:25 Step 22/24 : LABEL arch=arm64 22:46:25 ---> Running in 062bdd8cf3d7 22:46:25 Removing intermediate container 062bdd8cf3d7 22:46:25 ---> a50a8da24eeb 22:46:25 Step 23/24 : LABEL git_sha=5744b377334436cc2da1254aefc36c3f7dba3b42 22:46:25 ---> Running in 28e98e5cff75 22:46:25 Removing intermediate container 28e98e5cff75 22:46:25 ---> 002020ec5b6e 22:46:25 Step 24/24 : LABEL version=0.0.0 22:46:26 ---> Running in 8691caf872a1 22:46:26 Removing intermediate container 8691caf872a1 22:46:26 ---> 597d44a558be 22:46:26 [Warning] One or more build-args [ARCH] were not consumed 22:46:26 Successfully built 597d44a558be 22:46:26 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 22:46:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:46:27 22:46:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:46:28 arm64: Pulling from edgex-lftools-log-publisher 22:46:28 8998bd30e6a1: Pulling fs layer 22:46:28 04944245beec: Pulling fs layer 22:46:28 699f458cf7ca: Pulling fs layer 22:46:28 765212b225bb: Pulling fs layer 22:46:28 f23df028b6ca: Pulling fs layer 22:46:28 d65c8cfc05b1: Pulling fs layer 22:46:28 2437ff75d9bd: Pulling fs layer 22:46:28 f23df028b6ca: Waiting 22:46:28 d65c8cfc05b1: Waiting 22:46:28 2437ff75d9bd: Waiting 22:46:28 765212b225bb: Waiting 22:46:28 04944245beec: Verifying Checksum 22:46:28 04944245beec: Download complete 22:46:28 765212b225bb: Verifying Checksum 22:46:28 765212b225bb: Download complete 22:46:28 f23df028b6ca: Verifying Checksum 22:46:28 f23df028b6ca: Download complete 22:46:28 d65c8cfc05b1: Verifying Checksum 22:46:28 d65c8cfc05b1: Download complete 22:46:28 699f458cf7ca: Verifying Checksum 22:46:28 699f458cf7ca: Download complete 22:46:28 8998bd30e6a1: Verifying Checksum 22:46:28 8998bd30e6a1: Download complete 22:46:32 2437ff75d9bd: Verifying Checksum 22:46:32 2437ff75d9bd: Download complete 22:46:34 8998bd30e6a1: Pull complete 22:46:34 04944245beec: Pull complete 22:46:36 699f458cf7ca: Pull complete 22:46:36 765212b225bb: Pull complete 22:46:37 f23df028b6ca: Pull complete 22:46:38 d65c8cfc05b1: Pull complete 22:46:56 2437ff75d9bd: Pull complete 22:46:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:46:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:46:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:56 prd-ubuntu20.04-docker-arm64-4c-16g-10778 does not seem to be running inside a container 22:46:56 $ 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 22:47:00 $ docker top d7da741b1835336bad13949d92b85ab2cdb2e5f9b4acdd633ef046b482401329 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:01 ---> job-cost.sh 22:47:01 lf-activate-venv: SKIPPING 22:47:01 INFO: No Stack... 22:47:02 INFO: Retrieving Pricing Info for: v3-standard-4 22:47:03 INFO: Archiving Costs [Pipeline] sh 22:47:03 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 22:47:03 + cut -d, -f6 [Pipeline] lock 22:47:04 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-325-1-stack-cost] 22:47:04 Resource [jenkins-edgexfoundry-device-snmp-go-PR-325-1-stack-cost] did not exist. Created. 22:47:04 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:47:04 /w/workspace/device-snmp-go/1@tmp/durable-c9839f01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:47:05 + echo total: 0.10999999940395355 [Pipeline] stash 22:47:05 Warning: overwriting stash ‘stack-cost’ 22:47:05 Stashed 1 file(s) [Pipeline] } 22:47:05 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-325-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:47:05 $ docker stop --time=1 d7da741b1835336bad13949d92b85ab2cdb2e5f9b4acdd633ef046b482401329 22:47:07 $ docker rm -f --volumes d7da741b1835336bad13949d92b85ab2cdb2e5f9b4acdd633ef046b482401329 [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 22:47:08 provisioning config files... 22:47:08 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-325@tmp/config15805904937707765044tmp [Pipeline] { [Pipeline] sh 22:47:08 + set +x 22:47:08 + curl -s https://codecov.io/bash 22:47:08 + bash -s -- 22:47:08 22:47:08 _____ _ 22:47:08 / ____| | | 22:47:08 | | ___ __| | ___ ___ _____ __ 22:47:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:47:08 | |___| (_) | (_| | __/ (_| (_) \ V / 22:47:08 \_____\___/ \__,_|\___|\___\___/ \_/ 22:47:08 Bash-1.0.6 22:47:08 22:47:08 22:47:08 ==> git version 2.25.1 found 22:47:08 ==> 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 22:47:08 Release-Date: 2020-01-08 22:47:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:47:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:47:08 ==> Jenkins CI detected. 22:47:08 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-325 22:47:08 project root: . 22:47:08 --> token set from env 22:47:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:47:08 ==> Running gcov in . (disable via -X gcov) 22:47:08 ==> Python coveragepy not found 22:47:08 ==> Searching for coverage reports in: 22:47:08 + . 22:47:08 -> Found 1 reports 22:47:08 ==> Detecting git/mercurial file structure 22:47:08 ==> Reading reports 22:47:08 + ./coverage.out bytes=8837 22:47:08 ==> Appending adjustments 22:47:08 https://docs.codecov.io/docs/fixing-reports 22:47:09 + Found adjustments 22:47:09 ==> Gzipping contents 22:47:09 4.0K /tmp/codecov.oKd0r1.gz 22:47:09 ==> Uploading reports 22:47:09 url: https://codecov.io 22:47:09 query: branch=PR-325&commit=5744b377334436cc2da1254aefc36c3f7dba3b42&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=325&job=&cmd_args= 22:47:09 -> Pinging Codecov 22:47: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-325&commit=5744b377334436cc2da1254aefc36c3f7dba3b42&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=325&job=&cmd_args= 22:47:09 -> Uploading to 22:47:09 https://storage.googleapis.com/codecov/v4/raw/2023-10-25/6C56EA5C29638FB4528AC87E60AF5AE0/5744b377334436cc2da1254aefc36c3f7dba3b42/9426a012-7762-4a00-a48a-b41d825dea6f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231025T224708Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=35b1687348b37c7a71b07b958ff43a87bc0db5205437f57e8a78592d162c0d1b 22:47:09 % Total % Received % Xferd Average Speed Time Time Time Current 22:47:09 Dload Upload Total Spent Left Speed 22:47:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 4982 --:--:-- --:--:-- --:--:-- 4982 22:47:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/5744b377334436cc2da1254aefc36c3f7dba3b42 [Pipeline] } 22:47:09 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 22:47:11 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-325/archives ] 22:47:11 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-325/archives 22:47:11 total 16 22:47:11 drwxr-xr-x 3 root root 4096 Oct 25 22:31 . 22:47:11 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:31 .. 22:47:11 drwxr-xr-x 2 root root 4096 Oct 25 22:31 cost 22:47:11 -rw-r--r-- 1 root root 86 Oct 25 22:31 cost.csv 22:47:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-325/archives 22:47:11 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-325/archives 22:47:11 total 16 22:47:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:31 . 22:47:11 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:31 .. 22:47:11 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:31 cost 22:47:11 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 22:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:47:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:47:12 ---> package-listing.sh 22:47:12 ++ facter osfamily 22:47:12 ++ tr '[:upper:]' '[:lower:]' 22:47:12 + OS_FAMILY=debian 22:47:12 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-325 22:47:12 + START_PACKAGES=/tmp/packages_start.txt 22:47:12 + END_PACKAGES=/tmp/packages_end.txt 22:47:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:47:12 + PACKAGES=/tmp/packages_start.txt 22:47:12 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-325 ']' 22:47:12 + PACKAGES=/tmp/packages_end.txt 22:47:12 + case "${OS_FAMILY}" in 22:47:12 + dpkg -l 22:47:12 + grep '^ii' 22:47:12 + '[' -f /tmp/packages_start.txt ']' 22:47:12 + '[' -f /tmp/packages_end.txt ']' 22:47:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:47:12 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-325 ']' 22:47:12 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-325/archives/ 22:47:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-325/archives/ [Pipeline] echo 22:47:12 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-325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:47:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:47:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:13 prd-ubuntu20.04-docker-8c-8g-10447 does not seem to be running inside a container 22:47:13 $ 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-325/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-325 -v /w/workspace/gexfoundry_device-snmp-go_PR-325:/w/workspace/gexfoundry_device-snmp-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-325@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-325@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 22:47:14 $ docker top e55ee3e0c288e3e01666357a6f1e49a5fe9c5d4edda00c984cfd273173c5454f -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:14 + touch /tmp/pre-build-complete [Pipeline] sh 22:47:14 + mkdir -p /var/log/sysstat [Pipeline] sh 22:47:15 + ls /var/log/sa-host 22:47:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:15 provisioning config files... 22:47:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-325@tmp/config8216498514708123154tmp [Pipeline] { [Pipeline] echo 22:47:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:47:15 ---> create-netrc.sh [Pipeline] } 22:47:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:47:16 ---> python-tools-install.sh [Pipeline] echo 22:47:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:47:16 ---> sudo-logs.sh 22:47:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:47:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:47:16 ---> job-cost.sh 22:47:16 lf-activate-venv: SKIPPING 22:47:16 DEBUG: total: 0.2199999988079071 22:47:16 INFO: Retrieving Stack Cost... 22:47:17 INFO: Retrieving Pricing Info for: v3-standard-8 22:47:17 INFO: Archiving Costs [Pipeline] echo 22:47:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:47:17 ---> logs-deploy.sh 22:47:17 lf-activate-venv: SKIPPING 22:47:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-325/1 22:47:17 INFO: archiving workspace using pattern(s): 22:47:18 Archives upload complete. 22:47:18 INFO: archiving logs to Nexus