Pull request #329 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2f295bf45187d1a26f8e0d2ae80176c38e40d811+16c420418f3d11c50b6d4cdc106b6ff48e0fad87 (8d289dca01220eccceb7581bc3e943783c8d0872) 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-ssh6438375937913296407.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-ssh17032133338327994955.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-329/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-329/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2011877102409616261.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-329/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16819055033609128063.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-ssh14746133618546797193.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-329/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-329/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17910352744695377253.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-16823 in /w/workspace/gexfoundry_device-snmp-go_PR-329 [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-329 # 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/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 2f295bf45187d1a26f8e0d2ae80176c38e40d811 Merge succeeded, producing 2f295bf45187d1a26f8e0d2ae80176c38e40d811 Checking out Revision 2f295bf45187d1a26f8e0d2ae80176c38e40d811 (PR-329) 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:07:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:07:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:07:06 ========================================================= 05:07:06 EdgeX Global Pipelines Version Info 05:07:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 2f295bf45187d1a26f8e0d2ae80176c38e40d811 # 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 2f295bf45187d1a26f8e0d2ae80176c38e40d811 # timeout=10 05:07:07 ------------------- 05:07:07 stable info: 05:07:07 ------------------- 05:07:07 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 05:07:07 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:07:07 Message: update stable to v1.0.257 05:07:07 ------------------- 05:07:07 experimental info: 05:07:07 ------------------- 05:07:07 Commited By: **** collab-it+edgex@linuxfoundation.org 05:07:07 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:07:07 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:07:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:07:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-329 [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-329 [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-329 [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f295bf45187d1a26f8e0d2ae80176c38e40d811 [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f295bf [Pipeline] echo 05:07:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:09 provisioning config files... 05:07:09 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp/config11190601750010847506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:09 ---> docker-login.sh 05:07:09 nexus3.edgexfoundry.org:10001 05:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:10 Configure a credential helper to remove this warning. See 05:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:10 05:07:10 Login Succeeded 05:07:10 nexus3.edgexfoundry.org:10002 05:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:10 Configure a credential helper to remove this warning. See 05:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:10 05:07:10 Login Succeeded 05:07:10 nexus3.edgexfoundry.org:10003 05:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:10 Configure a credential helper to remove this warning. See 05:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:10 05:07:10 Login Succeeded 05:07:10 nexus3.edgexfoundry.org:10004 05:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:10 Configure a credential helper to remove this warning. See 05:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:10 05:07:10 Login Succeeded 05:07:10 docker.io 05:07:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:10 Configure a credential helper to remove this warning. See 05:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:10 05:07:10 Login Succeeded 05:07:10 ---> docker-login.sh ends [Pipeline] } 05:07:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:07:11 + git rev-list -1 --merges 2f295bf45187d1a26f8e0d2ae80176c38e40d811~1..2f295bf45187d1a26f8e0d2ae80176c38e40d811 [Pipeline] echo 05:07:11 -----------> git rev-list -1 --merges 2f295bf45187d1a26f8e0d2ae80176c38e40d811~1..2f295bf45187d1a26f8e0d2ae80176c38e40d811 2f295bf45187d1a26f8e0d2ae80176c38e40d811 [false] [Pipeline] sh 05:07:11 + git log --format=format:%s -1 2f295bf45187d1a26f8e0d2ae80176c38e40d811 [Pipeline] echo 05:07:12 ========================================================= 05:07:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:07:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:12 + git log --format=format:%s -1 2f295bf45187d1a26f8e0d2ae80176c38e40d811 [Pipeline] echo 05:07:12 [semverPrep] GIT_COMMIT: 2f295bf45187d1a26f8e0d2ae80176c38e40d811, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:07:12 [semverPrep] This is not a build commit. [Pipeline] sh 05:07:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:07:12 + grep -v github /etc/ssh/ssh_known_hosts 05:07:12 + [ -e /tmp/ssh_known_hosts ] 05:07:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:07:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:07:12 + sudo tee -a /etc/ssh/ssh_known_hosts 05:07:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:13 05:07:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:13 0.1.4: Pulling from edgex-devops/py-git-semver 05:07:13 b85a868b505f: Pulling fs layer 05:07:13 e2be974225ed: Pulling fs layer 05:07:13 339a4e72a1f5: Pulling fs layer 05:07:13 988bab9f4d93: Pulling fs layer 05:07:13 1469e6f7b9e6: Pulling fs layer 05:07:13 eaf3925da568: Pulling fs layer 05:07:13 bab4dde63d76: Pulling fs layer 05:07:13 bde34c3a00c8: Pulling fs layer 05:07:13 b352a97aabf1: Pulling fs layer 05:07:13 4872d77fe225: Pulling fs layer 05:07:13 5851b861e8e6: Pulling fs layer 05:07:13 bab4dde63d76: Waiting 05:07:13 b352a97aabf1: Waiting 05:07:13 988bab9f4d93: Waiting 05:07:13 1469e6f7b9e6: Waiting 05:07:13 eaf3925da568: Waiting 05:07:13 5851b861e8e6: Waiting 05:07:13 4872d77fe225: Waiting 05:07:13 bde34c3a00c8: Waiting 05:07:13 e2be974225ed: Download complete 05:07:13 988bab9f4d93: Verifying Checksum 05:07:13 988bab9f4d93: Download complete 05:07:14 1469e6f7b9e6: Verifying Checksum 05:07:14 1469e6f7b9e6: Download complete 05:07:14 339a4e72a1f5: Verifying Checksum 05:07:14 339a4e72a1f5: Download complete 05:07:14 eaf3925da568: Download complete 05:07:14 bde34c3a00c8: Verifying Checksum 05:07:14 bde34c3a00c8: Download complete 05:07:14 b352a97aabf1: Verifying Checksum 05:07:14 b352a97aabf1: Download complete 05:07:14 4872d77fe225: Verifying Checksum 05:07:14 4872d77fe225: Download complete 05:07:14 5851b861e8e6: Download complete 05:07:14 b85a868b505f: Verifying Checksum 05:07:14 b85a868b505f: Download complete 05:07:14 bab4dde63d76: Verifying Checksum 05:07:14 bab4dde63d76: Download complete 05:07:15 b85a868b505f: Pull complete 05:07:15 e2be974225ed: Pull complete 05:07:16 339a4e72a1f5: Pull complete 05:07:16 988bab9f4d93: Pull complete 05:07:16 1469e6f7b9e6: Pull complete 05:07:16 eaf3925da568: Pull complete 05:07:18 bab4dde63d76: Pull complete 05:07:18 bde34c3a00c8: Pull complete 05:07:18 b352a97aabf1: Pull complete 05:07:18 4872d77fe225: Pull complete 05:07:18 5851b861e8e6: Pull complete 05:07:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:07:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:07:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:18 prd-ubuntu20.04-docker-8c-8g-16823 does not seem to be running inside a container 05:07:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-329 -v /w/workspace/gexfoundry_device-snmp-go_PR-329:/w/workspace/gexfoundry_device-snmp-go_PR-329:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-329@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:07:21 $ docker top 7d5f83b60549a80c4bdb61596a991ec4b67e9d44205f46a8033b44c2395b5a4e -eo pid,comm 05:07:21 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:07:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:07:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:21 [ssh-agent] Looking for ssh-agent implementation... 05:07:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:21 $ docker exec 7d5f83b60549a80c4bdb61596a991ec4b67e9d44205f46a8033b44c2395b5a4e ssh-agent 05:07:22 SSH_AUTH_SOCK=/tmp/ssh-3UNhH7qAsd3q/agent.33 05:07:22 SSH_AGENT_PID=39 05:07:22 Running ssh-add (command line suppressed) 05:07:22 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-329@tmp/private_key_732142769502939953.key (/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp/private_key_732142769502939953.key) 05:07:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:22 + git tag --points-at HEAD [Pipeline] } 05:07:22 $ docker exec --env ******** --env ******** 7d5f83b60549a80c4bdb61596a991ec4b67e9d44205f46a8033b44c2395b5a4e ssh-agent -k 05:07:22 unset SSH_AUTH_SOCK; 05:07:22 unset SSH_AGENT_PID; 05:07:22 echo Agent pid 39 killed; 05:07:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:07:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:07:22 [ssh-agent] Looking for ssh-agent implementation... 05:07:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:07:22 $ docker exec 7d5f83b60549a80c4bdb61596a991ec4b67e9d44205f46a8033b44c2395b5a4e ssh-agent 05:07:23 SSH_AUTH_SOCK=/tmp/ssh-hdPZO1gqN17O/agent.72 05:07:23 SSH_AGENT_PID=78 05:07:23 Running ssh-add (command line suppressed) 05:07:23 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-329@tmp/private_key_2419585037686027006.key (/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp/private_key_2419585037686027006.key) 05:07:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:07:23 + git semver init 05:07:23 2023-11-07 05:07:23,692 [run_init] DEBUG init version:0.0.0 force:False 05:07:23 2023-11-07 05:07:23,692 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-329/.semver 05:07:23 2023-11-07 05:07:23,693 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-329/.semver 05:07:23 2023-11-07 05:07:23,693 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-329/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-329, universal_newlines=False, shell=None, istream=None) 05:07:24 2023-11-07 05:07:24,548 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-329/.git/info/exclude 05:07:24 2023-11-07 05:07:24,549 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-329/.semver/PR-329 with force:False 05:07:24 2023-11-07 05:07:24,549 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-329/.semver/PR-329 05:07:24 2023-11-07 05:07:24,553 [execute] INFO git cat-file --batch-check 05:07:24 2023-11-07 05:07:24,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-329/.semver, universal_newlines=False, shell=None, istream=) 05:07:24 2023-11-07 05:07:24,558 [execute] INFO git cat-file --batch 05:07:24 2023-11-07 05:07:24,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-329/.semver, universal_newlines=False, shell=None, istream=) 05:07:24 2023-11-07 05:07:24,563 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-329/.semver/PR-329 05:07:24 0.0.0 [Pipeline] } 05:07:24 $ docker exec --env ******** --env ******** 7d5f83b60549a80c4bdb61596a991ec4b67e9d44205f46a8033b44c2395b5a4e ssh-agent -k 05:07:24 unset SSH_AUTH_SOCK; 05:07:24 unset SSH_AGENT_PID; 05:07:24 echo Agent pid 78 killed; 05:07:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:07:25 + git semver [Pipeline] } 05:07:25 $ docker stop --time=1 7d5f83b60549a80c4bdb61596a991ec4b67e9d44205f46a8033b44c2395b5a4e 05:07:27 $ docker rm -f --volumes 7d5f83b60549a80c4bdb61596a991ec4b67e9d44205f46a8033b44c2395b5a4e [Pipeline] // withDockerContainer [Pipeline] sh 05:07:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:07:28 Stashed 1 file(s) [Pipeline] echo 05:07:28 [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:07:28 provisioning config files... 05:07:28 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp/config12075274433446691257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:29 ---> docker-login.sh 05:07:29 nexus3.edgexfoundry.org:10001 05:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:29 Configure a credential helper to remove this warning. See 05:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:29 05:07:29 Login Succeeded 05:07:29 nexus3.edgexfoundry.org:10002 05:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:29 Configure a credential helper to remove this warning. See 05:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:29 05:07:29 Login Succeeded 05:07:29 nexus3.edgexfoundry.org:10003 05:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:29 Configure a credential helper to remove this warning. See 05:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:29 05:07:29 Login Succeeded 05:07:29 nexus3.edgexfoundry.org:10004 05:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:29 Configure a credential helper to remove this warning. See 05:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:29 05:07:29 Login Succeeded 05:07:29 docker.io 05:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:29 Configure a credential helper to remove this warning. See 05:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:29 05:07:29 Login Succeeded 05:07:29 ---> docker-login.sh ends [Pipeline] } 05:07:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:07:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:07:29 ========================================================= 05:07:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:07:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:30 + 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:07:30 Sending build context to Docker daemon 5.747MB 05:07:30 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:07:30 Step 2/12 : FROM ${BASE} AS builder 05:07:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:07:30 7264a8db6415: Pulling fs layer 05:07:30 c4d48a809fc2: Pulling fs layer 05:07:30 4f1c88b9dad5: Pulling fs layer 05:07:30 ad3a456e5733: Pulling fs layer 05:07:30 33e27b845d1e: Pulling fs layer 05:07:30 c68163c4e522: Pulling fs layer 05:07:30 50da416c3ac9: Pulling fs layer 05:07:30 23d2d4c4bb30: Pulling fs layer 05:07:30 ad3a456e5733: Waiting 05:07:30 33e27b845d1e: Waiting 05:07:30 c68163c4e522: Waiting 05:07:30 50da416c3ac9: Waiting 05:07:30 23d2d4c4bb30: Waiting 05:07:30 c4d48a809fc2: Download complete 05:07:30 ad3a456e5733: Download complete 05:07:30 33e27b845d1e: Download complete 05:07:30 7264a8db6415: Verifying Checksum 05:07:30 7264a8db6415: Download complete 05:07:30 c68163c4e522: Verifying Checksum 05:07:30 c68163c4e522: Download complete 05:07:30 7264a8db6415: Pull complete 05:07:30 c4d48a809fc2: Pull complete 05:07:30 23d2d4c4bb30: Verifying Checksum 05:07:30 23d2d4c4bb30: Download complete 05:07:31 4f1c88b9dad5: Verifying Checksum 05:07:31 4f1c88b9dad5: Download complete 05:07:31 50da416c3ac9: Verifying Checksum 05:07:31 50da416c3ac9: Download complete 05:07:34 4f1c88b9dad5: Pull complete 05:07:34 ad3a456e5733: Pull complete 05:07:34 33e27b845d1e: Pull complete 05:07:34 c68163c4e522: Pull complete 05:07:36 50da416c3ac9: Pull complete 05:07:37 23d2d4c4bb30: Pull complete 05:07:37 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:07:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:07:37 ---> 0786185ac409 05:07:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:07:42 ---> Running in d2699a70f8e3 05:07:42 Removing intermediate container d2699a70f8e3 05:07:42 ---> 91e4f22bc1a7 05:07:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:07:42 ---> Running in 35c8e7eedfd7 05:07:42 Removing intermediate container 35c8e7eedfd7 05:07:42 ---> 3977a55ee4b3 05:07:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:07:42 ---> Running in 538e94e07a82 05:07:42 Removing intermediate container 538e94e07a82 05:07:42 ---> e826670490b0 05:07:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:07:42 ---> Running in 080ccba6deb2 05:07:42 Removing intermediate container 080ccba6deb2 05:07:42 ---> 75b9b56011d7 05:07:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:42 ---> Running in 791d16d28aad 05:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:07:42 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:07:42 (2/4) Installing libedit (20221030.3.1-r1) 05:07:42 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:07:42 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:07:42 Executing busybox-1.36.1-r2.trigger 05:07:42 OK: 268 MiB in 56 packages 05:07:43 Removing intermediate container 791d16d28aad 05:07:43 ---> da9d2dce3c78 05:07:43 Step 8/12 : WORKDIR /device-snmp-go 05:07:43 ---> Running in 0f908ec6921c 05:07:43 Removing intermediate container 0f908ec6921c 05:07:43 ---> e56dde45418f 05:07:43 Step 9/12 : COPY go.mod vendor* ./ 05:07:43 ---> b4261c9ffb3f 05:07:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:43 Still waiting to schedule task 05:07:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:07:43 ---> Running in e89370ff1e18 05:08:30 Removing intermediate container e89370ff1e18 05:08:30 ---> 258e85f1e323 05:08:30 Step 11/12 : COPY . . 05:08:30 ---> 12c083338502 05:08:30 Step 12/12 : RUN ${MAKE} 05:08:30 ---> Running in 16d0f22fb58a 05:08:30 noop 05:08:30 Removing intermediate container 16d0f22fb58a 05:08:30 ---> cef20f8ae2c3 05:08:30 Successfully built cef20f8ae2c3 05:08:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:30 + docker inspect -f . ci-base-image-x86_64 05:08:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:30 prd-ubuntu20.04-docker-8c-8g-16823 does not seem to be running inside a container 05:08:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-329 -v /w/workspace/gexfoundry_device-snmp-go_PR-329:/w/workspace/gexfoundry_device-snmp-go_PR-329:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-329@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:08:31 $ docker top ed4f5e6f6403cc7b5af8150fb735cb4e845696791c627d89646421b5943b6d29 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:31 + go version 05:08:31 go version go1.21.0 linux/amd64 [Pipeline] } 05:08:31 $ docker stop --time=1 ed4f5e6f6403cc7b5af8150fb735cb4e845696791c627d89646421b5943b6d29 05:08:32 $ docker rm -f --volumes ed4f5e6f6403cc7b5af8150fb735cb4e845696791c627d89646421b5943b6d29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:33 + docker inspect -f . ci-base-image-x86_64 05:08:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:33 prd-ubuntu20.04-docker-8c-8g-16823 does not seem to be running inside a container 05:08:33 $ 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-329 -v /w/workspace/gexfoundry_device-snmp-go_PR-329:/w/workspace/gexfoundry_device-snmp-go_PR-329:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-329@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:08:34 $ docker top 72be06bdfb5293fd3fb2278a1f85b4177abfd3f5b6ab668926512c269f8d2522 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-329 [Pipeline] fileExists [Pipeline] sh 05:08:34 + make test 05:08:34 go test ./... -coverprofile=coverage.out 05:08:36 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:08:46 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:08:46 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 05:08:52 go vet ./... 05:08:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:56 ./bin/test-attribution-txt.sh [Pipeline] echo 05:08:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:08:56 $ docker stop --time=1 72be06bdfb5293fd3fb2278a1f85b4177abfd3f5b6ab668926512c269f8d2522 05:08:59 $ docker rm -f --volumes 72be06bdfb5293fd3fb2278a1f85b4177abfd3f5b6ab668926512c269f8d2522 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:09:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:00 + ls -al . 05:09:00 total 172 05:09:00 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:08 . 05:09:00 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:07 .. 05:09:00 -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 05:07 .dockerignore 05:09:00 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:08 .git 05:09:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:07 .github 05:09:00 -rw-rw-r-- 1 jenkins jenkins 263 Nov 7 05:07 .gitignore 05:09:00 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:07 .golangci.yml 05:09:00 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:07 .semver 05:09:00 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 7 05:07 Attribution.txt 05:09:00 -rw-rw-r-- 1 jenkins jenkins 10534 Nov 7 05:07 CHANGELOG.md 05:09:00 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 7 05:07 Dockerfile 05:09:00 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:07 GOVERNANCE.md 05:09:00 -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 05:07 Jenkinsfile 05:09:00 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:07 LICENSE 05:09:00 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 7 05:07 Makefile 05:09:00 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 05:07 OWNERS.md 05:09:00 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 7 05:07 README.md 05:09:00 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION 05:09:00 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:07 bin 05:09:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:07 cmd 05:09:00 -rw-r--r-- 1 jenkins jenkins 8837 Nov 7 05:08 coverage.out 05:09:00 -rw-rw-r-- 1 jenkins jenkins 3672 Nov 7 05:07 go.mod 05:09:00 -rw-rw-r-- 1 jenkins jenkins 34742 Nov 7 05:07 go.sum 05:09:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:07 internal 05:09:00 -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:01 + 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=2f295bf45187d1a26f8e0d2ae80176c38e40d811 --label arch=amd64 --label version=0.0.0 . 05:09:01 Sending build context to Docker daemon 5.757MB 05:09:01 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:09:01 Step 2/24 : FROM ${BASE} AS builder 05:09:01 ---> cef20f8ae2c3 05:09:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:09:01 ---> Running in a22319b2d2c2 05:09:01 Removing intermediate container a22319b2d2c2 05:09:01 ---> 39d0009fdc4e 05:09:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:09:01 ---> Running in ee309710eaca 05:09:01 Removing intermediate container ee309710eaca 05:09:01 ---> d74c51ae289a 05:09:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:09:01 ---> Running in b459d31cda4d 05:09:01 Removing intermediate container b459d31cda4d 05:09:01 ---> bd5c6d68c936 05:09:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:09:01 ---> Running in f9a13103c827 05:09:01 Removing intermediate container f9a13103c827 05:09:01 ---> d1bb8b7abd49 05:09:01 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:09:01 ---> Running in a7ec503ea947 05:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:09:02 OK: 268 MiB in 56 packages 05:09:02 Removing intermediate container a7ec503ea947 05:09:02 ---> 25d0a9d3d34f 05:09:02 Step 8/24 : WORKDIR /device-snmp-go 05:09:02 ---> Running in 515c44dfe5d6 05:09:02 Removing intermediate container 515c44dfe5d6 05:09:02 ---> 69b155033d6a 05:09:02 Step 9/24 : COPY go.mod vendor* ./ 05:09:03 ---> b2b2aac0f50c 05:09:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:03 ---> Running in faba53b82093 05:09:03 Removing intermediate container faba53b82093 05:09:03 ---> 79f3533a8ec9 05:09:03 Step 11/24 : COPY . . 05:09:03 ---> 3736d733c4a5 05:09:03 Step 12/24 : RUN ${MAKE} 05:09:03 ---> Running in 417f1845cbf9 05:09:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.40" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:09:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16824 in /w/workspace/gexfoundry_device-snmp-go_PR-329 [Pipeline] { [Pipeline] ws 05:09:17 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:09:17 Selected Git installation does not exist. Using Default 05:09:17 The recommended git tool is: NONE 05:09:22 using credential edgex-jenkins-ssh 05:09:22 Cloning the remote Git repository 05:09:22 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:09:22 Removing intermediate container 417f1845cbf9 05:09:22 ---> fda6290f0fa0 05:09:22 Step 13/24 : FROM alpine:3.18 05:09:22 3.18: Pulling from library/alpine 05:09:22 96526aa774ef: Pulling fs layer 05:09:22 96526aa774ef: Download complete 05:09:22 96526aa774ef: Pull complete 05:09:22 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:09:22 Status: Downloaded newer image for alpine:3.18 05:09:22 ---> 8ca4688f4f35 05:09:22 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:09:22 ---> Running in a2c21a297781 05:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:09:23 (1/1) Installing dumb-init (1.2.5-r2) 05:09:23 Executing busybox-1.36.1-r2.trigger 05:09:23 OK: 7 MiB in 16 packages 05:09:22 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:09:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:09:22 > git --version # timeout=10 05:09:22 > git --version # 'git version 2.25.1' 05:09:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:23 Removing intermediate container a2c21a297781 05:09:23 ---> 5391bc42c2bd 05:09:23 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:09:24 ---> 506e90ec3fbe 05:09:24 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:09:24 ---> a38413095736 05:09:24 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:09:24 ---> b81e2c30bd79 05:09:24 Step 18/24 : EXPOSE 59993 05:09:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:09:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:09:24 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:09:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:09:24 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:09:24 ---> Running in aed7affa5c1a 05:09:24 Removing intermediate container aed7affa5c1a 05:09:24 ---> 953aba8f0067 05:09:24 Step 19/24 : EXPOSE 161 05:09:24 ---> Running in c2763d5db2f5 05:09:24 Removing intermediate container c2763d5db2f5 05:09:24 ---> df342afb85ce 05:09:24 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:09:24 ---> Running in 049f6d3c3182 05:09:24 Removing intermediate container 049f6d3c3182 05:09:24 ---> c2db0bd43733 05:09:24 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:09:25 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit 2f295bf45187d1a26f8e0d2ae80176c38e40d811 05:09:25 ---> Running in 9129951c1036 05:09:25 Removing intermediate container 9129951c1036 05:09:25 ---> 8cee76a6c9d3 05:09:25 Step 22/24 : LABEL arch=amd64 05:09:25 ---> Running in 93678cdbfb3d 05:09:25 Removing intermediate container 93678cdbfb3d 05:09:25 ---> 206e00f2e50f 05:09:25 Step 23/24 : LABEL git_sha=2f295bf45187d1a26f8e0d2ae80176c38e40d811 05:09:25 ---> Running in 6e9e23886a08 05:09:25 Removing intermediate container 6e9e23886a08 05:09:25 ---> 3f99aadc3fc3 05:09:25 Step 24/24 : LABEL version=0.0.0 05:09:25 Merge succeeded, producing 2f295bf45187d1a26f8e0d2ae80176c38e40d811 05:09:25 Checking out Revision 2f295bf45187d1a26f8e0d2ae80176c38e40d811 (PR-329) 05:09:25 ---> Running in ca8b5d45e22c 05:09:25 Removing intermediate container ca8b5d45e22c 05:09:25 ---> ca0d276e0e88 05:09:25 [Warning] One or more build-args [ARCH] were not consumed 05:09:25 Successfully built ca0d276e0e88 05:09:25 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) 05:09:25 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" Stage "Snap" skipped due to when conditional [Pipeline] } 05:09:25 > git --version # timeout=10 05:09:25 > git --version # 'git version 2.25.1' 05:09:25 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:25 > git config core.sparsecheckout # timeout=10 05:09:25 > git checkout -f 2f295bf45187d1a26f8e0d2ae80176c38e40d811 # timeout=10 05:09:25 > git remote # timeout=10 05:09:25 > git config --get remote.origin.url # timeout=10 05:09:25 using GIT_SSH to set credentials SSH Credentials for GitHub 05:09:25 > git merge 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 05:09:25 > git rev-parse HEAD^{commit} # timeout=10 05:09:25 > git config core.sparsecheckout # timeout=10 05:09:25 > git checkout -f 2f295bf45187d1a26f8e0d2ae80176c38e40d811 # timeout=10 05:09:26 05:09:26 GitHub has been notified of this commit’s build result 05:09:26 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 05:09:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:26 05:09:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] stage [Pipeline] { (Prep) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:26 latest: Pulling from edgex-lftools-log-publisher 05:09:26 5eb5b503b376: Pulling fs layer 05:09:26 5c69ac0246d0: Pulling fs layer 05:09:26 ec43610c2a17: Pulling fs layer 05:09:26 3a2ae6a8a46f: Pulling fs layer 05:09:26 33b1e0a273af: Pulling fs layer 05:09:26 5d3b04190fa2: Pulling fs layer 05:09:26 2f39f015ded8: Pulling fs layer 05:09:26 5d3b04190fa2: Waiting 05:09:26 3a2ae6a8a46f: Waiting 05:09:26 2f39f015ded8: Waiting 05:09:26 3a2ae6a8a46f: Verifying Checksum 05:09:26 3a2ae6a8a46f: Download complete 05:09:26 33b1e0a273af: Verifying Checksum 05:09:26 33b1e0a273af: Download complete 05:09:26 5d3b04190fa2: Verifying Checksum 05:09:26 5d3b04190fa2: Download complete 05:09:26 ec43610c2a17: Verifying Checksum 05:09:26 ec43610c2a17: Download complete 05:09:27 5eb5b503b376: Verifying Checksum 05:09:27 5eb5b503b376: Download complete 05:09:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:09:27 % Total % Received % Xferd Average Speed Time Time Time Current 05:09:27 Dload Upload Total Spent Left Speed 05:09:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 05:09:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:09:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:09:28 + sudo tee /etc/docker/daemon.new 05:09:28 { 05:09:28 "registry-mirrors": [ 05:09:28 "https://nexus3.edgexfoundry.org:10001" 05:09:28 ], 05:09:28 "bip": "10.250.0.254/24", 05:09:28 "hosts": [ 05:09:28 "tcp://0.0.0.0:5555", 05:09:28 "unix:///var/run/docker.sock" 05:09:28 ], 05:09:28 "mtu": 1458, 05:09:28 "selinux-enabled": true, 05:09:28 "seccomp-profile": "/etc/docker/seccomp.json" 05:09:28 } [Pipeline] sh 05:09:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:09:28 5eb5b503b376: Pull complete 05:09:28 5c69ac0246d0: Pull complete 05:09:28 ec43610c2a17: Pull complete 05:09:28 3a2ae6a8a46f: Pull complete 05:09:28 + sudo service docker restart 05:09:28 33b1e0a273af: Pull complete 05:09:28 5d3b04190fa2: Pull complete 05:09:33 2f39f015ded8: Pull complete 05:09:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:09:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:33 prd-ubuntu20.04-docker-8c-8g-16823 does not seem to be running inside a container 05:09:33 $ 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-329 -v /w/workspace/gexfoundry_device-snmp-go_PR-329:/w/workspace/gexfoundry_device-snmp-go_PR-329:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-329@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:09:39 $ docker top ef8a43bdcad8f6ab58efe07306d893c97dbe22c85ad6005d5b1fd208ad5070f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:40 ---> job-cost.sh 05:09:40 lf-activate-venv: SKIPPING 05:09:40 INFO: No Stack... 05:09:40 INFO: Retrieving Pricing Info for: v3-standard-8 05:09:40 INFO: Archiving Costs [Pipeline] sh 05:09:40 + cat /w/workspace/gexfoundry_device-snmp-go_PR-329/archives/cost.csv 05:09:40 + cut -d, -f6 [Pipeline] lock 05:09:40 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-329-1-stack-cost] 05:09:40 Resource [jenkins-edgexfoundry-device-snmp-go-PR-329-1-stack-cost] did not exist. Created. 05:09:40 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-329-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:41 + echo total: 0.2199999988079071 [Pipeline] stash 05:09:41 Stashed 1 file(s) [Pipeline] } 05:09:41 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-329-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:09:41 $ docker stop --time=1 ef8a43bdcad8f6ab58efe07306d893c97dbe22c85ad6005d5b1fd208ad5070f3 05:09:42 $ docker rm -f --volumes ef8a43bdcad8f6ab58efe07306d893c97dbe22c85ad6005d5b1fd208ad5070f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:46 provisioning config files... 05:09:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7767286505758318659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:47 ---> docker-login.sh 05:09:47 nexus3.edgexfoundry.org:10001 05:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:47 Configure a credential helper to remove this warning. See 05:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:47 05:09:47 Login Succeeded 05:09:47 nexus3.edgexfoundry.org:10002 05:09:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:48 Configure a credential helper to remove this warning. See 05:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:48 05:09:48 Login Succeeded 05:09:48 nexus3.edgexfoundry.org:10003 05:09:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:48 Configure a credential helper to remove this warning. See 05:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:48 05:09:48 Login Succeeded 05:09:48 nexus3.edgexfoundry.org:10004 05:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:49 Configure a credential helper to remove this warning. See 05:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:49 05:09:49 Login Succeeded 05:09:49 docker.io 05:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:49 Configure a credential helper to remove this warning. See 05:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:49 05:09:49 Login Succeeded 05:09:49 ---> docker-login.sh ends [Pipeline] } 05:09:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:09:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:09:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:09:50 ========================================================= 05:09:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:09:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:51 + 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:09:51 Sending build context to Docker daemon 2.951MB 05:09:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:09:51 Step 2/12 : FROM ${BASE} AS builder 05:09:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:09:51 9fda8d8052c6: Pulling fs layer 05:09:51 5d54e960e981: Pulling fs layer 05:09:51 c4a7e357bf2a: Pulling fs layer 05:09:51 f0e02332f6b5: Pulling fs layer 05:09:51 cefa15bbcfad: Pulling fs layer 05:09:51 17808c966233: Pulling fs layer 05:09:51 f4c1fc716caa: Pulling fs layer 05:09:51 f0e02332f6b5: Waiting 05:09:51 cefa15bbcfad: Waiting 05:09:51 17808c966233: Waiting 05:09:51 f4c1fc716caa: Waiting 05:09:51 5d54e960e981: Download complete 05:09:51 f0e02332f6b5: Verifying Checksum 05:09:51 f0e02332f6b5: Download complete 05:09:51 cefa15bbcfad: Verifying Checksum 05:09:51 cefa15bbcfad: Download complete 05:09:51 9fda8d8052c6: Download complete 05:09:52 f4c1fc716caa: Verifying Checksum 05:09:52 f4c1fc716caa: Download complete 05:09:53 9fda8d8052c6: Pull complete 05:09:53 c4a7e357bf2a: Verifying Checksum 05:09:53 c4a7e357bf2a: Download complete 05:09:54 17808c966233: Verifying Checksum 05:09:54 17808c966233: Download complete 05:09:55 5d54e960e981: Pull complete 05:10:08 c4a7e357bf2a: Pull complete 05:10:08 f0e02332f6b5: Pull complete 05:10:08 cefa15bbcfad: Pull complete 05:10:16 17808c966233: Pull complete 05:10:18 f4c1fc716caa: Pull complete 05:10:18 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:10:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:10:18 ---> ea914061e18c 05:10:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:10:20 ---> Running in c184acbca7c2 05:10:20 Removing intermediate container c184acbca7c2 05:10:20 ---> 7f2ca68c13b8 05:10:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:10:20 ---> Running in 32f149d0e62d 05:10:20 Removing intermediate container 32f149d0e62d 05:10:20 ---> a287b1e3ef0c 05:10:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:10:21 ---> Running in 2a50fa5fa8be 05:10:21 Removing intermediate container 2a50fa5fa8be 05:10:21 ---> 31ccad33944c 05:10:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:10:21 ---> Running in 58159a91b030 05:10:21 Removing intermediate container 58159a91b030 05:10:21 ---> e32a0601615b 05:10:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:21 ---> Running in 271aa483fcb4 05:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:10:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:10:24 (1/4) Installing openssh-keygen (9.3_p2-r0) 05:10:24 (2/4) Installing libedit (20221030.3.1-r1) 05:10:24 (3/4) Installing openssh-client-common (9.3_p2-r0) 05:10:24 (4/4) Installing openssh-client-default (9.3_p2-r0) 05:10:24 Executing busybox-1.36.1-r2.trigger 05:10:24 OK: 270 MiB in 56 packages 05:10:25 Removing intermediate container 271aa483fcb4 05:10:25 ---> 8ee4fa438007 05:10:25 Step 8/12 : WORKDIR /device-snmp-go 05:10:25 ---> Running in a659b7328c70 05:10:26 Removing intermediate container a659b7328c70 05:10:26 ---> fc155ec18873 05:10:26 Step 9/12 : COPY go.mod vendor* ./ 05:10:26 ---> 2a6733ea7da2 05:10:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:26 ---> Running in e3b9b4956bdc 05:11:48 Removing intermediate container e3b9b4956bdc 05:11:48 ---> 135700e38b2b 05:11:48 Step 11/12 : COPY . . 05:11:48 ---> 9900c49e71ab 05:11:48 Step 12/12 : RUN ${MAKE} 05:11:48 ---> Running in 080b77a1a146 05:11:48 noop 05:11:48 Removing intermediate container 080b77a1a146 05:11:48 ---> 8387a2192aa9 05:11:48 Successfully built 8387a2192aa9 05:11:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:48 + docker inspect -f . ci-base-image-arm64 05:11:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:49 prd-ubuntu20.04-docker-arm64-4c-16g-16824 does not seem to be running inside a container 05:11:49 $ 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:11:50 $ docker top fd52f13cdd98c70c5aa761a9ea6e705b3037268c2841dbe7aab3765a44ca9f96 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:51 + go version 05:11:51 go version go1.21.0 linux/arm64 [Pipeline] } 05:11:51 $ docker stop --time=1 fd52f13cdd98c70c5aa761a9ea6e705b3037268c2841dbe7aab3765a44ca9f96 05:11:52 $ docker rm -f --volumes fd52f13cdd98c70c5aa761a9ea6e705b3037268c2841dbe7aab3765a44ca9f96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:53 + docker inspect -f . ci-base-image-arm64 05:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:53 prd-ubuntu20.04-docker-arm64-4c-16g-16824 does not seem to be running inside a container 05:11:53 $ 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:11:55 $ docker top edf7055d98b50ffe8c0028343b87ac5e8a55c8d70f1386b82d8aec2eb8201e52 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:55 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 05:11:56 + make test 05:11:56 go test ./... -coverprofile=coverage.out 05:12:04 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:13:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:13:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.033s coverage: 0.0% of statements 05:13:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:13:41 go vet ./... 05:13:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:13:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:13:56 ./bin/test-attribution-txt.sh [Pipeline] echo 05:13:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:13:56 $ docker stop --time=1 edf7055d98b50ffe8c0028343b87ac5e8a55c8d70f1386b82d8aec2eb8201e52 05:13:58 $ docker rm -f --volumes edf7055d98b50ffe8c0028343b87ac5e8a55c8d70f1386b82d8aec2eb8201e52 [Pipeline] // withDockerContainer [Pipeline] sh 05:13:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:13:59 Warning: overwriting stash ‘coverage-report’ 05:14:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:14:01 + ls -al . 05:14:01 total 168 05:14:01 drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 05:12 . 05:14:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:09 .. 05:14:01 -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 05:09 .dockerignore 05:14:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:09 .git 05:14:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:09 .github 05:14:01 -rw-rw-r-- 1 jenkins jenkins 263 Nov 7 05:09 .gitignore 05:14:01 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:09 .golangci.yml 05:14:01 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 7 05:09 Attribution.txt 05:14:01 -rw-rw-r-- 1 jenkins jenkins 10534 Nov 7 05:09 CHANGELOG.md 05:14:01 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 7 05:09 Dockerfile 05:14:01 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:09 GOVERNANCE.md 05:14:01 -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 05:09 Jenkinsfile 05:14:01 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:09 LICENSE 05:14:01 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 7 05:09 Makefile 05:14:01 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 05:09 OWNERS.md 05:14:01 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 7 05:09 README.md 05:14:01 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION 05:14:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:09 bin 05:14:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:09 cmd 05:14:01 -rw-r--r-- 1 jenkins jenkins 8837 Nov 7 05:13 coverage.out 05:14:01 -rw-rw-r-- 1 jenkins jenkins 3672 Nov 7 05:09 go.mod 05:14:01 -rw-rw-r-- 1 jenkins jenkins 34742 Nov 7 05:09 go.sum 05:14:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:09 internal 05:14:01 -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 05:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:01 + 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=2f295bf45187d1a26f8e0d2ae80176c38e40d811 --label arch=arm64 --label version=0.0.0 . 05:14:01 Sending build context to Docker daemon 2.961MB 05:14:01 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:14:01 Step 2/24 : FROM ${BASE} AS builder 05:14:01 ---> 8387a2192aa9 05:14:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 05:14:02 ---> Running in 2064dc481deb 05:14:02 Removing intermediate container 2064dc481deb 05:14:02 ---> 137ec2e31b32 05:14:02 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:14:02 ---> Running in 357a220bdb9d 05:14:02 Removing intermediate container 357a220bdb9d 05:14:02 ---> bf8a68374c1f 05:14:02 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:14:03 ---> Running in 6f405e25ac93 05:14:03 Removing intermediate container 6f405e25ac93 05:14:03 ---> c9d9ef3310b8 05:14:03 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 05:14:03 ---> Running in 0667d1e24352 05:14:05 Removing intermediate container 0667d1e24352 05:14:05 ---> 58118cdc8679 05:14:05 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:14:05 ---> Running in bc62fa2ef77c 05:14:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:14:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:14:08 OK: 270 MiB in 56 packages 05:14:09 Removing intermediate container bc62fa2ef77c 05:14:09 ---> dd8c7390cb83 05:14:09 Step 8/24 : WORKDIR /device-snmp-go 05:14:09 ---> Running in dabe9456896c 05:14:10 Removing intermediate container dabe9456896c 05:14:10 ---> 6f9cf30677ab 05:14:10 Step 9/24 : COPY go.mod vendor* ./ 05:14:12 ---> 8ea696d8295f 05:14:12 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:12 ---> Running in 6554522c5ede 05:14:15 Removing intermediate container 6554522c5ede 05:14:15 ---> 5f89c545dd07 05:14:15 Step 11/24 : COPY . . 05:14:20 ---> 5d88f8af5b79 05:14:20 Step 12/24 : RUN ${MAKE} 05:14:20 ---> Running in 3f3db672e0e9 05:14:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.40" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 05:16:13 Removing intermediate container 3f3db672e0e9 05:16:13 ---> 303cbb7cf159 05:16:13 Step 13/24 : FROM alpine:3.18 05:16:13 3.18: Pulling from library/alpine 05:16:13 579b34f0a95b: Pulling fs layer 05:16:14 579b34f0a95b: Verifying Checksum 05:16:14 579b34f0a95b: Download complete 05:16:14 579b34f0a95b: Pull complete 05:16:14 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:16:14 Status: Downloaded newer image for alpine:3.18 05:16:14 ---> 3cc203321400 05:16:14 Step 14/24 : RUN apk add --update --no-cache dumb-init 05:16:14 ---> Running in 1a845ab6bb5f 05:16:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:16:17 (1/1) Installing dumb-init (1.2.5-r2) 05:16:17 Executing busybox-1.36.1-r2.trigger 05:16:17 OK: 8 MiB in 16 packages 05:16:18 Removing intermediate container 1a845ab6bb5f 05:16:18 ---> 462b4f0d4aff 05:16:18 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:16:19 ---> 28363b098796 05:16:19 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:16:20 ---> 496df623fbf1 05:16:20 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:16:20 ---> 3a3371a32381 05:16:20 Step 18/24 : EXPOSE 59993 05:16:20 ---> Running in 15d5cfce53e1 05:16:21 Removing intermediate container 15d5cfce53e1 05:16:21 ---> ad27c72ed875 05:16:21 Step 19/24 : EXPOSE 161 05:16:21 ---> Running in 84c4bead5618 05:16:21 Removing intermediate container 84c4bead5618 05:16:21 ---> 964d2eed13a3 05:16:21 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:16:21 ---> Running in 635236a9d77f 05:16:21 Removing intermediate container 635236a9d77f 05:16:21 ---> 688072ee2f52 05:16:21 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:16:21 ---> Running in af7af3e97a3f 05:16:22 Removing intermediate container af7af3e97a3f 05:16:22 ---> 1d03d3b29d8c 05:16:22 Step 22/24 : LABEL arch=arm64 05:16:22 ---> Running in c60169dfd072 05:16:22 Removing intermediate container c60169dfd072 05:16:22 ---> 4408b5d778bb 05:16:22 Step 23/24 : LABEL git_sha=2f295bf45187d1a26f8e0d2ae80176c38e40d811 05:16:22 ---> Running in 5fc722b6c6c3 05:16:22 Removing intermediate container 5fc722b6c6c3 05:16:22 ---> 12476ce2ffac 05:16:22 Step 24/24 : LABEL version=0.0.0 05:16:23 ---> Running in 8f368ebded4a 05:16:23 Removing intermediate container 8f368ebded4a 05:16:23 ---> ed1afde91b8c 05:16:23 [Warning] One or more build-args [ARCH] were not consumed 05:16:23 Successfully built ed1afde91b8c 05:16:23 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:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:24 05:16:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:27 arm64: Pulling from edgex-lftools-log-publisher 05:16:27 8998bd30e6a1: Pulling fs layer 05:16:27 04944245beec: Pulling fs layer 05:16:27 699f458cf7ca: Pulling fs layer 05:16:27 765212b225bb: Pulling fs layer 05:16:27 f23df028b6ca: Pulling fs layer 05:16:27 d65c8cfc05b1: Pulling fs layer 05:16:27 2437ff75d9bd: Pulling fs layer 05:16:27 765212b225bb: Waiting 05:16:27 f23df028b6ca: Waiting 05:16:27 d65c8cfc05b1: Waiting 05:16:27 2437ff75d9bd: Waiting 05:16:27 04944245beec: Verifying Checksum 05:16:27 04944245beec: Download complete 05:16:27 765212b225bb: Verifying Checksum 05:16:27 765212b225bb: Download complete 05:16:27 f23df028b6ca: Verifying Checksum 05:16:27 f23df028b6ca: Download complete 05:16:27 d65c8cfc05b1: Verifying Checksum 05:16:27 d65c8cfc05b1: Download complete 05:16:27 699f458cf7ca: Verifying Checksum 05:16:27 699f458cf7ca: Download complete 05:16:27 8998bd30e6a1: Verifying Checksum 05:16:27 8998bd30e6a1: Download complete 05:16:30 2437ff75d9bd: Verifying Checksum 05:16:30 2437ff75d9bd: Download complete 05:16:32 8998bd30e6a1: Pull complete 05:16:33 04944245beec: Pull complete 05:16:34 699f458cf7ca: Pull complete 05:16:34 765212b225bb: Pull complete 05:16:35 f23df028b6ca: Pull complete 05:16:35 d65c8cfc05b1: Pull complete 05:16:57 2437ff75d9bd: Pull complete 05:16:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:16:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:16:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:16:58 prd-ubuntu20.04-docker-arm64-4c-16g-16824 does not seem to be running inside a container 05:16:58 $ 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:17:00 $ docker top 80162412fa4f63a28b94532a1fa7eafdfc3011296152a09421b21ea47dc2e9e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:17:01 ---> job-cost.sh 05:17:01 lf-activate-venv: SKIPPING 05:17:01 INFO: No Stack... 05:17:02 INFO: Retrieving Pricing Info for: v3-standard-4 05:17:03 INFO: Archiving Costs [Pipeline] sh 05:17:04 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:17:04 + cut -d, -f6 [Pipeline] lock 05:17:04 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-329-1-stack-cost] 05:17:04 Resource [jenkins-edgexfoundry-device-snmp-go-PR-329-1-stack-cost] did not exist. Created. 05:17:04 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-329-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:17:04 /w/workspace/device-snmp-go/1@tmp/durable-655254ef/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:17:05 + echo total: 0.10999999940395355 [Pipeline] stash 05:17:05 Warning: overwriting stash ‘stack-cost’ 05:17:05 Stashed 1 file(s) [Pipeline] } 05:17:05 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-329-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:17:05 $ docker stop --time=1 80162412fa4f63a28b94532a1fa7eafdfc3011296152a09421b21ea47dc2e9e0 05:17:08 $ docker rm -f --volumes 80162412fa4f63a28b94532a1fa7eafdfc3011296152a09421b21ea47dc2e9e0 [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:17:09 provisioning config files... 05:17:09 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp/config12884835560123798073tmp [Pipeline] { [Pipeline] sh 05:17:09 + set +x 05:17:09 + bash -s -- 05:17:09 + curl -s https://codecov.io/bash 05:17:09 05:17:09 _____ _ 05:17:09 / ____| | | 05:17:09 | | ___ __| | ___ ___ _____ __ 05:17:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:17:09 | |___| (_) | (_| | __/ (_| (_) \ V / 05:17:09 \_____\___/ \__,_|\___|\___\___/ \_/ 05:17:09 Bash-1.0.6 05:17:09 05:17:09 05:17:09 ==> git version 2.25.1 found 05:17:09 ==> 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:17:09 Release-Date: 2020-01-08 05:17:09 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:17:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:17:09 ==> Jenkins CI detected. 05:17:09 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-329 05:17:09 project root: . 05:17:09 --> token set from env 05:17:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:17:09 ==> Running gcov in . (disable via -X gcov) 05:17:09 ==> Python coveragepy not found 05:17:09 ==> Searching for coverage reports in: 05:17:09 + . 05:17:09 -> Found 1 reports 05:17:09 ==> Detecting git/mercurial file structure 05:17:09 ==> Reading reports 05:17:09 + ./coverage.out bytes=8837 05:17:09 ==> Appending adjustments 05:17:09 https://docs.codecov.io/docs/fixing-reports 05:17:09 + Found adjustments 05:17:09 ==> Gzipping contents 05:17:09 4.0K /tmp/codecov.ciLUwR.gz 05:17:09 ==> Uploading reports 05:17:09 url: https://codecov.io 05:17:09 query: branch=PR-329&commit=2f295bf45187d1a26f8e0d2ae80176c38e40d811&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-329%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=329&job=&cmd_args= 05:17:09 -> Pinging Codecov 05:17:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-329&commit=2f295bf45187d1a26f8e0d2ae80176c38e40d811&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-329%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=329&job=&cmd_args= 05:17:09 -> Uploading to 05:17:09 https://storage.googleapis.com/codecov/v4/raw/2023-11-07/6C56EA5C29638FB4528AC87E60AF5AE0/2f295bf45187d1a26f8e0d2ae80176c38e40d811/19af1206-1867-435b-bba2-debf41647474.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T051709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3311c27f5ec98557ada4d4da1741b22030370becd4cf262b03ac00ad1247c844 05:17:09 % Total % Received % Xferd Average Speed Time Time Time Current 05:17:09 Dload Upload Total Spent Left Speed 05:17:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5649 --:--:-- --:--:-- --:--:-- 5649 05:17:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/2f295bf45187d1a26f8e0d2ae80176c38e40d811 [Pipeline] } 05:17:10 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:17:12 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-329/archives ] 05:17:12 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-329/archives 05:17:12 total 16 05:17:12 drwxr-xr-x 3 root root 4096 Nov 7 05:09 . 05:17:12 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 05:09 .. 05:17:12 drwxr-xr-x 2 root root 4096 Nov 7 05:09 cost 05:17:12 -rw-r--r-- 1 root root 86 Nov 7 05:09 cost.csv 05:17:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-329/archives 05:17:12 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-329/archives 05:17:12 total 16 05:17:12 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:09 . 05:17:12 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 05:09 .. 05:17:12 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 05:09 cost 05:17:12 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 05:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:17:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:17:13 ---> package-listing.sh 05:17:13 ++ facter osfamily 05:17:13 ++ tr '[:upper:]' '[:lower:]' 05:17:13 + OS_FAMILY=debian 05:17:13 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-329 05:17:13 + START_PACKAGES=/tmp/packages_start.txt 05:17:13 + END_PACKAGES=/tmp/packages_end.txt 05:17:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:17:13 + PACKAGES=/tmp/packages_start.txt 05:17:13 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-329 ']' 05:17:13 + PACKAGES=/tmp/packages_end.txt 05:17:13 + case "${OS_FAMILY}" in 05:17:13 + dpkg -l 05:17:13 + grep '^ii' 05:17:13 + '[' -f /tmp/packages_start.txt ']' 05:17:13 + '[' -f /tmp/packages_end.txt ']' 05:17:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:17:13 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-329 ']' 05:17:13 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-329/archives/ 05:17:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-329/archives/ [Pipeline] echo 05:17:13 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-329/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:17:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:17:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:14 prd-ubuntu20.04-docker-8c-8g-16823 does not seem to be running inside a container 05:17:14 $ 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-329/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-329 -v /w/workspace/gexfoundry_device-snmp-go_PR-329:/w/workspace/gexfoundry_device-snmp-go_PR-329:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-329@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-329@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:17:14 $ docker top fc95f2f14e027b0faf4d48d7d9911ce06e528419332e4b0fa0f0eea9f2b3ba7a -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:15 + touch /tmp/pre-build-complete [Pipeline] sh 05:17:15 + mkdir -p /var/log/sysstat [Pipeline] sh 05:17:15 + ls /var/log/sa-host 05:17:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:17:16 provisioning config files... 05:17:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-329@tmp/config16931706883229524615tmp [Pipeline] { [Pipeline] echo 05:17:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:17:16 ---> create-netrc.sh [Pipeline] } 05:17:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:17:16 ---> python-tools-install.sh [Pipeline] echo 05:17:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:17:17 ---> sudo-logs.sh 05:17:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:17:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:17:17 ---> job-cost.sh 05:17:17 lf-activate-venv: SKIPPING 05:17:17 DEBUG: total: 0.2199999988079071 05:17:17 INFO: Retrieving Stack Cost... 05:17:17 INFO: Retrieving Pricing Info for: v3-standard-8 05:17:18 INFO: Archiving Costs [Pipeline] echo 05:17:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:17:18 ---> logs-deploy.sh 05:17:18 lf-activate-venv: SKIPPING 05:17:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-329/1 05:17:18 INFO: archiving workspace using pattern(s): 05:17:19 Archives upload complete. 05:17:19 INFO: archiving logs to Nexus