Pull request #331 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-snmp-go Obtained Jenkinsfile from efbbcf891efc4f6555d968ab3adf05802a0a938d+16c420418f3d11c50b6d4cdc106b6ff48e0fad87 (656a4a31a24f06fabbad25197fb2b7e21af7b35b) 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-ssh13642758848358319433.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-ssh13636275251941017923.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/PR-331/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/PR-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17997679800998838365.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-ssh8766302839609741566.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/PR-331/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/PR-331/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14431650742888394527.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17152 in /w/workspace/gexfoundry_device-snmp-go_PR-331 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-331 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit efbbcf891efc4f6555d968ab3adf05802a0a938d Merge succeeded, producing efbbcf891efc4f6555d968ab3adf05802a0a938d Checking out Revision efbbcf891efc4f6555d968ab3adf05802a0a938d (PR-331) > git config core.sparsecheckout # timeout=10 > git checkout -f efbbcf891efc4f6555d968ab3adf05802a0a938d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efbbcf891efc4f6555d968ab3adf05802a0a938d # timeout=10 Commit message: "docs: Update changelog for 3.1 release" First time build. Skipping changelog. > git rev-list --no-walk 5a096b598673ce8e0ff86850fc6e45a46c4b2e75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:37:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:37:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:37:59 ========================================================= 15:37:59 EdgeX Global Pipelines Version Info 15:37:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:37:59 ------------------- 15:37:59 stable info: 15:37:59 ------------------- 15:37:59 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 15:37:59 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:37:59 Message: update stable to v1.0.257 15:38:00 ------------------- 15:38:00 experimental info: 15:38:00 ------------------- 15:38:00 Commited By: **** collab-it+edgex@linuxfoundation.org 15:38:00 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:38:00 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efbbcf891efc4f6555d968ab3adf05802a0a938d [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efbbcf8 [Pipeline] echo 15:38:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:01 provisioning config files... 15:38:01 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/config15775487592743407147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:01 ---> docker-login.sh 15:38:01 nexus3.edgexfoundry.org:10001 15:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:01 Configure a credential helper to remove this warning. See 15:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:01 15:38:01 Login Succeeded 15:38:01 nexus3.edgexfoundry.org:10002 15:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:01 Configure a credential helper to remove this warning. See 15:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:01 15:38:01 Login Succeeded 15:38:01 nexus3.edgexfoundry.org:10003 15:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:01 Configure a credential helper to remove this warning. See 15:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:01 15:38:01 Login Succeeded 15:38:01 nexus3.edgexfoundry.org:10004 15:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:01 Configure a credential helper to remove this warning. See 15:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:01 15:38:02 Login Succeeded 15:38:02 docker.io 15:38:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:02 Configure a credential helper to remove this warning. See 15:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:02 15:38:02 Login Succeeded 15:38:02 ---> docker-login.sh ends [Pipeline] } 15:38:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:38:02 + git rev-list -1 --merges efbbcf891efc4f6555d968ab3adf05802a0a938d~1..efbbcf891efc4f6555d968ab3adf05802a0a938d [Pipeline] echo 15:38:02 -----------> git rev-list -1 --merges efbbcf891efc4f6555d968ab3adf05802a0a938d~1..efbbcf891efc4f6555d968ab3adf05802a0a938d efbbcf891efc4f6555d968ab3adf05802a0a938d [false] [Pipeline] sh 15:38:03 + git log --format=format:%s -1 efbbcf891efc4f6555d968ab3adf05802a0a938d [Pipeline] echo 15:38:03 ========================================================= 15:38:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:38:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:38:03 + git log --format=format:%s -1 efbbcf891efc4f6555d968ab3adf05802a0a938d [Pipeline] echo 15:38:03 [semverPrep] GIT_COMMIT: efbbcf891efc4f6555d968ab3adf05802a0a938d, Commit Message: docs: Update changelog for 3.1 release [Pipeline] echo 15:38:03 [semverPrep] This is not a build commit. [Pipeline] sh 15:38:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:38:03 + grep -v github /etc/ssh/ssh_known_hosts 15:38:03 + [ -e /tmp/ssh_known_hosts ] 15:38:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:38:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:38:03 + sudo tee -a /etc/ssh/ssh_known_hosts 15:38:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:04 15:38:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:05 0.1.4: Pulling from edgex-devops/py-git-semver 15:38:05 b85a868b505f: Pulling fs layer 15:38:05 e2be974225ed: Pulling fs layer 15:38:05 339a4e72a1f5: Pulling fs layer 15:38:05 988bab9f4d93: Pulling fs layer 15:38:05 1469e6f7b9e6: Pulling fs layer 15:38:05 eaf3925da568: Pulling fs layer 15:38:05 bab4dde63d76: Pulling fs layer 15:38:05 bde34c3a00c8: Pulling fs layer 15:38:05 b352a97aabf1: Pulling fs layer 15:38:05 4872d77fe225: Pulling fs layer 15:38:05 5851b861e8e6: Pulling fs layer 15:38:05 988bab9f4d93: Waiting 15:38:05 eaf3925da568: Waiting 15:38:05 1469e6f7b9e6: Waiting 15:38:05 bab4dde63d76: Waiting 15:38:05 bde34c3a00c8: Waiting 15:38:05 b352a97aabf1: Waiting 15:38:05 4872d77fe225: Waiting 15:38:05 5851b861e8e6: Waiting 15:38:05 e2be974225ed: Verifying Checksum 15:38:05 e2be974225ed: Download complete 15:38:05 988bab9f4d93: Download complete 15:38:05 1469e6f7b9e6: Verifying Checksum 15:38:05 1469e6f7b9e6: Download complete 15:38:05 eaf3925da568: Download complete 15:38:05 339a4e72a1f5: Verifying Checksum 15:38:05 339a4e72a1f5: Download complete 15:38:05 bde34c3a00c8: Verifying Checksum 15:38:05 bde34c3a00c8: Download complete 15:38:05 b352a97aabf1: Verifying Checksum 15:38:05 b352a97aabf1: Download complete 15:38:05 4872d77fe225: Verifying Checksum 15:38:05 5851b861e8e6: Verifying Checksum 15:38:05 5851b861e8e6: Download complete 15:38:05 b85a868b505f: Download complete 15:38:05 bab4dde63d76: Verifying Checksum 15:38:05 bab4dde63d76: Download complete 15:38:07 b85a868b505f: Pull complete 15:38:08 e2be974225ed: Pull complete 15:38:09 339a4e72a1f5: Pull complete 15:38:09 988bab9f4d93: Pull complete 15:38:10 1469e6f7b9e6: Pull complete 15:38:10 eaf3925da568: Pull complete 15:38:11 bab4dde63d76: Pull complete 15:38:11 bde34c3a00c8: Pull complete 15:38:11 b352a97aabf1: Pull complete 15:38:12 4872d77fe225: Pull complete 15:38:12 5851b861e8e6: Pull complete 15:38:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:38:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:12 prd-ubuntu20.04-docker-8c-8g-17152 does not seem to be running inside a container 15:38:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:38:16 $ docker top 310f30f8e1eda90d4c51ea37ed3b5c462d4369bc8de9c6329a0c780b27ffa291 -eo pid,comm 15:38:16 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). 15:38:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:38:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:16 [ssh-agent] Looking for ssh-agent implementation... 15:38:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:16 $ docker exec 310f30f8e1eda90d4c51ea37ed3b5c462d4369bc8de9c6329a0c780b27ffa291 ssh-agent 15:38:16 SSH_AUTH_SOCK=/tmp/ssh-IbDCdrJaIkf5/agent.33 15:38:16 SSH_AGENT_PID=39 15:38:16 Running ssh-add (command line suppressed) 15:38:16 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/private_key_1270128366859519284.key (/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/private_key_1270128366859519284.key) 15:38:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:17 + git tag --points-at HEAD [Pipeline] } 15:38:17 $ docker exec --env ******** --env ******** 310f30f8e1eda90d4c51ea37ed3b5c462d4369bc8de9c6329a0c780b27ffa291 ssh-agent -k 15:38:17 unset SSH_AUTH_SOCK; 15:38:17 unset SSH_AGENT_PID; 15:38:17 echo Agent pid 39 killed; 15:38:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:38:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:17 [ssh-agent] Looking for ssh-agent implementation... 15:38:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:17 $ docker exec 310f30f8e1eda90d4c51ea37ed3b5c462d4369bc8de9c6329a0c780b27ffa291 ssh-agent 15:38:17 SSH_AUTH_SOCK=/tmp/ssh-RWeIMYfEAyIA/agent.71 15:38:17 SSH_AGENT_PID=77 15:38:17 Running ssh-add (command line suppressed) 15:38:17 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/private_key_2714459344949575918.key (/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/private_key_2714459344949575918.key) 15:38:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:17 + git semver init 15:38:18 2023-11-09 15:38:17,988 [run_init] DEBUG init version:0.0.0 force:False 15:38:18 2023-11-09 15:38:17,990 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver 15:38:18 2023-11-09 15:38:17,990 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-331/.semver 15:38:18 2023-11-09 15:38:17,991 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-331, universal_newlines=False, shell=None, istream=None) 15:38:19 2023-11-09 15:38:18,881 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-331/.git/info/exclude 15:38:19 2023-11-09 15:38:18,881 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver/PR-331 with force:False 15:38:19 2023-11-09 15:38:18,882 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver/PR-331 15:38:19 2023-11-09 15:38:18,885 [execute] INFO git cat-file --batch-check 15:38:19 2023-11-09 15:38:18,886 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) 15:38:19 2023-11-09 15:38:18,892 [execute] INFO git cat-file --batch 15:38:19 2023-11-09 15:38:18,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) 15:38:19 2023-11-09 15:38:18,897 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-331/.semver/PR-331 15:38:19 0.0.0 [Pipeline] } 15:38:19 $ docker exec --env ******** --env ******** 310f30f8e1eda90d4c51ea37ed3b5c462d4369bc8de9c6329a0c780b27ffa291 ssh-agent -k 15:38:19 unset SSH_AUTH_SOCK; 15:38:19 unset SSH_AGENT_PID; 15:38:19 echo Agent pid 77 killed; 15:38:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:38:19 + git semver [Pipeline] } 15:38:19 $ docker stop --time=1 310f30f8e1eda90d4c51ea37ed3b5c462d4369bc8de9c6329a0c780b27ffa291 15:38:21 $ docker rm -f --volumes 310f30f8e1eda90d4c51ea37ed3b5c462d4369bc8de9c6329a0c780b27ffa291 [Pipeline] // withDockerContainer [Pipeline] sh 15:38:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:38:21 Stashed 1 file(s) [Pipeline] echo 15:38:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:21 provisioning config files... 15:38:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/config5710639491396372409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:21 ---> docker-login.sh 15:38:21 nexus3.edgexfoundry.org:10001 15:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:21 Configure a credential helper to remove this warning. See 15:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:21 15:38:21 Login Succeeded 15:38:21 nexus3.edgexfoundry.org:10002 15:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:21 Configure a credential helper to remove this warning. See 15:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:21 15:38:21 Login Succeeded 15:38:21 nexus3.edgexfoundry.org:10003 15:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:22 Configure a credential helper to remove this warning. See 15:38:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:22 15:38:22 Login Succeeded 15:38:22 nexus3.edgexfoundry.org:10004 15:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:22 Configure a credential helper to remove this warning. See 15:38:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:22 15:38:22 Login Succeeded 15:38:22 docker.io 15:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:22 Configure a credential helper to remove this warning. See 15:38:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:22 15:38:22 Login Succeeded 15:38:22 ---> docker-login.sh ends [Pipeline] } 15:38:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:38:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:38:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:38:22 ========================================================= 15:38:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:38:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:23 + 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 . 15:38:23 Sending build context to Docker daemon 5.766MB 15:38:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:38:23 Step 2/12 : FROM ${BASE} AS builder 15:38:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:38:23 7264a8db6415: Pulling fs layer 15:38:23 c4d48a809fc2: Pulling fs layer 15:38:23 4f1c88b9dad5: Pulling fs layer 15:38:23 ad3a456e5733: Pulling fs layer 15:38:23 33e27b845d1e: Pulling fs layer 15:38:23 c68163c4e522: Pulling fs layer 15:38:23 50da416c3ac9: Pulling fs layer 15:38:23 23d2d4c4bb30: Pulling fs layer 15:38:23 33e27b845d1e: Waiting 15:38:23 c68163c4e522: Waiting 15:38:23 50da416c3ac9: Waiting 15:38:23 ad3a456e5733: Waiting 15:38:23 23d2d4c4bb30: Waiting 15:38:23 c4d48a809fc2: Download complete 15:38:23 ad3a456e5733: Verifying Checksum 15:38:23 ad3a456e5733: Download complete 15:38:23 33e27b845d1e: Download complete 15:38:23 7264a8db6415: Verifying Checksum 15:38:23 7264a8db6415: Download complete 15:38:23 c68163c4e522: Verifying Checksum 15:38:23 c68163c4e522: Download complete 15:38:23 7264a8db6415: Pull complete 15:38:23 c4d48a809fc2: Pull complete 15:38:23 23d2d4c4bb30: Verifying Checksum 15:38:23 23d2d4c4bb30: Download complete 15:38:23 4f1c88b9dad5: Verifying Checksum 15:38:23 4f1c88b9dad5: Download complete 15:38:24 50da416c3ac9: Verifying Checksum 15:38:24 50da416c3ac9: Download complete 15:38:26 4f1c88b9dad5: Pull complete 15:38:26 ad3a456e5733: Pull complete 15:38:26 33e27b845d1e: Pull complete 15:38:26 c68163c4e522: Pull complete 15:38:29 50da416c3ac9: Pull complete 15:38:29 23d2d4c4bb30: Pull complete 15:38:29 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:38:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:38:29 ---> 0786185ac409 15:38:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:38:36 ---> Running in e75e406827cb 15:38:36 Removing intermediate container e75e406827cb 15:38:36 ---> 1b02565f5491 15:38:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:38:36 ---> Running in c9edf9a01f97 15:38:36 Removing intermediate container c9edf9a01f97 15:38:36 ---> 6252325ca39e 15:38:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:38:36 ---> Running in f52adc460e9b 15:38:36 Removing intermediate container f52adc460e9b 15:38:36 ---> fa52a5640ba1 15:38:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:38:36 ---> Running in 9910d526018b 15:38:36 Removing intermediate container 9910d526018b 15:38:36 ---> 5e6769459cf9 15:38:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:38:36 ---> Running in 8ef5390d6915 15:38:36 Still waiting to schedule task 15:38:36 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:38:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:38:37 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:38:37 (2/4) Installing libedit (20221030.3.1-r1) 15:38:37 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:38:37 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:38:37 Executing busybox-1.36.1-r2.trigger 15:38:37 OK: 268 MiB in 56 packages 15:38:37 Removing intermediate container 8ef5390d6915 15:38:37 ---> 25f38f139f0e 15:38:37 Step 8/12 : WORKDIR /device-snmp-go 15:38:37 ---> Running in fb37a5c9a99b 15:38:37 Removing intermediate container fb37a5c9a99b 15:38:37 ---> 9dcd873f5a43 15:38:37 Step 9/12 : COPY go.mod vendor* ./ 15:38:37 ---> 15ed9251f485 15:38:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:38:38 ---> Running in 397983de3525 15:39:16 Removing intermediate container 397983de3525 15:39:16 ---> 9d96ab58d4a5 15:39:16 Step 11/12 : COPY . . 15:39:16 ---> 918f0d2d9ff1 15:39:16 Step 12/12 : RUN ${MAKE} 15:39:16 ---> Running in 3ff8e1534c0b 15:39:16 noop 15:39:16 Removing intermediate container 3ff8e1534c0b 15:39:16 ---> 7921889e7f8a 15:39:16 Successfully built 7921889e7f8a 15:39:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:17 + docker inspect -f . ci-base-image-x86_64 15:39:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:17 prd-ubuntu20.04-docker-8c-8g-17152 does not seem to be running inside a container 15:39:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:39:17 $ docker top c1de6a6bba9db042d99b92ba9019c2128c7bfd2891f22572bdc352e96da2bf2a -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:18 + go version 15:39:18 go version go1.21.0 linux/amd64 [Pipeline] } 15:39:18 $ docker stop --time=1 c1de6a6bba9db042d99b92ba9019c2128c7bfd2891f22572bdc352e96da2bf2a 15:39:19 $ docker rm -f --volumes c1de6a6bba9db042d99b92ba9019c2128c7bfd2891f22572bdc352e96da2bf2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:19 + docker inspect -f . ci-base-image-x86_64 15:39:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:19 prd-ubuntu20.04-docker-8c-8g-17152 does not seem to be running inside a container 15:39:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:39:20 $ docker top 9465438362c6bd7848de17f6d1fb432e5300597001f2cdc6e27a9899e473eb58 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:20 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-331 [Pipeline] fileExists [Pipeline] sh 15:39:20 + make test 15:39:20 go test ./... -coverprofile=coverage.out 15:39:21 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:39:31 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:39:31 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 15:39:38 go vet ./... 15:39:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:39:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:39:41 ./bin/test-attribution-txt.sh [Pipeline] echo 15:39:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:39:41 $ docker stop --time=1 9465438362c6bd7848de17f6d1fb432e5300597001f2cdc6e27a9899e473eb58 15:39:43 $ docker rm -f --volumes 9465438362c6bd7848de17f6d1fb432e5300597001f2cdc6e27a9899e473eb58 [Pipeline] // withDockerContainer [Pipeline] sh 15:39:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:39:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:39:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:39:45 + ls -al . 15:39:45 total 172 15:39:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:39 . 15:39:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:37 .. 15:39:45 -rw-rw-r-- 1 jenkins jenkins 6 Nov 9 15:37 .dockerignore 15:39:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:39 .git 15:39:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:37 .github 15:39:45 -rw-rw-r-- 1 jenkins jenkins 263 Nov 9 15:37 .gitignore 15:39:45 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 15:37 .golangci.yml 15:39:45 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:38 .semver 15:39:45 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 9 15:37 Attribution.txt 15:39:45 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 9 15:37 CHANGELOG.md 15:39:45 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 9 15:37 Dockerfile 15:39:45 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 15:37 GOVERNANCE.md 15:39:45 -rw-rw-r-- 1 jenkins jenkins 656 Nov 9 15:37 Jenkinsfile 15:39:45 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 15:37 LICENSE 15:39:45 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 9 15:37 Makefile 15:39:45 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 15:37 OWNERS.md 15:39:45 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 9 15:37 README.md 15:39:45 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:38 VERSION 15:39:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:37 bin 15:39:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:37 cmd 15:39:45 -rw-r--r-- 1 jenkins jenkins 8837 Nov 9 15:39 coverage.out 15:39:45 -rw-rw-r-- 1 jenkins jenkins 3712 Nov 9 15:37 go.mod 15:39:45 -rw-rw-r-- 1 jenkins jenkins 34822 Nov 9 15:37 go.sum 15:39:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:37 internal 15:39:45 -rw-rw-r-- 1 jenkins jenkins 228 Nov 9 15:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:45 + 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=efbbcf891efc4f6555d968ab3adf05802a0a938d --label arch=amd64 --label version=0.0.0 . 15:39:45 Sending build context to Docker daemon 5.775MB 15:39:45 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 15:39:45 Step 2/24 : FROM ${BASE} AS builder 15:39:45 ---> 7921889e7f8a 15:39:45 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:39:45 ---> Running in 3601ab7fbb50 15:39:45 Removing intermediate container 3601ab7fbb50 15:39:45 ---> 4b83e3df4b16 15:39:45 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:39:45 ---> Running in 7904e50e40a3 15:39:45 Removing intermediate container 7904e50e40a3 15:39:45 ---> 7b04073780f2 15:39:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:39:45 ---> Running in 50d7dba88073 15:39:45 Removing intermediate container 50d7dba88073 15:39:45 ---> 8874562e70e0 15:39:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:39:45 ---> Running in b904d2516fc0 15:39:45 Removing intermediate container b904d2516fc0 15:39:45 ---> c9f86e2baf5a 15:39:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:39:45 ---> Running in 616e59603bbd 15:39:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:39:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:39:46 OK: 268 MiB in 56 packages 15:39:47 Removing intermediate container 616e59603bbd 15:39:47 ---> 5fc733b6a8c3 15:39:47 Step 8/24 : WORKDIR /device-snmp-go 15:39:47 ---> Running in f30fa299b69b 15:39:47 Removing intermediate container f30fa299b69b 15:39:47 ---> d57a2d99b5a4 15:39:47 Step 9/24 : COPY go.mod vendor* ./ 15:39:47 ---> 829caa846981 15:39:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:39:47 ---> Running in 5e7c7dcca87d 15:39:47 Removing intermediate container 5e7c7dcca87d 15:39:47 ---> b7a5ef931fcd 15:39:47 Step 11/24 : COPY . . 15:39:48 ---> 240d2a96f6cb 15:39:48 Step 12/24 : RUN ${MAKE} 15:39:48 ---> Running in b15ea1cc950b 15:39:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:40:06 Removing intermediate container b15ea1cc950b 15:40:06 ---> 6a29925995ea 15:40:06 Step 13/24 : FROM alpine:3.18 15:40:06 3.18: Pulling from library/alpine 15:40:06 96526aa774ef: Pulling fs layer 15:40:06 96526aa774ef: Verifying Checksum 15:40:06 96526aa774ef: Download complete 15:40:06 96526aa774ef: Pull complete 15:40:06 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:40:06 Status: Downloaded newer image for alpine:3.18 15:40:06 ---> 8ca4688f4f35 15:40:06 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:40:06 ---> Running in cc31891532e2 15:40:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:40:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:40:06 (1/1) Installing dumb-init (1.2.5-r2) 15:40:06 Executing busybox-1.36.1-r2.trigger 15:40:06 OK: 7 MiB in 16 packages 15:40:06 Removing intermediate container cc31891532e2 15:40:06 ---> 832800abbb45 15:40:06 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:40:06 ---> 984fa77f771f 15:40:06 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:40:06 ---> d78987af8fe3 15:40:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:40:06 ---> 5b799f236010 15:40:06 Step 18/24 : EXPOSE 59993 15:40:06 ---> Running in 8edf739c7c30 15:40:06 Removing intermediate container 8edf739c7c30 15:40:06 ---> a3759db1cf04 15:40:06 Step 19/24 : EXPOSE 161 15:40:06 ---> Running in 097d318c418d 15:40:06 Removing intermediate container 097d318c418d 15:40:06 ---> 278fd8ad268a 15:40:06 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:40:06 ---> Running in 9806b97fcdeb 15:40:06 Removing intermediate container 9806b97fcdeb 15:40:06 ---> dcb7030594b8 15:40:06 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:40:06 ---> Running in 31b9b7d6cfa0 15:40:06 Removing intermediate container 31b9b7d6cfa0 15:40:06 ---> 5e31c68a9c7c 15:40:06 Step 22/24 : LABEL arch=amd64 15:40:06 ---> Running in ed6878ae2c32 15:40:06 Removing intermediate container ed6878ae2c32 15:40:06 ---> 06c395f8ee07 15:40:06 Step 23/24 : LABEL git_sha=efbbcf891efc4f6555d968ab3adf05802a0a938d 15:40:06 ---> Running in e8795792b096 15:40:06 Removing intermediate container e8795792b096 15:40:06 ---> 734d8eb676b6 15:40:06 Step 24/24 : LABEL version=0.0.0 15:40:06 ---> Running in 626c647e199f 15:40:07 Removing intermediate container 626c647e199f 15:40:07 ---> c93a3423adca 15:40:07 [Warning] One or more build-args [ARCH] were not consumed 15:40:07 Successfully built c93a3423adca 15:40:07 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:07 15:40:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:07 latest: Pulling from edgex-lftools-log-publisher 15:40:07 5eb5b503b376: Pulling fs layer 15:40:07 5c69ac0246d0: Pulling fs layer 15:40:07 ec43610c2a17: Pulling fs layer 15:40:07 3a2ae6a8a46f: Pulling fs layer 15:40:07 33b1e0a273af: Pulling fs layer 15:40:07 5d3b04190fa2: Pulling fs layer 15:40:07 2f39f015ded8: Pulling fs layer 15:40:07 33b1e0a273af: Waiting 15:40:07 5d3b04190fa2: Waiting 15:40:07 3a2ae6a8a46f: Waiting 15:40:07 2f39f015ded8: Waiting 15:40:07 5c69ac0246d0: Verifying Checksum 15:40:07 5c69ac0246d0: Download complete 15:40:07 3a2ae6a8a46f: Download complete 15:40:08 33b1e0a273af: Verifying Checksum 15:40:08 33b1e0a273af: Download complete 15:40:08 5d3b04190fa2: Verifying Checksum 15:40:08 5d3b04190fa2: Download complete 15:40:08 ec43610c2a17: Verifying Checksum 15:40:08 ec43610c2a17: Download complete 15:40:08 5eb5b503b376: Verifying Checksum 15:40:08 5eb5b503b376: Download complete 15:40:08 2f39f015ded8: Download complete 15:40:09 5eb5b503b376: Pull complete 15:40:09 5c69ac0246d0: Pull complete 15:40:09 ec43610c2a17: Pull complete 15:40:09 3a2ae6a8a46f: Pull complete 15:40:10 33b1e0a273af: Pull complete 15:40:10 5d3b04190fa2: Pull complete 15:40:14 2f39f015ded8: Pull complete 15:40:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:40:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:40:14 prd-ubuntu20.04-docker-8c-8g-17152 does not seem to be running inside a container 15:40:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:40:18 $ docker top 26d28fafe3faf0159853fdccc1014eb5b81cce514853b4b95b9506d3f263583e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:18 ---> job-cost.sh 15:40:18 lf-activate-venv: SKIPPING 15:40:18 INFO: No Stack... 15:40:18 INFO: Retrieving Pricing Info for: v3-standard-8 15:40:19 INFO: Archiving Costs [Pipeline] sh 15:40:19 + cat /w/workspace/gexfoundry_device-snmp-go_PR-331/archives/cost.csv 15:40:19 + cut -d, -f6 [Pipeline] lock 15:40:19 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-331-2-stack-cost] 15:40:19 Resource [jenkins-edgexfoundry-device-snmp-go-PR-331-2-stack-cost] did not exist. Created. 15:40:19 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-331-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:40:20 + echo total: 0.2199999988079071 [Pipeline] stash 15:40:20 Stashed 1 file(s) [Pipeline] } 15:40:20 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-331-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:40:20 $ docker stop --time=1 26d28fafe3faf0159853fdccc1014eb5b81cce514853b4b95b9506d3f263583e 15:40:21 $ docker rm -f --volumes 26d28fafe3faf0159853fdccc1014eb5b81cce514853b4b95b9506d3f263583e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:43:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17153 in /w/workspace/gexfoundry_device-snmp-go_PR-331 [Pipeline] { [Pipeline] ws 15:43:14 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 15:43:14 Selected Git installation does not exist. Using Default 15:43:14 The recommended git tool is: NONE 15:43:21 using credential edgex-jenkins-ssh 15:43:21 Cloning the remote Git repository 15:43:21 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:43:21 > git init /w/workspace/device-snmp-go/2 # timeout=10 15:43:21 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:43:21 > git --version # timeout=10 15:43:21 > git --version # 'git version 2.25.1' 15:43:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:43:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:43:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:43:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:43:24 Merging remotes/origin/main commit 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 into PR head commit efbbcf891efc4f6555d968ab3adf05802a0a938d 15:43:24 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:43:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:43:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:43:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:43:24 > git config core.sparsecheckout # timeout=10 15:43:25 > git checkout -f efbbcf891efc4f6555d968ab3adf05802a0a938d # timeout=10 15:43:25 > git remote # timeout=10 15:43:27 Merge succeeded, producing efbbcf891efc4f6555d968ab3adf05802a0a938d 15:43:27 Checking out Revision efbbcf891efc4f6555d968ab3adf05802a0a938d (PR-331) 15:43:27 > git config --get remote.origin.url # timeout=10 15:43:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:43:27 > git merge 16c420418f3d11c50b6d4cdc106b6ff48e0fad87 # timeout=10 15:43:27 > git rev-parse HEAD^{commit} # timeout=10 15:43:27 > git config core.sparsecheckout # timeout=10 15:43:27 > git checkout -f efbbcf891efc4f6555d968ab3adf05802a0a938d # timeout=10 15:43:31 Commit message: "docs: Update changelog for 3.1 release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:43:32 % Total % Received % Xferd Average Speed Time Time Time Current 15:43:32 Dload Upload Total Spent Left Speed 15:43:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 79262 0 --:--:-- --:--:-- --:--:-- 79761 [Pipeline] sh 15:43:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:43:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:43:34 + sudo tee /etc/docker/daemon.new 15:43:34 { 15:43:34 "registry-mirrors": [ 15:43:34 "https://nexus3.edgexfoundry.org:10001" 15:43:34 ], 15:43:34 "bip": "10.250.0.254/24", 15:43:34 "hosts": [ 15:43:34 "tcp://0.0.0.0:5555", 15:43:34 "unix:///var/run/docker.sock" 15:43:34 ], 15:43:34 "mtu": 1458, 15:43:34 "selinux-enabled": true, 15:43:34 "seccomp-profile": "/etc/docker/seccomp.json" 15:43:34 } [Pipeline] sh 15:43:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:43:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:43:53 provisioning config files... 15:43:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config14756147454823044602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:43:53 ---> docker-login.sh 15:43:53 nexus3.edgexfoundry.org:10001 15:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:54 Configure a credential helper to remove this warning. See 15:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:54 15:43:54 Login Succeeded 15:43:54 nexus3.edgexfoundry.org:10002 15:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:54 Configure a credential helper to remove this warning. See 15:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:54 15:43:54 Login Succeeded 15:43:54 nexus3.edgexfoundry.org:10003 15:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:55 Configure a credential helper to remove this warning. See 15:43:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:55 15:43:55 Login Succeeded 15:43:55 nexus3.edgexfoundry.org:10004 15:43:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:55 Configure a credential helper to remove this warning. See 15:43:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:55 15:43:55 Login Succeeded 15:43:55 docker.io 15:43:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:43:56 Configure a credential helper to remove this warning. See 15:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:43:56 15:43:56 Login Succeeded 15:43:56 ---> docker-login.sh ends [Pipeline] } 15:43:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:43:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:43:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:43:56 ========================================================= 15:43:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:43:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:56 + 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 . 15:43:57 Sending build context to Docker daemon 2.966MB 15:43:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:43:57 Step 2/12 : FROM ${BASE} AS builder 15:43:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:43:57 9fda8d8052c6: Pulling fs layer 15:43:57 5d54e960e981: Pulling fs layer 15:43:57 c4a7e357bf2a: Pulling fs layer 15:43:57 f0e02332f6b5: Pulling fs layer 15:43:57 cefa15bbcfad: Pulling fs layer 15:43:57 17808c966233: Pulling fs layer 15:43:57 f4c1fc716caa: Pulling fs layer 15:43:57 cefa15bbcfad: Waiting 15:43:57 17808c966233: Waiting 15:43:57 f4c1fc716caa: Waiting 15:43:57 f0e02332f6b5: Waiting 15:43:57 5d54e960e981: Verifying Checksum 15:43:57 5d54e960e981: Download complete 15:43:57 f0e02332f6b5: Verifying Checksum 15:43:57 f0e02332f6b5: Download complete 15:43:57 cefa15bbcfad: Verifying Checksum 15:43:57 cefa15bbcfad: Download complete 15:43:57 9fda8d8052c6: Verifying Checksum 15:43:57 9fda8d8052c6: Download complete 15:43:58 f4c1fc716caa: Verifying Checksum 15:43:58 f4c1fc716caa: Download complete 15:43:58 9fda8d8052c6: Pull complete 15:43:59 5d54e960e981: Pull complete 15:43:59 c4a7e357bf2a: Verifying Checksum 15:43:59 c4a7e357bf2a: Download complete 15:44:00 17808c966233: Verifying Checksum 15:44:00 17808c966233: Download complete 15:44:12 c4a7e357bf2a: Pull complete 15:44:12 f0e02332f6b5: Pull complete 15:44:12 cefa15bbcfad: Pull complete 15:44:21 17808c966233: Pull complete 15:44:21 f4c1fc716caa: Pull complete 15:44:21 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:44:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:44:22 ---> ea914061e18c 15:44:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:44:24 ---> Running in 668a207138fd 15:44:24 Removing intermediate container 668a207138fd 15:44:24 ---> 46d5f0f93103 15:44:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:44:24 ---> Running in a8ae4a12dec4 15:44:24 Removing intermediate container a8ae4a12dec4 15:44:24 ---> a4555ea72ce9 15:44:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:44:24 ---> Running in 902214a550ef 15:44:25 Removing intermediate container 902214a550ef 15:44:25 ---> 44869f082a15 15:44:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:44:25 ---> Running in 6ec19d95e812 15:44:25 Removing intermediate container 6ec19d95e812 15:44:25 ---> 38001dd6bff6 15:44:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:44:25 ---> Running in bc0c40abe8b9 15:44:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:44:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:44:28 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:44:28 (2/4) Installing libedit (20221030.3.1-r1) 15:44:28 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:44:28 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:44:28 Executing busybox-1.36.1-r2.trigger 15:44:28 OK: 270 MiB in 56 packages 15:44:29 Removing intermediate container bc0c40abe8b9 15:44:29 ---> e68019337da5 15:44:29 Step 8/12 : WORKDIR /device-snmp-go 15:44:29 ---> Running in 2ab08f001fe8 15:44:29 Removing intermediate container 2ab08f001fe8 15:44:29 ---> 6a4c321db5b3 15:44:29 Step 9/12 : COPY go.mod vendor* ./ 15:44:30 ---> fba6739b5f6c 15:44:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:30 ---> Running in 238b3f8e4be5 15:45:51 Removing intermediate container 238b3f8e4be5 15:45:51 ---> d22d9b1dd6f1 15:45:51 Step 11/12 : COPY . . 15:45:51 ---> ac0358ee130d 15:45:51 Step 12/12 : RUN ${MAKE} 15:45:51 ---> Running in f21faca41196 15:45:51 noop 15:45:51 Removing intermediate container f21faca41196 15:45:51 ---> b64cb0b24134 15:45:51 Successfully built b64cb0b24134 15:45:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:52 + docker inspect -f . ci-base-image-arm64 15:45:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:52 prd-ubuntu20.04-docker-arm64-4c-16g-17153 does not seem to be running inside a container 15:45:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:45:53 $ docker top 6e8ac4735af419c844b840450650cee249be81858fd6473232892cc219aa909d -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:54 + go version 15:45:54 go version go1.21.0 linux/arm64 [Pipeline] } 15:45:54 $ docker stop --time=1 6e8ac4735af419c844b840450650cee249be81858fd6473232892cc219aa909d 15:45:56 $ docker rm -f --volumes 6e8ac4735af419c844b840450650cee249be81858fd6473232892cc219aa909d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:56 + docker inspect -f . ci-base-image-arm64 15:45:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:56 prd-ubuntu20.04-docker-arm64-4c-16g-17153 does not seem to be running inside a container 15:45:56 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:45:58 $ docker top 276dad0faa5d90da71353aa7e835f7caf31009aba4222ea265f2910e0af2a7c4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:58 + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh 15:45:59 + make test 15:45:59 go test ./... -coverprofile=coverage.out 15:46:07 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:47:44 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:47:44 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.039s coverage: 0.0% of statements 15:47:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:47:44 go vet ./... 15:47:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:47:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:47:56 ./bin/test-attribution-txt.sh [Pipeline] echo 15:47:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:47:56 $ docker stop --time=1 276dad0faa5d90da71353aa7e835f7caf31009aba4222ea265f2910e0af2a7c4 15:48:00 $ docker rm -f --volumes 276dad0faa5d90da71353aa7e835f7caf31009aba4222ea265f2910e0af2a7c4 [Pipeline] // withDockerContainer [Pipeline] sh 15:48:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:48:01 Warning: overwriting stash ‘coverage-report’ 15:48:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:48:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:48:02 + ls -al . 15:48:02 total 168 15:48:02 drwxrwxr-x 7 jenkins jenkins 4096 Nov 9 15:46 . 15:48:02 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:43 .. 15:48:02 -rw-rw-r-- 1 jenkins jenkins 6 Nov 9 15:43 .dockerignore 15:48:02 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:43 .git 15:48:02 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:43 .github 15:48:02 -rw-rw-r-- 1 jenkins jenkins 263 Nov 9 15:43 .gitignore 15:48:02 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 15:43 .golangci.yml 15:48:02 -rw-rw-r-- 1 jenkins jenkins 10025 Nov 9 15:43 Attribution.txt 15:48:02 -rw-rw-r-- 1 jenkins jenkins 11809 Nov 9 15:43 CHANGELOG.md 15:48:02 -rw-rw-r-- 1 jenkins jenkins 1462 Nov 9 15:43 Dockerfile 15:48:02 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 15:43 GOVERNANCE.md 15:48:02 -rw-rw-r-- 1 jenkins jenkins 656 Nov 9 15:43 Jenkinsfile 15:48:02 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 15:43 LICENSE 15:48:02 -rw-rw-r-- 1 jenkins jenkins 2240 Nov 9 15:43 Makefile 15:48:02 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 15:43 OWNERS.md 15:48:02 -rw-rw-r-- 1 jenkins jenkins 10477 Nov 9 15:43 README.md 15:48:02 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:38 VERSION 15:48:02 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:43 bin 15:48:02 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:43 cmd 15:48:02 -rw-r--r-- 1 jenkins jenkins 8837 Nov 9 15:47 coverage.out 15:48:02 -rw-rw-r-- 1 jenkins jenkins 3712 Nov 9 15:43 go.mod 15:48:02 -rw-rw-r-- 1 jenkins jenkins 34822 Nov 9 15:43 go.sum 15:48:02 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:43 internal 15:48:02 -rw-rw-r-- 1 jenkins jenkins 228 Nov 9 15:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:03 + 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=efbbcf891efc4f6555d968ab3adf05802a0a938d --label arch=arm64 --label version=0.0.0 . 15:48:03 Sending build context to Docker daemon 2.975MB 15:48:03 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 15:48:03 Step 2/24 : FROM ${BASE} AS builder 15:48:03 ---> b64cb0b24134 15:48:03 Step 3/24 : ARG ADD_BUILD_TAGS="" 15:48:03 ---> Running in fbd5d1d46078 15:48:04 Removing intermediate container fbd5d1d46078 15:48:04 ---> 5ff1c6743912 15:48:04 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:48:04 ---> Running in bbf75298f1a0 15:48:04 Removing intermediate container bbf75298f1a0 15:48:04 ---> 5e55cc330d83 15:48:04 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:48:04 ---> Running in 6a766452e8f4 15:48:04 Removing intermediate container 6a766452e8f4 15:48:04 ---> 080b60b679d9 15:48:04 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 15:48:04 ---> Running in d4baad5f244c 15:48:05 Removing intermediate container d4baad5f244c 15:48:05 ---> 6fc6185a4e89 15:48:05 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:48:05 ---> Running in 2078bf663890 15:48:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:48:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:48:07 OK: 270 MiB in 56 packages 15:48:08 Removing intermediate container 2078bf663890 15:48:08 ---> 4a4aec72769f 15:48:08 Step 8/24 : WORKDIR /device-snmp-go 15:48:08 ---> Running in 090ccc0bea67 15:48:08 Removing intermediate container 090ccc0bea67 15:48:08 ---> 4018427f1c0e 15:48:08 Step 9/24 : COPY go.mod vendor* ./ 15:48:09 ---> 5871c32a985f 15:48:09 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:48:09 ---> Running in abf6a7e96616 15:48:13 Removing intermediate container abf6a7e96616 15:48:13 ---> 53407dbd0b8c 15:48:13 Step 11/24 : COPY . . 15:48:14 ---> 535b975fe1a9 15:48:14 Step 12/24 : RUN ${MAKE} 15:48:14 ---> Running in e7e69dd437e4 15:48:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 15:50:07 Removing intermediate container e7e69dd437e4 15:50:07 ---> 1725efc60bb5 15:50:07 Step 13/24 : FROM alpine:3.18 15:50:07 3.18: Pulling from library/alpine 15:50:07 579b34f0a95b: Pulling fs layer 15:50:07 579b34f0a95b: Verifying Checksum 15:50:07 579b34f0a95b: Download complete 15:50:07 579b34f0a95b: Pull complete 15:50:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:50:07 Status: Downloaded newer image for alpine:3.18 15:50:07 ---> 3cc203321400 15:50:07 Step 14/24 : RUN apk add --update --no-cache dumb-init 15:50:07 ---> Running in 44f5494edb11 15:50:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:50:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:50:07 (1/1) Installing dumb-init (1.2.5-r2) 15:50:07 Executing busybox-1.36.1-r2.trigger 15:50:07 OK: 8 MiB in 16 packages 15:50:08 Removing intermediate container 44f5494edb11 15:50:08 ---> d3d2b9265ccf 15:50:08 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:50:10 ---> 32d1d62706be 15:50:10 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:50:10 ---> 47a629d38e0f 15:50:10 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:50:11 ---> fcf4a4f196fe 15:50:11 Step 18/24 : EXPOSE 59993 15:50:11 ---> Running in 313ce4d5b761 15:50:11 Removing intermediate container 313ce4d5b761 15:50:11 ---> 6683526a197d 15:50:11 Step 19/24 : EXPOSE 161 15:50:11 ---> Running in 4a66018415b2 15:50:12 Removing intermediate container 4a66018415b2 15:50:12 ---> 701f8b983047 15:50:12 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:50:12 ---> Running in f5ea5b9b9100 15:50:12 Removing intermediate container f5ea5b9b9100 15:50:12 ---> 81680618e991 15:50:12 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:50:12 ---> Running in 2d511cdd5ec4 15:50:12 Removing intermediate container 2d511cdd5ec4 15:50:12 ---> 8befe7483843 15:50:12 Step 22/24 : LABEL arch=arm64 15:50:12 ---> Running in 4e8f0d3ef2ff 15:50:13 Removing intermediate container 4e8f0d3ef2ff 15:50:13 ---> 9cd401e05fdc 15:50:13 Step 23/24 : LABEL git_sha=efbbcf891efc4f6555d968ab3adf05802a0a938d 15:50:13 ---> Running in 9e41cfe997ed 15:50:13 Removing intermediate container 9e41cfe997ed 15:50:13 ---> d10182fd1e0c 15:50:13 Step 24/24 : LABEL version=0.0.0 15:50:13 ---> Running in c91ba64302e2 15:50:13 Removing intermediate container c91ba64302e2 15:50:13 ---> e12b90189b48 15:50:13 [Warning] One or more build-args [ARCH] were not consumed 15:50:13 Successfully built e12b90189b48 15:50:13 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:50:14 15:50:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:50:14 arm64: Pulling from edgex-lftools-log-publisher 15:50:14 8998bd30e6a1: Pulling fs layer 15:50:14 04944245beec: Pulling fs layer 15:50:14 699f458cf7ca: Pulling fs layer 15:50:14 765212b225bb: Pulling fs layer 15:50:14 f23df028b6ca: Pulling fs layer 15:50:14 d65c8cfc05b1: Pulling fs layer 15:50:14 2437ff75d9bd: Pulling fs layer 15:50:14 765212b225bb: Waiting 15:50:14 f23df028b6ca: Waiting 15:50:14 d65c8cfc05b1: Waiting 15:50:14 2437ff75d9bd: Waiting 15:50:15 04944245beec: Verifying Checksum 15:50:15 04944245beec: Download complete 15:50:15 765212b225bb: Verifying Checksum 15:50:15 765212b225bb: Download complete 15:50:15 f23df028b6ca: Download complete 15:50:15 d65c8cfc05b1: Verifying Checksum 15:50:15 d65c8cfc05b1: Download complete 15:50:15 699f458cf7ca: Verifying Checksum 15:50:15 699f458cf7ca: Download complete 15:50:15 8998bd30e6a1: Verifying Checksum 15:50:15 8998bd30e6a1: Download complete 15:50:18 2437ff75d9bd: Verifying Checksum 15:50:18 2437ff75d9bd: Download complete 15:50:20 8998bd30e6a1: Pull complete 15:50:22 04944245beec: Pull complete 15:50:23 699f458cf7ca: Pull complete 15:50:23 765212b225bb: Pull complete 15:50:24 f23df028b6ca: Pull complete 15:50:25 d65c8cfc05b1: Pull complete 15:50:43 2437ff75d9bd: Pull complete 15:50:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:50:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:43 prd-ubuntu20.04-docker-arm64-4c-16g-17153 does not seem to be running inside a container 15:50:43 $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:50:50 $ docker top 063aa0804f793e652247c681e6fe1c10dd36f249f55587c2067746feffe9310e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:51 ---> job-cost.sh 15:50:51 lf-activate-venv: SKIPPING 15:50:51 INFO: No Stack... 15:50:51 INFO: Retrieving Pricing Info for: v3-standard-4 15:50:52 INFO: Archiving Costs [Pipeline] sh 15:50:52 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 15:50:52 + cut -d, -f6 [Pipeline] lock 15:50:53 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-331-2-stack-cost] 15:50:53 Resource [jenkins-edgexfoundry-device-snmp-go-PR-331-2-stack-cost] did not exist. Created. 15:50:53 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-331-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:50:53 /w/workspace/device-snmp-go/2@tmp/durable-f6b5bb92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:50:54 + echo total: 0.10999999940395355 [Pipeline] stash 15:50:54 Warning: overwriting stash ‘stack-cost’ 15:50:54 Stashed 1 file(s) [Pipeline] } 15:50:54 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-331-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:50:54 $ docker stop --time=1 063aa0804f793e652247c681e6fe1c10dd36f249f55587c2067746feffe9310e 15:50:56 $ docker rm -f --volumes 063aa0804f793e652247c681e6fe1c10dd36f249f55587c2067746feffe9310e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:50:56 provisioning config files... 15:50:56 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/config9586212544601746138tmp [Pipeline] { [Pipeline] sh 15:50:56 + set +x 15:50:56 + curl -s https://codecov.io/bash 15:50:56 + bash -s -- 15:50:56 15:50:56 _____ _ 15:50:56 / ____| | | 15:50:56 | | ___ __| | ___ ___ _____ __ 15:50:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:50:56 | |___| (_) | (_| | __/ (_| (_) \ V / 15:50:56 \_____\___/ \__,_|\___|\___\___/ \_/ 15:50:56 Bash-1.0.6 15:50:56 15:50:56 15:50:56 ==> git version 2.25.1 found 15:50:56 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:50:56 Release-Date: 2020-01-08 15:50:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:50:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:50:56 ==> Jenkins CI detected. 15:50:56 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-331 15:50:56 project root: . 15:50:56 --> token set from env 15:50:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:50:56 ==> Running gcov in . (disable via -X gcov) 15:50:56 ==> Python coveragepy not found 15:50:56 ==> Searching for coverage reports in: 15:50:56 + . 15:50:56 -> Found 1 reports 15:50:56 ==> Detecting git/mercurial file structure 15:50:57 ==> Reading reports 15:50:57 + ./coverage.out bytes=8837 15:50:57 ==> Appending adjustments 15:50:57 https://docs.codecov.io/docs/fixing-reports 15:50:57 + Found adjustments 15:50:57 ==> Gzipping contents 15:50:57 4.0K /tmp/codecov.8eaWMR.gz 15:50:57 ==> Uploading reports 15:50:57 url: https://codecov.io 15:50:57 query: branch=PR-331&commit=efbbcf891efc4f6555d968ab3adf05802a0a938d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-331%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=331&job=&cmd_args= 15:50:57 -> Pinging Codecov 15:50:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-331&commit=efbbcf891efc4f6555d968ab3adf05802a0a938d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-331%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=331&job=&cmd_args= 15:50:57 -> Uploading to 15:50:57 https://storage.googleapis.com/codecov/v4/raw/2023-11-09/6C56EA5C29638FB4528AC87E60AF5AE0/efbbcf891efc4f6555d968ab3adf05802a0a938d/8e84c301-6f9c-45b7-9b73-a563547c5383.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T155057Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=562e73e7aede5376ffe8f97a61dfbf7b004b826ea153a45cf4840c229892d957 15:50:57 % Total % Received % Xferd Average Speed Time Time Time Current 15:50:57 Dload Upload Total Spent Left Speed 15:50:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 6132 --:--:-- --:--:-- --:--:-- 6132 15:50:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/efbbcf891efc4f6555d968ab3adf05802a0a938d [Pipeline] } 15:50:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:50:58 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-331/archives ] 15:50:58 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-331/archives 15:50:58 total 16 15:50:58 drwxr-xr-x 3 root root 4096 Nov 9 15:40 . 15:50:58 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 15:40 .. 15:50:58 drwxr-xr-x 2 root root 4096 Nov 9 15:40 cost 15:50:58 -rw-r--r-- 1 root root 86 Nov 9 15:40 cost.csv 15:50:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-331/archives 15:50:58 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-331/archives 15:50:58 total 16 15:50:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:40 . 15:50:58 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 15:40 .. 15:50:58 drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 15:40 cost 15:50:58 -rw-r--r-- 1 jenkins jenkins 86 Nov 9 15:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:50:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:50:59 ---> package-listing.sh 15:50:59 ++ facter osfamily 15:50:59 ++ tr '[:upper:]' '[:lower:]' 15:50:59 + OS_FAMILY=debian 15:50:59 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-331 15:50:59 + START_PACKAGES=/tmp/packages_start.txt 15:50:59 + END_PACKAGES=/tmp/packages_end.txt 15:50:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:50:59 + PACKAGES=/tmp/packages_start.txt 15:50:59 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-331 ']' 15:50:59 + PACKAGES=/tmp/packages_end.txt 15:50:59 + case "${OS_FAMILY}" in 15:50:59 + dpkg -l 15:50:59 + grep '^ii' 15:50:59 + '[' -f /tmp/packages_start.txt ']' 15:50:59 + '[' -f /tmp/packages_end.txt ']' 15:50:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:50:59 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-331 ']' 15:50:59 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-331/archives/ 15:50:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-331/archives/ [Pipeline] echo 15:50:59 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:50:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:00 prd-ubuntu20.04-docker-8c-8g-17152 does not seem to be running inside a container 15:51:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-331 -v /w/workspace/gexfoundry_device-snmp-go_PR-331:/w/workspace/gexfoundry_device-snmp-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:51:00 $ docker top 70a436039ce4f97998bbea38bd2107c8dcdb2eabb1a8c1c094a208c406f2b5ca -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:01 + touch /tmp/pre-build-complete [Pipeline] sh 15:51:01 + mkdir -p /var/log/sysstat [Pipeline] sh 15:51:01 + ls /var/log/sa-host 15:51:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:51:01 provisioning config files... 15:51:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-331@tmp/config10507311421658832187tmp [Pipeline] { [Pipeline] echo 15:51:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:51:02 ---> create-netrc.sh [Pipeline] } 15:51:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:51:02 ---> python-tools-install.sh [Pipeline] echo 15:51:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:51:02 ---> sudo-logs.sh 15:51:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:51:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:51:03 ---> job-cost.sh 15:51:03 lf-activate-venv: SKIPPING 15:51:03 DEBUG: total: 0.2199999988079071 15:51:03 INFO: Retrieving Stack Cost... 15:51:03 INFO: Retrieving Pricing Info for: v3-standard-8 15:51:03 INFO: Archiving Costs [Pipeline] echo 15:51:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:51:04 ---> logs-deploy.sh 15:51:04 lf-activate-venv: SKIPPING 15:51:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-331/2 15:51:04 INFO: archiving workspace using pattern(s): 15:51:05 Archives upload complete. 15:51:05 INFO: archiving logs to Nexus