Pull request #319 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1024203b4d1c65793f885eaa81e62b5bcb00bff+a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a (9b50a2799ce663c1ad4616d8db7b51175cb64aac) 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-ssh15249369452255038808.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6458366248626614926.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-319/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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14207975670657180046.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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17599440928729634861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5351597476278892699.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-319/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-319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17901196311241116339.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8879 in /w/workspace/gexfoundry_device-snmp-go_PR-319 [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-319 # 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/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a into PR head commit b1024203b4d1c65793f885eaa81e62b5bcb00bff Merge succeeded, producing b1024203b4d1c65793f885eaa81e62b5bcb00bff Checking out Revision b1024203b4d1c65793f885eaa81e62b5bcb00bff (PR-319) Commit message: "build(deps): Bump golang.org/x/net from 0.13.0 to 0.17.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:03:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:03:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:03:53 ========================================================= 23:03:53 EdgeX Global Pipelines Version Info 23:03:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b1024203b4d1c65793f885eaa81e62b5bcb00bff # 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 a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1024203b4d1c65793f885eaa81e62b5bcb00bff # timeout=10 23:03:54 ------------------- 23:03:54 stable info: 23:03:54 ------------------- 23:03:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:03:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:03:54 Message: update stable to v1.0.254 23:03:54 ------------------- 23:03:54 experimental info: 23:03:54 ------------------- 23:03:54 Commited By: **** collab-it+edgex@linuxfoundation.org 23:03:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:03:54 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:03:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:03:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-319 [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-319 [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-319 [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1024203b4d1c65793f885eaa81e62b5bcb00bff [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b102420 [Pipeline] echo 23:03:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:03:56 provisioning config files... 23:03:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-319@tmp/config948136761857116637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:57 ---> docker-login.sh 23:03:57 nexus3.edgexfoundry.org:10001 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:57 Configure a credential helper to remove this warning. See 23:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:57 23:03:57 Login Succeeded 23:03:57 nexus3.edgexfoundry.org:10002 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:57 Configure a credential helper to remove this warning. See 23:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:57 23:03:57 Login Succeeded 23:03:57 nexus3.edgexfoundry.org:10003 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:57 Configure a credential helper to remove this warning. See 23:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:57 23:03:57 Login Succeeded 23:03:57 nexus3.edgexfoundry.org:10004 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:57 Configure a credential helper to remove this warning. See 23:03:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:57 23:03:57 Login Succeeded 23:03:57 docker.io 23:03:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:58 Configure a credential helper to remove this warning. See 23:03:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:58 23:03:58 Login Succeeded 23:03:58 ---> docker-login.sh ends [Pipeline] } 23:03:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:03:58 + git rev-list -1 --merges b1024203b4d1c65793f885eaa81e62b5bcb00bff~1..b1024203b4d1c65793f885eaa81e62b5bcb00bff [Pipeline] echo 23:03:58 -----------> git rev-list -1 --merges b1024203b4d1c65793f885eaa81e62b5bcb00bff~1..b1024203b4d1c65793f885eaa81e62b5bcb00bff b1024203b4d1c65793f885eaa81e62b5bcb00bff [false] [Pipeline] sh 23:03:59 + git log --format=format:%s -1 b1024203b4d1c65793f885eaa81e62b5bcb00bff [Pipeline] echo 23:03:59 ========================================================= 23:03:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:03:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:59 + git log --format=format:%s -1 b1024203b4d1c65793f885eaa81e62b5bcb00bff [Pipeline] echo 23:03:59 [semverPrep] GIT_COMMIT: b1024203b4d1c65793f885eaa81e62b5bcb00bff, Commit Message: build(deps): Bump golang.org/x/net from 0.13.0 to 0.17.0 [Pipeline] echo 23:03:59 [semverPrep] This is not a build commit. [Pipeline] sh 23:04:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:04:00 + grep -v github /etc/ssh/ssh_known_hosts 23:04:00 + [ -e /tmp/ssh_known_hosts ] 23:04:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:04:00 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:04:00 sudo tee -a /etc/ssh/ssh_known_hosts 23:04:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:04:00 23:04:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:04:01 0.1.4: Pulling from edgex-devops/py-git-semver 23:04:01 b85a868b505f: Pulling fs layer 23:04:01 e2be974225ed: Pulling fs layer 23:04:01 339a4e72a1f5: Pulling fs layer 23:04:01 988bab9f4d93: Pulling fs layer 23:04:01 1469e6f7b9e6: Pulling fs layer 23:04:01 eaf3925da568: Pulling fs layer 23:04:01 bab4dde63d76: Pulling fs layer 23:04:01 bde34c3a00c8: Pulling fs layer 23:04:01 b352a97aabf1: Pulling fs layer 23:04:01 4872d77fe225: Pulling fs layer 23:04:01 5851b861e8e6: Pulling fs layer 23:04:01 bab4dde63d76: Waiting 23:04:01 bde34c3a00c8: Waiting 23:04:01 1469e6f7b9e6: Waiting 23:04:01 b352a97aabf1: Waiting 23:04:01 eaf3925da568: Waiting 23:04:01 4872d77fe225: Waiting 23:04:01 5851b861e8e6: Waiting 23:04:01 988bab9f4d93: Waiting 23:04:01 e2be974225ed: Verifying Checksum 23:04:01 e2be974225ed: Download complete 23:04:01 988bab9f4d93: Verifying Checksum 23:04:01 988bab9f4d93: Download complete 23:04:01 339a4e72a1f5: Verifying Checksum 23:04:01 339a4e72a1f5: Download complete 23:04:01 1469e6f7b9e6: Verifying Checksum 23:04:01 1469e6f7b9e6: Download complete 23:04:01 eaf3925da568: Download complete 23:04:01 bde34c3a00c8: Download complete 23:04:01 b352a97aabf1: Download complete 23:04:01 4872d77fe225: Download complete 23:04:01 5851b861e8e6: Download complete 23:04:01 b85a868b505f: Verifying Checksum 23:04:01 b85a868b505f: Download complete 23:04:01 bab4dde63d76: Download complete 23:04:02 b85a868b505f: Pull complete 23:04:02 e2be974225ed: Pull complete 23:04:03 339a4e72a1f5: Pull complete 23:04:03 988bab9f4d93: Pull complete 23:04:03 1469e6f7b9e6: Pull complete 23:04:03 eaf3925da568: Pull complete 23:04:05 bab4dde63d76: Pull complete 23:04:05 bde34c3a00c8: Pull complete 23:04:05 b352a97aabf1: Pull complete 23:04:05 4872d77fe225: Pull complete 23:04:05 5851b861e8e6: Pull complete 23:04:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:04:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:04:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:04:05 prd-ubuntu20.04-docker-8c-8g-8879 does not seem to be running inside a container 23:04:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-319 -v /w/workspace/gexfoundry_device-snmp-go_PR-319:/w/workspace/gexfoundry_device-snmp-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-319@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-319@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 23:04:08 $ docker top 554fbd36f423dcce01cf9dbebfc9b452879987801bce363cc288b125f2859923 -eo pid,comm 23:04:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:04:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:04:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:04:08 [ssh-agent] Looking for ssh-agent implementation... 23:04:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:04:08 $ docker exec 554fbd36f423dcce01cf9dbebfc9b452879987801bce363cc288b125f2859923 ssh-agent 23:04:09 SSH_AUTH_SOCK=/tmp/ssh-eLpIQ83KvsPN/agent.32 23:04:09 SSH_AGENT_PID=39 23:04:09 Running ssh-add (command line suppressed) 23:04:09 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-319@tmp/private_key_17321362004972539157.key (/w/workspace/gexfoundry_device-snmp-go_PR-319@tmp/private_key_17321362004972539157.key) 23:04:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:04:09 + git tag --points-at HEAD [Pipeline] } 23:04:09 $ docker exec --env ******** --env ******** 554fbd36f423dcce01cf9dbebfc9b452879987801bce363cc288b125f2859923 ssh-agent -k 23:04:09 unset SSH_AUTH_SOCK; 23:04:09 unset SSH_AGENT_PID; 23:04:09 echo Agent pid 39 killed; 23:04:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:04:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:04:09 [ssh-agent] Looking for ssh-agent implementation... 23:04:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:04:09 $ docker exec 554fbd36f423dcce01cf9dbebfc9b452879987801bce363cc288b125f2859923 ssh-agent 23:04:09 SSH_AUTH_SOCK=/tmp/ssh-NLQzJ7ZlIJXp/agent.71 23:04:09 SSH_AGENT_PID=77 23:04:09 Running ssh-add (command line suppressed) 23:04:10 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-319@tmp/private_key_16023121986301848021.key (/w/workspace/gexfoundry_device-snmp-go_PR-319@tmp/private_key_16023121986301848021.key) 23:04:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:04:10 + git semver init 23:04:10 2023-10-11 23:04:10,619 [run_init] DEBUG init version:0.0.0 force:False 23:04:10 2023-10-11 23:04:10,620 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-319/.semver 23:04:10 2023-10-11 23:04:10,621 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-319/.semver 23:04:10 2023-10-11 23:04:10,621 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-319/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-319, universal_newlines=False, shell=None, istream=None) 23:04:11 2023-10-11 23:04:11,440 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-319/.git/info/exclude 23:04:11 2023-10-11 23:04:11,440 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-319/.semver/PR-319 with force:False 23:04:11 2023-10-11 23:04:11,441 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-319/.semver/PR-319 23:04:11 2023-10-11 23:04:11,445 [execute] INFO git cat-file --batch-check 23:04:11 2023-10-11 23:04:11,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) 23:04:11 2023-10-11 23:04:11,451 [execute] INFO git cat-file --batch 23:04:11 2023-10-11 23:04:11,452 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) 23:04:11 2023-10-11 23:04:11,456 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-319/.semver/PR-319 23:04:11 0.0.0 [Pipeline] } 23:04:11 $ docker exec --env ******** --env ******** 554fbd36f423dcce01cf9dbebfc9b452879987801bce363cc288b125f2859923 ssh-agent -k 23:04:11 unset SSH_AUTH_SOCK; 23:04:11 unset SSH_AGENT_PID; 23:04:11 echo Agent pid 77 killed; 23:04:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:04:12 + git semver [Pipeline] } 23:04:12 $ docker stop --time=1 554fbd36f423dcce01cf9dbebfc9b452879987801bce363cc288b125f2859923 23:04:13 $ docker rm -f --volumes 554fbd36f423dcce01cf9dbebfc9b452879987801bce363cc288b125f2859923 [Pipeline] // withDockerContainer [Pipeline] sh 23:04:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:04:14 Stashed 1 file(s) [Pipeline] echo 23:04:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:15 provisioning config files... 23:04:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-319@tmp/config9801667858883512758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:04:15 ---> docker-login.sh 23:04:15 nexus3.edgexfoundry.org:10001 23:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:15 Configure a credential helper to remove this warning. See 23:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:15 23:04:15 Login Succeeded 23:04:15 nexus3.edgexfoundry.org:10002 23:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:15 Configure a credential helper to remove this warning. See 23:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:15 23:04:15 Login Succeeded 23:04:15 nexus3.edgexfoundry.org:10003 23:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:15 Configure a credential helper to remove this warning. See 23:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:15 23:04:15 Login Succeeded 23:04:15 nexus3.edgexfoundry.org:10004 23:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:15 Configure a credential helper to remove this warning. See 23:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:15 23:04:15 Login Succeeded 23:04:15 docker.io 23:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:15 Configure a credential helper to remove this warning. See 23:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:15 23:04:15 Login Succeeded 23:04:15 ---> docker-login.sh ends [Pipeline] } 23:04:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:04:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:16 ========================================================= 23:04:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:04:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:16 + 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 . 23:04:16 Sending build context to Docker daemon 5.729MB 23:04:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:04:16 Step 2/12 : FROM ${BASE} AS builder 23:04:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:04:16 7264a8db6415: Pulling fs layer 23:04:16 c4d48a809fc2: Pulling fs layer 23:04:16 4f1c88b9dad5: Pulling fs layer 23:04:16 ad3a456e5733: Pulling fs layer 23:04:16 33e27b845d1e: Pulling fs layer 23:04:16 c68163c4e522: Pulling fs layer 23:04:16 50da416c3ac9: Pulling fs layer 23:04:16 23d2d4c4bb30: Pulling fs layer 23:04:16 ad3a456e5733: Waiting 23:04:16 c68163c4e522: Waiting 23:04:16 50da416c3ac9: Waiting 23:04:16 23d2d4c4bb30: Waiting 23:04:16 c4d48a809fc2: Verifying Checksum 23:04:16 c4d48a809fc2: Download complete 23:04:16 ad3a456e5733: Verifying Checksum 23:04:16 ad3a456e5733: Download complete 23:04:16 33e27b845d1e: Verifying Checksum 23:04:16 33e27b845d1e: Download complete 23:04:16 7264a8db6415: Download complete 23:04:17 c68163c4e522: Verifying Checksum 23:04:17 c68163c4e522: Download complete 23:04:17 7264a8db6415: Pull complete 23:04:17 23d2d4c4bb30: Verifying Checksum 23:04:17 23d2d4c4bb30: Download complete 23:04:17 c4d48a809fc2: Pull complete 23:04:17 4f1c88b9dad5: Verifying Checksum 23:04:17 4f1c88b9dad5: Download complete 23:04:17 50da416c3ac9: Verifying Checksum 23:04:17 50da416c3ac9: Download complete 23:04:20 4f1c88b9dad5: Pull complete 23:04:20 ad3a456e5733: Pull complete 23:04:20 33e27b845d1e: Pull complete 23:04:20 c68163c4e522: Pull complete 23:04:22 50da416c3ac9: Pull complete 23:04:22 23d2d4c4bb30: Pull complete 23:04:22 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 23:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:04:22 ---> 0786185ac409 23:04:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:04:26 ---> Running in ba0d05f177e0 23:04:26 Removing intermediate container ba0d05f177e0 23:04:26 ---> 63b1040fb04c 23:04:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:04:26 ---> Running in 9a7d784c45df 23:04:26 Removing intermediate container 9a7d784c45df 23:04:26 ---> b4db1209e88a 23:04:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:04:26 ---> Running in 822c6f61162a 23:04:26 Removing intermediate container 822c6f61162a 23:04:26 ---> 62f0699b348c 23:04:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:04:26 ---> Running in 3e81ebc3e373 23:04:26 Removing intermediate container 3e81ebc3e373 23:04:26 ---> e9ff8021e481 23:04:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:04:26 ---> Running in d10455bf85e9 23:04:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:04:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:04:27 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:04:27 (2/4) Installing libedit (20221030.3.1-r1) 23:04:27 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:04:27 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:04:27 Executing busybox-1.36.1-r2.trigger 23:04:27 OK: 268 MiB in 56 packages 23:04:27 Removing intermediate container d10455bf85e9 23:04:27 ---> a637f6f6bb99 23:04:27 Step 8/12 : WORKDIR /device-snmp-go 23:04:27 ---> Running in 2c5d2bcaa4f2 23:04:27 Removing intermediate container 2c5d2bcaa4f2 23:04:27 ---> 5ca4593828bd 23:04:27 Step 9/12 : COPY go.mod vendor* ./ 23:04:27 ---> 8bbcc64cc1b3 23:04:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:04:27 ---> Running in da1c68fa548a 23:04:29 Still waiting to schedule task 23:04:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:05:24 Removing intermediate container da1c68fa548a 23:05:24 ---> 0f385e18a6e5 23:05:24 Step 11/12 : COPY . . 23:05:24 ---> fe89873eaefc 23:05:24 Step 12/12 : RUN ${MAKE} 23:05:24 ---> Running in b50ef080ad5e 23:05:25 noop 23:05:25 Removing intermediate container b50ef080ad5e 23:05:25 ---> 0825a0c0161f 23:05:25 Successfully built 0825a0c0161f 23:05:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:25 + docker inspect -f . ci-base-image-x86_64 23:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:25 prd-ubuntu20.04-docker-8c-8g-8879 does not seem to be running inside a container 23:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-319 -v /w/workspace/gexfoundry_device-snmp-go_PR-319:/w/workspace/gexfoundry_device-snmp-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-319@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-319@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 23:05:26 $ docker top de3552fce2111ef59e4805c136792d9dad6639354e1c878285609a683c2457d0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:26 + go version 23:05:26 go version go1.21.0 linux/amd64 [Pipeline] } 23:05:26 $ docker stop --time=1 de3552fce2111ef59e4805c136792d9dad6639354e1c878285609a683c2457d0 23:05:27 $ docker rm -f --volumes de3552fce2111ef59e4805c136792d9dad6639354e1c878285609a683c2457d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:28 + docker inspect -f . ci-base-image-x86_64 23:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:28 prd-ubuntu20.04-docker-8c-8g-8879 does not seem to be running inside a container 23:05:28 $ 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-319 -v /w/workspace/gexfoundry_device-snmp-go_PR-319:/w/workspace/gexfoundry_device-snmp-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-319@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-319@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 23:05:29 $ docker top 22fd2ae3c7eeb4526e53be469d61e9fdf7da8452a0fec3cde7e694fb5dc26ae5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-319 [Pipeline] fileExists [Pipeline] sh 23:05:30 + make test 23:05:30 go test ./... -coverprofile=coverage.out 23:05:32 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:05:42 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:05:42 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 23:05:47 go vet ./... 23:05:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:05:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:05:50 ./bin/test-attribution-txt.sh [Pipeline] echo 23:05:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:05:50 $ docker stop --time=1 22fd2ae3c7eeb4526e53be469d61e9fdf7da8452a0fec3cde7e694fb5dc26ae5 23:05:53 $ docker rm -f --volumes 22fd2ae3c7eeb4526e53be469d61e9fdf7da8452a0fec3cde7e694fb5dc26ae5 [Pipeline] // withDockerContainer [Pipeline] sh 23:05:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:05:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:05:55 + ls -al . 23:05:55 total 176 23:05:55 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 23:05 . 23:05:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:03 .. 23:05:55 -rw-rw-r-- 1 jenkins jenkins 6 Oct 11 23:03 .dockerignore 23:05:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:05 .git 23:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:03 .github 23:05:55 -rw-rw-r-- 1 jenkins jenkins 328 Oct 11 23:03 .gitignore 23:05:55 -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 23:03 .golangci.yml 23:05:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 23:04 .semver 23:05:55 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 11 23:03 Attribution.txt 23:05:55 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 11 23:03 CHANGELOG.md 23:05:55 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 11 23:03 Dockerfile 23:05:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 23:03 GOVERNANCE.md 23:05:55 -rw-rw-r-- 1 jenkins jenkins 656 Oct 11 23:03 Jenkinsfile 23:05:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 23:03 LICENSE 23:05:55 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 11 23:03 Makefile 23:05:55 -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 23:03 OWNERS.md 23:05:55 -rw-rw-r-- 1 jenkins jenkins 10559 Oct 11 23:03 README.md 23:05:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 23:04 VERSION 23:05:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:03 bin 23:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:03 cmd 23:05:55 -rw-r--r-- 1 jenkins jenkins 8837 Oct 11 23:05 coverage.out 23:05:55 -rw-rw-r-- 1 jenkins jenkins 3710 Oct 11 23:03 go.mod 23:05:55 -rw-rw-r-- 1 jenkins jenkins 35349 Oct 11 23:03 go.sum 23:05:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:03 internal 23:05:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:03 snap 23:05:55 -rw-rw-r-- 1 jenkins jenkins 228 Oct 11 23:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:55 + 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=b1024203b4d1c65793f885eaa81e62b5bcb00bff --label arch=amd64 --label version=0.0.0 . 23:05:55 Sending build context to Docker daemon 5.739MB 23:05:55 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 23:05:55 Step 2/24 : FROM ${BASE} AS builder 23:05:55 ---> 0825a0c0161f 23:05:55 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:05:56 ---> Running in c126a4824fc5 23:05:57 Removing intermediate container c126a4824fc5 23:05:57 ---> 91ab7e6b5105 23:05:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:05:57 ---> Running in c3684fca8fdd 23:05:57 Removing intermediate container c3684fca8fdd 23:05:57 ---> cb77dea26188 23:05:57 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:05:57 ---> Running in 6d97fb859e30 23:05:57 Removing intermediate container 6d97fb859e30 23:05:57 ---> 530a15d58567 23:05:57 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:05:57 ---> Running in 2b798259eabb 23:05:57 Removing intermediate container 2b798259eabb 23:05:57 ---> c963f048cc5a 23:05:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:05:57 ---> Running in b11a43044b3c 23:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:05:58 OK: 268 MiB in 56 packages 23:05:58 Removing intermediate container b11a43044b3c 23:05:58 ---> 2c7ba80f36d6 23:05:58 Step 8/24 : WORKDIR /device-snmp-go 23:05:58 ---> Running in 2b8ef26e9c6a 23:05:58 Removing intermediate container 2b8ef26e9c6a 23:05:58 ---> f9f30330a2b4 23:05:58 Step 9/24 : COPY go.mod vendor* ./ 23:05:58 ---> 31a04f69c04d 23:05:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:05:58 ---> Running in b78a79aedabf 23:05:59 Removing intermediate container b78a79aedabf 23:05:59 ---> a0dd2e5fa56f 23:05:59 Step 11/24 : COPY . . 23:05:59 ---> 0e3650ff71aa 23:05:59 Step 12/24 : RUN ${MAKE} 23:05:59 ---> Running in ccc4a63e095a 23:05:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 23:06:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8888 in /w/workspace/gexfoundry_device-snmp-go_PR-319 [Pipeline] { [Pipeline] ws 23:06:21 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 23:06:21 Selected Git installation does not exist. Using Default 23:06:21 The recommended git tool is: NONE 23:06:21 Removing intermediate container ccc4a63e095a 23:06:21 ---> 597520706bc3 23:06:21 Step 13/24 : FROM alpine:3.18 23:06:21 3.18: Pulling from library/alpine 23:06:21 96526aa774ef: Pulling fs layer 23:06:21 96526aa774ef: Verifying Checksum 23:06:21 96526aa774ef: Download complete 23:06:21 96526aa774ef: Pull complete 23:06:21 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:06:21 Status: Downloaded newer image for alpine:3.18 23:06:21 ---> 8ca4688f4f35 23:06:21 Step 14/24 : RUN apk add --update --no-cache dumb-init 23:06:21 ---> Running in cf5d18eee605 23:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:06:21 (1/1) Installing dumb-init (1.2.5-r2) 23:06:21 Executing busybox-1.36.1-r2.trigger 23:06:21 OK: 7 MiB in 16 packages 23:06:22 Removing intermediate container cf5d18eee605 23:06:22 ---> 5f19f7002228 23:06:22 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 23:06:23 ---> 1b0b025b3049 23:06:23 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:06:23 ---> c1423fac7506 23:06:23 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 23:06:23 ---> 9e17abf7267e 23:06:23 Step 18/24 : EXPOSE 59993 23:06:23 ---> Running in 4ea0791b4641 23:06:23 Removing intermediate container 4ea0791b4641 23:06:23 ---> 5059f6a90eb4 23:06:23 Step 19/24 : EXPOSE 161 23:06:23 ---> Running in 5ef1e841cd4e 23:06:23 Removing intermediate container 5ef1e841cd4e 23:06:23 ---> 11f4348c3128 23:06:23 Step 20/24 : ENTRYPOINT ["/device-snmp"] 23:06:23 ---> Running in ef339abb428c 23:06:23 Removing intermediate container ef339abb428c 23:06:23 ---> fbf7c6551818 23:06:23 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:06:23 ---> Running in 80991e9600e2 23:06:23 Removing intermediate container 80991e9600e2 23:06:23 ---> 1f29210b11ce 23:06:23 Step 22/24 : LABEL arch=amd64 23:06:23 ---> Running in 84838b908d1b 23:06:23 Removing intermediate container 84838b908d1b 23:06:23 ---> cf2d6ac87ebb 23:06:23 Step 23/24 : LABEL git_sha=b1024203b4d1c65793f885eaa81e62b5bcb00bff 23:06:23 ---> Running in 5cb8f25be71d 23:06:23 Removing intermediate container 5cb8f25be71d 23:06:23 ---> 2eaa4302a863 23:06:23 Step 24/24 : LABEL version=0.0.0 23:06:23 ---> Running in 8de596950cfc 23:06:24 Removing intermediate container 8de596950cfc 23:06:24 ---> 713ad8b9fc02 23:06:24 [Warning] One or more build-args [ARCH] were not consumed 23:06:24 Successfully built 713ad8b9fc02 23:06:24 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:06:24 23:06:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:06:25 latest: Pulling from edgex-lftools-log-publisher 23:06:25 5eb5b503b376: Pulling fs layer 23:06:25 5c69ac0246d0: Pulling fs layer 23:06:25 ec43610c2a17: Pulling fs layer 23:06:25 3a2ae6a8a46f: Pulling fs layer 23:06:25 33b1e0a273af: Pulling fs layer 23:06:25 5d3b04190fa2: Pulling fs layer 23:06:25 2f39f015ded8: Pulling fs layer 23:06:25 3a2ae6a8a46f: Waiting 23:06:25 33b1e0a273af: Waiting 23:06:25 2f39f015ded8: Waiting 23:06:25 5d3b04190fa2: Waiting 23:06:25 5c69ac0246d0: Verifying Checksum 23:06:25 5c69ac0246d0: Download complete 23:06:25 3a2ae6a8a46f: Verifying Checksum 23:06:25 3a2ae6a8a46f: Download complete 23:06:25 33b1e0a273af: Verifying Checksum 23:06:25 33b1e0a273af: Download complete 23:06:25 5d3b04190fa2: Download complete 23:06:25 ec43610c2a17: Verifying Checksum 23:06:25 ec43610c2a17: Download complete 23:06:25 5eb5b503b376: Verifying Checksum 23:06:25 5eb5b503b376: Download complete 23:06:26 2f39f015ded8: Verifying Checksum 23:06:26 2f39f015ded8: Download complete 23:06:26 5eb5b503b376: Pull complete 23:06:26 5c69ac0246d0: Pull complete 23:06:27 ec43610c2a17: Pull complete 23:06:27 3a2ae6a8a46f: Pull complete 23:06:27 33b1e0a273af: Pull complete 23:06:27 5d3b04190fa2: Pull complete 23:06:28 using credential edgex-jenkins-ssh 23:06:28 Cloning the remote Git repository 23:06:28 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 23:06:28 > git init /w/workspace/device-snmp-go/1 # timeout=10 23:06:28 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:06:28 > git --version # timeout=10 23:06:28 > git --version # 'git version 2.25.1' 23:06:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:06:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:06:29 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:06:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:06:31 Merging remotes/origin/main commit a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a into PR head commit b1024203b4d1c65793f885eaa81e62b5bcb00bff 23:06:31 2f39f015ded8: Pull complete 23:06:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:06:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:06:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 23:06:31 Merge succeeded, producing b1024203b4d1c65793f885eaa81e62b5bcb00bff 23:06:31 Checking out Revision b1024203b4d1c65793f885eaa81e62b5bcb00bff (PR-319) [Pipeline] withDockerContainer 23:06:31 prd-ubuntu20.04-docker-8c-8g-8879 does not seem to be running inside a container 23:06:31 $ 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-319 -v /w/workspace/gexfoundry_device-snmp-go_PR-319:/w/workspace/gexfoundry_device-snmp-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-319@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-319@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 23:06:30 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:06:30 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:06:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:06:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:06:31 > git config core.sparsecheckout # timeout=10 23:06:31 > git checkout -f b1024203b4d1c65793f885eaa81e62b5bcb00bff # timeout=10 23:06:31 > git remote # timeout=10 23:06:31 > git config --get remote.origin.url # timeout=10 23:06:31 using GIT_SSH to set credentials SSH Credentials for GitHub 23:06:31 > git merge a6aca4ec33b3479b7e561b57a09dc8f9a98f5c5a # timeout=10 23:06:31 > git rev-parse HEAD^{commit} # timeout=10 23:06:31 > git config core.sparsecheckout # timeout=10 23:06:31 > git checkout -f b1024203b4d1c65793f885eaa81e62b5bcb00bff # timeout=10 23:06:32 Commit message: "build(deps): Bump golang.org/x/net from 0.13.0 to 0.17.0" 23:06:32 > git --version # timeout=10 23:06:32 > git --version # 'git version 2.25.1' 23:06:32 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 23:06:32 23:06:32 GitHub has been notified of this commit’s build result 23:06:32 23:06:35 $ docker top 6d0b330ab80e1cd036b4844a17a0f664682a284aec2e6acca463745fdce83a6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 23:06:35 ---> job-cost.sh 23:06:35 lf-activate-venv: SKIPPING 23:06:35 INFO: No Stack... [Pipeline] sh 23:06:35 INFO: Retrieving Pricing Info for: v3-standard-8 23:06:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:06:36 % Total % Received % Xferd Average Speed Time Time Time Current 23:06:36 Dload Upload Total Spent Left Speed 23:06:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 23:06:36 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 23:06:36 + cat /w/workspace/gexfoundry_device-snmp-go_PR-319/archives/cost.csv 23:06:36 + cut -d, -f6 [Pipeline] lock 23:06:36 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-319-1-stack-cost] 23:06:36 Resource [jenkins-edgexfoundry-device-snmp-go-PR-319-1-stack-cost] did not exist. Created. 23:06:36 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash 23:06:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh 23:06:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:06:37 + sudo tee /etc/docker/daemon.new 23:06:37 { 23:06:37 "registry-mirrors": [ 23:06:37 "https://nexus3.edgexfoundry.org:10001" 23:06:37 ], 23:06:37 "bip": "10.250.0.254/24", 23:06:37 "hosts": [ 23:06:37 "tcp://0.0.0.0:5555", 23:06:37 "unix:///var/run/docker.sock" 23:06:37 ], 23:06:37 "mtu": 1458, 23:06:37 "selinux-enabled": true, 23:06:37 "seccomp-profile": "/etc/docker/seccomp.json" 23:06:37 } 23:06:37 + echo total: 0.2199999988079071 [Pipeline] sh [Pipeline] stash 23:06:37 Stashed 1 file(s) [Pipeline] } 23:06:37 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:06:37 $ docker stop --time=1 6d0b330ab80e1cd036b4844a17a0f664682a284aec2e6acca463745fdce83a6e 23:06:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 23:06:38 $ docker rm -f --volumes 6d0b330ab80e1cd036b4844a17a0f664682a284aec2e6acca463745fdce83a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:06:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:06:57 provisioning config files... 23:06:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config10206910222968772309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:06:57 ---> docker-login.sh 23:06:57 nexus3.edgexfoundry.org:10001 23:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:58 Configure a credential helper to remove this warning. See 23:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:58 23:06:58 Login Succeeded 23:06:58 nexus3.edgexfoundry.org:10002 23:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:59 Configure a credential helper to remove this warning. See 23:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:59 23:06:59 Login Succeeded 23:06:59 nexus3.edgexfoundry.org:10003 23:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:59 Configure a credential helper to remove this warning. See 23:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:59 23:06:59 Login Succeeded 23:06:59 nexus3.edgexfoundry.org:10004 23:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:00 Configure a credential helper to remove this warning. See 23:07:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:00 23:07:00 Login Succeeded 23:07:00 docker.io 23:07:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:00 Configure a credential helper to remove this warning. See 23:07:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:00 23:07:00 Login Succeeded 23:07:00 ---> docker-login.sh ends [Pipeline] } 23:07:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:07:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:07:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:07:01 ========================================================= 23:07:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:07:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:02 + 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 . 23:07:02 Sending build context to Docker daemon 2.952MB 23:07:02 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:07:02 Step 2/12 : FROM ${BASE} AS builder 23:07:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:07:02 9fda8d8052c6: Pulling fs layer 23:07:02 5d54e960e981: Pulling fs layer 23:07:02 c4a7e357bf2a: Pulling fs layer 23:07:02 f0e02332f6b5: Pulling fs layer 23:07:02 cefa15bbcfad: Pulling fs layer 23:07:02 17808c966233: Pulling fs layer 23:07:02 f4c1fc716caa: Pulling fs layer 23:07:02 f0e02332f6b5: Waiting 23:07:02 17808c966233: Waiting 23:07:02 f4c1fc716caa: Waiting 23:07:02 cefa15bbcfad: Waiting 23:07:02 5d54e960e981: Verifying Checksum 23:07:02 5d54e960e981: Download complete 23:07:02 f0e02332f6b5: Verifying Checksum 23:07:02 f0e02332f6b5: Download complete 23:07:02 cefa15bbcfad: Verifying Checksum 23:07:02 cefa15bbcfad: Download complete 23:07:02 9fda8d8052c6: Verifying Checksum 23:07:02 9fda8d8052c6: Download complete 23:07:03 f4c1fc716caa: Verifying Checksum 23:07:03 f4c1fc716caa: Download complete 23:07:03 9fda8d8052c6: Pull complete 23:07:04 5d54e960e981: Pull complete 23:07:04 c4a7e357bf2a: Verifying Checksum 23:07:04 c4a7e357bf2a: Download complete 23:07:05 17808c966233: Verifying Checksum 23:07:05 17808c966233: Download complete 23:07:18 c4a7e357bf2a: Pull complete 23:07:18 f0e02332f6b5: Pull complete 23:07:18 cefa15bbcfad: Pull complete 23:07:28 17808c966233: Pull complete 23:07:29 f4c1fc716caa: Pull complete 23:07:29 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 23:07:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:07:29 ---> ea914061e18c 23:07:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:07:32 ---> Running in f3afd7ba11ea 23:07:32 Removing intermediate container f3afd7ba11ea 23:07:32 ---> aeb83286ca36 23:07:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:07:32 ---> Running in 8a9cac1f167e 23:07:32 Removing intermediate container 8a9cac1f167e 23:07:32 ---> 1dee25279745 23:07:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:07:33 ---> Running in 61c1966b37d8 23:07:33 Removing intermediate container 61c1966b37d8 23:07:33 ---> 6e05ab7c9e23 23:07:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:07:33 ---> Running in 65b38283bb4a 23:07:34 Removing intermediate container 65b38283bb4a 23:07:34 ---> eb765ba3d366 23:07:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:07:34 ---> Running in 5de3ed5e9a69 23:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:07:38 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:07:38 (2/4) Installing libedit (20221030.3.1-r1) 23:07:38 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:07:38 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:07:38 Executing busybox-1.36.1-r2.trigger 23:07:38 OK: 270 MiB in 56 packages 23:07:39 Removing intermediate container 5de3ed5e9a69 23:07:39 ---> 28c81887621a 23:07:39 Step 8/12 : WORKDIR /device-snmp-go 23:07:39 ---> Running in 9fb42c95e5e8 23:07:39 Removing intermediate container 9fb42c95e5e8 23:07:39 ---> b4bd6df5e928 23:07:39 Step 9/12 : COPY go.mod vendor* ./ 23:07:40 ---> 7a44f0bc7d07 23:07:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:07:40 ---> Running in 72a78f9a8325 23:09:17 Removing intermediate container 72a78f9a8325 23:09:17 ---> 1f3652b8ca83 23:09:17 Step 11/12 : COPY . . 23:09:17 ---> bb1575ec15b1 23:09:17 Step 12/12 : RUN ${MAKE} 23:09:17 ---> Running in c9ccee9a34e0 23:09:18 noop 23:09:19 Removing intermediate container c9ccee9a34e0 23:09:19 ---> 79325be2ffc6 23:09:19 Successfully built 79325be2ffc6 23:09:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:20 + docker inspect -f . ci-base-image-arm64 23:09:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:20 prd-ubuntu20.04-docker-arm64-4c-16g-8888 does not seem to be running inside a container 23:09:20 $ 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 23:09:21 $ docker top 8ea0ea056aeef950d976a6b53305e9d518a088bde3c0d1111897d2daba330a06 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:22 + go version 23:09:22 go version go1.21.0 linux/arm64 [Pipeline] } 23:09:23 $ docker stop --time=1 8ea0ea056aeef950d976a6b53305e9d518a088bde3c0d1111897d2daba330a06 23:09:24 $ docker rm -f --volumes 8ea0ea056aeef950d976a6b53305e9d518a088bde3c0d1111897d2daba330a06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:25 + docker inspect -f . ci-base-image-arm64 23:09:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:26 prd-ubuntu20.04-docker-arm64-4c-16g-8888 does not seem to be running inside a container 23:09:26 $ 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 23:09:27 $ docker top 7f2259e6a4346ce0dbb7dac15c3333e308d5302a3013b3be8b03daa332fd5eb3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:28 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 23:09:29 + make test 23:09:29 go test ./... -coverprofile=coverage.out 23:09:34 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:11:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:11:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements 23:11:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:11:41 go vet ./... 23:12:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:12:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:12:08 ./bin/test-attribution-txt.sh [Pipeline] echo 23:12:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:12:08 $ docker stop --time=1 7f2259e6a4346ce0dbb7dac15c3333e308d5302a3013b3be8b03daa332fd5eb3 23:12:10 $ docker rm -f --volumes 7f2259e6a4346ce0dbb7dac15c3333e308d5302a3013b3be8b03daa332fd5eb3 [Pipeline] // withDockerContainer [Pipeline] sh 23:12:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:12:11 Warning: overwriting stash ‘coverage-report’ 23:12:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:12:13 + ls -al . 23:12:13 total 172 23:12:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:09 . 23:12:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:06 .. 23:12:13 -rw-rw-r-- 1 jenkins jenkins 6 Oct 11 23:06 .dockerignore 23:12:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:06 .git 23:12:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:06 .github 23:12:13 -rw-rw-r-- 1 jenkins jenkins 328 Oct 11 23:06 .gitignore 23:12:13 -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 23:06 .golangci.yml 23:12:13 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 11 23:06 Attribution.txt 23:12:13 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 11 23:06 CHANGELOG.md 23:12:13 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 11 23:06 Dockerfile 23:12:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 23:06 GOVERNANCE.md 23:12:13 -rw-rw-r-- 1 jenkins jenkins 656 Oct 11 23:06 Jenkinsfile 23:12:13 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 23:06 LICENSE 23:12:13 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 11 23:06 Makefile 23:12:13 -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 23:06 OWNERS.md 23:12:13 -rw-rw-r-- 1 jenkins jenkins 10559 Oct 11 23:06 README.md 23:12:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 23:04 VERSION 23:12:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:06 bin 23:12:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:06 cmd 23:12:13 -rw-r--r-- 1 jenkins jenkins 8837 Oct 11 23:11 coverage.out 23:12:13 -rw-rw-r-- 1 jenkins jenkins 3710 Oct 11 23:06 go.mod 23:12:13 -rw-rw-r-- 1 jenkins jenkins 35349 Oct 11 23:06 go.sum 23:12:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:06 internal 23:12:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:06 snap 23:12:13 -rw-rw-r-- 1 jenkins jenkins 228 Oct 11 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:13 + 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=b1024203b4d1c65793f885eaa81e62b5bcb00bff --label arch=arm64 --label version=0.0.0 . 23:12:14 Sending build context to Docker daemon 2.962MB 23:12:14 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 23:12:14 Step 2/24 : FROM ${BASE} AS builder 23:12:14 ---> 79325be2ffc6 23:12:14 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:12:14 ---> Running in a51f2182b6ff 23:12:15 Removing intermediate container a51f2182b6ff 23:12:15 ---> 6d8bce5961f3 23:12:15 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:12:15 ---> Running in 3197021d9c75 23:12:15 Removing intermediate container 3197021d9c75 23:12:15 ---> ca3942a1d7cd 23:12:15 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:12:15 ---> Running in b3553971917a 23:12:15 Removing intermediate container b3553971917a 23:12:15 ---> 6418d80b3c12 23:12:15 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:12:16 ---> Running in 3763442ebbe6 23:12:16 Removing intermediate container 3763442ebbe6 23:12:16 ---> f1df2452ed3e 23:12:16 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:16 ---> Running in 17e68731e5e0 23:12:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:12:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:12:19 OK: 270 MiB in 56 packages 23:12:20 Removing intermediate container 17e68731e5e0 23:12:20 ---> 1d771f056c27 23:12:20 Step 8/24 : WORKDIR /device-snmp-go 23:12:21 ---> Running in bd410ac158bf 23:12:21 Removing intermediate container bd410ac158bf 23:12:21 ---> a890a83dd177 23:12:21 Step 9/24 : COPY go.mod vendor* ./ 23:12:22 ---> c89dea6de50e 23:12:22 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:22 ---> Running in 0ff116ca7d12 23:12:24 Removing intermediate container 0ff116ca7d12 23:12:24 ---> 43d326b6f856 23:12:24 Step 11/24 : COPY . . 23:12:25 ---> e17d27a9bfac 23:12:25 Step 12/24 : RUN ${MAKE} 23:12:25 ---> Running in 242bf4da98ca 23:12:26 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.16" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 23:15:03 Removing intermediate container 242bf4da98ca 23:15:03 ---> 982cff7335ca 23:15:03 Step 13/24 : FROM alpine:3.18 23:15:03 3.18: Pulling from library/alpine 23:15:03 579b34f0a95b: Pulling fs layer 23:15:03 579b34f0a95b: Verifying Checksum 23:15:03 579b34f0a95b: Download complete 23:15:03 579b34f0a95b: Pull complete 23:15:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:15:03 Status: Downloaded newer image for alpine:3.18 23:15:03 ---> 3cc203321400 23:15:03 Step 14/24 : RUN apk add --update --no-cache dumb-init 23:15:03 ---> Running in c302fd2be37b 23:15:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:15:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:15:03 (1/1) Installing dumb-init (1.2.5-r2) 23:15:03 Executing busybox-1.36.1-r2.trigger 23:15:03 OK: 8 MiB in 16 packages 23:15:03 Removing intermediate container c302fd2be37b 23:15:03 ---> 1457a049deb0 23:15:03 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 23:15:03 ---> 43da7093c9d1 23:15:03 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:15:03 ---> 06d991074973 23:15:03 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 23:15:04 ---> b3be5aac5619 23:15:04 Step 18/24 : EXPOSE 59993 23:15:04 ---> Running in f229d2750f63 23:15:04 Removing intermediate container f229d2750f63 23:15:04 ---> f1925de0a613 23:15:04 Step 19/24 : EXPOSE 161 23:15:04 ---> Running in f73d6642e1a1 23:15:05 Removing intermediate container f73d6642e1a1 23:15:05 ---> f8273590fb4c 23:15:05 Step 20/24 : ENTRYPOINT ["/device-snmp"] 23:15:05 ---> Running in 413052e94967 23:15:08 Removing intermediate container 413052e94967 23:15:08 ---> 161aeedb4d72 23:15:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:15:08 ---> Running in 6251e2653d93 23:15:09 Removing intermediate container 6251e2653d93 23:15:09 ---> 3b4fa5fbf9e4 23:15:09 Step 22/24 : LABEL arch=arm64 23:15:09 ---> Running in 1405a0d1e5c5 23:15:09 Removing intermediate container 1405a0d1e5c5 23:15:09 ---> f78e46509618 23:15:09 Step 23/24 : LABEL git_sha=b1024203b4d1c65793f885eaa81e62b5bcb00bff 23:15:09 ---> Running in 16dfcdb71490 23:15:10 Removing intermediate container 16dfcdb71490 23:15:10 ---> 393845c2c5d8 23:15:10 Step 24/24 : LABEL version=0.0.0 23:15:10 ---> Running in 89af0fb0eb70 23:15:10 Removing intermediate container 89af0fb0eb70 23:15:10 ---> 947da4a8339a 23:15:10 [Warning] One or more build-args [ARCH] were not consumed 23:15:10 Successfully built 947da4a8339a 23:15:10 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:15:11 23:15:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:15:12 arm64: Pulling from edgex-lftools-log-publisher 23:15:12 8998bd30e6a1: Pulling fs layer 23:15:12 04944245beec: Pulling fs layer 23:15:12 699f458cf7ca: Pulling fs layer 23:15:12 765212b225bb: Pulling fs layer 23:15:12 f23df028b6ca: Pulling fs layer 23:15:12 d65c8cfc05b1: Pulling fs layer 23:15:12 2437ff75d9bd: Pulling fs layer 23:15:12 765212b225bb: Waiting 23:15:12 f23df028b6ca: Waiting 23:15:12 d65c8cfc05b1: Waiting 23:15:12 2437ff75d9bd: Waiting 23:15:12 04944245beec: Verifying Checksum 23:15:12 04944245beec: Download complete 23:15:12 765212b225bb: Verifying Checksum 23:15:12 765212b225bb: Download complete 23:15:12 f23df028b6ca: Verifying Checksum 23:15:12 f23df028b6ca: Download complete 23:15:12 d65c8cfc05b1: Verifying Checksum 23:15:12 d65c8cfc05b1: Download complete 23:15:12 699f458cf7ca: Verifying Checksum 23:15:12 699f458cf7ca: Download complete 23:15:13 8998bd30e6a1: Verifying Checksum 23:15:13 8998bd30e6a1: Download complete 23:15:15 2437ff75d9bd: Verifying Checksum 23:15:15 2437ff75d9bd: Download complete 23:15:18 8998bd30e6a1: Pull complete 23:15:18 04944245beec: Pull complete 23:15:20 699f458cf7ca: Pull complete 23:15:21 765212b225bb: Pull complete 23:15:22 f23df028b6ca: Pull complete 23:15:22 d65c8cfc05b1: Pull complete 23:15:41 2437ff75d9bd: Pull complete 23:15:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:15:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:15:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:41 prd-ubuntu20.04-docker-arm64-4c-16g-8888 does not seem to be running inside a container 23:15:41 $ 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 23:15:44 $ docker top 2e76e275d915af6488e2be6bc659e7f9a00ddd6e23fd6ec9f1340e2302e16f92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:15:45 ---> job-cost.sh 23:15:45 lf-activate-venv: SKIPPING 23:15:45 INFO: No Stack... 23:15:46 INFO: Retrieving Pricing Info for: v3-standard-4 23:15:46 INFO: Archiving Costs [Pipeline] sh 23:15:47 + + cut -d, -f6 23:15:47 cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 23:15:47 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-319-1-stack-cost] 23:15:47 Resource [jenkins-edgexfoundry-device-snmp-go-PR-319-1-stack-cost] did not exist. Created. 23:15:47 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:15:48 /w/workspace/device-snmp-go/1@tmp/durable-0f445187/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:15:49 + echo total: 0.10999999940395355 [Pipeline] stash 23:15:49 Warning: overwriting stash ‘stack-cost’ 23:15:49 Stashed 1 file(s) [Pipeline] } 23:15:49 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:15:49 $ docker stop --time=1 2e76e275d915af6488e2be6bc659e7f9a00ddd6e23fd6ec9f1340e2302e16f92 23:15:50 $ docker rm -f --volumes 2e76e275d915af6488e2be6bc659e7f9a00ddd6e23fd6ec9f1340e2302e16f92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:15:52 provisioning config files... 23:15:52 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-319@tmp/config3158183208681143607tmp [Pipeline] { [Pipeline] sh 23:15:52 + set +x 23:15:52 + curl -s https://codecov.io/bash 23:15:52 + bash -s -- 23:15:52 23:15:52 _____ _ 23:15:52 / ____| | | 23:15:52 | | ___ __| | ___ ___ _____ __ 23:15:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:15:52 | |___| (_) | (_| | __/ (_| (_) \ V / 23:15:52 \_____\___/ \__,_|\___|\___\___/ \_/ 23:15:52 Bash-1.0.6 23:15:52 23:15:52 23:15:52 ==> git version 2.25.1 found 23:15:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:15:52 Release-Date: 2020-01-08 23:15:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:15:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:15:52 ==> Jenkins CI detected. 23:15:52 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-319 23:15:52 project root: . 23:15:52 --> token set from env 23:15:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:15:52 ==> Running gcov in . (disable via -X gcov) 23:15:52 ==> Python coveragepy not found 23:15:52 ==> Searching for coverage reports in: 23:15:52 + . 23:15:52 -> Found 1 reports 23:15:52 ==> Detecting git/mercurial file structure 23:15:52 ==> Reading reports 23:15:52 + ./coverage.out bytes=8837 23:15:52 ==> Appending adjustments 23:15:52 https://docs.codecov.io/docs/fixing-reports 23:15:52 + Found adjustments 23:15:52 ==> Gzipping contents 23:15:52 4.0K /tmp/codecov.NP4Ren.gz 23:15:52 ==> Uploading reports 23:15:52 url: https://codecov.io 23:15:52 query: branch=PR-319&commit=b1024203b4d1c65793f885eaa81e62b5bcb00bff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=319&job=&cmd_args= 23:15:52 -> Pinging Codecov 23:15:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-319&commit=b1024203b4d1c65793f885eaa81e62b5bcb00bff&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=319&job=&cmd_args= 23:15:52 -> Uploading to 23:15:52 https://storage.googleapis.com/codecov/v4/raw/2023-10-11/6C56EA5C29638FB4528AC87E60AF5AE0/b1024203b4d1c65793f885eaa81e62b5bcb00bff/195bcd11-17ef-4a38-845d-22c7338a2738.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231011T231552Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32124f96c4290278e2163866d9c87b0378ca084b58a818136eff54fd24bbb5b2 23:15:52 % Total % Received % Xferd Average Speed Time Time Time Current 23:15:52 Dload Upload Total Spent Left Speed 23:15:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 5790 --:--:-- --:--:-- --:--:-- 5790 23:15:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/b1024203b4d1c65793f885eaa81e62b5bcb00bff [Pipeline] } 23:15:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:15:55 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-319/archives ] 23:15:55 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-319/archives 23:15:55 total 16 23:15:55 drwxr-xr-x 3 root root 4096 Oct 11 23:06 . 23:15:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 23:06 .. 23:15:55 drwxr-xr-x 2 root root 4096 Oct 11 23:06 cost 23:15:55 -rw-r--r-- 1 root root 86 Oct 11 23:06 cost.csv 23:15:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-319/archives 23:15:55 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-319/archives 23:15:55 total 16 23:15:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 23:06 . 23:15:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 23:06 .. 23:15:55 drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 23:06 cost 23:15:55 -rw-r--r-- 1 jenkins jenkins 86 Oct 11 23:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:15:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:15:56 ---> package-listing.sh 23:15:56 ++ facter osfamily 23:15:56 ++ tr '[:upper:]' '[:lower:]' 23:15:56 + OS_FAMILY=debian 23:15:56 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-319 23:15:56 + START_PACKAGES=/tmp/packages_start.txt 23:15:56 + END_PACKAGES=/tmp/packages_end.txt 23:15:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:15:56 + PACKAGES=/tmp/packages_start.txt 23:15:56 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-319 ']' 23:15:56 + PACKAGES=/tmp/packages_end.txt 23:15:56 + case "${OS_FAMILY}" in 23:15:56 + dpkg -l 23:15:56 + grep '^ii' 23:15:56 + '[' -f /tmp/packages_start.txt ']' 23:15:56 + '[' -f /tmp/packages_end.txt ']' 23:15:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:15:56 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-319 ']' 23:15:56 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-319/archives/ 23:15:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-319/archives/ [Pipeline] echo 23:15:56 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-319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:15:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:15:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:57 prd-ubuntu20.04-docker-8c-8g-8879 does not seem to be running inside a container 23:15:57 $ 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-319/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-319 -v /w/workspace/gexfoundry_device-snmp-go_PR-319:/w/workspace/gexfoundry_device-snmp-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-319@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-319@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 23:15:57 $ docker top 54b3c5d201391a79e090dfa3f97371791e9801837bf3072f8e901ac807b74dcb -eo pid,comm [Pipeline] { [Pipeline] sh 23:15:58 + touch /tmp/pre-build-complete [Pipeline] sh 23:15:58 + mkdir -p /var/log/sysstat [Pipeline] sh 23:15:58 + ls /var/log/sa-host 23:15:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:15:59 provisioning config files... 23:15:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-319@tmp/config13912545274600455254tmp [Pipeline] { [Pipeline] echo 23:15:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:15:59 ---> create-netrc.sh [Pipeline] } 23:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:15:59 ---> python-tools-install.sh [Pipeline] echo 23:16:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:16:00 ---> sudo-logs.sh 23:16:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:16:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:16:00 ---> job-cost.sh 23:16:00 lf-activate-venv: SKIPPING 23:16:00 DEBUG: total: 0.2199999988079071 23:16:00 INFO: Retrieving Stack Cost... 23:16:00 INFO: Retrieving Pricing Info for: v3-standard-8 23:16:01 INFO: Archiving Costs [Pipeline] echo 23:16:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:16:01 ---> logs-deploy.sh 23:16:01 lf-activate-venv: SKIPPING 23:16:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-319/1 23:16:01 INFO: archiving workspace using pattern(s): 23:16:02 Archives upload complete. 23:16:02 INFO: archiving logs to Nexus