Pull request #330 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58+16c420418f3d11c50b6d4cdc106b6ff48e0fad87 (2b58ec921e9e67aa37e553bfb8a20c45f176eced) 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-ssh16615644908203635332.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh3827509735002690092.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-330/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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8644117193373713304.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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13419618265686660957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh15262970452471315563.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-330/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-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8871852712908408937.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16990 in /w/workspace/gexfoundry_device-snmp-go_PR-330 [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-330 # 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/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 Merge succeeded, producing 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 Checking out Revision 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 (PR-330) 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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:14:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:14:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 # timeout=10 [Pipeline] echo 05:14:12 ========================================================= 05:14:12 EdgeX Global Pipelines Version Info 05:14:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:14:12 ------------------- 05:14:12 stable info: 05:14:12 ------------------- 05:14:12 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 05:14:12 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:14:12 Message: update stable to v1.0.257 05:14:13 ------------------- 05:14:13 experimental info: 05:14:13 ------------------- 05:14:13 Commited By: **** collab-it+edgex@linuxfoundation.org 05:14:13 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:14:13 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:14:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:14:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:14:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:14:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:14:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:14:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:14:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:14:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:14:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:14:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-330 [Pipeline] echo 05:14:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-330 [Pipeline] echo 05:14:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-330 [Pipeline] echo 05:14:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 [Pipeline] echo 05:14:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f76abc [Pipeline] echo 05:14:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:15 provisioning config files... 05:14:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/config7006734057916091963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:15 ---> docker-login.sh 05:14:15 nexus3.edgexfoundry.org:10001 05:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:16 Configure a credential helper to remove this warning. See 05:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:16 05:14:16 Login Succeeded 05:14:16 nexus3.edgexfoundry.org:10002 05:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:16 Configure a credential helper to remove this warning. See 05:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:16 05:14:16 Login Succeeded 05:14:16 nexus3.edgexfoundry.org:10003 05:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:16 Configure a credential helper to remove this warning. See 05:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:16 05:14:16 Login Succeeded 05:14:16 nexus3.edgexfoundry.org:10004 05:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:16 Configure a credential helper to remove this warning. See 05:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:16 05:14:16 Login Succeeded 05:14:16 docker.io 05:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:17 Configure a credential helper to remove this warning. See 05:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:17 05:14:17 Login Succeeded 05:14:17 ---> docker-login.sh ends [Pipeline] } 05:14:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:14:17 + git rev-list -1 --merges 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58~1..5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 [Pipeline] echo 05:14:17 -----------> git rev-list -1 --merges 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58~1..5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 [false] [Pipeline] sh 05:14:18 + git log --format=format:%s -1 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 [Pipeline] echo 05:14:18 ========================================================= 05:14:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:14:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:18 + git log --format=format:%s -1 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 [Pipeline] echo 05:14:18 [semverPrep] GIT_COMMIT: 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:14:18 [semverPrep] This is not a build commit. [Pipeline] sh 05:14:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:14:19 + grep -v github /etc/ssh/ssh_known_hosts 05:14:19 + [ -e /tmp/ssh_known_hosts ] 05:14:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:14:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:14:19 + sudo tee -a /etc/ssh/ssh_known_hosts 05:14:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:14:19 05:14:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:14:19 0.1.4: Pulling from edgex-devops/py-git-semver 05:14:19 b85a868b505f: Pulling fs layer 05:14:19 e2be974225ed: Pulling fs layer 05:14:19 339a4e72a1f5: Pulling fs layer 05:14:19 988bab9f4d93: Pulling fs layer 05:14:19 1469e6f7b9e6: Pulling fs layer 05:14:19 eaf3925da568: Pulling fs layer 05:14:19 bab4dde63d76: Pulling fs layer 05:14:19 bde34c3a00c8: Pulling fs layer 05:14:19 b352a97aabf1: Pulling fs layer 05:14:19 4872d77fe225: Pulling fs layer 05:14:19 5851b861e8e6: Pulling fs layer 05:14:19 988bab9f4d93: Waiting 05:14:19 bab4dde63d76: Waiting 05:14:19 bde34c3a00c8: Waiting 05:14:19 1469e6f7b9e6: Waiting 05:14:19 eaf3925da568: Waiting 05:14:19 b352a97aabf1: Waiting 05:14:19 5851b861e8e6: Waiting 05:14:19 e2be974225ed: Verifying Checksum 05:14:19 e2be974225ed: Download complete 05:14:19 988bab9f4d93: Download complete 05:14:19 1469e6f7b9e6: Verifying Checksum 05:14:19 1469e6f7b9e6: Download complete 05:14:20 eaf3925da568: Verifying Checksum 05:14:20 eaf3925da568: Download complete 05:14:20 339a4e72a1f5: Verifying Checksum 05:14:20 339a4e72a1f5: Download complete 05:14:20 bde34c3a00c8: Verifying Checksum 05:14:20 bde34c3a00c8: Download complete 05:14:20 b352a97aabf1: Download complete 05:14:20 4872d77fe225: Download complete 05:14:20 5851b861e8e6: Verifying Checksum 05:14:20 5851b861e8e6: Download complete 05:14:20 b85a868b505f: Verifying Checksum 05:14:20 b85a868b505f: Download complete 05:14:20 bab4dde63d76: Verifying Checksum 05:14:20 bab4dde63d76: Download complete 05:14:21 b85a868b505f: Pull complete 05:14:21 e2be974225ed: Pull complete 05:14:21 339a4e72a1f5: Pull complete 05:14:21 988bab9f4d93: Pull complete 05:14:22 1469e6f7b9e6: Pull complete 05:14:22 eaf3925da568: Pull complete 05:14:23 bab4dde63d76: Pull complete 05:14:23 bde34c3a00c8: Pull complete 05:14:23 b352a97aabf1: Pull complete 05:14:23 4872d77fe225: Pull complete 05:14:24 5851b861e8e6: Pull complete 05:14:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:14:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:14:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:24 prd-ubuntu20.04-docker-8c-8g-16990 does not seem to be running inside a container 05:14:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:14:27 $ docker top 001d90c09659451ee5fd739684026e9fe95c24b9dfbdcf0bc4cf094a363fd2b6 -eo pid,comm 05:14:27 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:14:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:14:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:14:27 [ssh-agent] Looking for ssh-agent implementation... 05:14:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:14:27 $ docker exec 001d90c09659451ee5fd739684026e9fe95c24b9dfbdcf0bc4cf094a363fd2b6 ssh-agent 05:14:27 SSH_AUTH_SOCK=/tmp/ssh-EdDipgwkE7IN/agent.31 05:14:27 SSH_AGENT_PID=37 05:14:27 Running ssh-add (command line suppressed) 05:14:27 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/private_key_6634757686363403715.key (/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/private_key_6634757686363403715.key) 05:14:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:14:27 + git tag --points-at HEAD [Pipeline] } 05:14:28 $ docker exec --env ******** --env ******** 001d90c09659451ee5fd739684026e9fe95c24b9dfbdcf0bc4cf094a363fd2b6 ssh-agent -k 05:14:28 unset SSH_AUTH_SOCK; 05:14:28 unset SSH_AGENT_PID; 05:14:28 echo Agent pid 37 killed; 05:14:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:14:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:14:28 [ssh-agent] Looking for ssh-agent implementation... 05:14:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:14:28 $ docker exec 001d90c09659451ee5fd739684026e9fe95c24b9dfbdcf0bc4cf094a363fd2b6 ssh-agent 05:14:28 SSH_AUTH_SOCK=/tmp/ssh-5wkb831c5BaW/agent.69 05:14:28 SSH_AGENT_PID=75 05:14:28 Running ssh-add (command line suppressed) 05:14:28 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/private_key_496539451063148283.key (/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/private_key_496539451063148283.key) 05:14:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:14:28 + git semver init 05:14:29 2023-11-08 05:14:29,021 [run_init] DEBUG init version:0.0.0 force:False 05:14:29 2023-11-08 05:14:29,021 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver 05:14:29 2023-11-08 05:14:29,022 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-330/.semver 05:14:29 2023-11-08 05:14:29,022 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-330, universal_newlines=False, shell=None, istream=None) 05:14:30 2023-11-08 05:14:29,885 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-330/.git/info/exclude 05:14:30 2023-11-08 05:14:29,886 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver/PR-330 with force:False 05:14:30 2023-11-08 05:14:29,886 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver/PR-330 05:14:30 2023-11-08 05:14:29,890 [execute] INFO git cat-file --batch-check 05:14:30 2023-11-08 05:14:29,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 05:14:30 2023-11-08 05:14:29,897 [execute] INFO git cat-file --batch 05:14:30 2023-11-08 05:14:29,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 05:14:30 2023-11-08 05:14:29,902 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-330/.semver/PR-330 05:14:30 0.0.0 [Pipeline] } 05:14:30 $ docker exec --env ******** --env ******** 001d90c09659451ee5fd739684026e9fe95c24b9dfbdcf0bc4cf094a363fd2b6 ssh-agent -k 05:14:30 unset SSH_AUTH_SOCK; 05:14:30 unset SSH_AGENT_PID; 05:14:30 echo Agent pid 75 killed; 05:14:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:14:30 + git semver [Pipeline] } 05:14:30 $ docker stop --time=1 001d90c09659451ee5fd739684026e9fe95c24b9dfbdcf0bc4cf094a363fd2b6 05:14:32 $ docker rm -f --volumes 001d90c09659451ee5fd739684026e9fe95c24b9dfbdcf0bc4cf094a363fd2b6 [Pipeline] // withDockerContainer [Pipeline] sh 05:14:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:14:32 Stashed 1 file(s) [Pipeline] echo 05:14:32 [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:14:33 provisioning config files... 05:14:33 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/config11622286571591332014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:33 ---> docker-login.sh 05:14:33 nexus3.edgexfoundry.org:10001 05:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:33 Configure a credential helper to remove this warning. See 05:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:33 05:14:33 Login Succeeded 05:14:33 nexus3.edgexfoundry.org:10002 05:14:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:33 Configure a credential helper to remove this warning. See 05:14:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:33 05:14:33 Login Succeeded 05:14:33 nexus3.edgexfoundry.org:10003 05:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:34 Configure a credential helper to remove this warning. See 05:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:34 05:14:34 Login Succeeded 05:14:34 nexus3.edgexfoundry.org:10004 05:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:34 Configure a credential helper to remove this warning. See 05:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:34 05:14:34 Login Succeeded 05:14:34 docker.io 05:14:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:34 Configure a credential helper to remove this warning. See 05:14:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:34 05:14:34 Login Succeeded 05:14:34 ---> docker-login.sh ends [Pipeline] } 05:14:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:14:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:14:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:14:35 ========================================================= 05:14:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:14:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:14:35 Sending build context to Docker daemon 5.747MB 05:14:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:14:35 Step 2/12 : FROM ${BASE} AS builder 05:14:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:14:35 7264a8db6415: Pulling fs layer 05:14:35 c4d48a809fc2: Pulling fs layer 05:14:35 4f1c88b9dad5: Pulling fs layer 05:14:35 ad3a456e5733: Pulling fs layer 05:14:35 33e27b845d1e: Pulling fs layer 05:14:35 c68163c4e522: Pulling fs layer 05:14:35 50da416c3ac9: Pulling fs layer 05:14:35 23d2d4c4bb30: Pulling fs layer 05:14:35 c68163c4e522: Waiting 05:14:35 50da416c3ac9: Waiting 05:14:35 33e27b845d1e: Waiting 05:14:35 23d2d4c4bb30: Waiting 05:14:35 c4d48a809fc2: Verifying Checksum 05:14:35 ad3a456e5733: Verifying Checksum 05:14:35 ad3a456e5733: Download complete 05:14:35 33e27b845d1e: Verifying Checksum 05:14:35 33e27b845d1e: Download complete 05:14:35 7264a8db6415: Verifying Checksum 05:14:35 7264a8db6415: Download complete 05:14:35 c68163c4e522: Verifying Checksum 05:14:35 c68163c4e522: Download complete 05:14:35 7264a8db6415: Pull complete 05:14:35 23d2d4c4bb30: Verifying Checksum 05:14:35 23d2d4c4bb30: Download complete 05:14:36 c4d48a809fc2: Pull complete 05:14:36 4f1c88b9dad5: Verifying Checksum 05:14:36 4f1c88b9dad5: Download complete 05:14:36 50da416c3ac9: Verifying Checksum 05:14:36 50da416c3ac9: Download complete 05:14:38 4f1c88b9dad5: Pull complete 05:14:38 ad3a456e5733: Pull complete 05:14:39 33e27b845d1e: Pull complete 05:14:39 c68163c4e522: Pull complete 05:14:41 50da416c3ac9: Pull complete 05:14:41 23d2d4c4bb30: Pull complete 05:14:41 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:14:41 ---> 0786185ac409 05:14:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:14:46 ---> Running in 828022a5a68c 05:14:46 Removing intermediate container 828022a5a68c 05:14:46 ---> 3c1f1d314a7d 05:14:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:14:46 ---> Running in b6c356696d0b 05:14:46 Removing intermediate container b6c356696d0b 05:14:46 ---> 9fa9ab9df155 05:14:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:14:46 ---> Running in 68dea32cd396 05:14:46 Removing intermediate container 68dea32cd396 05:14:46 ---> 8f0abcca4eca 05:14:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:14:46 ---> Running in 0161b62f2b1e 05:14:46 Removing intermediate container 0161b62f2b1e 05:14:46 ---> 47ecc760aacc 05:14:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:14:46 ---> Running in 2a8b9c020781 05:14:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:14:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:14:47 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:14:47 (2/4) Installing libedit (20221030.3.1-r1) 05:14:47 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:14:47 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:14:47 Executing busybox-1.36.1-r2.trigger 05:14:47 OK: 268 MiB in 56 packages 05:14:47 Removing intermediate container 2a8b9c020781 05:14:47 ---> 9e6255170787 05:14:47 Step 8/12 : WORKDIR /device-snmp-go 05:14:47 ---> Running in 5acd7c4de747 05:14:47 Removing intermediate container 5acd7c4de747 05:14:47 ---> 261c8e2e47ec 05:14:47 Step 9/12 : COPY go.mod vendor* ./ 05:14:48 ---> 2b18417b1649 05:14:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:48 ---> Running in cef3fb349b66 05:14:48 Still waiting to schedule task 05:14:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:15:26 Removing intermediate container cef3fb349b66 05:15:26 ---> b5a79056d2a1 05:15:26 Step 11/12 : COPY . . 05:15:26 ---> 315cf0f030d7 05:15:26 Step 12/12 : RUN ${MAKE} 05:15:26 ---> Running in 99dac037a294 05:15:26 noop 05:15:26 Removing intermediate container 99dac037a294 05:15:26 ---> c7f14ab94022 05:15:26 Successfully built c7f14ab94022 05:15:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:27 + docker inspect -f . ci-base-image-x86_64 05:15:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:27 prd-ubuntu20.04-docker-8c-8g-16990 does not seem to be running inside a container 05:15:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:15:27 $ docker top 59a3d069a2e66017e993f4d771fd4657a24f64364899a5872d99ca78a5fcb9e8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:28 + go version 05:15:28 go version go1.21.0 linux/amd64 [Pipeline] } 05:15:28 $ docker stop --time=1 59a3d069a2e66017e993f4d771fd4657a24f64364899a5872d99ca78a5fcb9e8 05:15:29 $ docker rm -f --volumes 59a3d069a2e66017e993f4d771fd4657a24f64364899a5872d99ca78a5fcb9e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:30 + docker inspect -f . ci-base-image-x86_64 05:15:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:30 prd-ubuntu20.04-docker-8c-8g-16990 does not seem to be running inside a container 05:15:30 $ 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-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:15:30 $ docker top 1c86039934c7bb4bf3d2b1ad4caa4f36ec3f8bb7b66cea3e5ffc5e07adc6c5ea -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-330 [Pipeline] fileExists [Pipeline] sh 05:15:31 + make test 05:15:31 go test ./... -coverprofile=coverage.out 05:15:33 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:15:43 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:15:43 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 05:15:48 go vet ./... 05:15:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:15:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:15:51 ./bin/test-attribution-txt.sh [Pipeline] echo 05:15:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:15:51 $ docker stop --time=1 1c86039934c7bb4bf3d2b1ad4caa4f36ec3f8bb7b66cea3e5ffc5e07adc6c5ea 05:15:55 $ docker rm -f --volumes 1c86039934c7bb4bf3d2b1ad4caa4f36ec3f8bb7b66cea3e5ffc5e07adc6c5ea [Pipeline] // withDockerContainer [Pipeline] sh 05:15:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:15:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:15:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:56 + ls -al . 05:15:56 total 172 05:15:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:15 . 05:15:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:14 .. 05:15:56 -rw-rw-r-- 1 jenkins jenkins 6 Nov 8 05:14 .dockerignore 05:15:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:15 .git 05:15:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:14 .github 05:15:56 -rw-rw-r-- 1 jenkins jenkins 263 Nov 8 05:14 .gitignore 05:15:56 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 05:14 .golangci.yml 05:15:56 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 05:14 .semver 05:15:56 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 8 05:14 Attribution.txt 05:15:56 -rw-rw-r-- 1 jenkins jenkins 10534 Nov 8 05:14 CHANGELOG.md 05:15:56 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 8 05:14 Dockerfile 05:15:56 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 05:14 GOVERNANCE.md 05:15:56 -rw-rw-r-- 1 jenkins jenkins 656 Nov 8 05:14 Jenkinsfile 05:15:56 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 05:14 LICENSE 05:15:56 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 8 05:14 Makefile 05:15:56 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 05:14 OWNERS.md 05:15:56 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 8 05:14 README.md 05:15:56 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 05:14 VERSION 05:15:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:14 bin 05:15:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:14 cmd 05:15:56 -rw-r--r-- 1 jenkins jenkins 8837 Nov 8 05:15 coverage.out 05:15:56 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 8 05:14 go.mod 05:15:56 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 8 05:14 go.sum 05:15:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:14 internal 05:15:56 -rw-rw-r-- 1 jenkins jenkins 228 Nov 8 05:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:57 + 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=5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 --label arch=amd64 --label version=0.0.0 . 05:15:57 Sending build context to Docker daemon 5.757MB 05:15:57 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:15:57 Step 2/24 : FROM ${BASE} AS builder 05:15:57 ---> c7f14ab94022 05:15:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:15:57 ---> Running in b60fc1c1f312 05:15:57 Removing intermediate container b60fc1c1f312 05:15:57 ---> 6cb2283f3d69 05:15:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:15:57 ---> Running in 72051ad37844 05:15:57 Removing intermediate container 72051ad37844 05:15:57 ---> d646d84fa3af 05:15:57 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:15:57 ---> Running in fd3c4adc1518 05:15:57 Removing intermediate container fd3c4adc1518 05:15:57 ---> 9256c73375d9 05:15:57 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:15:57 ---> Running in 3c1de32ff2a9 05:15:57 Removing intermediate container 3c1de32ff2a9 05:15:57 ---> c73746e887d0 05:15:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:15:57 ---> Running in 45739dd6ac10 05:15:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:15:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:15:58 OK: 268 MiB in 56 packages 05:15:58 Removing intermediate container 45739dd6ac10 05:15:58 ---> efe210cb8668 05:15:58 Step 8/24 : WORKDIR /device-snmp-go 05:15:58 ---> Running in 9f7889fb617a 05:15:58 Removing intermediate container 9f7889fb617a 05:15:58 ---> 840d102e2b6b 05:15:58 Step 9/24 : COPY go.mod vendor* ./ 05:15:58 ---> fc880547a9df 05:15:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:58 ---> Running in 048fd872c2b9 05:15:59 Removing intermediate container 048fd872c2b9 05:15:59 ---> ecca237c3745 05:15:59 Step 11/24 : COPY . . 05:15:59 ---> 800f6f2f817d 05:15:59 Step 12/24 : RUN ${MAKE} 05:15:59 ---> Running in 235b89a7ce84 05:16:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:16:22 Removing intermediate container 235b89a7ce84 05:16:22 ---> fbb0bebe6d5a 05:16:22 Step 13/24 : FROM alpine:3.18 05:16:22 3.18: Pulling from library/alpine 05:16:22 96526aa774ef: Pulling fs layer 05:16:22 96526aa774ef: Download complete 05:16:22 96526aa774ef: Pull complete 05:16:22 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:16:22 Status: Downloaded newer image for alpine:3.18 05:16:22 ---> 8ca4688f4f35 05:16:22 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:16:22 ---> Running in d91126a40809 05:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:16:22 (1/1) Installing dumb-init (1.2.5-r2) 05:16:22 Executing busybox-1.36.1-r2.trigger 05:16:22 OK: 7 MiB in 16 packages 05:16:22 Removing intermediate container d91126a40809 05:16:22 ---> 22e1be73ba62 05:16:22 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:16:22 ---> 343529ec7a1f 05:16:22 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:16:22 ---> 375648ead84e 05:16:22 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:16:22 ---> affa8e8bacf3 05:16:22 Step 18/24 : EXPOSE 59993 05:16:22 ---> Running in 1e302807b661 05:16:22 Removing intermediate container 1e302807b661 05:16:22 ---> 7a51eea67000 05:16:22 Step 19/24 : EXPOSE 161 05:16:22 ---> Running in 482d61c0320b 05:16:22 Removing intermediate container 482d61c0320b 05:16:22 ---> 5957e88121bb 05:16:22 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:16:22 ---> Running in d287b0c6c127 05:16:22 Removing intermediate container d287b0c6c127 05:16:22 ---> f326788d92ca 05:16:22 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:16:22 ---> Running in 5e746db9553b 05:16:23 Removing intermediate container 5e746db9553b 05:16:23 ---> 6cf067e28738 05:16:23 Step 22/24 : LABEL arch=amd64 05:16:23 ---> Running in 1fc09ae0c681 05:16:23 Removing intermediate container 1fc09ae0c681 05:16:23 ---> fd0e6b1d584a 05:16:23 Step 23/24 : LABEL git_sha=5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 05:16:23 ---> Running in 633a680536c6 05:16:23 Removing intermediate container 633a680536c6 05:16:23 ---> 419b8f278758 05:16:23 Step 24/24 : LABEL version=0.0.0 05:16:23 ---> Running in dce299112201 05:16:23 Removing intermediate container dce299112201 05:16:23 ---> 6c9590bf6eb2 05:16:23 [Warning] One or more build-args [ARCH] were not consumed 05:16:23 Successfully built 6c9590bf6eb2 05:16:23 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:24 05:16:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:24 latest: Pulling from edgex-lftools-log-publisher 05:16:24 5eb5b503b376: Pulling fs layer 05:16:24 5c69ac0246d0: Pulling fs layer 05:16:24 ec43610c2a17: Pulling fs layer 05:16:24 3a2ae6a8a46f: Pulling fs layer 05:16:24 33b1e0a273af: Pulling fs layer 05:16:24 5d3b04190fa2: Pulling fs layer 05:16:24 2f39f015ded8: Pulling fs layer 05:16:24 3a2ae6a8a46f: Waiting 05:16:24 5d3b04190fa2: Waiting 05:16:24 33b1e0a273af: Waiting 05:16:24 2f39f015ded8: Waiting 05:16:24 5c69ac0246d0: Verifying Checksum 05:16:24 5c69ac0246d0: Download complete 05:16:24 3a2ae6a8a46f: Download complete 05:16:24 33b1e0a273af: Verifying Checksum 05:16:24 33b1e0a273af: Download complete 05:16:24 5d3b04190fa2: Download complete 05:16:24 ec43610c2a17: Verifying Checksum 05:16:24 ec43610c2a17: Download complete 05:16:25 5eb5b503b376: Verifying Checksum 05:16:25 5eb5b503b376: Download complete 05:16:25 2f39f015ded8: Download complete 05:16:26 5eb5b503b376: Pull complete 05:16:26 5c69ac0246d0: Pull complete 05:16:26 ec43610c2a17: Pull complete 05:16:26 3a2ae6a8a46f: Pull complete 05:16:26 33b1e0a273af: Pull complete 05:16:26 5d3b04190fa2: Pull complete 05:16:31 2f39f015ded8: Pull complete 05:16:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:16:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:31 prd-ubuntu20.04-docker-8c-8g-16990 does not seem to be running inside a container 05:16:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16991 in /w/workspace/gexfoundry_device-snmp-go_PR-330 05:16:36 $ docker top ce58b5037e47301f83b7281055485f29bcfa1046d6c0799f3dcd86a80f129fbc -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 05:16:37 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:16:37 Selected Git installation does not exist. Using Default 05:16:37 The recommended git tool is: NONE 05:16:37 ---> job-cost.sh 05:16:37 lf-activate-venv: SKIPPING 05:16:37 INFO: No Stack... 05:16:37 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:37 INFO: Archiving Costs [Pipeline] sh 05:16:38 + cat /w/workspace/gexfoundry_device-snmp-go_PR-330/archives/cost.csv 05:16:38 + cut -d, -f6 [Pipeline] lock 05:16:38 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-330-1-stack-cost] 05:16:38 Resource [jenkins-edgexfoundry-device-snmp-go-PR-330-1-stack-cost] did not exist. Created. 05:16:38 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-330-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:38 + echo total: 0.2199999988079071 [Pipeline] stash 05:16:38 Stashed 1 file(s) [Pipeline] } 05:16:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-330-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:38 $ docker stop --time=1 ce58b5037e47301f83b7281055485f29bcfa1046d6c0799f3dcd86a80f129fbc 05:16:39 $ docker rm -f --volumes ce58b5037e47301f83b7281055485f29bcfa1046d6c0799f3dcd86a80f129fbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:16:47 using credential edgex-jenkins-ssh 05:16:47 Cloning the remote Git repository 05:16:47 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:16:47 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:16:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:16:47 > git --version # timeout=10 05:16:47 > git --version # 'git version 2.25.1' 05:16:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:16:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:16:48 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:16:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:16:50 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:16:50 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:16:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:16:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:16:50 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 05:16:51 Merge succeeded, producing 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 05:16:51 Checking out Revision 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 (PR-330) 05:16:51 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:16:51 > git --version # timeout=10 05:16:51 > git --version # 'git version 2.25.1' 05:16:51 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 05:16:50 > git config core.sparsecheckout # timeout=10 05:16:50 > git checkout -f 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 # timeout=10 05:16:50 > git remote # timeout=10 05:16:50 > git config --get remote.origin.url # timeout=10 05:16:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:16:50 > git merge 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 05:16:51 > git rev-parse HEAD^{commit} # timeout=10 05:16:51 > git config core.sparsecheckout # timeout=10 05:16:51 > git checkout -f 5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:16:52 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:52 Dload Upload Total Spent Left Speed 05:16:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh 05:16:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:16:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:16:53 + sudo tee /etc/docker/daemon.new 05:16:53 { 05:16:53 "registry-mirrors": [ 05:16:53 "https://nexus3.edgexfoundry.org:10001" 05:16:53 ], 05:16:53 "bip": "10.250.0.254/24", 05:16:53 "hosts": [ 05:16:53 "tcp://0.0.0.0:5555", 05:16:53 "unix:///var/run/docker.sock" 05:16:53 ], 05:16:53 "mtu": 1458, 05:16:53 "selinux-enabled": true, 05:16:53 "seccomp-profile": "/etc/docker/seccomp.json" 05:16:53 } [Pipeline] sh 05:16:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:16:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:12 provisioning config files... 05:17:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5208304297359241861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:13 ---> docker-login.sh 05:17:13 nexus3.edgexfoundry.org:10001 05:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:13 Configure a credential helper to remove this warning. See 05:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:13 05:17:13 Login Succeeded 05:17:13 nexus3.edgexfoundry.org:10002 05:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:14 Configure a credential helper to remove this warning. See 05:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:14 05:17:14 Login Succeeded 05:17:14 nexus3.edgexfoundry.org:10003 05:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:14 Configure a credential helper to remove this warning. See 05:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:14 05:17:14 Login Succeeded 05:17:14 nexus3.edgexfoundry.org:10004 05:17:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:14 Configure a credential helper to remove this warning. See 05:17:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:14 05:17:14 Login Succeeded 05:17:14 docker.io 05:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:17:15 Configure a credential helper to remove this warning. See 05:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:17:15 05:17:15 Login Succeeded 05:17:15 ---> docker-login.sh ends [Pipeline] } 05:17:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:17:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:17:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:17:15 ========================================================= 05:17:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:17:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:16 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:17:16 Sending build context to Docker daemon 2.951MB 05:17:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:17:16 Step 2/12 : FROM ${BASE} AS builder 05:17:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:17:16 9fda8d8052c6: Pulling fs layer 05:17:16 5d54e960e981: Pulling fs layer 05:17:16 c4a7e357bf2a: Pulling fs layer 05:17:16 f0e02332f6b5: Pulling fs layer 05:17:16 cefa15bbcfad: Pulling fs layer 05:17:16 17808c966233: Pulling fs layer 05:17:16 f4c1fc716caa: Pulling fs layer 05:17:16 cefa15bbcfad: Waiting 05:17:16 17808c966233: Waiting 05:17:16 f4c1fc716caa: Waiting 05:17:16 f0e02332f6b5: Waiting 05:17:16 5d54e960e981: Verifying Checksum 05:17:16 5d54e960e981: Download complete 05:17:16 f0e02332f6b5: Verifying Checksum 05:17:16 f0e02332f6b5: Download complete 05:17:16 cefa15bbcfad: Verifying Checksum 05:17:16 cefa15bbcfad: Download complete 05:17:16 9fda8d8052c6: Verifying Checksum 05:17:16 9fda8d8052c6: Download complete 05:17:17 f4c1fc716caa: Verifying Checksum 05:17:17 f4c1fc716caa: Download complete 05:17:17 9fda8d8052c6: Pull complete 05:17:18 5d54e960e981: Pull complete 05:17:18 c4a7e357bf2a: Verifying Checksum 05:17:18 c4a7e357bf2a: Download complete 05:17:19 17808c966233: Verifying Checksum 05:17:19 17808c966233: Download complete 05:17:32 c4a7e357bf2a: Pull complete 05:17:32 f0e02332f6b5: Pull complete 05:17:32 cefa15bbcfad: Pull complete 05:17:40 17808c966233: Pull complete 05:17:42 f4c1fc716caa: Pull complete 05:17:42 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:17:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:17:42 ---> ea914061e18c 05:17:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:17:43 ---> Running in 2285f65326b4 05:17:43 Removing intermediate container 2285f65326b4 05:17:43 ---> 8109598a49cf 05:17:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:17:43 ---> Running in 91e495a8207b 05:17:43 Removing intermediate container 91e495a8207b 05:17:43 ---> 424a5824a58e 05:17:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:17:43 ---> Running in 95c0f1b8db3d 05:17:43 Removing intermediate container 95c0f1b8db3d 05:17:43 ---> ce8db753502f 05:17:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:17:43 ---> Running in 36a98718dde8 05:17:44 Removing intermediate container 36a98718dde8 05:17:44 ---> aa2d955bec19 05:17:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:17:44 ---> Running in 4645cf2cedfe 05:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:17:47 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:17:47 (2/4) Installing libedit (20221030.3.1-r1) 05:17:47 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:17:47 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:17:47 Executing busybox-1.36.1-r2.trigger 05:17:47 OK: 270 MiB in 56 packages 05:17:48 Removing intermediate container 4645cf2cedfe 05:17:48 ---> b050c715781b 05:17:48 Step 8/12 : WORKDIR /device-snmp-go 05:17:48 ---> Running in bcb9d1d29c3e 05:17:48 Removing intermediate container bcb9d1d29c3e 05:17:48 ---> 251fe998f4b4 05:17:48 Step 9/12 : COPY go.mod vendor* ./ 05:17:51 ---> 5ba28547221f 05:17:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:17:51 ---> Running in cdd90b786bff 05:19:13 Removing intermediate container cdd90b786bff 05:19:13 ---> e075eb187a3f 05:19:13 Step 11/12 : COPY . . 05:19:13 ---> 886bb98e983e 05:19:13 Step 12/12 : RUN ${MAKE} 05:19:13 ---> Running in 80e7ad357a9a 05:19:13 noop 05:19:13 Removing intermediate container 80e7ad357a9a 05:19:13 ---> aecfbac40283 05:19:13 Successfully built aecfbac40283 05:19:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:14 + docker inspect -f . ci-base-image-arm64 05:19:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:14 prd-ubuntu20.04-docker-arm64-4c-16g-16991 does not seem to be running inside a container 05:19:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:19:16 $ docker top 318c48331b3cbdc3eed366eee8b9e03fc86fcdc6f28f0a1c4203b1f44f1d9298 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:17 + go version 05:19:17 go version go1.21.0 linux/arm64 [Pipeline] } 05:19:17 $ docker stop --time=1 318c48331b3cbdc3eed366eee8b9e03fc86fcdc6f28f0a1c4203b1f44f1d9298 05:19:19 $ docker rm -f --volumes 318c48331b3cbdc3eed366eee8b9e03fc86fcdc6f28f0a1c4203b1f44f1d9298 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:19 + docker inspect -f . ci-base-image-arm64 05:19:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:20 prd-ubuntu20.04-docker-arm64-4c-16g-16991 does not seem to be running inside a container 05:19:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:19:21 $ docker top 85d48f725025c8be603d1f4881280b99076aaea4858db42b98bab024c39229c0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:21 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:19:22 + make test 05:19:22 go test ./... -coverprofile=coverage.out 05:19:26 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:21:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:21:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements 05:21:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:21:03 go vet ./... 05:21:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:21:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:21:09 ./bin/test-attribution-txt.sh [Pipeline] echo 05:21:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:21:10 $ docker stop --time=1 85d48f725025c8be603d1f4881280b99076aaea4858db42b98bab024c39229c0 05:21:12 $ docker rm -f --volumes 85d48f725025c8be603d1f4881280b99076aaea4858db42b98bab024c39229c0 [Pipeline] // withDockerContainer [Pipeline] sh 05:21:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:21:13 Warning: overwriting stash ‘coverage-report’ 05:21:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:21:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:21:14 + ls -al . 05:21:14 total 168 05:21:14 drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 05:19 . 05:21:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 05:16 .. 05:21:14 -rw-rw-r-- 1 jenkins jenkins 6 Nov 8 05:16 .dockerignore 05:21:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 05:16 .git 05:21:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:16 .github 05:21:14 -rw-rw-r-- 1 jenkins jenkins 263 Nov 8 05:16 .gitignore 05:21:14 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 05:16 .golangci.yml 05:21:14 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 8 05:16 Attribution.txt 05:21:14 -rw-rw-r-- 1 jenkins jenkins 10534 Nov 8 05:16 CHANGELOG.md 05:21:14 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 8 05:16 Dockerfile 05:21:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 05:16 GOVERNANCE.md 05:21:14 -rw-rw-r-- 1 jenkins jenkins 656 Nov 8 05:16 Jenkinsfile 05:21:14 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 05:16 LICENSE 05:21:14 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 8 05:16 Makefile 05:21:14 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 05:16 OWNERS.md 05:21:14 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 8 05:16 README.md 05:21:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 05:14 VERSION 05:21:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 05:16 bin 05:21:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:16 cmd 05:21:14 -rw-r--r-- 1 jenkins jenkins 8837 Nov 8 05:20 coverage.out 05:21:14 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 8 05:16 go.mod 05:21:14 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 8 05:16 go.sum 05:21:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 05:16 internal 05:21:14 -rw-rw-r-- 1 jenkins jenkins 228 Nov 8 05:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:15 + 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=5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 --label arch=arm64 --label version=0.0.0 . 05:21:15 Sending build context to Docker daemon 2.961MB 05:21:15 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:21:15 Step 2/24 : FROM ${BASE} AS builder 05:21:15 ---> aecfbac40283 05:21:15 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:21:15 ---> Running in 7e7ca4ea2a39 05:21:15 Removing intermediate container 7e7ca4ea2a39 05:21:15 ---> 326723ee9551 05:21:15 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:21:15 ---> Running in 45ddbbb6dcb1 05:21:16 Removing intermediate container 45ddbbb6dcb1 05:21:16 ---> 21309ef58bb0 05:21:16 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:21:16 ---> Running in 012f62bc6119 05:21:16 Removing intermediate container 012f62bc6119 05:21:16 ---> 4dd6e5f203de 05:21:16 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:21:16 ---> Running in b150c4b1764a 05:21:16 Removing intermediate container b150c4b1764a 05:21:16 ---> 026fd6ae1f69 05:21:16 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:21:16 ---> Running in bb6c46244980 05:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:21:19 OK: 270 MiB in 56 packages 05:21:20 Removing intermediate container bb6c46244980 05:21:20 ---> 34307a2621e1 05:21:20 Step 8/24 : WORKDIR /device-snmp-go 05:21:20 ---> Running in 2020988e95d9 05:21:20 Removing intermediate container 2020988e95d9 05:21:20 ---> ff0d5ee62672 05:21:20 Step 9/24 : COPY go.mod vendor* ./ 05:21:21 ---> 3d0ecceb3136 05:21:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:21:21 ---> Running in 19a189aa456d 05:21:24 Removing intermediate container 19a189aa456d 05:21:24 ---> 7b82899de56f 05:21:24 Step 11/24 : COPY . . 05:21:25 ---> 77c6029c31c1 05:21:25 Step 12/24 : RUN ${MAKE} 05:21:25 ---> Running in 696a775ce80b 05:21:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:23:17 Removing intermediate container 696a775ce80b 05:23:17 ---> 82c2cc0c9523 05:23:17 Step 13/24 : FROM alpine:3.18 05:23:17 3.18: Pulling from library/alpine 05:23:17 579b34f0a95b: Pulling fs layer 05:23:17 579b34f0a95b: Verifying Checksum 05:23:17 579b34f0a95b: Download complete 05:23:17 579b34f0a95b: Pull complete 05:23:17 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:23:17 Status: Downloaded newer image for alpine:3.18 05:23:17 ---> 3cc203321400 05:23:17 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:23:17 ---> Running in 04667c4454a4 05:23:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:23:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:23:17 (1/1) Installing dumb-init (1.2.5-r2) 05:23:17 Executing busybox-1.36.1-r2.trigger 05:23:17 OK: 8 MiB in 16 packages 05:23:17 Removing intermediate container 04667c4454a4 05:23:17 ---> f0112bb2eb94 05:23:17 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:23:17 ---> 93ee816c3ded 05:23:17 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:23:17 ---> 932701e33c60 05:23:17 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:23:17 ---> f5affdf50485 05:23:17 Step 18/24 : EXPOSE 59993 05:23:17 ---> Running in aa96dd44ae63 05:23:17 Removing intermediate container aa96dd44ae63 05:23:17 ---> a8a63697b392 05:23:17 Step 19/24 : EXPOSE 161 05:23:17 ---> Running in 9d15f54b7b35 05:23:17 Removing intermediate container 9d15f54b7b35 05:23:17 ---> 40bfebe008fe 05:23:17 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:23:17 ---> Running in bcb3419b1deb 05:23:17 Removing intermediate container bcb3419b1deb 05:23:17 ---> e6f91a44a91f 05:23:17 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:23:17 ---> Running in 95bf60ffe931 05:23:17 Removing intermediate container 95bf60ffe931 05:23:17 ---> e454fc2326b8 05:23:17 Step 22/24 : LABEL arch=arm64 05:23:17 ---> Running in 24be029ddb29 05:23:17 Removing intermediate container 24be029ddb29 05:23:17 ---> 6ed943212efc 05:23:17 Step 23/24 : LABEL git_sha=5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 05:23:17 ---> Running in df8dd35d043c 05:23:17 Removing intermediate container df8dd35d043c 05:23:17 ---> 1ee500f7c827 05:23:17 Step 24/24 : LABEL version=0.0.0 05:23:17 ---> Running in 57b52c5e5aa7 05:23:17 Removing intermediate container 57b52c5e5aa7 05:23:17 ---> 906919ce8278 05:23:17 [Warning] One or more build-args [ARCH] were not consumed 05:23:17 Successfully built 906919ce8278 05:23:17 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:23:18 05:23:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:23:19 arm64: Pulling from edgex-lftools-log-publisher 05:23:19 8998bd30e6a1: Pulling fs layer 05:23:19 04944245beec: Pulling fs layer 05:23:19 699f458cf7ca: Pulling fs layer 05:23:19 765212b225bb: Pulling fs layer 05:23:19 f23df028b6ca: Pulling fs layer 05:23:19 d65c8cfc05b1: Pulling fs layer 05:23:19 2437ff75d9bd: Pulling fs layer 05:23:19 765212b225bb: Waiting 05:23:19 f23df028b6ca: Waiting 05:23:19 d65c8cfc05b1: Waiting 05:23:19 2437ff75d9bd: Waiting 05:23:19 04944245beec: Verifying Checksum 05:23:19 04944245beec: Download complete 05:23:19 765212b225bb: Download complete 05:23:19 f23df028b6ca: Verifying Checksum 05:23:19 f23df028b6ca: Download complete 05:23:19 d65c8cfc05b1: Download complete 05:23:19 699f458cf7ca: Verifying Checksum 05:23:19 699f458cf7ca: Download complete 05:23:20 8998bd30e6a1: Verifying Checksum 05:23:20 8998bd30e6a1: Download complete 05:23:22 2437ff75d9bd: Verifying Checksum 05:23:22 2437ff75d9bd: Download complete 05:23:24 8998bd30e6a1: Pull complete 05:23:25 04944245beec: Pull complete 05:23:26 699f458cf7ca: Pull complete 05:23:26 765212b225bb: Pull complete 05:23:30 f23df028b6ca: Pull complete 05:23:30 d65c8cfc05b1: Pull complete 05:23:48 2437ff75d9bd: Pull complete 05:23:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:23:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:48 prd-ubuntu20.04-docker-arm64-4c-16g-16991 does not seem to be running inside a container 05:23:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:23:51 $ docker top fa003a8a9c0fad066c5c7ec31e3ca16b65ee5bead25e8144b3fa374ff62920df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:52 ---> job-cost.sh 05:23:52 lf-activate-venv: SKIPPING 05:23:52 INFO: No Stack... 05:23:52 INFO: Retrieving Pricing Info for: v3-standard-4 05:23:53 INFO: Archiving Costs [Pipeline] sh 05:23:54 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:23:54 + cut -d, -f6 [Pipeline] lock 05:23:54 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-330-1-stack-cost] 05:23:54 Resource [jenkins-edgexfoundry-device-snmp-go-PR-330-1-stack-cost] did not exist. Created. 05:23:54 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-330-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:23:55 /w/workspace/device-snmp-go/1@tmp/durable-6d182bdf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:23:55 + echo total: 0.10999999940395355 [Pipeline] stash 05:23:56 Warning: overwriting stash ‘stack-cost’ 05:23:56 Stashed 1 file(s) [Pipeline] } 05:23:56 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-330-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:23:56 $ docker stop --time=1 fa003a8a9c0fad066c5c7ec31e3ca16b65ee5bead25e8144b3fa374ff62920df 05:23:58 $ docker rm -f --volumes fa003a8a9c0fad066c5c7ec31e3ca16b65ee5bead25e8144b3fa374ff62920df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:23:59 provisioning config files... 05:23:59 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/config18354055357051759080tmp [Pipeline] { [Pipeline] sh 05:23:59 + set +x 05:23:59 + curl -s https://codecov.io/bash 05:23:59 + bash -s -- 05:23:59 05:23:59 _____ _ 05:23:59 / ____| | | 05:23:59 | | ___ __| | ___ ___ _____ __ 05:23:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:23:59 | |___| (_) | (_| | __/ (_| (_) \ V / 05:23:59 \_____\___/ \__,_|\___|\___\___/ \_/ 05:23:59 Bash-1.0.6 05:23:59 05:23:59 05:23:59 ==> git version 2.25.1 found 05:23:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:23:59 Release-Date: 2020-01-08 05:23:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:23:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:23:59 ==> Jenkins CI detected. 05:23:59 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-330 05:23:59 project root: . 05:23:59 --> token set from env 05:23:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:23:59 ==> Running gcov in . (disable via -X gcov) 05:24:00 ==> Python coveragepy not found 05:24:00 ==> Searching for coverage reports in: 05:24:00 + . 05:24:00 -> Found 1 reports 05:24:00 ==> Detecting git/mercurial file structure 05:24:00 ==> Reading reports 05:24:00 + ./coverage.out bytes=8837 05:24:00 ==> Appending adjustments 05:24:00 https://docs.codecov.io/docs/fixing-reports 05:24:00 + Found adjustments 05:24:00 ==> Gzipping contents 05:24:00 4.0K /tmp/codecov.A5J3AA.gz 05:24:00 ==> Uploading reports 05:24:00 url: https://codecov.io 05:24:00 query: branch=PR-330&commit=5f76abc2bc068dc9f0d23fdd07ff83a7a058df58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-330%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=330&job=&cmd_args= 05:24:00 -> Pinging Codecov 05:24:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-330&commit=5f76abc2bc068dc9f0d23fdd07ff83a7a058df58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-330%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=330&job=&cmd_args= 05:24:00 -> Uploading to 05:24:00 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/6C56EA5C29638FB4528AC87E60AF5AE0/5f76abc2bc068dc9f0d23fdd07ff83a7a058df58/33618344-5597-4a08-8994-3bb8e701b072.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T052359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea27f3cb9e6e1185b152b2e676da94d88b3b5987764304d4b3e44d99e2428b67 05:24:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:24:00 Dload Upload Total Spent Left Speed 05:24:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 4442 --:--:-- --:--:-- --:--:-- 4442 05:24:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/5f76abc2bc068dc9f0d23fdd07ff83a7a058df58 [Pipeline] } 05:24:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:24:02 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-330/archives ] 05:24:02 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-330/archives 05:24:02 total 16 05:24:02 drwxr-xr-x 3 root root 4096 Nov 8 05:16 . 05:24:02 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 05:16 .. 05:24:02 drwxr-xr-x 2 root root 4096 Nov 8 05:16 cost 05:24:02 -rw-r--r-- 1 root root 86 Nov 8 05:16 cost.csv 05:24:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-330/archives 05:24:02 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-330/archives 05:24:02 total 16 05:24:02 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 05:16 . 05:24:02 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 05:16 .. 05:24:02 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 05:16 cost 05:24:02 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 05:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:24:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:24:03 ---> package-listing.sh 05:24:03 ++ facter osfamily 05:24:03 ++ tr '[:upper:]' '[:lower:]' 05:24:03 + OS_FAMILY=debian 05:24:03 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-330 05:24:03 + START_PACKAGES=/tmp/packages_start.txt 05:24:03 + END_PACKAGES=/tmp/packages_end.txt 05:24:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:24:03 + PACKAGES=/tmp/packages_start.txt 05:24:03 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-330 ']' 05:24:03 + PACKAGES=/tmp/packages_end.txt 05:24:03 + case "${OS_FAMILY}" in 05:24:03 + dpkg -l 05:24:03 + grep '^ii' 05:24:03 + '[' -f /tmp/packages_start.txt ']' 05:24:03 + '[' -f /tmp/packages_end.txt ']' 05:24:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:24:03 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-330 ']' 05:24:03 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-330/archives/ 05:24:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-330/archives/ [Pipeline] echo 05:24:03 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-330/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:24:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:24:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:24:04 prd-ubuntu20.04-docker-8c-8g-16990 does not seem to be running inside a container 05:24:04 $ 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-330/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-330 -v /w/workspace/gexfoundry_device-snmp-go_PR-330:/w/workspace/gexfoundry_device-snmp-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:24:05 $ docker top d00e2885cb898fb0318878d62e0e4091a50b03392a7efce3d1f8eac7d0973d10 -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:05 + touch /tmp/pre-build-complete [Pipeline] sh 05:24:05 + mkdir -p /var/log/sysstat [Pipeline] sh 05:24:06 + ls /var/log/sa-host 05:24:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:24:06 provisioning config files... 05:24:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-330@tmp/config17493779975259700878tmp [Pipeline] { [Pipeline] echo 05:24:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:24:06 ---> create-netrc.sh [Pipeline] } 05:24:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:24:07 ---> python-tools-install.sh [Pipeline] echo 05:24:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:24:07 ---> sudo-logs.sh 05:24:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:24:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:24:07 ---> job-cost.sh 05:24:07 lf-activate-venv: SKIPPING 05:24:07 DEBUG: total: 0.2199999988079071 05:24:07 INFO: Retrieving Stack Cost... 05:24:08 INFO: Retrieving Pricing Info for: v3-standard-8 05:24:08 INFO: Archiving Costs [Pipeline] echo 05:24:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:24:09 ---> logs-deploy.sh 05:24:09 lf-activate-venv: SKIPPING 05:24:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-330/1 05:24:09 INFO: archiving workspace using pattern(s): 05:24:10 Archives upload complete. 05:24:10 INFO: archiving logs to Nexus