Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 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-ssh7851098669117915583.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-ssh12120828847397688398.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2257882643008408571.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 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-ssh16329757308782422990.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4220005572493820205.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-17263 in /w/workspace/edgexfoundry_device-snmp-go_main [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/edgexfoundry_device-snmp-go_main # 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 Avoid second fetch Checking out Revision 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#330)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 > git rev-list --no-walk 035feacf7376206129236edf6c51b035a5ab8cee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:32:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:32:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:32:16 ========================================================= 17:32:16 EdgeX Global Pipelines Version Info 17:32:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:32:17 ------------------- 17:32:17 stable info: 17:32:17 ------------------- 17:32:17 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 17:32:17 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 17:32:17 Message: update stable to v1.0.257 17:32:18 ------------------- 17:32:18 experimental info: 17:32:18 ------------------- 17:32:18 Commited By: **** collab-it+edgex@linuxfoundation.org 17:32:18 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 17:32:18 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:32:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e94b9f [Pipeline] echo 17:32:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:19 provisioning config files... 17:32:19 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13674320426070972228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:19 ---> docker-login.sh 17:32:19 nexus3.edgexfoundry.org:10001 17:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:19 Configure a credential helper to remove this warning. See 17:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:19 17:32:19 Login Succeeded 17:32:19 nexus3.edgexfoundry.org:10002 17:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:20 Configure a credential helper to remove this warning. See 17:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:20 17:32:20 Login Succeeded 17:32:20 nexus3.edgexfoundry.org:10003 17:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:20 Configure a credential helper to remove this warning. See 17:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:20 17:32:20 Login Succeeded 17:32:20 nexus3.edgexfoundry.org:10004 17:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:20 Configure a credential helper to remove this warning. See 17:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:20 17:32:20 Login Succeeded 17:32:20 docker.io 17:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:24 Configure a credential helper to remove this warning. See 17:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:24 17:32:24 Login Succeeded 17:32:24 ---> docker-login.sh ends [Pipeline] } 17:32:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:32:25 + git rev-list -1 --merges 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2~1..7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] echo 17:32:25 -----------> git rev-list -1 --merges 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2~1..7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [false] [Pipeline] sh 17:32:25 + git log --format=format:%s -1 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] echo 17:32:25 ========================================================= 17:32:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:32:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:25 + git log --format=format:%s -1 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] echo 17:32:25 [semverPrep] GIT_COMMIT: 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#330) [Pipeline] echo 17:32:25 [semverPrep] This is not a build commit. [Pipeline] sh 17:32:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:32:26 + grep -v github /etc/ssh/ssh_known_hosts 17:32:26 + [ -e /tmp/ssh_known_hosts ] 17:32:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:32:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:32:26 + sudo tee -a /etc/ssh/ssh_known_hosts 17:32:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:26 17:32:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:26 0.1.4: Pulling from edgex-devops/py-git-semver 17:32:26 b85a868b505f: Pulling fs layer 17:32:26 e2be974225ed: Pulling fs layer 17:32:26 339a4e72a1f5: Pulling fs layer 17:32:26 988bab9f4d93: Pulling fs layer 17:32:26 1469e6f7b9e6: Pulling fs layer 17:32:26 eaf3925da568: Pulling fs layer 17:32:26 bab4dde63d76: Pulling fs layer 17:32:26 bde34c3a00c8: Pulling fs layer 17:32:26 b352a97aabf1: Pulling fs layer 17:32:26 4872d77fe225: Pulling fs layer 17:32:26 5851b861e8e6: Pulling fs layer 17:32:26 988bab9f4d93: Waiting 17:32:26 bde34c3a00c8: Waiting 17:32:26 1469e6f7b9e6: Waiting 17:32:26 eaf3925da568: Waiting 17:32:26 4872d77fe225: Waiting 17:32:26 bab4dde63d76: Waiting 17:32:26 5851b861e8e6: Waiting 17:32:26 b352a97aabf1: Waiting 17:32:26 e2be974225ed: Verifying Checksum 17:32:26 e2be974225ed: Download complete 17:32:26 988bab9f4d93: Verifying Checksum 17:32:26 988bab9f4d93: Download complete 17:32:27 1469e6f7b9e6: Verifying Checksum 17:32:27 1469e6f7b9e6: Download complete 17:32:27 eaf3925da568: Verifying Checksum 17:32:27 eaf3925da568: Download complete 17:32:27 339a4e72a1f5: Verifying Checksum 17:32:27 339a4e72a1f5: Download complete 17:32:27 bde34c3a00c8: Download complete 17:32:27 b352a97aabf1: Download complete 17:32:27 4872d77fe225: Verifying Checksum 17:32:27 4872d77fe225: Download complete 17:32:27 5851b861e8e6: Download complete 17:32:27 b85a868b505f: Verifying Checksum 17:32:27 b85a868b505f: Download complete 17:32:27 bab4dde63d76: Verifying Checksum 17:32:27 bab4dde63d76: Download complete 17:32:28 b85a868b505f: Pull complete 17:32:28 e2be974225ed: Pull complete 17:32:28 339a4e72a1f5: Pull complete 17:32:28 988bab9f4d93: Pull complete 17:32:29 1469e6f7b9e6: Pull complete 17:32:29 eaf3925da568: Pull complete 17:32:31 bab4dde63d76: Pull complete 17:32:31 bde34c3a00c8: Pull complete 17:32:31 b352a97aabf1: Pull complete 17:32:31 4872d77fe225: Pull complete 17:32:31 5851b861e8e6: Pull complete 17:32:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:32:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:32:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:32:31 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 17:32:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:32:33 $ docker top 7f253226e58d51c99830dac44f8bee1563f5d24da6e4c9afffa591c04aa19653 -eo pid,comm 17:32:33 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). 17:32:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:32:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:33 [ssh-agent] Looking for ssh-agent implementation... 17:32:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:33 $ docker exec 7f253226e58d51c99830dac44f8bee1563f5d24da6e4c9afffa591c04aa19653 ssh-agent 17:32:33 SSH_AUTH_SOCK=/tmp/ssh-qGARoXSgRPJ5/agent.31 17:32:33 SSH_AGENT_PID=37 17:32:33 Running ssh-add (command line suppressed) 17:32:33 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17663850107996815453.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_17663850107996815453.key) 17:32:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:34 + git tag --points-at HEAD [Pipeline] } 17:32:34 $ docker exec --env ******** --env ******** 7f253226e58d51c99830dac44f8bee1563f5d24da6e4c9afffa591c04aa19653 ssh-agent -k 17:32:34 unset SSH_AUTH_SOCK; 17:32:34 unset SSH_AGENT_PID; 17:32:34 echo Agent pid 37 killed; 17:32:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:32:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:32:34 [ssh-agent] Looking for ssh-agent implementation... 17:32:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:32:34 $ docker exec 7f253226e58d51c99830dac44f8bee1563f5d24da6e4c9afffa591c04aa19653 ssh-agent 17:32:34 SSH_AUTH_SOCK=/tmp/ssh-50QkYA2WfDbM/agent.70 17:32:34 SSH_AGENT_PID=76 17:32:34 Running ssh-add (command line suppressed) 17:32:34 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16092075730675928060.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_16092075730675928060.key) 17:32:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:32:34 + git semver init 17:32:35 2023-11-11 17:32:35,059 [run_init] DEBUG init version:0.0.0 force:False 17:32:35 2023-11-11 17:32:35,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 17:32:35 2023-11-11 17:32:35,060 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 17:32:35 2023-11-11 17:32:35,061 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 17:32:36 2023-11-11 17:32:35,880 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 17:32:36 2023-11-11 17:32:35,881 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 17:32:36 2023-11-11 17:32:35,881 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:32:36 2023-11-11 17:32:35,881 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 17:32:36 3.1.0-dev.12 [Pipeline] } 17:32:36 $ docker exec --env ******** --env ******** 7f253226e58d51c99830dac44f8bee1563f5d24da6e4c9afffa591c04aa19653 ssh-agent -k 17:32:36 unset SSH_AUTH_SOCK; 17:32:36 unset SSH_AGENT_PID; 17:32:36 echo Agent pid 76 killed; 17:32:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:32:36 + git semver [Pipeline] } 17:32:36 $ docker stop --time=1 7f253226e58d51c99830dac44f8bee1563f5d24da6e4c9afffa591c04aa19653 17:32:38 $ docker rm -f --volumes 7f253226e58d51c99830dac44f8bee1563f5d24da6e4c9afffa591c04aa19653 [Pipeline] // withDockerContainer [Pipeline] sh 17:32:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:32:38 Stashed 1 file(s) [Pipeline] echo 17:32:38 [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [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 17:32:38 provisioning config files... 17:32:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9679475501903322477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:39 ---> docker-login.sh 17:32:39 nexus3.edgexfoundry.org:10001 17:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:39 Configure a credential helper to remove this warning. See 17:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:39 17:32:39 Login Succeeded 17:32:39 nexus3.edgexfoundry.org:10002 17:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:39 Configure a credential helper to remove this warning. See 17:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:39 17:32:39 Login Succeeded 17:32:39 nexus3.edgexfoundry.org:10003 17:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:39 Configure a credential helper to remove this warning. See 17:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:39 17:32:39 Login Succeeded 17:32:39 nexus3.edgexfoundry.org:10004 17:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:39 Configure a credential helper to remove this warning. See 17:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:39 17:32:39 Login Succeeded 17:32:39 docker.io 17:32:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:39 Configure a credential helper to remove this warning. See 17:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:39 17:32:39 Login Succeeded 17:32:39 ---> docker-login.sh ends [Pipeline] } 17:32:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:32:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:32:39 ========================================================= 17:32:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:32:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:40 + 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 . 17:32:40 Sending build context to Docker daemon 5.759MB 17:32:40 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:32:40 Step 2/12 : FROM ${BASE} AS builder 17:32:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:32:40 7264a8db6415: Pulling fs layer 17:32:40 c4d48a809fc2: Pulling fs layer 17:32:40 4f1c88b9dad5: Pulling fs layer 17:32:40 ad3a456e5733: Pulling fs layer 17:32:40 33e27b845d1e: Pulling fs layer 17:32:40 c68163c4e522: Pulling fs layer 17:32:40 50da416c3ac9: Pulling fs layer 17:32:40 23d2d4c4bb30: Pulling fs layer 17:32:40 33e27b845d1e: Waiting 17:32:40 c68163c4e522: Waiting 17:32:40 50da416c3ac9: Waiting 17:32:40 ad3a456e5733: Waiting 17:32:40 23d2d4c4bb30: Waiting 17:32:40 c4d48a809fc2: Download complete 17:32:40 ad3a456e5733: Verifying Checksum 17:32:40 ad3a456e5733: Download complete 17:32:40 33e27b845d1e: Download complete 17:32:40 7264a8db6415: Verifying Checksum 17:32:40 7264a8db6415: Download complete 17:32:40 c68163c4e522: Verifying Checksum 17:32:40 c68163c4e522: Download complete 17:32:40 7264a8db6415: Pull complete 17:32:40 c4d48a809fc2: Pull complete 17:32:40 23d2d4c4bb30: Verifying Checksum 17:32:40 23d2d4c4bb30: Download complete 17:32:40 4f1c88b9dad5: Verifying Checksum 17:32:40 4f1c88b9dad5: Download complete 17:32:41 50da416c3ac9: Verifying Checksum 17:32:41 50da416c3ac9: Download complete 17:32:43 4f1c88b9dad5: Pull complete 17:32:43 ad3a456e5733: Pull complete 17:32:43 33e27b845d1e: Pull complete 17:32:43 c68163c4e522: Pull complete 17:32:46 50da416c3ac9: Pull complete 17:32:46 23d2d4c4bb30: Pull complete 17:32:46 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:32:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:32:46 ---> 0786185ac409 17:32:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:32:50 ---> Running in 3d8b7e99b3ee 17:32:50 Removing intermediate container 3d8b7e99b3ee 17:32:50 ---> 09d060a79cce 17:32:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:32:50 ---> Running in 91e1fdf17952 17:32:50 Removing intermediate container 91e1fdf17952 17:32:50 ---> c476ed8c9444 17:32:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:32:50 ---> Running in a9b32010a957 17:32:50 Removing intermediate container a9b32010a957 17:32:50 ---> b641aad25adc 17:32:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:32:50 ---> Running in 24f7d48f1e92 17:32:50 Removing intermediate container 24f7d48f1e92 17:32:50 ---> 34474868a96c 17:32:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:50 ---> Running in 3458d940d696 17:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:32:51 (1/4) Installing openssh-keygen (9.3_p2-r0) 17:32:51 (2/4) Installing libedit (20221030.3.1-r1) 17:32:51 (3/4) Installing openssh-client-common (9.3_p2-r0) 17:32:51 (4/4) Installing openssh-client-default (9.3_p2-r0) 17:32:51 Executing busybox-1.36.1-r2.trigger 17:32:51 OK: 268 MiB in 56 packages 17:32:52 Removing intermediate container 3458d940d696 17:32:52 ---> 8627243a1970 17:32:52 Step 8/12 : WORKDIR /device-snmp-go 17:32:52 ---> Running in a88f161187ba 17:32:52 Removing intermediate container a88f161187ba 17:32:52 ---> e4cc8c53178a 17:32:52 Step 9/12 : COPY go.mod vendor* ./ 17:32:52 ---> e6e3dbaaa2ee 17:32:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:52 ---> Running in ae4e6600b324 17:32:53 Still waiting to schedule task 17:32:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:33:48 Removing intermediate container ae4e6600b324 17:33:48 ---> 9541fe9c9226 17:33:48 Step 11/12 : COPY . . 17:33:48 ---> fb51ee43fd6b 17:33:48 Step 12/12 : RUN ${MAKE} 17:33:48 ---> Running in fb2bc3b65950 17:33:48 noop 17:33:48 Removing intermediate container fb2bc3b65950 17:33:48 ---> a4f3696320cd 17:33:48 Successfully built a4f3696320cd 17:33:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:49 + docker inspect -f . ci-base-image-x86_64 17:33:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:49 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 17:33:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 17:33:49 $ docker top a3727d14ff016bfefe9a77267be27da861a285f2cebd2f9d922303f4caa2b612 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:49 + go version 17:33:49 go version go1.21.0 linux/amd64 [Pipeline] } 17:33:49 $ docker stop --time=1 a3727d14ff016bfefe9a77267be27da861a285f2cebd2f9d922303f4caa2b612 17:33:51 $ docker rm -f --volumes a3727d14ff016bfefe9a77267be27da861a285f2cebd2f9d922303f4caa2b612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:51 + docker inspect -f . ci-base-image-x86_64 17:33:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:51 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 17:33:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 17:33:52 $ docker top 9f35562e2b2010cd7a5df885ace2bda7c9f6a330a90adcf0d9c65e9d4bf37fee -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:52 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 17:33:52 + make test 17:33:52 go test ./... -coverprofile=coverage.out 17:33:53 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:34:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:34:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 17:34:11 go vet ./... 17:34:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:34:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:34:14 ./bin/test-attribution-txt.sh [Pipeline] echo 17:34:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:34:14 $ docker stop --time=1 9f35562e2b2010cd7a5df885ace2bda7c9f6a330a90adcf0d9c65e9d4bf37fee 17:34:17 $ docker rm -f --volumes 9f35562e2b2010cd7a5df885ace2bda7c9f6a330a90adcf0d9c65e9d4bf37fee [Pipeline] // withDockerContainer [Pipeline] sh 17:34:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:34:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:34:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:34:19 + ls -al . 17:34:19 total 172 17:34:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 17:33 . 17:34:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 17:32 .. 17:34:19 -rw-rw-r-- 1 jenkins jenkins 6 Nov 11 17:32 .dockerignore 17:34:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 17:34 .git 17:34:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 17:32 .github 17:34:19 -rw-rw-r-- 1 jenkins jenkins 263 Nov 11 17:32 .gitignore 17:34:19 -rw-rw-r-- 1 jenkins jenkins 41 Nov 11 17:32 .golangci.yml 17:34:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 17:32 .semver 17:34:19 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 11 17:32 Attribution.txt 17:34:19 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 11 17:32 CHANGELOG.md 17:34:19 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 11 17:32 Dockerfile 17:34:19 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 17:32 GOVERNANCE.md 17:34:19 -rw-rw-r-- 1 jenkins jenkins 656 Nov 11 17:32 Jenkinsfile 17:34:19 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 17:32 LICENSE 17:34:19 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 11 17:32 Makefile 17:34:19 -rw-rw-r-- 1 jenkins jenkins 620 Nov 11 17:32 OWNERS.md 17:34:19 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 11 17:32 README.md 17:34:19 -rw-rw-r-- 1 jenkins jenkins 12 Nov 11 17:32 VERSION 17:34:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 17:32 bin 17:34:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 17:32 cmd 17:34:19 -rw-r--r-- 1 jenkins jenkins 8837 Nov 11 17:34 coverage.out 17:34:19 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 11 17:32 go.mod 17:34:19 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 11 17:32 go.sum 17:34:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 17:32 internal 17:34:19 -rw-rw-r-- 1 jenkins jenkins 228 Nov 11 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:19 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 --label arch=amd64 --label version=3.1.0-dev.12 . 17:34:19 Sending build context to Docker daemon 5.769MB 17:34:19 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 17:34:19 Step 2/24 : FROM ${BASE} AS builder 17:34:19 ---> a4f3696320cd 17:34:19 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:34:19 ---> Running in d06186150f58 17:34:19 Removing intermediate container d06186150f58 17:34:19 ---> 7045f6b19838 17:34:19 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:34:19 ---> Running in 63d920978839 17:34:19 Removing intermediate container 63d920978839 17:34:19 ---> 5c755e3ecc7d 17:34:19 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:34:19 ---> Running in 0160cafb9a2f 17:34:19 Removing intermediate container 0160cafb9a2f 17:34:19 ---> d047f97ef0b0 17:34:19 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:34:19 ---> Running in 5dedeaae2004 17:34:20 Removing intermediate container 5dedeaae2004 17:34:20 ---> 83d09efdaf92 17:34:20 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:34:20 ---> Running in 35cb2c6ee67b 17:34:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:34:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:34:21 OK: 268 MiB in 56 packages 17:34:21 Removing intermediate container 35cb2c6ee67b 17:34:21 ---> 1998676e7716 17:34:21 Step 8/24 : WORKDIR /device-snmp-go 17:34:21 ---> Running in bf5db8dad388 17:34:21 Removing intermediate container bf5db8dad388 17:34:21 ---> f6c9e20482f5 17:34:21 Step 9/24 : COPY go.mod vendor* ./ 17:34:21 ---> 003e03dd4c45 17:34:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:34:21 ---> Running in e34693290364 17:34:22 Removing intermediate container e34693290364 17:34:22 ---> 5294829922d1 17:34:22 Step 11/24 : COPY . . 17:34:22 ---> eee484349eba 17:34:22 Step 12/24 : RUN ${MAKE} 17:34:22 ---> Running in 79f5d06b0474 17:34:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 17:34:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17264 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 17:34:33 Running in /w/workspace/device-snmp-go/98 [Pipeline] { [Pipeline] checkout 17:34:33 Selected Git installation does not exist. Using Default 17:34:33 The recommended git tool is: NONE 17:34:37 using credential edgex-jenkins-ssh 17:34:37 Cloning the remote Git repository 17:34:37 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 17:34:38 > git init /w/workspace/device-snmp-go/98 # timeout=10 17:34:38 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 17:34:38 > git --version # timeout=10 17:34:38 > git --version # 'git version 2.25.1' 17:34:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:34:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:34:40 Avoid second fetch 17:34:40 Checking out Revision 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 (main) 17:34:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 17:34:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:34:40 > git config core.sparsecheckout # timeout=10 17:34:40 > git checkout -f 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 17:34:40 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#330)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:34:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:34:41 % Total % Received % Xferd Average Speed Time Time Time Current 17:34:41 Dload Upload Total Spent Left Speed 17:34:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93250 0 --:--:-- --:--:-- --:--:-- 93940 [Pipeline] sh 17:34:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:34:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:34:42 + sudo tee /etc/docker/daemon.new 17:34:42 { 17:34:42 "registry-mirrors": [ 17:34:42 "https://nexus3.edgexfoundry.org:10001" 17:34:42 ], 17:34:42 "bip": "10.250.0.254/24", 17:34:42 "hosts": [ 17:34:42 "tcp://0.0.0.0:5555", 17:34:42 "unix:///var/run/docker.sock" 17:34:42 ], 17:34:42 "mtu": 1458, 17:34:42 "selinux-enabled": true, 17:34:42 "seccomp-profile": "/etc/docker/seccomp.json" 17:34:42 } [Pipeline] sh 17:34:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:34:43 + sudo service docker restart 17:34:45 Removing intermediate container 79f5d06b0474 17:34:45 ---> 4a9a480b6454 17:34:45 Step 13/24 : FROM alpine:3.18 17:34:45 3.18: Pulling from library/alpine 17:34:45 96526aa774ef: Pulling fs layer 17:34:45 96526aa774ef: Verifying Checksum 17:34:45 96526aa774ef: Download complete 17:34:45 96526aa774ef: Pull complete 17:34:45 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 17:34:45 Status: Downloaded newer image for alpine:3.18 17:34:45 ---> 8ca4688f4f35 17:34:45 Step 14/24 : RUN apk add --update --no-cache dumb-init 17:34:45 ---> Running in e6fc44c219f5 17:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:34:45 (1/1) Installing dumb-init (1.2.5-r2) 17:34:45 Executing busybox-1.36.1-r2.trigger 17:34:45 OK: 7 MiB in 16 packages 17:34:45 Removing intermediate container e6fc44c219f5 17:34:45 ---> a8b6d4eebaef 17:34:45 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 17:34:47 ---> 633115dd6706 17:34:47 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 17:34:47 ---> 7229505403c8 17:34:47 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 17:34:47 ---> 7e146f2ccffd 17:34:47 Step 18/24 : EXPOSE 59993 17:34:47 ---> Running in 3f3d3ede928c 17:34:47 Removing intermediate container 3f3d3ede928c 17:34:47 ---> cc66b807b19b 17:34:47 Step 19/24 : EXPOSE 161 17:34:47 ---> Running in 8b38da031f35 17:34:47 Removing intermediate container 8b38da031f35 17:34:47 ---> 6c562fcc1d77 17:34:47 Step 20/24 : ENTRYPOINT ["/device-snmp"] 17:34:47 ---> Running in fff5aaf63a8c 17:34:47 Removing intermediate container fff5aaf63a8c 17:34:47 ---> 9c8b99078d95 17:34:47 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:34:47 ---> Running in ebef3c791d03 17:34:47 Removing intermediate container ebef3c791d03 17:34:47 ---> cfc27a6b0f55 17:34:47 Step 22/24 : LABEL arch=amd64 17:34:47 ---> Running in 2c80a1b12b3b 17:34:47 Removing intermediate container 2c80a1b12b3b 17:34:47 ---> 9d90585f6b07 17:34:47 Step 23/24 : LABEL git_sha=7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 17:34:47 ---> Running in 1e332bbdf5c7 17:34:47 Removing intermediate container 1e332bbdf5c7 17:34:47 ---> 8e5ea76723be 17:34:47 Step 24/24 : LABEL version=3.1.0-dev.12 17:34:47 ---> Running in ac211ef89ef9 17:34:47 Removing intermediate container ac211ef89ef9 17:34:47 ---> 811ee615a2ba 17:34:47 [Warning] One or more build-args [ARCH] were not consumed 17:34:47 Successfully built 811ee615a2ba 17:34:47 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:34:47 provisioning config files... 17:34:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12906156388497729662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:34:48 ---> docker-login.sh 17:34:48 nexus3.edgexfoundry.org:10001 17:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:48 Configure a credential helper to remove this warning. See 17:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:48 17:34:48 Login Succeeded 17:34:48 nexus3.edgexfoundry.org:10002 17:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:48 Configure a credential helper to remove this warning. See 17:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:48 17:34:48 Login Succeeded 17:34:48 nexus3.edgexfoundry.org:10003 17:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:48 Configure a credential helper to remove this warning. See 17:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:48 17:34:48 Login Succeeded 17:34:48 nexus3.edgexfoundry.org:10004 17:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:48 Configure a credential helper to remove this warning. See 17:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:48 17:34:48 Login Succeeded 17:34:48 docker.io 17:34:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:34:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:34:48 Configure a credential helper to remove this warning. See 17:34:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:34:48 17:34:48 Login Succeeded 17:34:48 ---> docker-login.sh ends [Pipeline] } 17:34:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:34:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:34:48 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 17:34:48 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 17:34:48 latest 17:34:48 3.1.0-dev.12 17:34:48 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 17:34:48 main 17:34:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 17:34:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:34:49 78ea0dec97ca: Preparing 17:34:49 b6b9018ce8d9: Preparing 17:34:49 1a1d9ac84565: Preparing 17:34:49 2c10b1d9430a: Preparing 17:34:49 cc2447e1835a: Preparing 17:34:49 cc2447e1835a: Layer already exists 17:34:49 2c10b1d9430a: Pushed 17:34:49 78ea0dec97ca: Pushed 17:34:49 b6b9018ce8d9: Pushed 17:34:52 1a1d9ac84565: Pushed 17:34:52 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2: digest: sha256:e0bd87cb6fbb020b3057c2faafdb09605b15139e332779337a542395cfbbe978 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 17:34:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:34:53 78ea0dec97ca: Preparing 17:34:53 b6b9018ce8d9: Preparing 17:34:53 1a1d9ac84565: Preparing 17:34:53 2c10b1d9430a: Preparing 17:34:53 cc2447e1835a: Preparing 17:34:53 b6b9018ce8d9: Layer already exists 17:34:53 78ea0dec97ca: Layer already exists 17:34:53 2c10b1d9430a: Layer already exists 17:34:53 1a1d9ac84565: Layer already exists 17:34:53 cc2447e1835a: Layer already exists 17:34:53 latest: digest: sha256:e0bd87cb6fbb020b3057c2faafdb09605b15139e332779337a542395cfbbe978 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.12 17:34:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:34:53 78ea0dec97ca: Preparing 17:34:53 b6b9018ce8d9: Preparing 17:34:53 1a1d9ac84565: Preparing 17:34:53 2c10b1d9430a: Preparing 17:34:53 cc2447e1835a: Preparing 17:34:53 1a1d9ac84565: Layer already exists 17:34:53 78ea0dec97ca: Layer already exists 17:34:53 cc2447e1835a: Layer already exists 17:34:53 b6b9018ce8d9: Layer already exists 17:34:53 2c10b1d9430a: Layer already exists 17:34:53 3.1.0-dev.12: digest: sha256:e0bd87cb6fbb020b3057c2faafdb09605b15139e332779337a542395cfbbe978 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:54 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 17:34:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:34:54 78ea0dec97ca: Preparing 17:34:54 b6b9018ce8d9: Preparing 17:34:54 1a1d9ac84565: Preparing 17:34:54 2c10b1d9430a: Preparing 17:34:54 cc2447e1835a: Preparing 17:34:54 2c10b1d9430a: Layer already exists 17:34:54 cc2447e1835a: Layer already exists 17:34:54 78ea0dec97ca: Layer already exists 17:34:54 1a1d9ac84565: Layer already exists 17:34:54 b6b9018ce8d9: Layer already exists 17:34:54 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12: digest: sha256:e0bd87cb6fbb020b3057c2faafdb09605b15139e332779337a542395cfbbe978 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:54 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 17:34:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 17:34:55 78ea0dec97ca: Preparing 17:34:55 b6b9018ce8d9: Preparing 17:34:55 1a1d9ac84565: Preparing 17:34:55 2c10b1d9430a: Preparing 17:34:55 cc2447e1835a: Preparing 17:34:55 78ea0dec97ca: Layer already exists 17:34:55 2c10b1d9430a: Layer already exists 17:34:55 cc2447e1835a: Layer already exists 17:34:55 b6b9018ce8d9: Layer already exists 17:34:55 1a1d9ac84565: Layer already exists 17:34:55 main: digest: sha256:e0bd87cb6fbb020b3057c2faafdb09605b15139e332779337a542395cfbbe978 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:34:55 ===================================================== [Pipeline] echo 17:34:55 taggedImages: 17:34:55 - nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 17:34:55 - nexus3.edgexfoundry.org:10004/device-snmp:latest 17:34:55 - nexus3.edgexfoundry.org:10004/device-snmp:3.1.0-dev.12 17:34:55 - nexus3.edgexfoundry.org:10004/device-snmp:7e94b9fbc9a6f42ac524c9c46ae680402909dfe2-3.1.0-dev.12 17:34:55 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:55 17:34:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:34:55 latest: Pulling from edgex-lftools-log-publisher 17:34:55 5eb5b503b376: Pulling fs layer 17:34:55 5c69ac0246d0: Pulling fs layer 17:34:55 ec43610c2a17: Pulling fs layer 17:34:55 3a2ae6a8a46f: Pulling fs layer 17:34:55 33b1e0a273af: Pulling fs layer 17:34:55 5d3b04190fa2: Pulling fs layer 17:34:55 2f39f015ded8: Pulling fs layer 17:34:55 33b1e0a273af: Waiting 17:34:55 5d3b04190fa2: Waiting 17:34:55 2f39f015ded8: Waiting 17:34:55 3a2ae6a8a46f: Waiting 17:34:55 5c69ac0246d0: Verifying Checksum 17:34:55 5c69ac0246d0: Download complete 17:34:55 3a2ae6a8a46f: Verifying Checksum 17:34:55 3a2ae6a8a46f: Download complete 17:34:56 33b1e0a273af: Verifying Checksum 17:34:56 33b1e0a273af: Download complete 17:34:56 5d3b04190fa2: Verifying Checksum 17:34:56 5d3b04190fa2: Download complete 17:34:56 ec43610c2a17: Verifying Checksum 17:34:56 ec43610c2a17: Download complete 17:34:56 5eb5b503b376: Verifying Checksum 17:34:56 5eb5b503b376: Download complete 17:34:57 2f39f015ded8: Download complete 17:34:57 5eb5b503b376: Pull complete 17:34:57 5c69ac0246d0: Pull complete 17:34:58 ec43610c2a17: Pull complete 17:34:58 3a2ae6a8a46f: Pull complete 17:34:58 33b1e0a273af: Pull complete 17:34:58 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:01 provisioning config files... 17:35:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/98@tmp/config15850058054576102287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:01 ---> docker-login.sh 17:35:01 nexus3.edgexfoundry.org:10001 17:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:02 Configure a credential helper to remove this warning. See 17:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:02 17:35:02 Login Succeeded 17:35:02 nexus3.edgexfoundry.org:10002 17:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:02 Configure a credential helper to remove this warning. See 17:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:02 17:35:02 Login Succeeded 17:35:02 nexus3.edgexfoundry.org:10003 17:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:03 Configure a credential helper to remove this warning. See 17:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:03 17:35:03 Login Succeeded 17:35:03 nexus3.edgexfoundry.org:10004 17:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:03 Configure a credential helper to remove this warning. See 17:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:03 17:35:03 Login Succeeded 17:35:03 docker.io 17:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:35:03 2f39f015ded8: Pull complete 17:35:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:35:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:03 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 17:35:03 $ 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/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:35:04 Configure a credential helper to remove this warning. See 17:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:35:04 17:35:04 Login Succeeded 17:35:04 ---> docker-login.sh ends 17:35:09 $ docker top 52de82c4843c8380320f3b9701b1883af74c41d61a461b87cfbad0aa78c57629 -eo pid,comm [Pipeline] { [Pipeline] } 17:35:09 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:35:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:35:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 17:35:09 ---> job-cost.sh 17:35:09 lf-activate-venv: SKIPPING 17:35:09 INFO: No Stack... [Pipeline] echo 17:35:09 ========================================================= 17:35:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:35:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:09 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:10 INFO: Archiving Costs 17:35:10 + 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 . [Pipeline] sh 17:35:10 Sending build context to Docker daemon 2.959MB 17:35:10 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:35:10 Step 2/12 : FROM ${BASE} AS builder 17:35:10 + + cutcat -d, /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv -f6 17:35:10 [Pipeline] lock 17:35:10 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-98-stack-cost] 17:35:10 Resource [jenkins-edgexfoundry-device-snmp-go-main-98-stack-cost] did not exist. Created. 17:35:10 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:35:10 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:35:10 9fda8d8052c6: Pulling fs layer 17:35:10 5d54e960e981: Pulling fs layer 17:35:10 c4a7e357bf2a: Pulling fs layer 17:35:10 f0e02332f6b5: Pulling fs layer 17:35:10 cefa15bbcfad: Pulling fs layer 17:35:10 17808c966233: Pulling fs layer 17:35:10 f4c1fc716caa: Pulling fs layer 17:35:10 cefa15bbcfad: Waiting 17:35:10 17808c966233: Waiting 17:35:10 f4c1fc716caa: Waiting 17:35:10 f0e02332f6b5: Waiting 17:35:10 5d54e960e981: Download complete 17:35:10 f0e02332f6b5: Verifying Checksum 17:35:10 f0e02332f6b5: Download complete 17:35:10 cefa15bbcfad: Verifying Checksum 17:35:10 cefa15bbcfad: Download complete 17:35:10 9fda8d8052c6: Download complete 17:35:10 + echo total: 0.2199999988079071 [Pipeline] stash 17:35:10 Stashed 1 file(s) [Pipeline] } 17:35:10 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 17:35:10 $ docker stop --time=1 52de82c4843c8380320f3b9701b1883af74c41d61a461b87cfbad0aa78c57629 17:35:11 f4c1fc716caa: Verifying Checksum 17:35:11 f4c1fc716caa: Download complete 17:35:12 $ docker rm -f --volumes 52de82c4843c8380320f3b9701b1883af74c41d61a461b87cfbad0aa78c57629 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:35:12 c4a7e357bf2a: Verifying Checksum 17:35:12 c4a7e357bf2a: Download complete 17:35:13 17808c966233: Verifying Checksum 17:35:13 17808c966233: Download complete 17:35:13 9fda8d8052c6: Pull complete 17:35:14 5d54e960e981: Pull complete 17:35:29 c4a7e357bf2a: Pull complete 17:35:29 f0e02332f6b5: Pull complete 17:35:29 cefa15bbcfad: Pull complete 17:35:37 17808c966233: Pull complete 17:35:38 f4c1fc716caa: Pull complete 17:35:38 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 17:35:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:35:38 ---> ea914061e18c 17:35:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:35:40 ---> Running in 0e1058758777 17:35:40 Removing intermediate container 0e1058758777 17:35:40 ---> a9e082829eb5 17:35:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:40 ---> Running in 1b480a557feb 17:35:40 Removing intermediate container 1b480a557feb 17:35:40 ---> 1f57cec58acf 17:35:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:35:40 ---> Running in d2cca1142373 17:35:41 Removing intermediate container d2cca1142373 17:35:41 ---> 262672b9553b 17:35:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:35:41 ---> Running in 4290e71bcb1d 17:35:41 Removing intermediate container 4290e71bcb1d 17:35:41 ---> ea7a79b59d1e 17:35:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:41 ---> Running in 2c433571b54a 17:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:35:44 (1/4) Installing openssh-keygen (9.3_p2-r0) 17:35:44 (2/4) Installing libedit (20221030.3.1-r1) 17:35:44 (3/4) Installing openssh-client-common (9.3_p2-r0) 17:35:44 (4/4) Installing openssh-client-default (9.3_p2-r0) 17:35:44 Executing busybox-1.36.1-r2.trigger 17:35:44 OK: 270 MiB in 56 packages 17:35:45 Removing intermediate container 2c433571b54a 17:35:45 ---> 1ea53d97eb23 17:35:45 Step 8/12 : WORKDIR /device-snmp-go 17:35:45 ---> Running in cac6ec269da9 17:35:45 Removing intermediate container cac6ec269da9 17:35:45 ---> f72ff34b19fa 17:35:45 Step 9/12 : COPY go.mod vendor* ./ 17:35:46 ---> 235af0ceb8a7 17:35:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:46 ---> Running in 476b40b544e2 17:37:07 Removing intermediate container 476b40b544e2 17:37:07 ---> 70b5d6e01ce4 17:37:07 Step 11/12 : COPY . . 17:37:07 ---> 89b155694d8c 17:37:07 Step 12/12 : RUN ${MAKE} 17:37:07 ---> Running in e235d6f69e5c 17:37:07 noop 17:37:07 Removing intermediate container e235d6f69e5c 17:37:07 ---> ebaf8aad4964 17:37:07 Successfully built ebaf8aad4964 17:37:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:08 + docker inspect -f . ci-base-image-arm64 17:37:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:08 prd-ubuntu20.04-docker-arm64-4c-16g-17264 does not seem to be running inside a container 17:37:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/98 -v /w/workspace/device-snmp-go/98:/w/workspace/device-snmp-go/98:rw,z -v /w/workspace/device-snmp-go/98@tmp:/w/workspace/device-snmp-go/98@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 ******** ci-base-image-arm64 cat 17:37:09 $ docker top e431f9bf1ac1ce897690e192c597d957a082993ed4aabeee9c7ce817bcea0577 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:10 + go version 17:37:10 go version go1.21.0 linux/arm64 [Pipeline] } 17:37:10 $ docker stop --time=1 e431f9bf1ac1ce897690e192c597d957a082993ed4aabeee9c7ce817bcea0577 17:37:12 $ docker rm -f --volumes e431f9bf1ac1ce897690e192c597d957a082993ed4aabeee9c7ce817bcea0577 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:12 + docker inspect -f . ci-base-image-arm64 17:37:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:12 prd-ubuntu20.04-docker-arm64-4c-16g-17264 does not seem to be running inside a container 17:37:12 $ 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/98 -v /w/workspace/device-snmp-go/98:/w/workspace/device-snmp-go/98:rw,z -v /w/workspace/device-snmp-go/98@tmp:/w/workspace/device-snmp-go/98@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 ******** ci-base-image-arm64 cat 17:37:13 $ docker top a262aee67be4e30c23e00407bd725b9c24f809a61d1a38868c42ce938647234e -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:14 + git config --global --add safe.directory /w/workspace/device-snmp-go/98 [Pipeline] fileExists [Pipeline] sh 17:37:14 + make test 17:37:15 go test ./... -coverprofile=coverage.out 17:37:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 17:38:56 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 17:38:56 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.034s coverage: 0.0% of statements 17:38:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:38:56 go vet ./... 17:39:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:39:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:39:08 ./bin/test-attribution-txt.sh [Pipeline] echo 17:39:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:39:08 $ docker stop --time=1 a262aee67be4e30c23e00407bd725b9c24f809a61d1a38868c42ce938647234e 17:39:11 $ docker rm -f --volumes a262aee67be4e30c23e00407bd725b9c24f809a61d1a38868c42ce938647234e [Pipeline] // withDockerContainer [Pipeline] sh 17:39:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:39:12 Warning: overwriting stash ‘coverage-report’ 17:39:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:39:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:39:13 + ls -al . 17:39:13 total 168 17:39:13 drwxrwxr-x 7 jenkins jenkins 4096 Nov 11 17:37 . 17:39:13 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 17:34 .. 17:39:13 -rw-rw-r-- 1 jenkins jenkins 6 Nov 11 17:34 .dockerignore 17:39:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 17:34 .git 17:39:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 17:34 .github 17:39:13 -rw-rw-r-- 1 jenkins jenkins 263 Nov 11 17:34 .gitignore 17:39:13 -rw-rw-r-- 1 jenkins jenkins 41 Nov 11 17:34 .golangci.yml 17:39:13 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 11 17:34 Attribution.txt 17:39:13 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 11 17:34 CHANGELOG.md 17:39:13 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 11 17:34 Dockerfile 17:39:13 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 17:34 GOVERNANCE.md 17:39:13 -rw-rw-r-- 1 jenkins jenkins 656 Nov 11 17:34 Jenkinsfile 17:39:13 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 17:34 LICENSE 17:39:13 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 11 17:34 Makefile 17:39:13 -rw-rw-r-- 1 jenkins jenkins 620 Nov 11 17:34 OWNERS.md 17:39:13 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 11 17:34 README.md 17:39:13 -rw-rw-r-- 1 jenkins jenkins 12 Nov 11 17:32 VERSION 17:39:13 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 17:34 bin 17:39:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 17:34 cmd 17:39:13 -rw-r--r-- 1 jenkins jenkins 8837 Nov 11 17:38 coverage.out 17:39:13 -rw-rw-r-- 1 jenkins jenkins 3665 Nov 11 17:34 go.mod 17:39:13 -rw-rw-r-- 1 jenkins jenkins 34728 Nov 11 17:34 go.sum 17:39:13 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 17:34 internal 17:39:13 -rw-rw-r-- 1 jenkins jenkins 228 Nov 11 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:13 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 --label arch=arm64 --label version=3.1.0-dev.12 . 17:39:13 Sending build context to Docker daemon 2.969MB 17:39:13 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 17:39:13 Step 2/24 : FROM ${BASE} AS builder 17:39:13 ---> ebaf8aad4964 17:39:13 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:39:15 ---> Running in 51468add3305 17:39:15 Removing intermediate container 51468add3305 17:39:15 ---> 24e0da1661d0 17:39:15 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:39:16 ---> Running in cf550a68503b 17:39:16 Removing intermediate container cf550a68503b 17:39:16 ---> 4cf1ac74bd1f 17:39:16 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:39:16 ---> Running in d5ab39ffc5d6 17:39:17 Removing intermediate container d5ab39ffc5d6 17:39:17 ---> e56582199d62 17:39:17 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:39:17 ---> Running in 492d66addbc9 17:39:17 Removing intermediate container 492d66addbc9 17:39:17 ---> 61d23ae4a21c 17:39:17 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:39:17 ---> Running in f30344f33614 17:39:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:39:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:39:21 OK: 270 MiB in 56 packages 17:39:22 Removing intermediate container f30344f33614 17:39:22 ---> 65eeb547cd8f 17:39:22 Step 8/24 : WORKDIR /device-snmp-go 17:39:22 ---> Running in 9dd8fd2b5107 17:39:23 Removing intermediate container 9dd8fd2b5107 17:39:23 ---> 34dbeb1c9ccc 17:39:23 Step 9/24 : COPY go.mod vendor* ./ 17:39:25 ---> 19f9ee0e19e0 17:39:25 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:25 ---> Running in 3f99c15662bc 17:39:30 Removing intermediate container 3f99c15662bc 17:39:30 ---> 64f0523797b8 17:39:30 Step 11/24 : COPY . . 17:39:30 ---> 68124191d719 17:39:30 Step 12/24 : RUN ${MAKE} 17:39:30 ---> Running in e2655eceedd4 17:39:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 17:41:38 Removing intermediate container e2655eceedd4 17:41:38 ---> ab0c160f55b6 17:41:38 Step 13/24 : FROM alpine:3.18 17:41:38 Head "https://registry-1.docker.io/v2/library/alpine/manifests/3.18": Get "https://auth.docker.io/token?account=edgexci&scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io": EOF [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:41:38 17:41:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:41:38 arm64: Pulling from edgex-lftools-log-publisher 17:41:38 8998bd30e6a1: Pulling fs layer 17:41:38 04944245beec: Pulling fs layer 17:41:38 699f458cf7ca: Pulling fs layer 17:41:38 765212b225bb: Pulling fs layer 17:41:38 f23df028b6ca: Pulling fs layer 17:41:38 d65c8cfc05b1: Pulling fs layer 17:41:38 2437ff75d9bd: Pulling fs layer 17:41:38 f23df028b6ca: Waiting 17:41:38 d65c8cfc05b1: Waiting 17:41:38 2437ff75d9bd: Waiting 17:41:38 765212b225bb: Waiting 17:41:39 04944245beec: Verifying Checksum 17:41:39 04944245beec: Download complete 17:41:39 765212b225bb: Verifying Checksum 17:41:39 765212b225bb: Download complete 17:41:39 f23df028b6ca: Verifying Checksum 17:41:39 f23df028b6ca: Download complete 17:41:39 d65c8cfc05b1: Download complete 17:41:39 699f458cf7ca: Verifying Checksum 17:41:39 699f458cf7ca: Download complete 17:41:39 8998bd30e6a1: Verifying Checksum 17:41:39 8998bd30e6a1: Download complete 17:41:42 2437ff75d9bd: Verifying Checksum 17:41:42 2437ff75d9bd: Download complete 17:41:44 8998bd30e6a1: Pull complete 17:41:47 04944245beec: Pull complete 17:41:49 699f458cf7ca: Pull complete 17:41:49 765212b225bb: Pull complete 17:41:50 f23df028b6ca: Pull complete 17:41:50 d65c8cfc05b1: Pull complete 17:42:08 2437ff75d9bd: Pull complete 17:42:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:42:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:42:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:09 prd-ubuntu20.04-docker-arm64-4c-16g-17264 does not seem to be running inside a container 17:42:09 $ 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/98 -v /w/workspace/device-snmp-go/98:/w/workspace/device-snmp-go/98:rw,z -v /w/workspace/device-snmp-go/98@tmp:/w/workspace/device-snmp-go/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:42:11 $ docker top 64a610cdf6414efaa167c692287b817f64269536a3ef8deacc41bc954ff5467e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:12 ---> job-cost.sh 17:42:12 lf-activate-venv: SKIPPING 17:42:12 INFO: No Stack... 17:42:12 INFO: Retrieving Pricing Info for: v3-standard-4 17:42:13 INFO: Archiving Costs [Pipeline] sh 17:42:14 + cat /w/workspace/device-snmp-go/98/archives/cost.csv 17:42:14 + cut -d, -f6 [Pipeline] lock 17:42:14 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-98-stack-cost] 17:42:14 Resource [jenkins-edgexfoundry-device-snmp-go-main-98-stack-cost] did not exist. Created. 17:42:14 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:42:14 /w/workspace/device-snmp-go/98@tmp/durable-3b4c9330/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:42:15 + echo total: 0.10999999940395355 [Pipeline] stash 17:42:15 Warning: overwriting stash ‘stack-cost’ 17:42:15 Stashed 1 file(s) [Pipeline] } 17:42:15 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 17:42:15 $ docker stop --time=1 64a610cdf6414efaa167c692287b817f64269536a3ef8deacc41bc954ff5467e 17:42:16 $ docker rm -f --volumes 64a610cdf6414efaa167c692287b817f64269536a3ef8deacc41bc954ff5467e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:42:17 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:42:17 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 17:42:17 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:42:17 total 16 17:42:17 drwxr-xr-x 3 root root 4096 Nov 11 17:35 . 17:42:17 drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 17:35 .. 17:42:17 drwxr-xr-x 2 root root 4096 Nov 11 17:35 cost 17:42:17 -rw-r--r-- 1 root root 85 Nov 11 17:35 cost.csv 17:42:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:42:17 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 17:42:17 total 16 17:42:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 17:35 . 17:42:17 drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 17:35 .. 17:42:17 drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 17:35 cost 17:42:17 -rw-r--r-- 1 jenkins jenkins 85 Nov 11 17:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:42:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:42:19 ---> package-listing.sh 17:42:19 ++ facter osfamily 17:42:19 ++ tr '[:upper:]' '[:lower:]' 17:42:19 + OS_FAMILY=debian 17:42:19 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 17:42:19 + START_PACKAGES=/tmp/packages_start.txt 17:42:19 + END_PACKAGES=/tmp/packages_end.txt 17:42:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:42:19 + PACKAGES=/tmp/packages_start.txt 17:42:19 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 17:42:19 + PACKAGES=/tmp/packages_end.txt 17:42:19 + case "${OS_FAMILY}" in 17:42:19 + dpkg -l 17:42:19 + grep '^ii' 17:42:19 + '[' -f /tmp/packages_start.txt ']' 17:42:19 + '[' -f /tmp/packages_end.txt ']' 17:42:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:42:19 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 17:42:19 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 17:42:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 17:42:19 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:42:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:42:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:42:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:42:20 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 17:42:20 $ 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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-lftools-log-publisher:latest cat 17:42:20 $ docker top b009bee002cbd1f7d004951dd81b7966a61cb567949e96e8c023702a7c963fac -eo pid,comm [Pipeline] { [Pipeline] sh 17:42:20 + touch /tmp/pre-build-complete [Pipeline] sh 17:42:21 + mkdir -p /var/log/sysstat [Pipeline] sh 17:42:21 + ls /var/log/sa-host 17:42:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:42:21 provisioning config files... 17:42:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8118948625641344665tmp [Pipeline] { [Pipeline] echo 17:42:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:42:21 ---> create-netrc.sh [Pipeline] } 17:42:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:42:22 ---> python-tools-install.sh [Pipeline] echo 17:42:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:42:22 ---> sudo-logs.sh 17:42:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:42:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:42:22 ---> job-cost.sh 17:42:22 lf-activate-venv: SKIPPING 17:42:22 DEBUG: total: 0.2199999988079071 17:42:22 INFO: Retrieving Stack Cost... 17:42:23 INFO: Retrieving Pricing Info for: v3-standard-8 17:42:23 INFO: Archiving Costs [Pipeline] echo 17:42:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:42:23 ---> logs-deploy.sh 17:42:23 lf-activate-venv: SKIPPING 17:42:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/98 17:42:23 INFO: archiving workspace using pattern(s): 17:42:24 Archives upload complete. 17:42:24 INFO: archiving logs to Nexus