Pull request #324 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 03c9efd7f1f162ff790aa735cab68435cf43ead6+e3ad67b18069b788d3b650faffca04e548476692 (5806d7c678f2e3b4b565abe69bfb4f971039552c) 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-ssh18194278521841700890.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-ssh4322239622631788460.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-324/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-324/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17577416229179114585.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-324/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13272307924434689497.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-ssh7662999300102111888.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-324/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-324/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2757045143728044392.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10330 in /w/workspace/gexfoundry_device-snmp-go_PR-324 [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-324 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e3ad67b18069b788d3b650faffca04e548476692 into PR head commit 03c9efd7f1f162ff790aa735cab68435cf43ead6 Merge succeeded, producing 03c9efd7f1f162ff790aa735cab68435cf43ead6 Checking out Revision 03c9efd7f1f162ff790aa735cab68435cf43ead6 (PR-324) > 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/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03c9efd7f1f162ff790aa735cab68435cf43ead6 # 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 e3ad67b18069b788d3b650faffca04e548476692 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03c9efd7f1f162ff790aa735cab68435cf43ead6 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:28:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:28:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:28:29 ========================================================= 23:28:29 EdgeX Global Pipelines Version Info 23:28:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:28:30 ------------------- 23:28:30 stable info: 23:28:30 ------------------- 23:28:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:28:30 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:28:30 Message: update stable to v1.0.254 23:28:31 ------------------- 23:28:31 experimental info: 23:28:31 ------------------- 23:28:31 Commited By: **** collab-it+edgex@linuxfoundation.org 23:28:31 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:28:31 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:28:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-324 [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-324 [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-324 [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03c9efd7f1f162ff790aa735cab68435cf43ead6 [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03c9efd [Pipeline] echo 23:28:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:32 provisioning config files... 23:28:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-324@tmp/config2888598913732145656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:33 ---> docker-login.sh 23:28:33 nexus3.edgexfoundry.org:10001 23:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:33 Configure a credential helper to remove this warning. See 23:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:33 23:28:33 Login Succeeded 23:28:33 nexus3.edgexfoundry.org:10002 23:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:33 Configure a credential helper to remove this warning. See 23:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:33 23:28:33 Login Succeeded 23:28:33 nexus3.edgexfoundry.org:10003 23:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:33 Configure a credential helper to remove this warning. See 23:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:33 23:28:33 Login Succeeded 23:28:33 nexus3.edgexfoundry.org:10004 23:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:33 Configure a credential helper to remove this warning. See 23:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:33 23:28:33 Login Succeeded 23:28:33 docker.io 23:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:34 Configure a credential helper to remove this warning. See 23:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:34 23:28:34 Login Succeeded 23:28:34 ---> docker-login.sh ends [Pipeline] } 23:28:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:28:34 + git rev-list -1 --merges 03c9efd7f1f162ff790aa735cab68435cf43ead6~1..03c9efd7f1f162ff790aa735cab68435cf43ead6 [Pipeline] echo 23:28:34 -----------> git rev-list -1 --merges 03c9efd7f1f162ff790aa735cab68435cf43ead6~1..03c9efd7f1f162ff790aa735cab68435cf43ead6 03c9efd7f1f162ff790aa735cab68435cf43ead6 [false] [Pipeline] sh 23:28:35 + git log --format=format:%s -1 03c9efd7f1f162ff790aa735cab68435cf43ead6 [Pipeline] echo 23:28:35 ========================================================= 23:28:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:28:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:28:35 + git log --format=format:%s -1 03c9efd7f1f162ff790aa735cab68435cf43ead6 [Pipeline] echo 23:28:35 [semverPrep] GIT_COMMIT: 03c9efd7f1f162ff790aa735cab68435cf43ead6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 23:28:35 [semverPrep] This is not a build commit. [Pipeline] sh 23:28:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:28:36 + grep -v github /etc/ssh/ssh_known_hosts 23:28:36 + [ -e /tmp/ssh_known_hosts ] 23:28:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:28:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:28:36 + sudo tee -a /etc/ssh/ssh_known_hosts 23:28:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:36 23:28:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:36 0.1.4: Pulling from edgex-devops/py-git-semver 23:28:36 b85a868b505f: Pulling fs layer 23:28:36 e2be974225ed: Pulling fs layer 23:28:36 339a4e72a1f5: Pulling fs layer 23:28:36 988bab9f4d93: Pulling fs layer 23:28:36 1469e6f7b9e6: Pulling fs layer 23:28:36 eaf3925da568: Pulling fs layer 23:28:36 bab4dde63d76: Pulling fs layer 23:28:36 bde34c3a00c8: Pulling fs layer 23:28:36 b352a97aabf1: Pulling fs layer 23:28:36 4872d77fe225: Pulling fs layer 23:28:36 5851b861e8e6: Pulling fs layer 23:28:36 bab4dde63d76: Waiting 23:28:36 b352a97aabf1: Waiting 23:28:36 4872d77fe225: Waiting 23:28:36 5851b861e8e6: Waiting 23:28:36 988bab9f4d93: Waiting 23:28:36 1469e6f7b9e6: Waiting 23:28:36 eaf3925da568: Waiting 23:28:36 bde34c3a00c8: Waiting 23:28:36 e2be974225ed: Download complete 23:28:36 988bab9f4d93: Verifying Checksum 23:28:36 988bab9f4d93: Download complete 23:28:37 1469e6f7b9e6: Verifying Checksum 23:28:37 1469e6f7b9e6: Download complete 23:28:37 eaf3925da568: Verifying Checksum 23:28:37 eaf3925da568: Download complete 23:28:37 339a4e72a1f5: Verifying Checksum 23:28:37 339a4e72a1f5: Download complete 23:28:37 bde34c3a00c8: Verifying Checksum 23:28:37 bde34c3a00c8: Download complete 23:28:37 b352a97aabf1: Verifying Checksum 23:28:37 b352a97aabf1: Download complete 23:28:37 4872d77fe225: Verifying Checksum 23:28:37 4872d77fe225: Download complete 23:28:37 5851b861e8e6: Verifying Checksum 23:28:37 5851b861e8e6: Download complete 23:28:37 b85a868b505f: Verifying Checksum 23:28:37 b85a868b505f: Download complete 23:28:37 bab4dde63d76: Verifying Checksum 23:28:37 bab4dde63d76: Download complete 23:28:38 b85a868b505f: Pull complete 23:28:38 e2be974225ed: Pull complete 23:28:38 339a4e72a1f5: Pull complete 23:28:38 988bab9f4d93: Pull complete 23:28:39 1469e6f7b9e6: Pull complete 23:28:39 eaf3925da568: Pull complete 23:28:41 bab4dde63d76: Pull complete 23:28:41 bde34c3a00c8: Pull complete 23:28:41 b352a97aabf1: Pull complete 23:28:41 4872d77fe225: Pull complete 23:28:41 5851b861e8e6: Pull complete 23:28:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:28:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:41 prd-ubuntu20.04-docker-8c-8g-10330 does not seem to be running inside a container 23:28:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-324 -v /w/workspace/gexfoundry_device-snmp-go_PR-324:/w/workspace/gexfoundry_device-snmp-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-324@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-324@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:28:43 $ docker top 6418e847df456d281db52fc85ec5d8a51dc62a549bcda520e6b43052a23b9ebf -eo pid,comm 23:28:43 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:28:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:28:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:43 [ssh-agent] Looking for ssh-agent implementation... 23:28:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:44 $ docker exec 6418e847df456d281db52fc85ec5d8a51dc62a549bcda520e6b43052a23b9ebf ssh-agent 23:28:44 SSH_AUTH_SOCK=/tmp/ssh-ZzVu9E1k0E4o/agent.32 23:28:44 SSH_AGENT_PID=38 23:28:44 Running ssh-add (command line suppressed) 23:28:44 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-324@tmp/private_key_11531903742885848545.key (/w/workspace/gexfoundry_device-snmp-go_PR-324@tmp/private_key_11531903742885848545.key) 23:28:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:44 + git tag --points-at HEAD [Pipeline] } 23:28:44 $ docker exec --env ******** --env ******** 6418e847df456d281db52fc85ec5d8a51dc62a549bcda520e6b43052a23b9ebf ssh-agent -k 23:28:44 unset SSH_AUTH_SOCK; 23:28:44 unset SSH_AGENT_PID; 23:28:44 echo Agent pid 38 killed; 23:28:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:28:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:44 [ssh-agent] Looking for ssh-agent implementation... 23:28:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:45 $ docker exec 6418e847df456d281db52fc85ec5d8a51dc62a549bcda520e6b43052a23b9ebf ssh-agent 23:28:45 SSH_AUTH_SOCK=/tmp/ssh-WHU4U0zbY1m8/agent.70 23:28:45 SSH_AGENT_PID=76 23:28:45 Running ssh-add (command line suppressed) 23:28:45 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-324@tmp/private_key_16550789979499571904.key (/w/workspace/gexfoundry_device-snmp-go_PR-324@tmp/private_key_16550789979499571904.key) 23:28:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:45 + git semver init 23:28:45 2023-10-24 23:28:45,754 [run_init] DEBUG init version:0.0.0 force:False 23:28:45 2023-10-24 23:28:45,756 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-324/.semver 23:28:45 2023-10-24 23:28:45,757 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-324/.semver 23:28:45 2023-10-24 23:28:45,757 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-324/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-324, universal_newlines=False, shell=None, istream=None) 23:28:46 2023-10-24 23:28:46,569 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-324/.git/info/exclude 23:28:46 2023-10-24 23:28:46,570 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-324/.semver/PR-324 with force:False 23:28:46 2023-10-24 23:28:46,570 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-324/.semver/PR-324 23:28:46 2023-10-24 23:28:46,575 [execute] INFO git cat-file --batch-check 23:28:46 2023-10-24 23:28:46,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-324/.semver, universal_newlines=False, shell=None, istream=) 23:28:46 2023-10-24 23:28:46,581 [execute] INFO git cat-file --batch 23:28:46 2023-10-24 23:28:46,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-324/.semver, universal_newlines=False, shell=None, istream=) 23:28:46 2023-10-24 23:28:46,587 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-324/.semver/PR-324 23:28:46 0.0.0 [Pipeline] } 23:28:46 $ docker exec --env ******** --env ******** 6418e847df456d281db52fc85ec5d8a51dc62a549bcda520e6b43052a23b9ebf ssh-agent -k 23:28:46 unset SSH_AUTH_SOCK; 23:28:46 unset SSH_AGENT_PID; 23:28:46 echo Agent pid 76 killed; 23:28:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:47 + git semver [Pipeline] } 23:28:47 $ docker stop --time=1 6418e847df456d281db52fc85ec5d8a51dc62a549bcda520e6b43052a23b9ebf 23:28:48 $ docker rm -f --volumes 6418e847df456d281db52fc85ec5d8a51dc62a549bcda520e6b43052a23b9ebf [Pipeline] // withDockerContainer [Pipeline] sh 23:28:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:28:49 Stashed 1 file(s) [Pipeline] echo 23:28:49 [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:28:50 provisioning config files... 23:28:50 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-324@tmp/config4641539225392757094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:50 ---> docker-login.sh 23:28:50 nexus3.edgexfoundry.org:10001 23:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:50 Configure a credential helper to remove this warning. See 23:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:50 23:28:50 Login Succeeded 23:28:50 nexus3.edgexfoundry.org:10002 23:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:50 Configure a credential helper to remove this warning. See 23:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:50 23:28:50 Login Succeeded 23:28:50 nexus3.edgexfoundry.org:10003 23:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:50 Configure a credential helper to remove this warning. See 23:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:50 23:28:50 Login Succeeded 23:28:50 nexus3.edgexfoundry.org:10004 23:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:50 Configure a credential helper to remove this warning. See 23:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:50 23:28:50 Login Succeeded 23:28:50 docker.io 23:28:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:51 Configure a credential helper to remove this warning. See 23:28:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:51 23:28:51 Login Succeeded 23:28:51 ---> docker-login.sh ends [Pipeline] } 23:28:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:28:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:51 ========================================================= 23:28:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:28:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:52 + 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:28:52 Sending build context to Docker daemon 5.728MB 23:28:52 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:28:52 Step 2/12 : FROM ${BASE} AS builder 23:28:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:28:52 7264a8db6415: Pulling fs layer 23:28:52 c4d48a809fc2: Pulling fs layer 23:28:52 4f1c88b9dad5: Pulling fs layer 23:28:52 ad3a456e5733: Pulling fs layer 23:28:52 33e27b845d1e: Pulling fs layer 23:28:52 c68163c4e522: Pulling fs layer 23:28:52 50da416c3ac9: Pulling fs layer 23:28:52 ad3a456e5733: Waiting 23:28:52 33e27b845d1e: Waiting 23:28:52 c68163c4e522: Waiting 23:28:52 23d2d4c4bb30: Pulling fs layer 23:28:52 50da416c3ac9: Waiting 23:28:52 23d2d4c4bb30: Waiting 23:28:52 c4d48a809fc2: Verifying Checksum 23:28:52 c4d48a809fc2: Download complete 23:28:52 ad3a456e5733: Download complete 23:28:52 33e27b845d1e: Verifying Checksum 23:28:52 33e27b845d1e: Download complete 23:28:52 7264a8db6415: Verifying Checksum 23:28:52 7264a8db6415: Download complete 23:28:52 c68163c4e522: Verifying Checksum 23:28:52 c68163c4e522: Download complete 23:28:52 7264a8db6415: Pull complete 23:28:52 23d2d4c4bb30: Verifying Checksum 23:28:52 23d2d4c4bb30: Download complete 23:28:52 c4d48a809fc2: Pull complete 23:28:52 4f1c88b9dad5: Verifying Checksum 23:28:52 4f1c88b9dad5: Download complete 23:28:52 50da416c3ac9: Verifying Checksum 23:28:52 50da416c3ac9: Download complete 23:28:56 4f1c88b9dad5: Pull complete 23:28:56 ad3a456e5733: Pull complete 23:28:56 33e27b845d1e: Pull complete 23:28:56 c68163c4e522: Pull complete 23:28:58 50da416c3ac9: Pull complete 23:28:58 23d2d4c4bb30: Pull complete 23:28:58 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 23:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:28:58 ---> 0786185ac409 23:28:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:29:02 ---> Running in 498d59abffe7 23:29:02 Removing intermediate container 498d59abffe7 23:29:02 ---> 52894a818ef0 23:29:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:29:02 ---> Running in 29150cabb800 23:29:02 Removing intermediate container 29150cabb800 23:29:02 ---> b9f835a9ab54 23:29:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:29:02 ---> Running in dae51e2ba907 23:29:02 Removing intermediate container dae51e2ba907 23:29:02 ---> e53cc6e1d5eb 23:29:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:29:02 ---> Running in 55be6a0557f9 23:29:02 Removing intermediate container 55be6a0557f9 23:29:02 ---> 6915a9238063 23:29:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:29:02 ---> Running in 6ccd68cb3636 23:29:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:29:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:29:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:29:02 (2/4) Installing libedit (20221030.3.1-r1) 23:29:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:29:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:29:02 Executing busybox-1.36.1-r2.trigger 23:29:02 OK: 268 MiB in 56 packages 23:29:03 Removing intermediate container 6ccd68cb3636 23:29:03 ---> 7e0d92d6295d 23:29:03 Step 8/12 : WORKDIR /device-snmp-go 23:29:03 ---> Running in 4d080fdcd45b 23:29:03 Removing intermediate container 4d080fdcd45b 23:29:03 ---> eb8d1ca6941d 23:29:03 Step 9/12 : COPY go.mod vendor* ./ 23:29:03 ---> 35716f633309 23:29:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:29:03 ---> Running in d53e20756dad 23:29:05 Still waiting to schedule task 23:29:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:29:50 Removing intermediate container d53e20756dad 23:29:50 ---> b80b43e415f0 23:29:50 Step 11/12 : COPY . . 23:29:50 ---> 66458666457a 23:29:50 Step 12/12 : RUN ${MAKE} 23:29:50 ---> Running in 85268a987c68 23:29:50 noop 23:29:50 Removing intermediate container 85268a987c68 23:29:50 ---> 92433dcd7e75 23:29:50 Successfully built 92433dcd7e75 23:29:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:50 + docker inspect -f . ci-base-image-x86_64 23:29:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:50 prd-ubuntu20.04-docker-8c-8g-10330 does not seem to be running inside a container 23:29:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-324 -v /w/workspace/gexfoundry_device-snmp-go_PR-324:/w/workspace/gexfoundry_device-snmp-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-324@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-324@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:29:51 $ docker top f2f4d3d50a591ec5631eb05f07c100914dc9bcc689b19e3dfe20399a7c5447d4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:51 + go version 23:29:51 go version go1.21.0 linux/amd64 [Pipeline] } 23:29:51 $ docker stop --time=1 f2f4d3d50a591ec5631eb05f07c100914dc9bcc689b19e3dfe20399a7c5447d4 23:29:53 $ docker rm -f --volumes f2f4d3d50a591ec5631eb05f07c100914dc9bcc689b19e3dfe20399a7c5447d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:53 + docker inspect -f . ci-base-image-x86_64 23:29:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:53 prd-ubuntu20.04-docker-8c-8g-10330 does not seem to be running inside a container 23:29:53 $ 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-324 -v /w/workspace/gexfoundry_device-snmp-go_PR-324:/w/workspace/gexfoundry_device-snmp-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-324@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-324@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:29:54 $ docker top 1a4a0a675c79ab5d6b19323f8fd02756c22abbeb0dce7296a03ff357351badfe -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-324 [Pipeline] fileExists [Pipeline] sh 23:29:54 + make test 23:29:54 go test ./... -coverprofile=coverage.out 23:29:56 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:30:06 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:30:06 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 23:30:11 go vet ./... 23:30:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:30:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:30:15 ./bin/test-attribution-txt.sh [Pipeline] echo 23:30:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:30:15 $ docker stop --time=1 1a4a0a675c79ab5d6b19323f8fd02756c22abbeb0dce7296a03ff357351badfe 23:30:17 $ docker rm -f --volumes 1a4a0a675c79ab5d6b19323f8fd02756c22abbeb0dce7296a03ff357351badfe [Pipeline] // withDockerContainer [Pipeline] sh 23:30:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:30:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:30:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:30:19 + ls -al . 23:30:19 total 172 23:30:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:29 . 23:30:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:28 .. 23:30:19 -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 23:28 .dockerignore 23:30:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:30 .git 23:30:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:28 .github 23:30:19 -rw-rw-r-- 1 jenkins jenkins 263 Oct 24 23:28 .gitignore 23:30:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 23:28 .golangci.yml 23:30:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 23:28 .semver 23:30:19 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 24 23:28 Attribution.txt 23:30:19 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 24 23:28 CHANGELOG.md 23:30:19 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 24 23:28 Dockerfile 23:30:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:28 GOVERNANCE.md 23:30:19 -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 23:28 Jenkinsfile 23:30:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 23:28 LICENSE 23:30:19 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 24 23:28 Makefile 23:30:19 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 23:28 OWNERS.md 23:30:19 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 24 23:28 README.md 23:30:19 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 23:28 VERSION 23:30:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:28 bin 23:30:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:28 cmd 23:30:19 -rw-r--r-- 1 jenkins jenkins 8837 Oct 24 23:30 coverage.out 23:30:19 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 24 23:28 go.mod 23:30:19 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 24 23:28 go.sum 23:30:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:28 internal 23:30:19 -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 23:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:19 + 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=03c9efd7f1f162ff790aa735cab68435cf43ead6 --label arch=amd64 --label version=0.0.0 . 23:30:19 Sending build context to Docker daemon 5.737MB 23:30:19 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 23:30:19 Step 2/24 : FROM ${BASE} AS builder 23:30:19 ---> 92433dcd7e75 23:30:19 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:30:19 ---> Running in 69a7032a23d4 23:30:19 Removing intermediate container 69a7032a23d4 23:30:19 ---> 4990d7412699 23:30:19 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:30:19 ---> Running in f1e09174fef3 23:30:19 Removing intermediate container f1e09174fef3 23:30:19 ---> b09595d3544b 23:30:19 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:30:19 ---> Running in b4864fd2ba22 23:30:20 Removing intermediate container b4864fd2ba22 23:30:20 ---> 271c805d293a 23:30:20 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:30:20 ---> Running in bc4149f7fa80 23:30:20 Removing intermediate container bc4149f7fa80 23:30:20 ---> 74577d42f4f2 23:30:20 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:20 ---> Running in 2cffe533fb39 23:30:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:30:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:30:21 OK: 268 MiB in 56 packages 23:30:21 Removing intermediate container 2cffe533fb39 23:30:21 ---> b3d7cb2d0bf6 23:30:21 Step 8/24 : WORKDIR /device-snmp-go 23:30:21 ---> Running in 7c5335b1264d 23:30:21 Removing intermediate container 7c5335b1264d 23:30:21 ---> a12eb6722250 23:30:21 Step 9/24 : COPY go.mod vendor* ./ 23:30:21 ---> 0c4933f79082 23:30:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:30:21 ---> Running in c6ca1c88bc93 23:30:22 Removing intermediate container c6ca1c88bc93 23:30:22 ---> f276efa1a356 23:30:22 Step 11/24 : COPY . . 23:30:22 ---> 6f29b4074be9 23:30:22 Step 12/24 : RUN ${MAKE} 23:30:22 ---> Running in 95f06091fcf9 23:30:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 23:30:41 Removing intermediate container 95f06091fcf9 23:30:41 ---> 273c38ffab24 23:30:41 Step 13/24 : FROM alpine:3.18 23:30:41 3.18: Pulling from library/alpine 23:30:41 96526aa774ef: Pulling fs layer 23:30:41 96526aa774ef: Verifying Checksum 23:30:41 96526aa774ef: Download complete 23:30:41 96526aa774ef: Pull complete 23:30:41 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:30:41 Status: Downloaded newer image for alpine:3.18 23:30:41 ---> 8ca4688f4f35 23:30:41 Step 14/24 : RUN apk add --update --no-cache dumb-init 23:30:41 ---> Running in 9fd7c1b2979e 23:30:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:30:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:30:42 (1/1) Installing dumb-init (1.2.5-r2) 23:30:42 Executing busybox-1.36.1-r2.trigger 23:30:42 OK: 7 MiB in 16 packages 23:30:42 Removing intermediate container 9fd7c1b2979e 23:30:42 ---> f5ac32e333ba 23:30:42 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 23:30:43 ---> 5ec28825f923 23:30:43 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:30:43 ---> 5a952fe76c6a 23:30:43 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 23:30:43 ---> e739d0c87227 23:30:43 Step 18/24 : EXPOSE 59993 23:30:43 ---> Running in 40bc27ae4e76 23:30:43 Removing intermediate container 40bc27ae4e76 23:30:43 ---> 0425f469554f 23:30:43 Step 19/24 : EXPOSE 161 23:30:43 ---> Running in bd1a5e38abb1 23:30:43 Removing intermediate container bd1a5e38abb1 23:30:43 ---> 16e6fd33969e 23:30:43 Step 20/24 : ENTRYPOINT ["/device-snmp"] 23:30:43 ---> Running in 3187b7ead0b8 23:30:43 Removing intermediate container 3187b7ead0b8 23:30:43 ---> 0e0df8fff1ec 23:30:43 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:30:43 ---> Running in ff564e603711 23:30:43 Removing intermediate container ff564e603711 23:30:43 ---> 0af0e1ffbc79 23:30:43 Step 22/24 : LABEL arch=amd64 23:30:43 ---> Running in b9bbcbc64cef 23:30:43 Removing intermediate container b9bbcbc64cef 23:30:43 ---> 36c3ac436703 23:30:43 Step 23/24 : LABEL git_sha=03c9efd7f1f162ff790aa735cab68435cf43ead6 23:30:44 ---> Running in 3e71c9227fb3 23:30:44 Removing intermediate container 3e71c9227fb3 23:30:44 ---> 8e31e81c69e8 23:30:44 Step 24/24 : LABEL version=0.0.0 23:30:44 ---> Running in b8c5150d5f11 23:30:44 Removing intermediate container b8c5150d5f11 23:30:44 ---> 5841d93ebb05 23:30:44 [Warning] One or more build-args [ARCH] were not consumed 23:30:44 Successfully built 5841d93ebb05 23:30:44 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:30:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:45 23:30:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:45 latest: Pulling from edgex-lftools-log-publisher 23:30:45 5eb5b503b376: Pulling fs layer 23:30:45 5c69ac0246d0: Pulling fs layer 23:30:45 ec43610c2a17: Pulling fs layer 23:30:45 3a2ae6a8a46f: Pulling fs layer 23:30:45 33b1e0a273af: Pulling fs layer 23:30:45 5d3b04190fa2: Pulling fs layer 23:30:45 2f39f015ded8: Pulling fs layer 23:30:45 3a2ae6a8a46f: Waiting 23:30:45 33b1e0a273af: Waiting 23:30:45 5d3b04190fa2: Waiting 23:30:45 2f39f015ded8: Waiting 23:30:45 5c69ac0246d0: Download complete 23:30:45 3a2ae6a8a46f: Download complete 23:30:45 33b1e0a273af: Verifying Checksum 23:30:45 33b1e0a273af: Download complete 23:30:45 5d3b04190fa2: Verifying Checksum 23:30:45 5d3b04190fa2: Download complete 23:30:45 ec43610c2a17: Verifying Checksum 23:30:45 ec43610c2a17: Download complete 23:30:45 5eb5b503b376: Verifying Checksum 23:30:45 5eb5b503b376: Download complete 23:30:46 2f39f015ded8: Verifying Checksum 23:30:46 5eb5b503b376: Pull complete 23:30:46 5c69ac0246d0: Pull complete 23:30:47 ec43610c2a17: Pull complete 23:30:47 3a2ae6a8a46f: Pull complete 23:30:47 33b1e0a273af: Pull complete 23:30:47 5d3b04190fa2: Pull complete 23:30:51 2f39f015ded8: Pull complete 23:30:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:30:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:52 prd-ubuntu20.04-docker-8c-8g-10330 does not seem to be running inside a container 23:30:52 $ 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-324 -v /w/workspace/gexfoundry_device-snmp-go_PR-324:/w/workspace/gexfoundry_device-snmp-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-324@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-324@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:30:55 $ docker top 487418a08196b5ad1d188ac72dcd05b9200171ca1cf9a1f8e7d601c81f58bf99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:56 ---> job-cost.sh 23:30:56 lf-activate-venv: SKIPPING 23:30:56 INFO: No Stack... 23:30:56 INFO: Retrieving Pricing Info for: v3-standard-8 23:30:56 INFO: Archiving Costs [Pipeline] sh 23:30:57 + cat /w/workspace/gexfoundry_device-snmp-go_PR-324/archives/cost.csv 23:30:57 + cut -d, -f6 [Pipeline] lock 23:30:57 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-324-1-stack-cost] 23:30:57 Resource [jenkins-edgexfoundry-device-snmp-go-PR-324-1-stack-cost] did not exist. Created. 23:30:57 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:57 + echo total: 0.2199999988079071 [Pipeline] stash 23:30:57 Stashed 1 file(s) [Pipeline] } 23:30:57 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-324-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:57 $ docker stop --time=1 487418a08196b5ad1d188ac72dcd05b9200171ca1cf9a1f8e7d601c81f58bf99 23:30:58 $ docker rm -f --volumes 487418a08196b5ad1d188ac72dcd05b9200171ca1cf9a1f8e7d601c81f58bf99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:32:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10332 in /w/workspace/gexfoundry_device-snmp-go_PR-324 [Pipeline] { [Pipeline] ws 23:32:40 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 23:32:40 Selected Git installation does not exist. Using Default 23:32:40 The recommended git tool is: NONE 23:32:46 using credential edgex-jenkins-ssh 23:32:46 Cloning the remote Git repository 23:32:47 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 23:32:47 > git init /w/workspace/device-snmp-go/1 # timeout=10 23:32:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:32:47 > git --version # timeout=10 23:32:47 > git --version # 'git version 2.25.1' 23:32:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:48 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:32:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:49 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:32:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:32:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:32:50 Merging remotes/origin/main commit e3ad67b18069b788d3b650faffca04e548476692 into PR head commit 03c9efd7f1f162ff790aa735cab68435cf43ead6 23:32:50 Merge succeeded, producing 03c9efd7f1f162ff790aa735cab68435cf43ead6 23:32:50 Checking out Revision 03c9efd7f1f162ff790aa735cab68435cf43ead6 (PR-324) 23:32:50 > git config core.sparsecheckout # timeout=10 23:32:50 > git checkout -f 03c9efd7f1f162ff790aa735cab68435cf43ead6 # timeout=10 23:32:50 > git remote # timeout=10 23:32:50 > git config --get remote.origin.url # timeout=10 23:32:50 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:50 > git merge e3ad67b18069b788d3b650faffca04e548476692 # timeout=10 23:32:50 > git rev-parse HEAD^{commit} # timeout=10 23:32:50 > git config core.sparsecheckout # timeout=10 23:32:50 > git checkout -f 03c9efd7f1f162ff790aa735cab68435cf43ead6 # timeout=10 23:32:51 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 23:32:51 > git --version # timeout=10 23:32:51 > git --version # 'git version 2.25.1' 23:32:51 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:32:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:32:52 % Total % Received % Xferd Average Speed Time Time Time Current 23:32:52 Dload Upload Total Spent Left Speed 23:32:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 23:32:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:32:53 + sudo tee /etc/docker/daemon.new 23:32:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:32:53 { 23:32:53 "registry-mirrors": [ 23:32:53 "https://nexus3.edgexfoundry.org:10001" 23:32:53 ], 23:32:53 "bip": "10.250.0.254/24", 23:32:53 "hosts": [ 23:32:53 "tcp://0.0.0.0:5555", 23:32:53 "unix:///var/run/docker.sock" 23:32:53 ], 23:32:53 "mtu": 1458, 23:32:53 "selinux-enabled": true, 23:32:53 "seccomp-profile": "/etc/docker/seccomp.json" 23:32:53 } [Pipeline] sh 23:32:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:32:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:33:12 provisioning config files... 23:33:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config9901072860430254510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:33:13 ---> docker-login.sh 23:33:13 nexus3.edgexfoundry.org:10001 23:33:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:14 Configure a credential helper to remove this warning. See 23:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:14 23:33:14 Login Succeeded 23:33:14 nexus3.edgexfoundry.org:10002 23:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:14 Configure a credential helper to remove this warning. See 23:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:14 23:33:14 Login Succeeded 23:33:14 nexus3.edgexfoundry.org:10003 23:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:14 Configure a credential helper to remove this warning. See 23:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:14 23:33:14 Login Succeeded 23:33:14 nexus3.edgexfoundry.org:10004 23:33:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:15 Configure a credential helper to remove this warning. See 23:33:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:15 23:33:15 Login Succeeded 23:33:15 docker.io 23:33:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:33:15 Configure a credential helper to remove this warning. See 23:33:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:33:15 23:33:15 Login Succeeded 23:33:15 ---> docker-login.sh ends [Pipeline] } 23:33:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:33:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:33:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:33:16 ========================================================= 23:33:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:33:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:16 + 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:33:16 Sending build context to Docker daemon 2.942MB 23:33:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:33:16 Step 2/12 : FROM ${BASE} AS builder 23:33:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:33:17 9fda8d8052c6: Pulling fs layer 23:33:17 5d54e960e981: Pulling fs layer 23:33:17 c4a7e357bf2a: Pulling fs layer 23:33:17 f0e02332f6b5: Pulling fs layer 23:33:17 cefa15bbcfad: Pulling fs layer 23:33:17 17808c966233: Pulling fs layer 23:33:17 f4c1fc716caa: Pulling fs layer 23:33:17 f0e02332f6b5: Waiting 23:33:17 cefa15bbcfad: Waiting 23:33:17 f4c1fc716caa: Waiting 23:33:17 5d54e960e981: Verifying Checksum 23:33:17 5d54e960e981: Download complete 23:33:17 f0e02332f6b5: Verifying Checksum 23:33:17 f0e02332f6b5: Download complete 23:33:17 cefa15bbcfad: Verifying Checksum 23:33:17 cefa15bbcfad: Download complete 23:33:17 9fda8d8052c6: Download complete 23:33:17 f4c1fc716caa: Verifying Checksum 23:33:17 f4c1fc716caa: Download complete 23:33:18 9fda8d8052c6: Pull complete 23:33:19 5d54e960e981: Pull complete 23:33:19 c4a7e357bf2a: Download complete 23:33:20 17808c966233: Verifying Checksum 23:33:20 17808c966233: Download complete 23:33:32 c4a7e357bf2a: Pull complete 23:33:32 f0e02332f6b5: Pull complete 23:33:32 cefa15bbcfad: Pull complete 23:33:41 17808c966233: Pull complete 23:33:43 f4c1fc716caa: Pull complete 23:33:43 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 23:33:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:33:43 ---> ea914061e18c 23:33:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:33:44 ---> Running in b58d6939094a 23:33:44 Removing intermediate container b58d6939094a 23:33:44 ---> ea40b5b5d784 23:33:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:33:44 ---> Running in fb423b370da4 23:33:44 Removing intermediate container fb423b370da4 23:33:44 ---> 0f9f97049c8a 23:33:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:33:44 ---> Running in 813214cfd1d6 23:33:45 Removing intermediate container 813214cfd1d6 23:33:45 ---> 00d065e72bb7 23:33:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:33:45 ---> Running in acf081eb10ea 23:33:45 Removing intermediate container acf081eb10ea 23:33:45 ---> ae140c4eb251 23:33:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:33:46 ---> Running in b7c1cbfbe184 23:33:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:33:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:33:49 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:33:49 (2/4) Installing libedit (20221030.3.1-r1) 23:33:49 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:33:49 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:33:49 Executing busybox-1.36.1-r2.trigger 23:33:49 OK: 270 MiB in 56 packages 23:33:53 Removing intermediate container b7c1cbfbe184 23:33:53 ---> f9aec7d78696 23:33:53 Step 8/12 : WORKDIR /device-snmp-go 23:33:53 ---> Running in 265716b0d0f9 23:33:53 Removing intermediate container 265716b0d0f9 23:33:53 ---> 3f606512cf5e 23:33:53 Step 9/12 : COPY go.mod vendor* ./ 23:33:54 ---> 89c4f1135e79 23:33:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:33:54 ---> Running in 22a812f087ed 23:35:46 Removing intermediate container 22a812f087ed 23:35:46 ---> 7f9a80f24ffb 23:35:46 Step 11/12 : COPY . . 23:35:46 ---> c578f0e956cc 23:35:46 Step 12/12 : RUN ${MAKE} 23:35:46 ---> Running in e2eff451710a 23:35:46 noop 23:35:46 Removing intermediate container e2eff451710a 23:35:46 ---> 9fc31a97c3c6 23:35:46 Successfully built 9fc31a97c3c6 23:35:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:46 + docker inspect -f . ci-base-image-arm64 23:35:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:47 prd-ubuntu20.04-docker-arm64-4c-16g-10332 does not seem to be running inside a container 23:35:47 $ 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:35:48 $ docker top 5f9219a1f2413839c8ac9c00d4e24183d4e4f3ec8c916a932b5890f837b1d4de -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:49 + go version 23:35:49 go version go1.21.0 linux/arm64 [Pipeline] } 23:35:49 $ docker stop --time=1 5f9219a1f2413839c8ac9c00d4e24183d4e4f3ec8c916a932b5890f837b1d4de 23:35:51 $ docker rm -f --volumes 5f9219a1f2413839c8ac9c00d4e24183d4e4f3ec8c916a932b5890f837b1d4de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:51 + docker inspect -f . ci-base-image-arm64 23:35:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:52 prd-ubuntu20.04-docker-arm64-4c-16g-10332 does not seem to be running inside a container 23:35:52 $ 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:35:53 $ docker top 8e253f9ccd1c5465225decab419d62424c133b0d6f24a90d359d4ff201a1cd4d -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:54 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 23:35:55 + make test 23:35:55 go test ./... -coverprofile=coverage.out 23:36:00 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:37:37 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:37:37 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements 23:37:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:37:37 go vet ./... 23:37:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:37:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:37:59 ./bin/test-attribution-txt.sh [Pipeline] echo 23:37:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:37:59 $ docker stop --time=1 8e253f9ccd1c5465225decab419d62424c133b0d6f24a90d359d4ff201a1cd4d 23:38:03 $ docker rm -f --volumes 8e253f9ccd1c5465225decab419d62424c133b0d6f24a90d359d4ff201a1cd4d [Pipeline] // withDockerContainer [Pipeline] sh 23:38:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:38:05 Warning: overwriting stash ‘coverage-report’ 23:38:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:38:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:38:06 + ls -al . 23:38:06 total 168 23:38:06 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 23:35 . 23:38:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 23:32 .. 23:38:06 -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 23:32 .dockerignore 23:38:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 23:32 .git 23:38:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:32 .github 23:38:06 -rw-rw-r-- 1 jenkins jenkins 263 Oct 24 23:32 .gitignore 23:38:06 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 23:32 .golangci.yml 23:38:06 -rw-rw-r-- 1 jenkins jenkins 10025 Oct 24 23:32 Attribution.txt 23:38:06 -rw-rw-r-- 1 jenkins jenkins 10534 Oct 24 23:32 CHANGELOG.md 23:38:06 -rw-rw-r-- 1 jenkins jenkins 1462 Oct 24 23:32 Dockerfile 23:38:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 23:32 GOVERNANCE.md 23:38:06 -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 23:32 Jenkinsfile 23:38:06 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 23:32 LICENSE 23:38:06 -rw-rw-r-- 1 jenkins jenkins 2240 Oct 24 23:32 Makefile 23:38:06 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 23:32 OWNERS.md 23:38:06 -rw-rw-r-- 1 jenkins jenkins 10477 Oct 24 23:32 README.md 23:38:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 23:28 VERSION 23:38:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 23:32 bin 23:38:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:32 cmd 23:38:06 -rw-r--r-- 1 jenkins jenkins 8837 Oct 24 23:37 coverage.out 23:38:06 -rw-rw-r-- 1 jenkins jenkins 3712 Oct 24 23:32 go.mod 23:38:06 -rw-rw-r-- 1 jenkins jenkins 34822 Oct 24 23:32 go.sum 23:38:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 23:32 internal 23:38:06 -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 23:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:06 + 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=03c9efd7f1f162ff790aa735cab68435cf43ead6 --label arch=arm64 --label version=0.0.0 . 23:38:07 Sending build context to Docker daemon 2.952MB 23:38:07 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 23:38:07 Step 2/24 : FROM ${BASE} AS builder 23:38:07 ---> 9fc31a97c3c6 23:38:07 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:38:07 ---> Running in 005d442100a1 23:38:07 Removing intermediate container 005d442100a1 23:38:07 ---> c780ec0e3d0e 23:38:07 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:38:07 ---> Running in 3c1edc965543 23:38:07 Removing intermediate container 3c1edc965543 23:38:07 ---> d032ddd216b1 23:38:07 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:38:08 ---> Running in ad67529a0960 23:38:08 Removing intermediate container ad67529a0960 23:38:08 ---> 898f1abd4cb6 23:38:08 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:38:08 ---> Running in ce1bcbae3b00 23:38:08 Removing intermediate container ce1bcbae3b00 23:38:08 ---> 59ee18a23989 23:38:08 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:09 ---> Running in add4f90c9ee6 23:38:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:38:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:38:11 OK: 270 MiB in 56 packages 23:38:12 Removing intermediate container add4f90c9ee6 23:38:12 ---> b3b0bf69e4f2 23:38:12 Step 8/24 : WORKDIR /device-snmp-go 23:38:12 ---> Running in 4405d98073cf 23:38:13 Removing intermediate container 4405d98073cf 23:38:13 ---> d41d2d930bd6 23:38:13 Step 9/24 : COPY go.mod vendor* ./ 23:38:13 ---> 793d21d977bf 23:38:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:13 ---> Running in 377846b06d28 23:38:17 Removing intermediate container 377846b06d28 23:38:17 ---> 442faf11c0f1 23:38:17 Step 11/24 : COPY . . 23:38:19 ---> 2ca51433a5b2 23:38:19 Step 12/24 : RUN ${MAKE} 23:38:19 ---> Running in 69151e1b7451 23:38:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 23:40:42 Removing intermediate container 69151e1b7451 23:40:42 ---> aec984b97bc2 23:40:42 Step 13/24 : FROM alpine:3.18 23:40:42 3.18: Pulling from library/alpine 23:40:42 579b34f0a95b: Pulling fs layer 23:40:42 579b34f0a95b: Verifying Checksum 23:40:42 579b34f0a95b: Download complete 23:40:42 579b34f0a95b: Pull complete 23:40:42 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:40:42 Status: Downloaded newer image for alpine:3.18 23:40:42 ---> 3cc203321400 23:40:42 Step 14/24 : RUN apk add --update --no-cache dumb-init 23:40:42 ---> Running in 8283b4ce363c 23:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:40:42 (1/1) Installing dumb-init (1.2.5-r2) 23:40:42 Executing busybox-1.36.1-r2.trigger 23:40:42 OK: 8 MiB in 16 packages 23:40:42 Removing intermediate container 8283b4ce363c 23:40:42 ---> 69e72b8ce113 23:40:42 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 23:40:42 ---> d2e0eac13e65 23:40:42 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:40:42 ---> 21051752f56c 23:40:42 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 23:40:42 ---> 06b328bb8091 23:40:42 Step 18/24 : EXPOSE 59993 23:40:43 ---> Running in 3a285867bef7 23:40:43 Removing intermediate container 3a285867bef7 23:40:43 ---> 7377f944bbf7 23:40:43 Step 19/24 : EXPOSE 161 23:40:43 ---> Running in e36ded1f2af1 23:40:43 Removing intermediate container e36ded1f2af1 23:40:43 ---> e7076aeed9dd 23:40:43 Step 20/24 : ENTRYPOINT ["/device-snmp"] 23:40:43 ---> Running in 7525f5431026 23:40:44 Removing intermediate container 7525f5431026 23:40:44 ---> 44d57f5e948e 23:40:44 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:40:44 ---> Running in d783985b5843 23:40:44 Removing intermediate container d783985b5843 23:40:44 ---> 51a4a951d7d0 23:40:44 Step 22/24 : LABEL arch=arm64 23:40:44 ---> Running in 7ef3c0c91830 23:40:44 Removing intermediate container 7ef3c0c91830 23:40:44 ---> 81e044bda54a 23:40:44 Step 23/24 : LABEL git_sha=03c9efd7f1f162ff790aa735cab68435cf43ead6 23:40:44 ---> Running in 6ecbd9d71339 23:40:45 Removing intermediate container 6ecbd9d71339 23:40:45 ---> 69505b754ea4 23:40:45 Step 24/24 : LABEL version=0.0.0 23:40:45 ---> Running in d197351b3eca 23:40:45 Removing intermediate container d197351b3eca 23:40:45 ---> bd3afeb98de6 23:40:45 [Warning] One or more build-args [ARCH] were not consumed 23:40:45 Successfully built bd3afeb98de6 23:40:45 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:40:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:46 23:40:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:46 arm64: Pulling from edgex-lftools-log-publisher 23:40:46 8998bd30e6a1: Pulling fs layer 23:40:46 04944245beec: Pulling fs layer 23:40:46 699f458cf7ca: Pulling fs layer 23:40:46 765212b225bb: Pulling fs layer 23:40:46 f23df028b6ca: Pulling fs layer 23:40:46 765212b225bb: Waiting 23:40:46 f23df028b6ca: Waiting 23:40:46 d65c8cfc05b1: Pulling fs layer 23:40:46 2437ff75d9bd: Pulling fs layer 23:40:46 d65c8cfc05b1: Waiting 23:40:46 2437ff75d9bd: Waiting 23:40:46 04944245beec: Verifying Checksum 23:40:46 04944245beec: Download complete 23:40:47 765212b225bb: Verifying Checksum 23:40:47 765212b225bb: Download complete 23:40:47 f23df028b6ca: Verifying Checksum 23:40:47 f23df028b6ca: Download complete 23:40:47 d65c8cfc05b1: Verifying Checksum 23:40:47 d65c8cfc05b1: Download complete 23:40:47 699f458cf7ca: Verifying Checksum 23:40:47 699f458cf7ca: Download complete 23:40:47 8998bd30e6a1: Verifying Checksum 23:40:47 8998bd30e6a1: Download complete 23:40:50 2437ff75d9bd: Verifying Checksum 23:40:50 2437ff75d9bd: Download complete 23:40:52 8998bd30e6a1: Pull complete 23:40:53 04944245beec: Pull complete 23:40:54 699f458cf7ca: Pull complete 23:40:54 765212b225bb: Pull complete 23:40:55 f23df028b6ca: Pull complete 23:40:55 d65c8cfc05b1: Pull complete 23:41:10 2437ff75d9bd: Pull complete 23:41:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:41:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:41:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:11 prd-ubuntu20.04-docker-arm64-4c-16g-10332 does not seem to be running inside a container 23:41:11 $ 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:41:16 $ docker top 1bf5df91fef4070079d50ab4ec5cf90929c10f479925c2a7621179d4d4e46126 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:17 ---> job-cost.sh 23:41:17 lf-activate-venv: SKIPPING 23:41:17 INFO: No Stack... 23:41:17 INFO: Retrieving Pricing Info for: v3-standard-4 23:41:18 INFO: Archiving Costs [Pipeline] sh 23:41:19 + cut -d, -f6 23:41:19 + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 23:41:19 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-324-1-stack-cost] 23:41:19 Resource [jenkins-edgexfoundry-device-snmp-go-PR-324-1-stack-cost] did not exist. Created. 23:41:19 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:41:20 /w/workspace/device-snmp-go/1@tmp/durable-5d0687b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:41:20 + echo total: 0.10999999940395355 [Pipeline] stash 23:41:20 Warning: overwriting stash ‘stack-cost’ 23:41:20 Stashed 1 file(s) [Pipeline] } 23:41:20 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-324-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:41:20 $ docker stop --time=1 1bf5df91fef4070079d50ab4ec5cf90929c10f479925c2a7621179d4d4e46126 23:41:22 $ docker rm -f --volumes 1bf5df91fef4070079d50ab4ec5cf90929c10f479925c2a7621179d4d4e46126 [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:41:23 provisioning config files... 23:41:23 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-324@tmp/config15664720855498135342tmp [Pipeline] { [Pipeline] sh 23:41:24 + set +x 23:41:24 + curl -s https://codecov.io/bash 23:41:24 + bash -s -- 23:41:24 23:41:24 _____ _ 23:41:24 / ____| | | 23:41:24 | | ___ __| | ___ ___ _____ __ 23:41:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:41:24 | |___| (_) | (_| | __/ (_| (_) \ V / 23:41:24 \_____\___/ \__,_|\___|\___\___/ \_/ 23:41:24 Bash-1.0.6 23:41:24 23:41:24 23:41:24 ==> git version 2.25.1 found 23:41:24 ==> 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:41:24 Release-Date: 2020-01-08 23:41:24 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:41:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:41:24 ==> Jenkins CI detected. 23:41:24 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-324 23:41:24 project root: . 23:41:24 --> token set from env 23:41:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:41:24 ==> Running gcov in . (disable via -X gcov) 23:41:24 ==> Python coveragepy not found 23:41:24 ==> Searching for coverage reports in: 23:41:24 + . 23:41:24 -> Found 1 reports 23:41:24 ==> Detecting git/mercurial file structure 23:41:24 ==> Reading reports 23:41:24 + ./coverage.out bytes=8837 23:41:24 ==> Appending adjustments 23:41:24 https://docs.codecov.io/docs/fixing-reports 23:41:24 + Found adjustments 23:41:24 ==> Gzipping contents 23:41:24 4.0K /tmp/codecov.szkOnO.gz 23:41:24 ==> Uploading reports 23:41:24 url: https://codecov.io 23:41:24 query: branch=PR-324&commit=03c9efd7f1f162ff790aa735cab68435cf43ead6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-324%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=324&job=&cmd_args= 23:41:24 -> Pinging Codecov 23:41:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-324&commit=03c9efd7f1f162ff790aa735cab68435cf43ead6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-324%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=324&job=&cmd_args= 23:41:24 -> Uploading to 23:41:24 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/6C56EA5C29638FB4528AC87E60AF5AE0/03c9efd7f1f162ff790aa735cab68435cf43ead6/1b4f33f8-faae-4643-ac89-35d7f4a21bb9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T234124Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=efff433547cb25f88cd00c5c5006184b881467f318890b227ba1ff88fa35db4c 23:41:24 % Total % Received % Xferd Average Speed Time Time Time Current 23:41:24 Dload Upload Total Spent Left Speed 23:41:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 4864 --:--:-- --:--:-- --:--:-- 4864 23:41:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/03c9efd7f1f162ff790aa735cab68435cf43ead6 [Pipeline] } 23:41:24 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:41:26 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-324/archives ] 23:41:26 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-324/archives 23:41:26 total 16 23:41:26 drwxr-xr-x 3 root root 4096 Oct 24 23:30 . 23:41:26 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 23:30 .. 23:41:26 drwxr-xr-x 2 root root 4096 Oct 24 23:30 cost 23:41:26 -rw-r--r-- 1 root root 86 Oct 24 23:30 cost.csv 23:41:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-324/archives 23:41:26 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-324/archives 23:41:26 total 16 23:41:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 23:30 . 23:41:26 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 23:30 .. 23:41:26 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 23:30 cost 23:41:26 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 23:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:41:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:41:27 ---> package-listing.sh 23:41:27 ++ facter osfamily 23:41:27 ++ tr '[:upper:]' '[:lower:]' 23:41:28 + OS_FAMILY=debian 23:41:28 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-324 23:41:28 + START_PACKAGES=/tmp/packages_start.txt 23:41:28 + END_PACKAGES=/tmp/packages_end.txt 23:41:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:41:28 + PACKAGES=/tmp/packages_start.txt 23:41:28 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-324 ']' 23:41:28 + PACKAGES=/tmp/packages_end.txt 23:41:28 + case "${OS_FAMILY}" in 23:41:28 + dpkg -l 23:41:28 + grep '^ii' 23:41:28 + '[' -f /tmp/packages_start.txt ']' 23:41:28 + '[' -f /tmp/packages_end.txt ']' 23:41:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:41:28 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-324 ']' 23:41:28 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-324/archives/ 23:41:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-324/archives/ [Pipeline] echo 23:41:28 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-324/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:41:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:29 prd-ubuntu20.04-docker-8c-8g-10330 does not seem to be running inside a container 23:41:29 $ 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-324/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-324 -v /w/workspace/gexfoundry_device-snmp-go_PR-324:/w/workspace/gexfoundry_device-snmp-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-324@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-324@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:41:29 $ docker top e9a1b7104daa0faf185ad76560667d90d23b571eed3de0e0c2a24909a74b56a4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:29 + touch /tmp/pre-build-complete [Pipeline] sh 23:41:30 + mkdir -p /var/log/sysstat [Pipeline] sh 23:41:30 + ls /var/log/sa-host 23:41:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:30 provisioning config files... 23:41:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-324@tmp/config10595981452900733737tmp [Pipeline] { [Pipeline] echo 23:41:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:41:30 ---> create-netrc.sh [Pipeline] } 23:41:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:41:31 ---> python-tools-install.sh [Pipeline] echo 23:41:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:41:31 ---> sudo-logs.sh 23:41:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:41:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:41:32 ---> job-cost.sh 23:41:32 lf-activate-venv: SKIPPING 23:41:32 DEBUG: total: 0.2199999988079071 23:41:32 INFO: Retrieving Stack Cost... 23:41:32 INFO: Retrieving Pricing Info for: v3-standard-8 23:41:32 INFO: Archiving Costs [Pipeline] echo 23:41:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:41:33 ---> logs-deploy.sh 23:41:33 lf-activate-venv: SKIPPING 23:41:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-324/1 23:41:33 INFO: archiving workspace using pattern(s): 23:41:34 Archives upload complete. 23:41:34 INFO: archiving logs to Nexus