Pull request #328 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24+16c420418f3d11c50b6d4cdc106b6ff48e0fad87 (4b1c71009b005cbb3bd2ae1ec7d5203e4becf8a1) 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-ssh4440249690853324544.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh9493938520575993268.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-328/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-328/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5806709725715622598.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-328/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3071631672507576975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh18112632254671388125.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-328/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-328/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15249311270659677371.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16352 in /w/workspace/gexfoundry_device-snmp-go_PR-328 [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-328 # 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/328/head:refs/remotes/origin/PR-328 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 Merge succeeded, producing 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 Checking out Revision 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 (PR-328) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:40:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:40:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:40:25 ========================================================= 05:40:25 EdgeX Global Pipelines Version Info 05:40:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 # 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 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 # timeout=10 05:40:26 ------------------- 05:40:26 stable info: 05:40:26 ------------------- 05:40:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:40:26 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 05:40:26 Message: update stable to v1.0.255 05:40:27 ------------------- 05:40:27 experimental info: 05:40:27 ------------------- 05:40:27 Commited By: **** collab-it+edgex@linuxfoundation.org 05:40:27 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 05:40:27 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:40:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-328 [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-328 [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-328 [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9995fbe [Pipeline] echo 05:40:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:28 provisioning config files... 05:40:28 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp/config7150928204667669347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:29 ---> docker-login.sh 05:40:29 nexus3.edgexfoundry.org:10001 05:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:29 Configure a credential helper to remove this warning. See 05:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:29 05:40:29 Login Succeeded 05:40:29 nexus3.edgexfoundry.org:10002 05:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:29 Configure a credential helper to remove this warning. See 05:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:29 05:40:29 Login Succeeded 05:40:29 nexus3.edgexfoundry.org:10003 05:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:30 Configure a credential helper to remove this warning. See 05:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:30 05:40:30 Login Succeeded 05:40:30 nexus3.edgexfoundry.org:10004 05:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:30 Configure a credential helper to remove this warning. See 05:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:30 05:40:30 Login Succeeded 05:40:30 docker.io 05:40:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:30 Configure a credential helper to remove this warning. See 05:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:30 05:40:30 Login Succeeded 05:40:30 ---> docker-login.sh ends [Pipeline] } 05:40:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:40:31 + git rev-list -1 --merges 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24~1..9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 [Pipeline] echo 05:40:31 -----------> git rev-list -1 --merges 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24~1..9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 [false] [Pipeline] sh 05:40:31 + git log --format=format:%s -1 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 [Pipeline] echo 05:40:31 ========================================================= 05:40:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:40:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:40:32 + git log --format=format:%s -1 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 [Pipeline] echo 05:40:32 [semverPrep] GIT_COMMIT: 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:40:32 [semverPrep] This is not a build commit. [Pipeline] sh 05:40:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:40:32 + grep -v github /etc/ssh/ssh_known_hosts 05:40:32 + [ -e /tmp/ssh_known_hosts ] 05:40:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:40:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:40:32 + sudo tee -a /etc/ssh/ssh_known_hosts 05:40:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:40:32 05:40:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:40:33 0.1.4: Pulling from edgex-devops/py-git-semver 05:40:33 b85a868b505f: Pulling fs layer 05:40:33 e2be974225ed: Pulling fs layer 05:40:33 339a4e72a1f5: Pulling fs layer 05:40:33 988bab9f4d93: Pulling fs layer 05:40:33 1469e6f7b9e6: Pulling fs layer 05:40:33 988bab9f4d93: Waiting 05:40:33 eaf3925da568: Pulling fs layer 05:40:33 bab4dde63d76: Pulling fs layer 05:40:33 bde34c3a00c8: Pulling fs layer 05:40:33 1469e6f7b9e6: Waiting 05:40:33 eaf3925da568: Waiting 05:40:33 bab4dde63d76: Waiting 05:40:33 b352a97aabf1: Pulling fs layer 05:40:33 4872d77fe225: Pulling fs layer 05:40:33 b352a97aabf1: Waiting 05:40:33 5851b861e8e6: Pulling fs layer 05:40:33 4872d77fe225: Waiting 05:40:33 5851b861e8e6: Waiting 05:40:33 bde34c3a00c8: Waiting 05:40:33 e2be974225ed: Download complete 05:40:33 988bab9f4d93: Verifying Checksum 05:40:33 988bab9f4d93: Download complete 05:40:33 1469e6f7b9e6: Verifying Checksum 05:40:33 1469e6f7b9e6: Download complete 05:40:33 eaf3925da568: Verifying Checksum 05:40:33 eaf3925da568: Download complete 05:40:33 339a4e72a1f5: Verifying Checksum 05:40:33 339a4e72a1f5: Download complete 05:40:33 bde34c3a00c8: Download complete 05:40:33 b352a97aabf1: Download complete 05:40:33 4872d77fe225: Verifying Checksum 05:40:33 4872d77fe225: Download complete 05:40:33 5851b861e8e6: Verifying Checksum 05:40:33 5851b861e8e6: Download complete 05:40:33 b85a868b505f: Verifying Checksum 05:40:33 b85a868b505f: Download complete 05:40:34 bab4dde63d76: Verifying Checksum 05:40:34 bab4dde63d76: Download complete 05:40:35 b85a868b505f: Pull complete 05:40:35 e2be974225ed: Pull complete 05:40:35 339a4e72a1f5: Pull complete 05:40:35 988bab9f4d93: Pull complete 05:40:35 1469e6f7b9e6: Pull complete 05:40:36 eaf3925da568: Pull complete 05:40:38 bab4dde63d76: Pull complete 05:40:38 bde34c3a00c8: Pull complete 05:40:38 b352a97aabf1: Pull complete 05:40:38 4872d77fe225: Pull complete 05:40:38 5851b861e8e6: Pull complete 05:40:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:40:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:40:38 prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container 05:40:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-328 -v /w/workspace/gexfoundry_device-snmp-go_PR-328:/w/workspace/gexfoundry_device-snmp-go_PR-328:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:40:42 $ docker top 49ee7fb1bd63e1c1b070070f01878c202877bf0d77c5c76769f7a6c6de51780e -eo pid,comm 05:40:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:40:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:40:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:42 [ssh-agent] Looking for ssh-agent implementation... 05:40:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:42 $ docker exec 49ee7fb1bd63e1c1b070070f01878c202877bf0d77c5c76769f7a6c6de51780e ssh-agent 05:40:42 SSH_AUTH_SOCK=/tmp/ssh-2nHP01uc7pzV/agent.34 05:40:42 SSH_AGENT_PID=40 05:40:42 Running ssh-add (command line suppressed) 05:40:42 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-328@tmp/private_key_12943411368439064262.key (/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp/private_key_12943411368439064262.key) 05:40:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:43 + git tag --points-at HEAD [Pipeline] } 05:40:43 $ docker exec --env ******** --env ******** 49ee7fb1bd63e1c1b070070f01878c202877bf0d77c5c76769f7a6c6de51780e ssh-agent -k 05:40:43 unset SSH_AUTH_SOCK; 05:40:43 unset SSH_AGENT_PID; 05:40:43 echo Agent pid 40 killed; 05:40:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:40:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:40:43 [ssh-agent] Looking for ssh-agent implementation... 05:40:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:40:43 $ docker exec 49ee7fb1bd63e1c1b070070f01878c202877bf0d77c5c76769f7a6c6de51780e ssh-agent 05:40:43 SSH_AUTH_SOCK=/tmp/ssh-6AKkXOu3dtVa/agent.72 05:40:43 SSH_AGENT_PID=78 05:40:43 Running ssh-add (command line suppressed) 05:40:43 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-328@tmp/private_key_5164518808586875269.key (/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp/private_key_5164518808586875269.key) 05:40:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:40:44 + git semver init 05:40:44 2023-11-02 05:40:44,326 [run_init] DEBUG init version:0.0.0 force:False 05:40:44 2023-11-02 05:40:44,326 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-328/.semver 05:40:44 2023-11-02 05:40:44,327 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-328/.semver 05:40:44 2023-11-02 05:40:44,327 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-328/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-328, universal_newlines=False, shell=None, istream=None) 05:40:45 2023-11-02 05:40:45,242 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-328/.git/info/exclude 05:40:45 2023-11-02 05:40:45,242 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-328/.semver/PR-328 with force:False 05:40:45 2023-11-02 05:40:45,243 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-328/.semver/PR-328 05:40:45 2023-11-02 05:40:45,247 [execute] INFO git cat-file --batch-check 05:40:45 2023-11-02 05:40:45,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-328/.semver, universal_newlines=False, shell=None, istream=) 05:40:45 2023-11-02 05:40:45,255 [execute] INFO git cat-file --batch 05:40:45 2023-11-02 05:40:45,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-328/.semver, universal_newlines=False, shell=None, istream=) 05:40:45 2023-11-02 05:40:45,260 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-328/.semver/PR-328 05:40:45 0.0.0 [Pipeline] } 05:40:45 $ docker exec --env ******** --env ******** 49ee7fb1bd63e1c1b070070f01878c202877bf0d77c5c76769f7a6c6de51780e ssh-agent -k 05:40:45 unset SSH_AUTH_SOCK; 05:40:45 unset SSH_AGENT_PID; 05:40:45 echo Agent pid 78 killed; 05:40:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:40:45 + git semver [Pipeline] } 05:40:46 $ docker stop --time=1 49ee7fb1bd63e1c1b070070f01878c202877bf0d77c5c76769f7a6c6de51780e 05:40:47 $ docker rm -f --volumes 49ee7fb1bd63e1c1b070070f01878c202877bf0d77c5c76769f7a6c6de51780e [Pipeline] // withDockerContainer [Pipeline] sh 05:40:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:40:48 Stashed 1 file(s) [Pipeline] echo 05:40:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:40:48 provisioning config files... 05:40:48 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp/config7969615094084892990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:40:49 ---> docker-login.sh 05:40:49 nexus3.edgexfoundry.org:10001 05:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:49 Configure a credential helper to remove this warning. See 05:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:49 05:40:49 Login Succeeded 05:40:49 nexus3.edgexfoundry.org:10002 05:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:49 Configure a credential helper to remove this warning. See 05:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:49 05:40:49 Login Succeeded 05:40:49 nexus3.edgexfoundry.org:10003 05:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:49 Configure a credential helper to remove this warning. See 05:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:49 05:40:49 Login Succeeded 05:40:49 nexus3.edgexfoundry.org:10004 05:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:49 Configure a credential helper to remove this warning. See 05:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:49 05:40:49 Login Succeeded 05:40:49 docker.io 05:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:40:51 Configure a credential helper to remove this warning. See 05:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:40:51 05:40:51 Login Succeeded 05:40:51 ---> docker-login.sh ends [Pipeline] } 05:40:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:40:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:40:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:40:51 ========================================================= 05:40:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:40:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:51 + 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 . 05:40:51 Sending build context to Docker daemon 5.747MB 05:40:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:40:51 Step 2/12 : FROM ${BASE} AS builder 05:40:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:40:52 7264a8db6415: Pulling fs layer 05:40:52 c4d48a809fc2: Pulling fs layer 05:40:52 4f1c88b9dad5: Pulling fs layer 05:40:52 ad3a456e5733: Pulling fs layer 05:40:52 33e27b845d1e: Pulling fs layer 05:40:52 c68163c4e522: Pulling fs layer 05:40:52 ad3a456e5733: Waiting 05:40:52 33e27b845d1e: Waiting 05:40:52 50da416c3ac9: Pulling fs layer 05:40:52 23d2d4c4bb30: Pulling fs layer 05:40:52 c68163c4e522: Waiting 05:40:52 23d2d4c4bb30: Waiting 05:40:52 c4d48a809fc2: Download complete 05:40:52 ad3a456e5733: Download complete 05:40:52 33e27b845d1e: Verifying Checksum 05:40:52 33e27b845d1e: Download complete 05:40:52 7264a8db6415: Verifying Checksum 05:40:52 7264a8db6415: Download complete 05:40:52 c68163c4e522: Verifying Checksum 05:40:52 c68163c4e522: Download complete 05:40:53 23d2d4c4bb30: Verifying Checksum 05:40:53 23d2d4c4bb30: Download complete 05:40:53 7264a8db6415: Pull complete 05:40:53 4f1c88b9dad5: Verifying Checksum 05:40:53 4f1c88b9dad5: Download complete 05:40:53 c4d48a809fc2: Pull complete 05:40:53 50da416c3ac9: Verifying Checksum 05:40:53 50da416c3ac9: Download complete 05:40:57 4f1c88b9dad5: Pull complete 05:40:57 ad3a456e5733: Pull complete 05:40:58 33e27b845d1e: Pull complete 05:40:58 c68163c4e522: Pull complete 05:41:02 50da416c3ac9: Pull complete 05:41:02 23d2d4c4bb30: Pull complete 05:41:02 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:41:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:41:02 ---> 0786185ac409 05:41:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:41:03 Still waiting to schedule task 05:41:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:41:14 ---> Running in 2c94368b48e6 05:41:14 Removing intermediate container 2c94368b48e6 05:41:14 ---> c4966daf6b85 05:41:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:41:14 ---> Running in d7e8a3dd57bb 05:41:14 Removing intermediate container d7e8a3dd57bb 05:41:14 ---> 771efe608c9a 05:41:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:41:14 ---> Running in 6d3a44f079a2 05:41:14 Removing intermediate container 6d3a44f079a2 05:41:14 ---> 839373e7275a 05:41:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:41:14 ---> Running in e77d4154d5c7 05:41:14 Removing intermediate container e77d4154d5c7 05:41:14 ---> efde169a93e7 05:41:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:41:14 ---> Running in 22f58704c6fe 05:41:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:41:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:41:14 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:41:14 (2/4) Installing libedit (20221030.3.1-r1) 05:41:14 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:41:14 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:41:14 Executing busybox-1.36.1-r2.trigger 05:41:14 OK: 268 MiB in 56 packages 05:41:15 Removing intermediate container 22f58704c6fe 05:41:15 ---> a60087386fa3 05:41:15 Step 8/12 : WORKDIR /device-snmp-go 05:41:15 ---> Running in 6362e29bee05 05:41:15 Removing intermediate container 6362e29bee05 05:41:15 ---> 278dd143d91a 05:41:15 Step 9/12 : COPY go.mod vendor* ./ 05:41:15 ---> ce2912bf18e1 05:41:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:41:15 ---> Running in 7a3ddcc1ba1d 05:42:01 Removing intermediate container 7a3ddcc1ba1d 05:42:01 ---> 901fae19ed58 05:42:01 Step 11/12 : COPY . . 05:42:01 ---> 2a05584c7f0f 05:42:01 Step 12/12 : RUN ${MAKE} 05:42:01 ---> Running in ff7ade16372f 05:42:01 noop 05:42:01 Removing intermediate container ff7ade16372f 05:42:01 ---> c2fcdb24a234 05:42:01 Successfully built c2fcdb24a234 05:42:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:02 + docker inspect -f . ci-base-image-x86_64 05:42:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:02 prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container 05:42:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-328 -v /w/workspace/gexfoundry_device-snmp-go_PR-328:/w/workspace/gexfoundry_device-snmp-go_PR-328:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:42:03 $ docker top ef8e8c6149ca68d84c634eac93097994d4663d2ffd316ad6f3feeffeeb15d918 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:03 + go version 05:42:03 go version go1.21.0 linux/amd64 [Pipeline] } 05:42:03 $ docker stop --time=1 ef8e8c6149ca68d84c634eac93097994d4663d2ffd316ad6f3feeffeeb15d918 05:42:04 $ docker rm -f --volumes ef8e8c6149ca68d84c634eac93097994d4663d2ffd316ad6f3feeffeeb15d918 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:05 + docker inspect -f . ci-base-image-x86_64 05:42:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:05 prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container 05:42:05 $ 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-328 -v /w/workspace/gexfoundry_device-snmp-go_PR-328:/w/workspace/gexfoundry_device-snmp-go_PR-328:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:42:06 $ docker top 24b7928867a2b052711589e4695f97936ccacaf71521f56d37c8dfa9dcea2734 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-328 [Pipeline] fileExists [Pipeline] sh 05:42:06 + make test 05:42:06 go test ./... -coverprofile=coverage.out 05:42:08 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:42:18 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:42:18 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 05:42:25 go vet ./... 05:42:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:42:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:42:29 ./bin/test-attribution-txt.sh [Pipeline] echo 05:42:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:42:29 $ docker stop --time=1 24b7928867a2b052711589e4695f97936ccacaf71521f56d37c8dfa9dcea2734 05:42:34 $ docker rm -f --volumes 24b7928867a2b052711589e4695f97936ccacaf71521f56d37c8dfa9dcea2734 [Pipeline] // withDockerContainer [Pipeline] sh 05:42:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:42:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:42:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:42:35 + ls -al . 05:42:35 total 172 05:42:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 05:42 . 05:42:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 05:40 .. 05:42:35 -rw-rw-r-- 1 jenkins jenkins 6 Nov 2 05:40 .dockerignore 05:42:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 05:42 .git 05:42:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 05:40 .github 05:42:35 -rw-rw-r-- 1 jenkins jenkins 263 Nov 2 05:40 .gitignore 05:42:35 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 05:40 .golangci.yml 05:42:35 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 05:40 .semver 05:42:35 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 2 05:40 Attribution.txt 05:42:35 -rw-rw-r-- 1 jenkins jenkins 10534 Nov 2 05:40 CHANGELOG.md 05:42:35 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 2 05:40 Dockerfile 05:42:35 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 05:40 GOVERNANCE.md 05:42:35 -rw-rw-r-- 1 jenkins jenkins 656 Nov 2 05:40 Jenkinsfile 05:42:35 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 05:40 LICENSE 05:42:35 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 2 05:40 Makefile 05:42:35 -rw-rw-r-- 1 jenkins jenkins 620 Nov 2 05:40 OWNERS.md 05:42:35 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 2 05:40 README.md 05:42:35 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 05:40 VERSION 05:42:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 05:40 bin 05:42:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 05:40 cmd 05:42:35 -rw-r--r-- 1 jenkins jenkins 8837 Nov 2 05:42 coverage.out 05:42:35 -rw-rw-r-- 1 jenkins jenkins 3712 Nov 2 05:40 go.mod 05:42:35 -rw-rw-r-- 1 jenkins jenkins 34822 Nov 2 05:40 go.sum 05:42:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 05:40 internal 05:42:35 -rw-rw-r-- 1 jenkins jenkins 228 Nov 2 05:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:36 + 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=9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 --label arch=amd64 --label version=0.0.0 . 05:42:36 Sending build context to Docker daemon 5.757MB 05:42:36 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:42:36 Step 2/24 : FROM ${BASE} AS builder 05:42:36 ---> c2fcdb24a234 05:42:36 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:42:36 ---> Running in 3c1387dd7632 05:42:36 Removing intermediate container 3c1387dd7632 05:42:36 ---> 361d0c092955 05:42:36 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:42:37 ---> Running in f5ca051a7d69 05:42:37 Removing intermediate container f5ca051a7d69 05:42:37 ---> f1300c9b616d 05:42:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:42:37 ---> Running in 908e68e2e7ed 05:42:38 Removing intermediate container 908e68e2e7ed 05:42:38 ---> fa97bcea9eb8 05:42:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:42:38 ---> Running in 8d83a3fe2746 05:42:38 Removing intermediate container 8d83a3fe2746 05:42:38 ---> b8153d8c35fb 05:42:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:42:38 ---> Running in 9bd1c0d0f6d2 05:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:42:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:42:39 OK: 268 MiB in 56 packages 05:42:40 Removing intermediate container 9bd1c0d0f6d2 05:42:40 ---> ee2d56556649 05:42:40 Step 8/24 : WORKDIR /device-snmp-go 05:42:40 ---> Running in 054e38531155 05:42:40 Removing intermediate container 054e38531155 05:42:40 ---> 910568baf78e 05:42:40 Step 9/24 : COPY go.mod vendor* ./ 05:42:40 ---> af49193ff8e9 05:42:40 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:42:40 ---> Running in 321be38ee080 05:42:41 Removing intermediate container 321be38ee080 05:42:41 ---> e89ad9685e3a 05:42:41 Step 11/24 : COPY . . 05:42:41 ---> 697b034e447f 05:42:41 Step 12/24 : RUN ${MAKE} 05:42:41 ---> Running in e83a899aeed6 05:42:42 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.39" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:42:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16353 in /w/workspace/gexfoundry_device-snmp-go_PR-328 [Pipeline] { [Pipeline] ws 05:42:46 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:42:46 Selected Git installation does not exist. Using Default 05:42:46 The recommended git tool is: NONE 05:42:51 using credential edgex-jenkins-ssh 05:42:51 Cloning the remote Git repository 05:42:51 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:42:51 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:42:52 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:42:52 > git --version # timeout=10 05:42:52 > git --version # 'git version 2.25.1' 05:42:52 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:42:56 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:42:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:42:57 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:42:57 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:42:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/328/head:refs/remotes/origin/PR-328 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:42:58 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 05:42:58 Merge succeeded, producing 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 05:42:58 Checking out Revision 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 (PR-328) 05:42:59 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:42:59 > git --version # timeout=10 05:42:59 > git --version # 'git version 2.25.1' 05:42:59 fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 05:42:58 > git config core.sparsecheckout # timeout=10 05:42:58 > git checkout -f 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 # timeout=10 05:42:58 > git remote # timeout=10 05:42:58 > git config --get remote.origin.url # timeout=10 05:42:58 using GIT_SSH to set credentials SSH Credentials for GitHub 05:42:58 > git merge 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 05:42:58 > git rev-parse HEAD^{commit} # timeout=10 05:42:58 > git config core.sparsecheckout # timeout=10 05:42:58 > git checkout -f 9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 05:43:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:43:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:43:00 Dload Upload Total Spent Left Speed 05:43:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 05:43:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:43:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:43:01 + sudo tee /etc/docker/daemon.new 05:43:01 { 05:43:01 "registry-mirrors": [ 05:43:01 "https://nexus3.edgexfoundry.org:10001" 05:43:01 ], 05:43:01 "bip": "10.250.0.254/24", 05:43:01 "hosts": [ 05:43:01 "tcp://0.0.0.0:5555", 05:43:01 "unix:///var/run/docker.sock" 05:43:01 ], 05:43:01 "mtu": 1458, 05:43:01 "selinux-enabled": true, 05:43:01 "seccomp-profile": "/etc/docker/seccomp.json" 05:43:01 } [Pipeline] sh 05:43:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:43:01 + sudo service docker restart 05:43:04 Removing intermediate container e83a899aeed6 05:43:04 ---> 6c0deff71317 05:43:04 Step 13/24 : FROM alpine:3.18 05:43:04 3.18: Pulling from library/alpine 05:43:04 96526aa774ef: Pulling fs layer 05:43:04 96526aa774ef: Verifying Checksum 05:43:04 96526aa774ef: Download complete 05:43:04 96526aa774ef: Pull complete 05:43:04 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:43:04 Status: Downloaded newer image for alpine:3.18 05:43:04 ---> 8ca4688f4f35 05:43:04 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:43:04 ---> Running in cc30c3b9dccb 05:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:43:04 (1/1) Installing dumb-init (1.2.5-r2) 05:43:04 Executing busybox-1.36.1-r2.trigger 05:43:04 OK: 7 MiB in 16 packages 05:43:04 Removing intermediate container cc30c3b9dccb 05:43:04 ---> 6b757c014eaf 05:43:04 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:43:06 ---> eccff3928a1b 05:43:06 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:43:06 ---> 6161a6848dfc 05:43:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:43:06 ---> 271bfc0c6826 05:43:06 Step 18/24 : EXPOSE 59993 05:43:06 ---> Running in bc09f47848d2 05:43:06 Removing intermediate container bc09f47848d2 05:43:06 ---> 09b4bbfac898 05:43:06 Step 19/24 : EXPOSE 161 05:43:06 ---> Running in ad9b86767298 05:43:06 Removing intermediate container ad9b86767298 05:43:06 ---> bef42c00d6eb 05:43:06 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:43:06 ---> Running in 1985d8227ce9 05:43:06 Removing intermediate container 1985d8227ce9 05:43:06 ---> 7b277daab293 05:43:06 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:43:06 ---> Running in 5a0564167e06 05:43:06 Removing intermediate container 5a0564167e06 05:43:06 ---> 9a1eb820fcb8 05:43:06 Step 22/24 : LABEL arch=amd64 05:43:06 ---> Running in 5f9d489d71f7 05:43:06 Removing intermediate container 5f9d489d71f7 05:43:06 ---> 5508ff437a9e 05:43:06 Step 23/24 : LABEL git_sha=9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 05:43:06 ---> Running in 6118df580abc 05:43:07 Removing intermediate container 6118df580abc 05:43:07 ---> 62b9e6d9b4e5 05:43:07 Step 24/24 : LABEL version=0.0.0 05:43:07 ---> Running in d363a8bede55 05:43:07 Removing intermediate container d363a8bede55 05:43:07 ---> 549d1cdcbd36 05:43:07 [Warning] One or more build-args [ARCH] were not consumed 05:43:07 Successfully built 549d1cdcbd36 05:43:07 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:43:07 05:43:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:43:08 latest: Pulling from edgex-lftools-log-publisher 05:43:08 5eb5b503b376: Pulling fs layer 05:43:08 5c69ac0246d0: Pulling fs layer 05:43:08 ec43610c2a17: Pulling fs layer 05:43:08 3a2ae6a8a46f: Pulling fs layer 05:43:08 33b1e0a273af: Pulling fs layer 05:43:08 5d3b04190fa2: Pulling fs layer 05:43:08 2f39f015ded8: Pulling fs layer 05:43:08 3a2ae6a8a46f: Waiting 05:43:08 33b1e0a273af: Waiting 05:43:08 5d3b04190fa2: Waiting 05:43:08 5c69ac0246d0: Verifying Checksum 05:43:08 5c69ac0246d0: Download complete 05:43:08 3a2ae6a8a46f: Verifying Checksum 05:43:08 3a2ae6a8a46f: Download complete 05:43:08 33b1e0a273af: Verifying Checksum 05:43:08 33b1e0a273af: Download complete 05:43:08 5d3b04190fa2: Verifying Checksum 05:43:08 5d3b04190fa2: Download complete 05:43:08 ec43610c2a17: Verifying Checksum 05:43:08 ec43610c2a17: Download complete 05:43:08 5eb5b503b376: Verifying Checksum 05:43:08 5eb5b503b376: Download complete 05:43:09 2f39f015ded8: Download complete 05:43:10 5eb5b503b376: Pull complete 05:43:10 5c69ac0246d0: Pull complete 05:43:10 ec43610c2a17: Pull complete 05:43:10 3a2ae6a8a46f: Pull complete 05:43:10 33b1e0a273af: Pull complete 05:43:11 5d3b04190fa2: Pull complete 05:43:15 2f39f015ded8: Pull complete 05:43:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:43:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:43:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:43:15 prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container 05:43:15 $ 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-328 -v /w/workspace/gexfoundry_device-snmp-go_PR-328:/w/workspace/gexfoundry_device-snmp-go_PR-328:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:43:24 $ docker top 655978a07d819ad8ac6f628f6bc39e3aff23bbaabf7219a2c3141e57d712876f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 05:43:25 provisioning config files... 05:43:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config14493354597610996870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:25 ---> job-cost.sh 05:43:25 lf-activate-venv: SKIPPING 05:43:25 INFO: No Stack... 05:43:25 INFO: Retrieving Pricing Info for: v3-standard-8 05:43:25 ---> docker-login.sh 05:43:25 nexus3.edgexfoundry.org:10001 05:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:26 Configure a credential helper to remove this warning. See 05:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:26 05:43:26 Login Succeeded 05:43:26 nexus3.edgexfoundry.org:10002 05:43:26 INFO: Archiving Costs [Pipeline] sh 05:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:26 Configure a credential helper to remove this warning. See 05:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:26 05:43:26 Login Succeeded 05:43:26 nexus3.edgexfoundry.org:10003 05:43:26 + cat /w/workspace/gexfoundry_device-snmp-go_PR-328/archives/cost.csv 05:43:26 + cut -d, -f6 [Pipeline] lock 05:43:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-328-1-stack-cost] 05:43:26 Resource [jenkins-edgexfoundry-device-snmp-go-PR-328-1-stack-cost] did not exist. Created. 05:43:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-328-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:26 + echo total: 0.2199999988079071 [Pipeline] stash 05:43:26 Stashed 1 file(s) [Pipeline] } 05:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:26 Configure a credential helper to remove this warning. See 05:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:26 05:43:26 Login Succeeded 05:43:26 nexus3.edgexfoundry.org:10004 05:43:26 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-328-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:43:27 $ docker stop --time=1 655978a07d819ad8ac6f628f6bc39e3aff23bbaabf7219a2c3141e57d712876f 05:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:27 Configure a credential helper to remove this warning. See 05:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:27 05:43:27 Login Succeeded 05:43:27 docker.io 05:43:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:27 Configure a credential helper to remove this warning. See 05:43:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:27 05:43:27 Login Succeeded 05:43:27 ---> docker-login.sh ends 05:43:28 $ docker rm -f --volumes 655978a07d819ad8ac6f628f6bc39e3aff23bbaabf7219a2c3141e57d712876f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 05:43:28 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 05:43:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:43:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:43:28 ========================================================= 05:43:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:43:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:29 + 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 . 05:43:29 Sending build context to Docker daemon 2.951MB 05:43:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:43:29 Step 2/12 : FROM ${BASE} AS builder 05:43:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:43:29 9fda8d8052c6: Pulling fs layer 05:43:29 5d54e960e981: Pulling fs layer 05:43:29 c4a7e357bf2a: Pulling fs layer 05:43:29 f0e02332f6b5: Pulling fs layer 05:43:29 cefa15bbcfad: Pulling fs layer 05:43:29 17808c966233: Pulling fs layer 05:43:29 f4c1fc716caa: Pulling fs layer 05:43:29 cefa15bbcfad: Waiting 05:43:29 17808c966233: Waiting 05:43:29 f4c1fc716caa: Waiting 05:43:29 f0e02332f6b5: Waiting 05:43:29 5d54e960e981: Verifying Checksum 05:43:29 5d54e960e981: Download complete 05:43:29 f0e02332f6b5: Verifying Checksum 05:43:29 f0e02332f6b5: Download complete 05:43:29 cefa15bbcfad: Verifying Checksum 05:43:29 cefa15bbcfad: Download complete 05:43:29 9fda8d8052c6: Download complete 05:43:30 f4c1fc716caa: Verifying Checksum 05:43:30 f4c1fc716caa: Download complete 05:43:30 9fda8d8052c6: Pull complete 05:43:31 5d54e960e981: Pull complete 05:43:31 c4a7e357bf2a: Download complete 05:43:32 17808c966233: Verifying Checksum 05:43:32 17808c966233: Download complete 05:43:45 c4a7e357bf2a: Pull complete 05:43:45 f0e02332f6b5: Pull complete 05:43:45 cefa15bbcfad: Pull complete 05:43:55 17808c966233: Pull complete 05:43:55 f4c1fc716caa: Pull complete 05:43:55 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:43:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:43:55 ---> ea914061e18c 05:43:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:43:57 ---> Running in b0305284761c 05:43:57 Removing intermediate container b0305284761c 05:43:57 ---> 135a5eab1f94 05:43:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:43:57 ---> Running in 77634bd5603d 05:43:57 Removing intermediate container 77634bd5603d 05:43:57 ---> c2c7666c18e8 05:43:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:43:57 ---> Running in cbde201ac55a 05:43:58 Removing intermediate container cbde201ac55a 05:43:58 ---> 6b0af8af7262 05:43:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:43:58 ---> Running in ec38f1e394c3 05:43:58 Removing intermediate container ec38f1e394c3 05:43:58 ---> bf93e6f3d08d 05:43:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:43:58 ---> Running in 4efd26a41bd5 05:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:44:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:44:01 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:44:01 (2/4) Installing libedit (20221030.3.1-r1) 05:44:01 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:44:01 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:44:01 Executing busybox-1.36.1-r2.trigger 05:44:01 OK: 270 MiB in 56 packages 05:44:02 Removing intermediate container 4efd26a41bd5 05:44:02 ---> ecbe968ebc73 05:44:02 Step 8/12 : WORKDIR /device-snmp-go 05:44:02 ---> Running in 05c1dd144d9c 05:44:02 Removing intermediate container 05c1dd144d9c 05:44:02 ---> 8033219c3032 05:44:02 Step 9/12 : COPY go.mod vendor* ./ 05:44:03 ---> 065c348d2ab9 05:44:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:03 ---> Running in 50600036b00c 05:45:24 Removing intermediate container 50600036b00c 05:45:24 ---> de8c1bcae90c 05:45:24 Step 11/12 : COPY . . 05:45:24 ---> 7694a7b8a35f 05:45:24 Step 12/12 : RUN ${MAKE} 05:45:24 ---> Running in fe7e543fb4d0 05:45:24 noop 05:45:24 Removing intermediate container fe7e543fb4d0 05:45:24 ---> 799bddfc8448 05:45:24 Successfully built 799bddfc8448 05:45:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:25 + docker inspect -f . ci-base-image-arm64 05:45:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:25 prd-ubuntu20.04-docker-arm64-4c-16g-16353 does not seem to be running inside a container 05:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:45:29 $ docker top ddd975199ed125f2c6503e35aeedcab2ce74d506fedab30264bcfacbdbe307df -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:30 + go version 05:45:30 go version go1.21.0 linux/arm64 [Pipeline] } 05:45:30 $ docker stop --time=1 ddd975199ed125f2c6503e35aeedcab2ce74d506fedab30264bcfacbdbe307df 05:45:31 $ docker rm -f --volumes ddd975199ed125f2c6503e35aeedcab2ce74d506fedab30264bcfacbdbe307df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:32 + docker inspect -f . ci-base-image-arm64 05:45:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:32 prd-ubuntu20.04-docker-arm64-4c-16g-16353 does not seem to be running inside a container 05:45:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:45:34 $ docker top d08c2bc5dfcfa9eb62cbeee28151bdd290f2cec115e7d90528aa498e057a1a27 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:35 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:45:35 + make test 05:45:35 go test ./... -coverprofile=coverage.out 05:45:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:47:16 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:47:16 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.034s coverage: 0.0% of statements 05:47:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:47:16 go vet ./... 05:47:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:47:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:47:43 ./bin/test-attribution-txt.sh [Pipeline] echo 05:47:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:47:43 $ docker stop --time=1 d08c2bc5dfcfa9eb62cbeee28151bdd290f2cec115e7d90528aa498e057a1a27 05:47:47 $ docker rm -f --volumes d08c2bc5dfcfa9eb62cbeee28151bdd290f2cec115e7d90528aa498e057a1a27 [Pipeline] // withDockerContainer [Pipeline] sh 05:47:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:47:48 Warning: overwriting stash ‘coverage-report’ 05:47:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:47:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:47:50 + ls -al . 05:47:50 total 168 05:47:50 drwxrwxr-x 7 jenkins jenkins 4096 Nov 2 05:45 . 05:47:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 05:42 .. 05:47:50 -rw-rw-r-- 1 jenkins jenkins 6 Nov 2 05:42 .dockerignore 05:47:50 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 05:42 .git 05:47:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 05:42 .github 05:47:50 -rw-rw-r-- 1 jenkins jenkins 263 Nov 2 05:42 .gitignore 05:47:50 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 05:42 .golangci.yml 05:47:50 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 2 05:42 Attribution.txt 05:47:50 -rw-rw-r-- 1 jenkins jenkins 10534 Nov 2 05:42 CHANGELOG.md 05:47:50 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 2 05:42 Dockerfile 05:47:50 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 05:42 GOVERNANCE.md 05:47:50 -rw-rw-r-- 1 jenkins jenkins 656 Nov 2 05:42 Jenkinsfile 05:47:50 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 05:42 LICENSE 05:47:50 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 2 05:42 Makefile 05:47:50 -rw-rw-r-- 1 jenkins jenkins 620 Nov 2 05:42 OWNERS.md 05:47:50 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 2 05:42 README.md 05:47:50 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 05:40 VERSION 05:47:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 05:42 bin 05:47:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 05:42 cmd 05:47:50 -rw-r--r-- 1 jenkins jenkins 8837 Nov 2 05:47 coverage.out 05:47:50 -rw-rw-r-- 1 jenkins jenkins 3712 Nov 2 05:42 go.mod 05:47:50 -rw-rw-r-- 1 jenkins jenkins 34822 Nov 2 05:42 go.sum 05:47:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 05:42 internal 05:47:50 -rw-rw-r-- 1 jenkins jenkins 228 Nov 2 05:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:50 + 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=9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 --label arch=arm64 --label version=0.0.0 . 05:47:51 Sending build context to Docker daemon 2.961MB 05:47:51 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:47:51 Step 2/24 : FROM ${BASE} AS builder 05:47:51 ---> 799bddfc8448 05:47:51 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:47:51 ---> Running in 6ac56fc34c9c 05:47:51 Removing intermediate container 6ac56fc34c9c 05:47:51 ---> 3b0103bc390c 05:47:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:47:51 ---> Running in b0c797649446 05:47:51 Removing intermediate container b0c797649446 05:47:51 ---> 67f08cb58096 05:47:51 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:47:51 ---> Running in a32760e9a636 05:47:52 Removing intermediate container a32760e9a636 05:47:52 ---> 09b9c4824ada 05:47:52 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:47:52 ---> Running in 907b189306ac 05:47:52 Removing intermediate container 907b189306ac 05:47:52 ---> 890726218fba 05:47:52 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:47:52 ---> Running in cdee49b59920 05:47:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:47:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:47:54 OK: 270 MiB in 56 packages 05:47:55 Removing intermediate container cdee49b59920 05:47:55 ---> 5f6ff2a82fb3 05:47:55 Step 8/24 : WORKDIR /device-snmp-go 05:47:55 ---> Running in a702ac7d0358 05:47:56 Removing intermediate container a702ac7d0358 05:47:56 ---> 785ffd14a823 05:47:56 Step 9/24 : COPY go.mod vendor* ./ 05:47:56 ---> 862409007e72 05:47:56 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:47:56 ---> Running in b9758bb074bf 05:48:02 Removing intermediate container b9758bb074bf 05:48:02 ---> 77fca19d72b1 05:48:02 Step 11/24 : COPY . . 05:48:02 ---> 597461b2b5da 05:48:02 Step 12/24 : RUN ${MAKE} 05:48:02 ---> Running in d694c63e4279 05:48:03 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.39" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:49:54 Removing intermediate container d694c63e4279 05:49:54 ---> a0cffb52239b 05:49:54 Step 13/24 : FROM alpine:3.18 05:49:54 3.18: Pulling from library/alpine 05:49:54 579b34f0a95b: Pulling fs layer 05:49:54 579b34f0a95b: Download complete 05:49:54 579b34f0a95b: Pull complete 05:49:54 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:49:54 Status: Downloaded newer image for alpine:3.18 05:49:54 ---> 3cc203321400 05:49:54 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:49:54 ---> Running in 8d0a5c6d51bb 05:49:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:49:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:49:54 (1/1) Installing dumb-init (1.2.5-r2) 05:49:54 Executing busybox-1.36.1-r2.trigger 05:49:54 OK: 8 MiB in 16 packages 05:49:54 Removing intermediate container 8d0a5c6d51bb 05:49:54 ---> 380e4c485c08 05:49:54 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:49:54 ---> 724a43997c5e 05:49:54 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:49:54 ---> 628c754f04d0 05:49:54 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:49:54 ---> 4ae147cb3491 05:49:54 Step 18/24 : EXPOSE 59993 05:49:54 ---> Running in 8bb0f5b1a56a 05:49:54 Removing intermediate container 8bb0f5b1a56a 05:49:54 ---> d73983b748c6 05:49:54 Step 19/24 : EXPOSE 161 05:49:54 ---> Running in 89e930bdbfca 05:49:54 Removing intermediate container 89e930bdbfca 05:49:54 ---> 81ef56a91828 05:49:54 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:49:54 ---> Running in 38305bacbd69 05:49:54 Removing intermediate container 38305bacbd69 05:49:54 ---> 127370627aa3 05:49:54 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:49:54 ---> Running in 05a26daec7cd 05:49:54 Removing intermediate container 05a26daec7cd 05:49:54 ---> 5cf65ddd390f 05:49:54 Step 22/24 : LABEL arch=arm64 05:49:54 ---> Running in 59b8571884fd 05:49:54 Removing intermediate container 59b8571884fd 05:49:54 ---> feb3cf0070a6 05:49:54 Step 23/24 : LABEL git_sha=9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 05:49:54 ---> Running in 1f43048c5e12 05:49:54 Removing intermediate container 1f43048c5e12 05:49:54 ---> 0066d9caee81 05:49:54 Step 24/24 : LABEL version=0.0.0 05:49:55 ---> Running in 58a4ede83b66 05:49:55 Removing intermediate container 58a4ede83b66 05:49:55 ---> 456c1d92d14f 05:49:55 [Warning] One or more build-args [ARCH] were not consumed 05:49:55 Successfully built 456c1d92d14f 05:49:55 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:49:56 05:49:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:49:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:49:56 arm64: Pulling from edgex-lftools-log-publisher 05:49:56 8998bd30e6a1: Pulling fs layer 05:49:56 04944245beec: Pulling fs layer 05:49:56 699f458cf7ca: Pulling fs layer 05:49:56 765212b225bb: Pulling fs layer 05:49:56 f23df028b6ca: Pulling fs layer 05:49:56 d65c8cfc05b1: Pulling fs layer 05:49:56 2437ff75d9bd: Pulling fs layer 05:49:56 f23df028b6ca: Waiting 05:49:56 d65c8cfc05b1: Waiting 05:49:56 2437ff75d9bd: Waiting 05:49:56 765212b225bb: Waiting 05:49:56 04944245beec: Verifying Checksum 05:49:56 04944245beec: Download complete 05:49:56 765212b225bb: Verifying Checksum 05:49:56 765212b225bb: Download complete 05:49:56 f23df028b6ca: Verifying Checksum 05:49:56 f23df028b6ca: Download complete 05:49:56 d65c8cfc05b1: Verifying Checksum 05:49:56 d65c8cfc05b1: Download complete 05:49:56 699f458cf7ca: Verifying Checksum 05:49:56 699f458cf7ca: Download complete 05:49:57 8998bd30e6a1: Verifying Checksum 05:49:57 8998bd30e6a1: Download complete 05:50:00 2437ff75d9bd: Verifying Checksum 05:50:00 2437ff75d9bd: Download complete 05:50:02 8998bd30e6a1: Pull complete 05:50:04 04944245beec: Pull complete 05:50:05 699f458cf7ca: Pull complete 05:50:05 765212b225bb: Pull complete 05:50:06 f23df028b6ca: Pull complete 05:50:06 d65c8cfc05b1: Pull complete 05:50:24 2437ff75d9bd: Pull complete 05:50:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:50:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:24 prd-ubuntu20.04-docker-arm64-4c-16g-16353 does not seem to be running inside a container 05:50:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:50:27 $ docker top 8c8ef20e44e949c9e712e826f8651781350309593bf47c9c1ab088a0a5b3b905 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:28 ---> job-cost.sh 05:50:28 lf-activate-venv: SKIPPING 05:50:28 INFO: No Stack... 05:50:28 INFO: Retrieving Pricing Info for: v3-standard-4 05:50:29 INFO: Archiving Costs [Pipeline] sh 05:50:30 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:50:30 + cut -d, -f6 [Pipeline] lock 05:50:30 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-328-1-stack-cost] 05:50:30 Resource [jenkins-edgexfoundry-device-snmp-go-PR-328-1-stack-cost] did not exist. Created. 05:50:30 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-328-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:50:31 /w/workspace/device-snmp-go/1@tmp/durable-2b1382f4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:50:32 + echo total: 0.10999999940395355 [Pipeline] stash 05:50:32 Warning: overwriting stash ‘stack-cost’ 05:50:32 Stashed 1 file(s) [Pipeline] } 05:50:32 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-328-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:50:32 $ docker stop --time=1 8c8ef20e44e949c9e712e826f8651781350309593bf47c9c1ab088a0a5b3b905 05:50:33 $ docker rm -f --volumes 8c8ef20e44e949c9e712e826f8651781350309593bf47c9c1ab088a0a5b3b905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:50:34 provisioning config files... 05:50:34 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp/config594988643384734103tmp [Pipeline] { [Pipeline] sh 05:50:35 + set +x 05:50:35 + bash -s -- 05:50:35 + curl -s https://codecov.io/bash 05:50:35 05:50:35 _____ _ 05:50:35 / ____| | | 05:50:35 | | ___ __| | ___ ___ _____ __ 05:50:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:50:35 | |___| (_) | (_| | __/ (_| (_) \ V / 05:50:35 \_____\___/ \__,_|\___|\___\___/ \_/ 05:50:35 Bash-1.0.6 05:50:35 05:50:35 05:50:35 ==> git version 2.25.1 found 05:50:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:50:35 Release-Date: 2020-01-08 05:50:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:50:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:50:35 ==> Jenkins CI detected. 05:50:35 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-328 05:50:35 project root: . 05:50:35 --> token set from env 05:50:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:50:35 ==> Running gcov in . (disable via -X gcov) 05:50:35 ==> Python coveragepy not found 05:50:35 ==> Searching for coverage reports in: 05:50:35 + . 05:50:35 -> Found 1 reports 05:50:35 ==> Detecting git/mercurial file structure 05:50:35 ==> Reading reports 05:50:35 + ./coverage.out bytes=8837 05:50:35 ==> Appending adjustments 05:50:35 https://docs.codecov.io/docs/fixing-reports 05:50:35 + Found adjustments 05:50:35 ==> Gzipping contents 05:50:35 4.0K /tmp/codecov.ODGqG3.gz 05:50:35 ==> Uploading reports 05:50:35 url: https://codecov.io 05:50:35 query: branch=PR-328&commit=9995fbe21299a8d50c5f0e3c39dfb2f6148dce24&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-328%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=328&job=&cmd_args= 05:50:35 -> Pinging Codecov 05:50:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-328&commit=9995fbe21299a8d50c5f0e3c39dfb2f6148dce24&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-328%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=328&job=&cmd_args= 05:50:35 -> Uploading to 05:50:35 https://storage.googleapis.com/codecov/v4/raw/2023-11-02/6C56EA5C29638FB4528AC87E60AF5AE0/9995fbe21299a8d50c5f0e3c39dfb2f6148dce24/b8ed36c0-7274-4d65-85c3-7025522c1207.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231102T055035Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f83516233634a61e422d8a7a9ba2a858e39701ca1b96b4951dcbbf2f453462f 05:50:35 % Total % Received % Xferd Average Speed Time Time Time Current 05:50:35 Dload Upload Total Spent Left Speed 05:50:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 18164 --:--:-- --:--:-- --:--:-- 18164 100 1435 0 0 100 1435 0 5314 --:--:-- --:--:-- --:--:-- 5295 05:50:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/9995fbe21299a8d50c5f0e3c39dfb2f6148dce24 [Pipeline] } 05:50:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:50:37 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-328/archives ] 05:50:37 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-328/archives 05:50:37 total 16 05:50:37 drwxr-xr-x 3 root root 4096 Nov 2 05:43 . 05:50:37 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 05:43 .. 05:50:37 drwxr-xr-x 2 root root 4096 Nov 2 05:43 cost 05:50:37 -rw-r--r-- 1 root root 86 Nov 2 05:43 cost.csv 05:50:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-328/archives 05:50:37 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-328/archives 05:50:37 total 16 05:50:37 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 05:43 . 05:50:37 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 05:43 .. 05:50:37 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 05:43 cost 05:50:37 -rw-r--r-- 1 jenkins jenkins 86 Nov 2 05:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:50:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:50:39 ---> package-listing.sh 05:50:39 ++ tr '[:upper:]' '[:lower:]' 05:50:39 ++ facter osfamily 05:50:39 + OS_FAMILY=debian 05:50:39 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-328 05:50:39 + START_PACKAGES=/tmp/packages_start.txt 05:50:39 + END_PACKAGES=/tmp/packages_end.txt 05:50:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:50:39 + PACKAGES=/tmp/packages_start.txt 05:50:39 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-328 ']' 05:50:39 + PACKAGES=/tmp/packages_end.txt 05:50:39 + case "${OS_FAMILY}" in 05:50:39 + dpkg -l 05:50:39 + grep '^ii' 05:50:39 + '[' -f /tmp/packages_start.txt ']' 05:50:39 + '[' -f /tmp/packages_end.txt ']' 05:50:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:50:39 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-328 ']' 05:50:39 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-328/archives/ 05:50:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-328/archives/ [Pipeline] echo 05:50:39 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-328/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:50:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:50:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:50:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:50:40 prd-ubuntu20.04-docker-8c-8g-16352 does not seem to be running inside a container 05:50:40 $ 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-328/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-328 -v /w/workspace/gexfoundry_device-snmp-go_PR-328:/w/workspace/gexfoundry_device-snmp-go_PR-328:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:50:40 $ docker top 9a1d9cd47f6d138da19067d38dd9fce8507a68eb3b8754d87cb85b8aa1858319 -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:41 + touch /tmp/pre-build-complete [Pipeline] sh 05:50:41 + mkdir -p /var/log/sysstat [Pipeline] sh 05:50:41 + ls /var/log/sa-host 05:50:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:50:42 provisioning config files... 05:50:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-328@tmp/config14612118388995419877tmp [Pipeline] { [Pipeline] echo 05:50:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:50:42 ---> create-netrc.sh [Pipeline] } 05:50:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:50:42 ---> python-tools-install.sh [Pipeline] echo 05:50:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:50:43 ---> sudo-logs.sh 05:50:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:50:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:50:43 ---> job-cost.sh 05:50:43 lf-activate-venv: SKIPPING 05:50:43 DEBUG: total: 0.2199999988079071 05:50:43 INFO: Retrieving Stack Cost... 05:50:44 INFO: Retrieving Pricing Info for: v3-standard-8 05:50:44 INFO: Archiving Costs [Pipeline] echo 05:50:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:50:44 ---> logs-deploy.sh 05:50:44 lf-activate-venv: SKIPPING 05:50:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-328/1 05:50:44 INFO: archiving workspace using pattern(s): 05:50:45 Archives upload complete. 05:50:45 INFO: archiving logs to Nexus