Pull request #301 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fab5868797cb5e94d67718fe517b0f3008978999+4540667df76160ba2257f08fa194345a2d771c5a (e56ddb65808a4617104d42a94d6cc74e0dd0a9e1) 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-ssh7339236535275533376.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15418674710695425563.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-301/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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7870428138317494636.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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2164029099140971217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh16643552900591026187.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-301/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-301/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15001819247652740993.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13263 in /w/workspace/gexfoundry_device-snmp-go_PR-301 [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-301 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit fab5868797cb5e94d67718fe517b0f3008978999 Merge succeeded, producing fab5868797cb5e94d67718fe517b0f3008978999 Checking out Revision fab5868797cb5e94d67718fe517b0f3008978999 (PR-301) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo > git config core.sparsecheckout # timeout=10 > git checkout -f fab5868797cb5e94d67718fe517b0f3008978999 # 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 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fab5868797cb5e94d67718fe517b0f3008978999 # timeout=10 05:59:15 ========================================================= 05:59:15 EdgeX Global Pipelines Version Info 05:59:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:59:16 ------------------- 05:59:16 stable info: 05:59:16 ------------------- 05:59:16 Commited By: Bill Mahoney bill.mahoney@intel.com 05:59:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 05:59:16 Message: update stable to v1.0.248 05:59:16 ------------------- 05:59:16 experimental info: 05:59:16 ------------------- 05:59:16 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:59:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-301 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-301 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-301 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fab5868797cb5e94d67718fe517b0f3008978999 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fab5868 [Pipeline] echo 05:59:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:18 provisioning config files... 05:59:18 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-301@tmp/config7825414162781068236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:18 ---> docker-login.sh 05:59:18 nexus3.edgexfoundry.org:10001 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 nexus3.edgexfoundry.org:10002 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 nexus3.edgexfoundry.org:10003 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 nexus3.edgexfoundry.org:10004 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 docker.io 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 ---> docker-login.sh ends [Pipeline] } 05:59:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:20 + git rev-list -1 --merges fab5868797cb5e94d67718fe517b0f3008978999~1..fab5868797cb5e94d67718fe517b0f3008978999 [Pipeline] echo 05:59:20 -----------> git rev-list -1 --merges fab5868797cb5e94d67718fe517b0f3008978999~1..fab5868797cb5e94d67718fe517b0f3008978999 fab5868797cb5e94d67718fe517b0f3008978999 [false] [Pipeline] sh 05:59:20 + git log --format=format:%s -1 fab5868797cb5e94d67718fe517b0f3008978999 [Pipeline] echo 05:59:20 ========================================================= 05:59:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:21 + git log --format=format:%s -1 fab5868797cb5e94d67718fe517b0f3008978999 [Pipeline] echo 05:59:21 [semverPrep] GIT_COMMIT: fab5868797cb5e94d67718fe517b0f3008978999, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:59:21 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:21 + grep -v github /etc/ssh/ssh_known_hosts 05:59:21 + [ -e /tmp/ssh_known_hosts ] 05:59:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:21 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:22 05:59:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:22 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:22 b85a868b505f: Pulling fs layer 05:59:22 e2be974225ed: Pulling fs layer 05:59:22 339a4e72a1f5: Pulling fs layer 05:59:22 988bab9f4d93: Pulling fs layer 05:59:22 1469e6f7b9e6: Pulling fs layer 05:59:22 eaf3925da568: Pulling fs layer 05:59:22 bab4dde63d76: Pulling fs layer 05:59:22 bde34c3a00c8: Pulling fs layer 05:59:22 b352a97aabf1: Pulling fs layer 05:59:22 4872d77fe225: Pulling fs layer 05:59:22 5851b861e8e6: Pulling fs layer 05:59:22 bde34c3a00c8: Waiting 05:59:22 988bab9f4d93: Waiting 05:59:22 b352a97aabf1: Waiting 05:59:22 eaf3925da568: Waiting 05:59:22 5851b861e8e6: Waiting 05:59:22 1469e6f7b9e6: Waiting 05:59:22 bab4dde63d76: Waiting 05:59:22 e2be974225ed: Verifying Checksum 05:59:22 e2be974225ed: Download complete 05:59:22 988bab9f4d93: Verifying Checksum 05:59:22 988bab9f4d93: Download complete 05:59:22 1469e6f7b9e6: Verifying Checksum 05:59:22 1469e6f7b9e6: Download complete 05:59:22 eaf3925da568: Verifying Checksum 05:59:22 eaf3925da568: Download complete 05:59:22 339a4e72a1f5: Verifying Checksum 05:59:22 339a4e72a1f5: Download complete 05:59:22 b352a97aabf1: Verifying Checksum 05:59:22 b352a97aabf1: Download complete 05:59:22 4872d77fe225: Download complete 05:59:22 5851b861e8e6: Download complete 05:59:22 b85a868b505f: Verifying Checksum 05:59:22 b85a868b505f: Download complete 05:59:22 bab4dde63d76: Verifying Checksum 05:59:22 bab4dde63d76: Download complete 05:59:23 b85a868b505f: Pull complete 05:59:24 e2be974225ed: Pull complete 05:59:24 339a4e72a1f5: Pull complete 05:59:24 988bab9f4d93: Pull complete 05:59:24 1469e6f7b9e6: Pull complete 05:59:24 eaf3925da568: Pull complete 05:59:26 bab4dde63d76: Pull complete 05:59:26 bde34c3a00c8: Pull complete 05:59:26 b352a97aabf1: Pull complete 05:59:26 4872d77fe225: Pull complete 05:59:27 5851b861e8e6: Pull complete 05:59:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:59:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:27 prd-ubuntu20.04-docker-8c-8g-13263 does not seem to be running inside a container 05:59:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-301 -v /w/workspace/gexfoundry_device-snmp-go_PR-301:/w/workspace/gexfoundry_device-snmp-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-301@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:59:31 $ docker top 4c67558b617c5d88fc93ed19fab589f5b3d0754e77c7cd5f97f5d106dc9b8a2c -eo pid,comm 05:59:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:59:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:59:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:31 [ssh-agent] Looking for ssh-agent implementation... 05:59:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:31 $ docker exec 4c67558b617c5d88fc93ed19fab589f5b3d0754e77c7cd5f97f5d106dc9b8a2c ssh-agent 05:59:31 SSH_AUTH_SOCK=/tmp/ssh-6q81petdNGMK/agent.32 05:59:31 SSH_AGENT_PID=38 05:59:31 Running ssh-add (command line suppressed) 05:59:31 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-301@tmp/private_key_10050305210276925625.key (/w/workspace/gexfoundry_device-snmp-go_PR-301@tmp/private_key_10050305210276925625.key) 05:59:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:32 + git tag --points-at HEAD [Pipeline] } 05:59:32 $ docker exec --env ******** --env ******** 4c67558b617c5d88fc93ed19fab589f5b3d0754e77c7cd5f97f5d106dc9b8a2c ssh-agent -k 05:59:32 unset SSH_AUTH_SOCK; 05:59:32 unset SSH_AGENT_PID; 05:59:32 echo Agent pid 38 killed; 05:59:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:59:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:32 [ssh-agent] Looking for ssh-agent implementation... 05:59:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:32 $ docker exec 4c67558b617c5d88fc93ed19fab589f5b3d0754e77c7cd5f97f5d106dc9b8a2c ssh-agent 05:59:32 SSH_AUTH_SOCK=/tmp/ssh-fbrDGslUxE1u/agent.70 05:59:32 SSH_AGENT_PID=76 05:59:32 Running ssh-add (command line suppressed) 05:59:32 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-301@tmp/private_key_4865831939376741645.key (/w/workspace/gexfoundry_device-snmp-go_PR-301@tmp/private_key_4865831939376741645.key) 05:59:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:33 + git semver init 05:59:33 2023-05-04 05:59:33,291 [run_init] DEBUG init version:0.0.0 force:False 05:59:33 2023-05-04 05:59:33,292 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-301/.semver 05:59:33 2023-05-04 05:59:33,293 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-301/.semver 05:59:33 2023-05-04 05:59:33,293 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-301/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-301, universal_newlines=False, shell=None, istream=None) 05:59:34 2023-05-04 05:59:34,093 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-301/.git/info/exclude 05:59:34 2023-05-04 05:59:34,093 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-301/.semver/PR-301 with force:False 05:59:34 2023-05-04 05:59:34,093 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-301/.semver/PR-301 05:59:34 2023-05-04 05:59:34,099 [execute] INFO git cat-file --batch-check 05:59:34 2023-05-04 05:59:34,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-301/.semver, universal_newlines=False, shell=None, istream=) 05:59:34 2023-05-04 05:59:34,106 [execute] INFO git cat-file --batch 05:59:34 2023-05-04 05:59:34,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-301/.semver, universal_newlines=False, shell=None, istream=) 05:59:34 2023-05-04 05:59:34,112 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-301/.semver/PR-301 05:59:34 0.0.0 [Pipeline] } 05:59:34 $ docker exec --env ******** --env ******** 4c67558b617c5d88fc93ed19fab589f5b3d0754e77c7cd5f97f5d106dc9b8a2c ssh-agent -k 05:59:34 unset SSH_AUTH_SOCK; 05:59:34 unset SSH_AGENT_PID; 05:59:34 echo Agent pid 76 killed; 05:59:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:34 + git semver [Pipeline] } 05:59:35 $ docker stop --time=1 4c67558b617c5d88fc93ed19fab589f5b3d0754e77c7cd5f97f5d106dc9b8a2c 05:59:36 $ docker rm -f --volumes 4c67558b617c5d88fc93ed19fab589f5b3d0754e77c7cd5f97f5d106dc9b8a2c [Pipeline] // withDockerContainer [Pipeline] sh 05:59:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:59:37 Stashed 1 file(s) [Pipeline] echo 05:59:37 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:37 provisioning config files... 05:59:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-301@tmp/config11589528086388289808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:38 ---> docker-login.sh 05:59:38 nexus3.edgexfoundry.org:10001 05:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:38 Configure a credential helper to remove this warning. See 05:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:38 05:59:38 Login Succeeded 05:59:38 nexus3.edgexfoundry.org:10002 05:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:38 Configure a credential helper to remove this warning. See 05:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:38 05:59:38 Login Succeeded 05:59:38 nexus3.edgexfoundry.org:10003 05:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:38 Configure a credential helper to remove this warning. See 05:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:38 05:59:38 Login Succeeded 05:59:38 nexus3.edgexfoundry.org:10004 05:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:38 Configure a credential helper to remove this warning. See 05:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:38 05:59:38 Login Succeeded 05:59:38 docker.io 05:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:38 Configure a credential helper to remove this warning. See 05:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:38 05:59:38 Login Succeeded 05:59:38 ---> docker-login.sh ends [Pipeline] } 05:59:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:38 ========================================================= 05:59:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:59:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:59:39 Sending build context to Docker daemon 5.809MB 05:59:39 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:59:39 Step 2/12 : FROM ${BASE} AS builder 05:59:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:39 f56be85fc22e: Pulling fs layer 05:59:39 85791d961cd3: Pulling fs layer 05:59:39 d694b5ae8c79: Pulling fs layer 05:59:39 9f32a84ed3da: Pulling fs layer 05:59:39 4d19c01a9841: Pulling fs layer 05:59:39 9325e15d5711: Pulling fs layer 05:59:39 556b6ee489ea: Pulling fs layer 05:59:39 c5a4b2cf53e6: Pulling fs layer 05:59:39 9f32a84ed3da: Waiting 05:59:39 9325e15d5711: Waiting 05:59:39 4d19c01a9841: Waiting 05:59:39 556b6ee489ea: Waiting 05:59:39 c5a4b2cf53e6: Waiting 05:59:39 85791d961cd3: Verifying Checksum 05:59:39 85791d961cd3: Download complete 05:59:39 9f32a84ed3da: Download complete 05:59:39 4d19c01a9841: Verifying Checksum 05:59:39 4d19c01a9841: Download complete 05:59:39 f56be85fc22e: Verifying Checksum 05:59:39 f56be85fc22e: Download complete 05:59:39 9325e15d5711: Verifying Checksum 05:59:39 9325e15d5711: Download complete 05:59:39 f56be85fc22e: Pull complete 05:59:39 85791d961cd3: Pull complete 05:59:40 c5a4b2cf53e6: Verifying Checksum 05:59:40 c5a4b2cf53e6: Download complete 05:59:40 d694b5ae8c79: Verifying Checksum 05:59:40 d694b5ae8c79: Download complete 05:59:40 556b6ee489ea: Verifying Checksum 05:59:40 556b6ee489ea: Download complete 05:59:43 d694b5ae8c79: Pull complete 05:59:43 9f32a84ed3da: Pull complete 05:59:44 4d19c01a9841: Pull complete 05:59:44 9325e15d5711: Pull complete 05:59:46 556b6ee489ea: Pull complete 05:59:47 c5a4b2cf53e6: Pull complete 05:59:47 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:59:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:59:47 ---> c4be618373d6 05:59:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:59:52 Still waiting to schedule task 05:59:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:59:54 ---> Running in 75d415c7c002 05:59:54 Removing intermediate container 75d415c7c002 05:59:54 ---> b4ba99dd104d 05:59:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:59:54 ---> Running in 2d781a8335bc 05:59:54 Removing intermediate container 2d781a8335bc 05:59:54 ---> da1359b9bf7d 05:59:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:59:54 ---> Running in 800bdcb9da71 05:59:54 Removing intermediate container 800bdcb9da71 05:59:54 ---> a9a3d8eefec8 05:59:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:59:54 ---> Running in 45914703f9b0 05:59:54 Removing intermediate container 45914703f9b0 05:59:54 ---> 6dc57313463c 05:59:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:59:54 ---> Running in e86a0018c401 05:59:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:59:55 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:59:55 (2/4) Installing libedit (20221030.3.1-r0) 05:59:55 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:59:55 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:59:55 Executing busybox-1.35.0-r29.trigger 05:59:55 OK: 269 MiB in 57 packages 05:59:56 Removing intermediate container e86a0018c401 05:59:56 ---> d26c18fec7b0 05:59:56 Step 8/12 : WORKDIR /device-snmp-go 05:59:56 ---> Running in b13ff93e3880 05:59:56 Removing intermediate container b13ff93e3880 05:59:56 ---> b672bb79e0cb 05:59:56 Step 9/12 : COPY go.mod vendor* ./ 05:59:56 ---> c00769d0d138 05:59:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:56 ---> Running in f1be9b0a91e2 06:00:28 Removing intermediate container f1be9b0a91e2 06:00:28 ---> d72e340bf8c1 06:00:28 Step 11/12 : COPY . . 06:00:28 ---> bcb82b165595 06:00:28 Step 12/12 : RUN ${MAKE} 06:00:28 ---> Running in 90f6d1f51e97 06:00:28 noop 06:00:28 Removing intermediate container 90f6d1f51e97 06:00:28 ---> f958f33f2c9f 06:00:28 Successfully built f958f33f2c9f 06:00:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:29 + docker inspect -f . ci-base-image-x86_64 06:00:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:29 prd-ubuntu20.04-docker-8c-8g-13263 does not seem to be running inside a container 06:00:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-301 -v /w/workspace/gexfoundry_device-snmp-go_PR-301:/w/workspace/gexfoundry_device-snmp-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-301@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-301@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 06:00:29 $ docker top f45270137999d91c03efde37a3ba65d7fa97e9b63c310bbdc3ef4c7cb76200c3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:30 + go version 06:00:30 go version go1.20.2 linux/amd64 [Pipeline] } 06:00:30 $ docker stop --time=1 f45270137999d91c03efde37a3ba65d7fa97e9b63c310bbdc3ef4c7cb76200c3 06:00:31 $ docker rm -f --volumes f45270137999d91c03efde37a3ba65d7fa97e9b63c310bbdc3ef4c7cb76200c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:32 + docker inspect -f . ci-base-image-x86_64 06:00:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:32 prd-ubuntu20.04-docker-8c-8g-13263 does not seem to be running inside a container 06:00:32 $ 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-301 -v /w/workspace/gexfoundry_device-snmp-go_PR-301:/w/workspace/gexfoundry_device-snmp-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-301@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-301@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 06:00:33 $ docker top 4b6806230acbc3ef94fc9edd2e2b2f02c9a58d75b8e619dcc3ffc51548a6c73e -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:33 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-301 [Pipeline] fileExists [Pipeline] sh 06:00:33 + make test 06:00:33 go test ./... -coverprofile=coverage.out 06:00:39 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:00:49 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:00:49 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 06:00:54 go vet ./... 06:00:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:57 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:00:57 $ docker stop --time=1 4b6806230acbc3ef94fc9edd2e2b2f02c9a58d75b8e619dcc3ffc51548a6c73e 06:01:03 $ docker rm -f --volumes 4b6806230acbc3ef94fc9edd2e2b2f02c9a58d75b8e619dcc3ffc51548a6c73e [Pipeline] // withDockerContainer [Pipeline] sh 06:01:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:04 + ls -al . 06:01:04 total 172 06:01:04 drwxrwxr-x 9 jenkins jenkins 4096 May 4 06:00 . 06:01:04 drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:59 .. 06:01:04 -rw-rw-r-- 1 jenkins jenkins 6 May 4 05:59 .dockerignore 06:01:04 drwxrwxr-x 8 jenkins jenkins 4096 May 4 05:59 .git 06:01:04 drwxrwxr-x 3 jenkins jenkins 4096 May 4 05:59 .github 06:01:04 -rw-rw-r-- 1 jenkins jenkins 328 May 4 05:59 .gitignore 06:01:04 -rw-rw-r-- 1 jenkins jenkins 41 May 4 05:59 .golangci.yml 06:01:04 drwxr-xr-x 3 jenkins jenkins 4096 May 4 05:59 .semver 06:01:04 -rw-rw-r-- 1 jenkins jenkins 9056 May 4 05:59 Attribution.txt 06:01:04 -rw-rw-r-- 1 jenkins jenkins 8355 May 4 05:59 CHANGELOG.md 06:01:04 -rw-rw-r-- 1 jenkins jenkins 1423 May 4 05:59 Dockerfile 06:01:04 -rw-rw-r-- 1 jenkins jenkins 677 May 4 05:59 GOVERNANCE.md 06:01:04 -rw-rw-r-- 1 jenkins jenkins 656 May 4 05:59 Jenkinsfile 06:01:04 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 05:59 LICENSE 06:01:04 -rw-rw-r-- 1 jenkins jenkins 2114 May 4 05:59 Makefile 06:01:04 -rw-rw-r-- 1 jenkins jenkins 620 May 4 05:59 OWNERS.md 06:01:04 -rw-rw-r-- 1 jenkins jenkins 10054 May 4 05:59 README.md 06:01:04 -rw-rw-r-- 1 jenkins jenkins 5 May 4 05:59 VERSION 06:01:04 drwxrwxr-x 2 jenkins jenkins 4096 May 4 05:59 bin 06:01:04 drwxrwxr-x 3 jenkins jenkins 4096 May 4 05:59 cmd 06:01:04 -rw-r--r-- 1 jenkins jenkins 8837 May 4 06:00 coverage.out 06:01:04 -rw-rw-r-- 1 jenkins jenkins 3283 May 4 05:59 go.mod 06:01:04 -rw-rw-r-- 1 jenkins jenkins 31326 May 4 05:59 go.sum 06:01:04 drwxrwxr-x 3 jenkins jenkins 4096 May 4 05:59 internal 06:01:04 drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:59 snap 06:01:04 -rw-rw-r-- 1 jenkins jenkins 228 May 4 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:05 + 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=fab5868797cb5e94d67718fe517b0f3008978999 --label arch=amd64 --label version=0.0.0 . 06:01:05 Sending build context to Docker daemon 5.819MB 06:01:05 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:01:05 Step 2/24 : FROM ${BASE} AS builder 06:01:05 ---> f958f33f2c9f 06:01:05 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:01:05 ---> Running in 01ca163f392c 06:01:05 Removing intermediate container 01ca163f392c 06:01:05 ---> 7bc51e2cb17c 06:01:05 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:01:05 ---> Running in df3908cbadc2 06:01:05 Removing intermediate container df3908cbadc2 06:01:05 ---> e01832261e8f 06:01:05 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:01:05 ---> Running in fed8d26f9a86 06:01:05 Removing intermediate container fed8d26f9a86 06:01:05 ---> 306e66a6b3a6 06:01:05 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:01:05 ---> Running in d2fdec3e9eb9 06:01:05 Removing intermediate container d2fdec3e9eb9 06:01:05 ---> 03c2c5abf503 06:01:05 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:01:05 ---> Running in 0ee3845a75b2 06:01:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:06 OK: 269 MiB in 57 packages 06:01:07 Removing intermediate container 0ee3845a75b2 06:01:07 ---> 30a74926777f 06:01:07 Step 8/24 : WORKDIR /device-snmp-go 06:01:07 ---> Running in 5db3d1af69cc 06:01:07 Removing intermediate container 5db3d1af69cc 06:01:07 ---> 9b6024ad6f46 06:01:07 Step 9/24 : COPY go.mod vendor* ./ 06:01:07 ---> d8e0fdfdc577 06:01:07 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:07 ---> Running in 707da49634a7 06:01:08 Removing intermediate container 707da49634a7 06:01:08 ---> 30291bc54fe6 06:01:08 Step 11/24 : COPY . . 06:01:09 ---> 43972f601afc 06:01:09 Step 12/24 : RUN ${MAKE} 06:01:09 ---> Running in 8f6d41fd1846 06:01:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:01:31 Removing intermediate container 8f6d41fd1846 06:01:31 ---> 1ff267be714b 06:01:31 Step 13/24 : FROM alpine:3.17 06:01:31 3.17: Pulling from library/alpine 06:01:31 f56be85fc22e: Already exists 06:01:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:01:31 Status: Downloaded newer image for alpine:3.17 06:01:31 ---> 9ed4aefc74f6 06:01:31 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:01:31 ---> Running in ecdefe96deb4 06:01:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:01:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:01:31 (1/1) Installing dumb-init (1.2.5-r2) 06:01:31 Executing busybox-1.35.0-r29.trigger 06:01:31 OK: 7 MiB in 16 packages 06:01:31 Removing intermediate container ecdefe96deb4 06:01:31 ---> 6e976f0d0b7f 06:01:31 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:01:31 ---> 84af8e2d053d 06:01:31 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:01:31 ---> 8fe5fb69b87c 06:01:31 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:01:31 ---> 917cde01489e 06:01:31 Step 18/24 : EXPOSE 59993 06:01:31 ---> Running in d3c6b4c2ddd7 06:01:31 Removing intermediate container d3c6b4c2ddd7 06:01:31 ---> 3dfde37b9a92 06:01:31 Step 19/24 : EXPOSE 161 06:01:31 ---> Running in cd2e3e8722b3 06:01:31 Removing intermediate container cd2e3e8722b3 06:01:31 ---> 162062356eee 06:01:31 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:01:31 ---> Running in 1df38e1cd82c 06:01:31 Removing intermediate container 1df38e1cd82c 06:01:31 ---> 502c616322d5 06:01:31 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:01:31 ---> Running in bc034fe5b453 06:01:31 Removing intermediate container bc034fe5b453 06:01:31 ---> 77b33240e10b 06:01:31 Step 22/24 : LABEL arch=amd64 06:01:31 ---> Running in 1368c83d205d 06:01:31 Removing intermediate container 1368c83d205d 06:01:31 ---> a8705dcd64f5 06:01:31 Step 23/24 : LABEL git_sha=fab5868797cb5e94d67718fe517b0f3008978999 06:01:31 ---> Running in c21f4293efcd 06:01:31 Removing intermediate container c21f4293efcd 06:01:31 ---> 54df73fc150c 06:01:31 Step 24/24 : LABEL version=0.0.0 06:01:31 ---> Running in 9fa18c5570ff 06:01:31 Removing intermediate container 9fa18c5570ff 06:01:31 ---> 73db7964686b 06:01:31 [Warning] One or more build-args [ARCH] were not consumed 06:01:31 Successfully built 73db7964686b 06:01:31 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 06:01:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:32 06:01:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:32 latest: Pulling from edgex-lftools-log-publisher 06:01:32 5eb5b503b376: Pulling fs layer 06:01:32 5c69ac0246d0: Pulling fs layer 06:01:32 ec43610c2a17: Pulling fs layer 06:01:32 3a2ae6a8a46f: Pulling fs layer 06:01:32 33b1e0a273af: Pulling fs layer 06:01:32 5d3b04190fa2: Pulling fs layer 06:01:32 2f39f015ded8: Pulling fs layer 06:01:32 3a2ae6a8a46f: Waiting 06:01:32 33b1e0a273af: Waiting 06:01:32 5d3b04190fa2: Waiting 06:01:32 2f39f015ded8: Waiting 06:01:32 5c69ac0246d0: Verifying Checksum 06:01:32 5c69ac0246d0: Download complete 06:01:32 3a2ae6a8a46f: Verifying Checksum 06:01:32 3a2ae6a8a46f: Download complete 06:01:32 ec43610c2a17: Verifying Checksum 06:01:32 ec43610c2a17: Download complete 06:01:32 33b1e0a273af: Verifying Checksum 06:01:32 33b1e0a273af: Download complete 06:01:32 5d3b04190fa2: Verifying Checksum 06:01:32 5d3b04190fa2: Download complete 06:01:32 5eb5b503b376: Verifying Checksum 06:01:32 5eb5b503b376: Download complete 06:01:33 2f39f015ded8: Download complete 06:01:33 5eb5b503b376: Pull complete 06:01:33 5c69ac0246d0: Pull complete 06:01:34 ec43610c2a17: Pull complete 06:01:34 3a2ae6a8a46f: Pull complete 06:01:34 33b1e0a273af: Pull complete 06:01:34 5d3b04190fa2: Pull complete 06:01:38 2f39f015ded8: Pull complete 06:01:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:39 prd-ubuntu20.04-docker-8c-8g-13263 does not seem to be running inside a container 06:01:39 $ 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-301 -v /w/workspace/gexfoundry_device-snmp-go_PR-301:/w/workspace/gexfoundry_device-snmp-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-301@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-301@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 06:01:45 $ docker top 475621d7744ae52c0a89e4e1fcd77adfd3ce78f4b0aa407f93c9f5f69e8ed91e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:45 ---> job-cost.sh 06:01:45 lf-activate-venv: SKIPPING 06:01:45 INFO: No Stack... 06:01:46 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:46 INFO: Archiving Costs [Pipeline] sh 06:01:47 + cat /w/workspace/gexfoundry_device-snmp-go_PR-301/archives/cost.csv 06:01:47 + cut -d, -f6 [Pipeline] lock 06:01:47 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-301-1-stack-cost] 06:01:47 Resource [jenkins-edgexfoundry-device-snmp-go-PR-301-1-stack-cost] did not exist. Created. 06:01:47 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:47 + echo total: 0.2199999988079071 [Pipeline] stash 06:01:47 Stashed 1 file(s) [Pipeline] } 06:01:47 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:01:47 $ docker stop --time=1 475621d7744ae52c0a89e4e1fcd77adfd3ce78f4b0aa407f93c9f5f69e8ed91e 06:01:48 $ docker rm -f --volumes 475621d7744ae52c0a89e4e1fcd77adfd3ce78f4b0aa407f93c9f5f69e8ed91e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:02:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13265 in /w/workspace/gexfoundry_device-snmp-go_PR-301 [Pipeline] { [Pipeline] ws 06:02:21 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:02:21 Selected Git installation does not exist. Using Default 06:02:21 The recommended git tool is: NONE 06:02:27 using credential edgex-jenkins-ssh 06:02:27 Cloning the remote Git repository 06:02:27 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:02:27 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:02:27 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:02:27 > git --version # timeout=10 06:02:27 > git --version # 'git version 2.25.1' 06:02:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:29 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:02:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:02:30 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:02:30 Merging remotes/origin/main commit 4540667df76160ba2257f08fa194345a2d771c5a into PR head commit fab5868797cb5e94d67718fe517b0f3008978999 06:02:31 Merge succeeded, producing fab5868797cb5e94d67718fe517b0f3008978999 06:02:31 Checking out Revision fab5868797cb5e94d67718fe517b0f3008978999 (PR-301) 06:02:30 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:02:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:02:30 > git config core.sparsecheckout # timeout=10 06:02:30 > git checkout -f fab5868797cb5e94d67718fe517b0f3008978999 # timeout=10 06:02:31 > git remote # timeout=10 06:02:31 > git config --get remote.origin.url # timeout=10 06:02:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:02:31 > git merge 4540667df76160ba2257f08fa194345a2d771c5a # timeout=10 06:02:31 > git rev-parse HEAD^{commit} # timeout=10 06:02:31 > git config core.sparsecheckout # timeout=10 06:02:31 > git checkout -f fab5868797cb5e94d67718fe517b0f3008978999 # timeout=10 06:02:31 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 06:02:31 > git --version # timeout=10 06:02:31 > git --version # 'git version 2.25.1' 06:02:31 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:02:32 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:32 Dload Upload Total Spent Left Speed 06:02:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 06:02:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:02:33 + sudo tee /etc/docker/daemon.new 06:02:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:02:33 { 06:02:33 "registry-mirrors": [ 06:02:33 "https://nexus3.edgexfoundry.org:10001" 06:02:33 ], 06:02:33 "bip": "10.250.0.254/24", 06:02:33 "hosts": [ 06:02:33 "tcp://0.0.0.0:5555", 06:02:33 "unix:///var/run/docker.sock" 06:02:33 ], 06:02:33 "mtu": 1458, 06:02:33 "selinux-enabled": true, 06:02:33 "seccomp-profile": "/etc/docker/seccomp.json" 06:02:33 } [Pipeline] sh 06:02:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:02:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:52 provisioning config files... 06:02:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config10846720703019352656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:53 ---> docker-login.sh 06:02:53 nexus3.edgexfoundry.org:10001 06:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:54 Configure a credential helper to remove this warning. See 06:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:54 06:02:54 Login Succeeded 06:02:54 nexus3.edgexfoundry.org:10002 06:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:54 Configure a credential helper to remove this warning. See 06:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:54 06:02:54 Login Succeeded 06:02:54 nexus3.edgexfoundry.org:10003 06:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:54 Configure a credential helper to remove this warning. See 06:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:54 06:02:54 Login Succeeded 06:02:54 nexus3.edgexfoundry.org:10004 06:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:55 Configure a credential helper to remove this warning. See 06:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:55 06:02:55 Login Succeeded 06:02:55 docker.io 06:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:02:55 Configure a credential helper to remove this warning. See 06:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:02:55 06:02:55 Login Succeeded 06:02:55 ---> docker-login.sh ends [Pipeline] } 06:02:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:02:56 ========================================================= 06:02:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:02:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:02:57 Sending build context to Docker daemon 3.009MB 06:02:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:02:57 Step 2/12 : FROM ${BASE} AS builder 06:02:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:02:57 c41833b44d91: Pulling fs layer 06:02:57 ed15518f5707: Pulling fs layer 06:02:57 feae8fd75edb: Pulling fs layer 06:02:57 242c74f7c9fa: Pulling fs layer 06:02:57 3cdef696dda3: Pulling fs layer 06:02:57 2ced38df9373: Pulling fs layer 06:02:57 58f1dce35555: Pulling fs layer 06:02:57 242c74f7c9fa: Waiting 06:02:57 3cdef696dda3: Waiting 06:02:57 2ced38df9373: Waiting 06:02:57 58f1dce35555: Waiting 06:02:57 ed15518f5707: Download complete 06:02:57 242c74f7c9fa: Download complete 06:02:57 3cdef696dda3: Verifying Checksum 06:02:57 3cdef696dda3: Download complete 06:02:57 c41833b44d91: Verifying Checksum 06:02:57 c41833b44d91: Download complete 06:02:58 58f1dce35555: Verifying Checksum 06:02:58 58f1dce35555: Download complete 06:02:59 c41833b44d91: Pull complete 06:02:59 feae8fd75edb: Verifying Checksum 06:02:59 feae8fd75edb: Download complete 06:03:00 2ced38df9373: Verifying Checksum 06:03:00 ed15518f5707: Pull complete 06:03:10 feae8fd75edb: Pull complete 06:03:10 242c74f7c9fa: Pull complete 06:03:11 3cdef696dda3: Pull complete 06:03:17 2ced38df9373: Pull complete 06:03:20 58f1dce35555: Pull complete 06:03:20 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:03:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:03:20 ---> fadd8f120f05 06:03:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:03:22 ---> Running in fb1efa2bb20e 06:03:22 Removing intermediate container fb1efa2bb20e 06:03:22 ---> ce5d1d845314 06:03:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:03:22 ---> Running in 3be7a2f7ac45 06:03:22 Removing intermediate container 3be7a2f7ac45 06:03:22 ---> 50a1fe3fee33 06:03:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:03:23 ---> Running in 87349766eebb 06:03:23 Removing intermediate container 87349766eebb 06:03:23 ---> f2d9a95ab0f0 06:03:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:03:23 ---> Running in a1174b5d5b76 06:03:23 Removing intermediate container a1174b5d5b76 06:03:23 ---> 872d98b39443 06:03:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:03:23 ---> Running in b34b724bb1a0 06:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:03:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:03:26 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:03:26 (2/4) Installing libedit (20221030.3.1-r0) 06:03:26 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:03:26 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:03:26 Executing busybox-1.35.0-r29.trigger 06:03:26 OK: 268 MiB in 57 packages 06:03:27 Removing intermediate container b34b724bb1a0 06:03:27 ---> 640863b819a0 06:03:27 Step 8/12 : WORKDIR /device-snmp-go 06:03:27 ---> Running in 4143d1efe412 06:03:27 Removing intermediate container 4143d1efe412 06:03:27 ---> 1c2131040094 06:03:27 Step 9/12 : COPY go.mod vendor* ./ 06:03:28 ---> 42d5d11712c2 06:03:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:03:28 ---> Running in c97244b7f600 06:04:36 Removing intermediate container c97244b7f600 06:04:36 ---> 8ce866fd4941 06:04:36 Step 11/12 : COPY . . 06:04:36 ---> 71ba55d12c94 06:04:36 Step 12/12 : RUN ${MAKE} 06:04:36 ---> Running in 4f82415c6bb8 06:04:36 noop 06:04:36 Removing intermediate container 4f82415c6bb8 06:04:36 ---> 3b151d8c215a 06:04:36 Successfully built 3b151d8c215a 06:04:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:36 + docker inspect -f . ci-base-image-arm64 06:04:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:37 prd-ubuntu20.04-docker-arm64-4c-16g-13265 does not seem to be running inside a container 06:04:37 $ 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 06:04:38 $ docker top c70d9f3eb2196371c1bd107a9c7589871ca5f0f78f10ba3cf2d565e88c4da8ae -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:39 + go version 06:04:39 go version go1.20.2 linux/arm64 [Pipeline] } 06:04:39 $ docker stop --time=1 c70d9f3eb2196371c1bd107a9c7589871ca5f0f78f10ba3cf2d565e88c4da8ae 06:04:41 $ docker rm -f --volumes c70d9f3eb2196371c1bd107a9c7589871ca5f0f78f10ba3cf2d565e88c4da8ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:42 + docker inspect -f . ci-base-image-arm64 06:04:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:42 prd-ubuntu20.04-docker-arm64-4c-16g-13265 does not seem to be running inside a container 06:04:42 $ 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 06:04:45 $ docker top dbb54ccd1557f91c5302904f4b7d22ec4967121433836071f29bd319c96409bc -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:46 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:04:47 + make test 06:04:47 go test ./... -coverprofile=coverage.out 06:05:26 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:07:17 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:07:21 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements 06:07:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:07:21 go vet ./... 06:07:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:07:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:07:48 ./bin/test-attribution-txt.sh [Pipeline] echo 06:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:07:48 $ docker stop --time=1 dbb54ccd1557f91c5302904f4b7d22ec4967121433836071f29bd319c96409bc 06:07:50 $ docker rm -f --volumes dbb54ccd1557f91c5302904f4b7d22ec4967121433836071f29bd319c96409bc [Pipeline] // withDockerContainer [Pipeline] sh 06:07:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:51 Warning: overwriting stash ‘coverage-report’ 06:07:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:53 + ls -al . 06:07:53 total 168 06:07:53 drwxrwxr-x 8 jenkins jenkins 4096 May 4 06:04 . 06:07:53 drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:02 .. 06:07:53 -rw-rw-r-- 1 jenkins jenkins 6 May 4 06:02 .dockerignore 06:07:53 drwxrwxr-x 8 jenkins jenkins 4096 May 4 06:02 .git 06:07:53 drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:02 .github 06:07:53 -rw-rw-r-- 1 jenkins jenkins 328 May 4 06:02 .gitignore 06:07:53 -rw-rw-r-- 1 jenkins jenkins 41 May 4 06:02 .golangci.yml 06:07:53 -rw-rw-r-- 1 jenkins jenkins 9056 May 4 06:02 Attribution.txt 06:07:53 -rw-rw-r-- 1 jenkins jenkins 8355 May 4 06:02 CHANGELOG.md 06:07:53 -rw-rw-r-- 1 jenkins jenkins 1423 May 4 06:02 Dockerfile 06:07:53 -rw-rw-r-- 1 jenkins jenkins 677 May 4 06:02 GOVERNANCE.md 06:07:53 -rw-rw-r-- 1 jenkins jenkins 656 May 4 06:02 Jenkinsfile 06:07:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 4 06:02 LICENSE 06:07:53 -rw-rw-r-- 1 jenkins jenkins 2114 May 4 06:02 Makefile 06:07:53 -rw-rw-r-- 1 jenkins jenkins 620 May 4 06:02 OWNERS.md 06:07:53 -rw-rw-r-- 1 jenkins jenkins 10054 May 4 06:02 README.md 06:07:53 -rw-rw-r-- 1 jenkins jenkins 5 May 4 05:59 VERSION 06:07:53 drwxrwxr-x 2 jenkins jenkins 4096 May 4 06:02 bin 06:07:53 drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:02 cmd 06:07:53 -rw-r--r-- 1 jenkins jenkins 8837 May 4 06:07 coverage.out 06:07:53 -rw-rw-r-- 1 jenkins jenkins 3283 May 4 06:02 go.mod 06:07:53 -rw-rw-r-- 1 jenkins jenkins 31326 May 4 06:02 go.sum 06:07:53 drwxrwxr-x 3 jenkins jenkins 4096 May 4 06:02 internal 06:07:53 drwxrwxr-x 4 jenkins jenkins 4096 May 4 06:02 snap 06:07:53 -rw-rw-r-- 1 jenkins jenkins 228 May 4 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:53 + 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=fab5868797cb5e94d67718fe517b0f3008978999 --label arch=arm64 --label version=0.0.0 . 06:07:53 Sending build context to Docker daemon 3.019MB 06:07:53 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 06:07:53 Step 2/24 : FROM ${BASE} AS builder 06:07:53 ---> 3b151d8c215a 06:07:53 Step 3/24 : ARG ADD_BUILD_TAGS="" 06:07:54 ---> Running in 55b67f1a392b 06:07:54 Removing intermediate container 55b67f1a392b 06:07:54 ---> 356ec34e25ca 06:07:54 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:07:54 ---> Running in 8af5b39b71aa 06:07:54 Removing intermediate container 8af5b39b71aa 06:07:54 ---> c9902d19264a 06:07:54 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:07:54 ---> Running in 63c79cb7d98a 06:07:55 Removing intermediate container 63c79cb7d98a 06:07:55 ---> c7cc550e1109 06:07:55 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 06:07:55 ---> Running in 76de339610c1 06:07:55 Removing intermediate container 76de339610c1 06:07:55 ---> 32d917f0f403 06:07:55 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:07:55 ---> Running in 22e1a87abcd2 06:07:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:07:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:07:57 OK: 268 MiB in 57 packages 06:07:58 Removing intermediate container 22e1a87abcd2 06:07:58 ---> 2d165082deba 06:07:58 Step 8/24 : WORKDIR /device-snmp-go 06:07:58 ---> Running in fb2b134dcced 06:07:59 Removing intermediate container fb2b134dcced 06:07:59 ---> d40c3d185687 06:07:59 Step 9/24 : COPY go.mod vendor* ./ 06:07:59 ---> c449545a6b7a 06:07:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:59 ---> Running in 2767ece437fd 06:08:02 Removing intermediate container 2767ece437fd 06:08:02 ---> e251c828b2d3 06:08:02 Step 11/24 : COPY . . 06:08:03 ---> 3240b0b2eb36 06:08:03 Step 12/24 : RUN ${MAKE} 06:08:03 ---> Running in 1dd8ef01cb9c 06:08:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:10:26 Removing intermediate container 1dd8ef01cb9c 06:10:26 ---> b525a6e19a65 06:10:26 Step 13/24 : FROM alpine:3.17 06:10:26 3.17: Pulling from library/alpine 06:10:26 c41833b44d91: Already exists 06:10:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:10:26 Status: Downloaded newer image for alpine:3.17 06:10:26 ---> 51e60588ff2c 06:10:26 Step 14/24 : RUN apk add --update --no-cache dumb-init 06:10:26 ---> Running in 6a9c3213a16e 06:10:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:10:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:10:26 (1/1) Installing dumb-init (1.2.5-r2) 06:10:26 Executing busybox-1.35.0-r29.trigger 06:10:26 OK: 8 MiB in 16 packages 06:10:26 Removing intermediate container 6a9c3213a16e 06:10:26 ---> ff92f8a3eee6 06:10:26 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:10:26 ---> b26470bd0ebd 06:10:26 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:10:26 ---> 25eef5d93d96 06:10:26 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:10:26 ---> 37bada340b91 06:10:26 Step 18/24 : EXPOSE 59993 06:10:26 ---> Running in a229d0b60070 06:10:26 Removing intermediate container a229d0b60070 06:10:26 ---> 6b52fbec61ad 06:10:26 Step 19/24 : EXPOSE 161 06:10:26 ---> Running in 6f4d39aa96a9 06:10:26 Removing intermediate container 6f4d39aa96a9 06:10:26 ---> d784018ff113 06:10:26 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:10:26 ---> Running in c4aa5d5f67d3 06:10:26 Removing intermediate container c4aa5d5f67d3 06:10:26 ---> 23a963186280 06:10:26 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:10:26 ---> Running in 51d9892fde7d 06:10:26 Removing intermediate container 51d9892fde7d 06:10:26 ---> f3bbfd6baa17 06:10:26 Step 22/24 : LABEL arch=arm64 06:10:26 ---> Running in 87fda9acba74 06:10:26 Removing intermediate container 87fda9acba74 06:10:26 ---> a4ccbd009bd9 06:10:26 Step 23/24 : LABEL git_sha=fab5868797cb5e94d67718fe517b0f3008978999 06:10:26 ---> Running in 6ae3c1c73746 06:10:26 Removing intermediate container 6ae3c1c73746 06:10:26 ---> b9c580097d71 06:10:26 Step 24/24 : LABEL version=0.0.0 06:10:26 ---> Running in 8f9ca3321c60 06:10:26 Removing intermediate container 8f9ca3321c60 06:10:26 ---> 263160315b8c 06:10:26 [Warning] One or more build-args [ARCH] were not consumed 06:10:26 Successfully built 263160315b8c 06:10:26 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:26 06:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:27 arm64: Pulling from edgex-lftools-log-publisher 06:10:27 8998bd30e6a1: Pulling fs layer 06:10:27 04944245beec: Pulling fs layer 06:10:27 699f458cf7ca: Pulling fs layer 06:10:27 765212b225bb: Pulling fs layer 06:10:27 f23df028b6ca: Pulling fs layer 06:10:27 d65c8cfc05b1: Pulling fs layer 06:10:27 2437ff75d9bd: Pulling fs layer 06:10:27 f23df028b6ca: Waiting 06:10:27 d65c8cfc05b1: Waiting 06:10:27 2437ff75d9bd: Waiting 06:10:27 765212b225bb: Waiting 06:10:27 04944245beec: Verifying Checksum 06:10:27 04944245beec: Download complete 06:10:27 765212b225bb: Verifying Checksum 06:10:27 765212b225bb: Download complete 06:10:27 f23df028b6ca: Verifying Checksum 06:10:27 f23df028b6ca: Download complete 06:10:27 d65c8cfc05b1: Verifying Checksum 06:10:27 d65c8cfc05b1: Download complete 06:10:27 699f458cf7ca: Verifying Checksum 06:10:27 699f458cf7ca: Download complete 06:10:28 8998bd30e6a1: Verifying Checksum 06:10:28 8998bd30e6a1: Download complete 06:10:30 2437ff75d9bd: Verifying Checksum 06:10:30 2437ff75d9bd: Download complete 06:10:31 8998bd30e6a1: Pull complete 06:10:32 04944245beec: Pull complete 06:10:33 699f458cf7ca: Pull complete 06:10:34 765212b225bb: Pull complete 06:10:35 f23df028b6ca: Pull complete 06:10:35 d65c8cfc05b1: Pull complete 06:10:50 2437ff75d9bd: Pull complete 06:10:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:10:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:04 prd-ubuntu20.04-docker-arm64-4c-16g-13265 does not seem to be running inside a container 06:11:05 $ 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 06:11:07 $ docker top 017cb478d35c64778fda11c58ce036e3af3903be1e5dc42b8d0dceec20456687 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:08 ---> job-cost.sh 06:11:08 lf-activate-venv: SKIPPING 06:11:08 INFO: No Stack... 06:11:08 INFO: Retrieving Pricing Info for: v3-standard-4 06:11:09 INFO: Archiving Costs [Pipeline] sh 06:11:09 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 06:11:09 + cut -d, -f6 [Pipeline] lock 06:11:09 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-301-1-stack-cost] 06:11:10 Resource [jenkins-edgexfoundry-device-snmp-go-PR-301-1-stack-cost] did not exist. Created. 06:11:10 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:10 /w/workspace/device-snmp-go/1@tmp/durable-fc1ad649/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:11:11 + echo total: 0.10999999940395355 [Pipeline] stash 06:11:11 Warning: overwriting stash ‘stack-cost’ 06:11:11 Stashed 1 file(s) [Pipeline] } 06:11:11 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:11 $ docker stop --time=1 017cb478d35c64778fda11c58ce036e3af3903be1e5dc42b8d0dceec20456687 06:11:13 $ docker rm -f --volumes 017cb478d35c64778fda11c58ce036e3af3903be1e5dc42b8d0dceec20456687 [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 06:11:14 provisioning config files... 06:11:14 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-301@tmp/config4315374508011068475tmp [Pipeline] { [Pipeline] sh 06:11:14 + set +x 06:11:14 + bash -s -- 06:11:14 + curl -s https://codecov.io/bash 06:11:14 06:11:14 _____ _ 06:11:14 / ____| | | 06:11:14 | | ___ __| | ___ ___ _____ __ 06:11:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:11:14 | |___| (_) | (_| | __/ (_| (_) \ V / 06:11:14 \_____\___/ \__,_|\___|\___\___/ \_/ 06:11:14 Bash-1.0.6 06:11:14 06:11:14 06:11:14 ==> git version 2.25.1 found 06:11:14 ==> 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 06:11:14 Release-Date: 2020-01-08 06:11:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:11:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:11:14 ==> Jenkins CI detected. 06:11:14 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-301 06:11:14 project root: . 06:11:14 --> token set from env 06:11:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:11:14 ==> Running gcov in . (disable via -X gcov) 06:11:14 ==> Python coveragepy not found 06:11:14 ==> Searching for coverage reports in: 06:11:14 + . 06:11:14 -> Found 1 reports 06:11:14 ==> Detecting git/mercurial file structure 06:11:14 ==> Reading reports 06:11:14 + ./coverage.out bytes=8837 06:11:14 ==> Appending adjustments 06:11:14 https://docs.codecov.io/docs/fixing-reports 06:11:14 + Found adjustments 06:11:14 ==> Gzipping contents 06:11:14 4.0K /tmp/codecov.ugkHVb.gz 06:11:14 ==> Uploading reports 06:11:14 url: https://codecov.io 06:11:14 query: branch=PR-301&commit=fab5868797cb5e94d67718fe517b0f3008978999&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-301%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=301&job=&cmd_args= 06:11:14 -> Pinging Codecov 06:11:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-301&commit=fab5868797cb5e94d67718fe517b0f3008978999&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-301%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=301&job=&cmd_args= 06:11:14 -> Uploading to 06:11:14 https://storage.googleapis.com/codecov/v4/raw/2023-05-04/6C56EA5C29638FB4528AC87E60AF5AE0/fab5868797cb5e94d67718fe517b0f3008978999/7178cf65-c83f-4fba-bd65-b85fe97bc3c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T061114Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c1df005f22d58dd2a45ca93226f547e197cdce1b5712710e09a163ce0ce1edd 06:11:14 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:14 Dload Upload Total Spent Left Speed 06:11:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7566 --:--:-- --:--:-- --:--:-- 7566 06:11:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/fab5868797cb5e94d67718fe517b0f3008978999 [Pipeline] } 06:11:15 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 06:11:16 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-301/archives ] 06:11:16 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-301/archives 06:11:16 total 16 06:11:16 drwxr-xr-x 3 root root 4096 May 4 06:01 . 06:11:16 drwxrwxr-x 10 jenkins jenkins 4096 May 4 06:01 .. 06:11:16 drwxr-xr-x 2 root root 4096 May 4 06:01 cost 06:11:16 -rw-r--r-- 1 root root 86 May 4 06:01 cost.csv 06:11:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-301/archives 06:11:16 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-301/archives 06:11:16 total 16 06:11:16 drwxr-xr-x 3 jenkins jenkins 4096 May 4 06:01 . 06:11:16 drwxrwxr-x 10 jenkins jenkins 4096 May 4 06:01 .. 06:11:16 drwxr-xr-x 2 jenkins jenkins 4096 May 4 06:01 cost 06:11:16 -rw-r--r-- 1 jenkins jenkins 86 May 4 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:18 ---> package-listing.sh 06:11:18 ++ facter osfamily 06:11:18 ++ tr '[:upper:]' '[:lower:]' 06:11:18 + OS_FAMILY=debian 06:11:18 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-301 06:11:18 + START_PACKAGES=/tmp/packages_start.txt 06:11:18 + END_PACKAGES=/tmp/packages_end.txt 06:11:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:18 + PACKAGES=/tmp/packages_start.txt 06:11:18 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-301 ']' 06:11:18 + PACKAGES=/tmp/packages_end.txt 06:11:18 + case "${OS_FAMILY}" in 06:11:18 + dpkg -l 06:11:18 + grep '^ii' 06:11:18 + '[' -f /tmp/packages_start.txt ']' 06:11:18 + '[' -f /tmp/packages_end.txt ']' 06:11:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:18 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-301 ']' 06:11:18 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-301/archives/ 06:11:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-301/archives/ [Pipeline] echo 06:11:18 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-301/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:19 prd-ubuntu20.04-docker-8c-8g-13263 does not seem to be running inside a container 06:11:19 $ 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-301/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-301 -v /w/workspace/gexfoundry_device-snmp-go_PR-301:/w/workspace/gexfoundry_device-snmp-go_PR-301:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-301@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-301@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 06:11:19 $ docker top eb4baa1c5e2e78c498b3fb7fe8f7262f7ab36f802a1f61465fdbab1f78c000e5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:20 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:20 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:20 + ls /var/log/sa-host 06:11:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:20 provisioning config files... 06:11:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-301@tmp/config897715528593072821tmp [Pipeline] { [Pipeline] echo 06:11:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:21 ---> create-netrc.sh [Pipeline] } 06:11:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:21 ---> python-tools-install.sh [Pipeline] echo 06:11:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:21 ---> sudo-logs.sh 06:11:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:22 ---> job-cost.sh 06:11:22 lf-activate-venv: SKIPPING 06:11:22 DEBUG: total: 0.2199999988079071 06:11:22 INFO: Retrieving Stack Cost... 06:11:22 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:23 INFO: Archiving Costs [Pipeline] echo 06:11:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:23 ---> logs-deploy.sh 06:11:23 lf-activate-venv: SKIPPING 06:11:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-301/1 06:11:23 INFO: archiving workspace using pattern(s): 06:11:24 Archives upload complete. 06:11:24 INFO: archiving logs to Nexus