Pull request #346 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f439acb25c1011bb6138a645f0cec5c8e55aab48+ab3bf70376c9802f6ba544aa167c564e283ce2c4 (eacdc1ebc3c3c265e75e03e18626bdabe208786d) 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-ssh5791630817926053992.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh2377726613513323390.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5915840376462198068.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9763509883819250579.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6680832949076374695.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-346/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-346/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16821687237441085635.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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 ‘prd-ubuntu20.04-docker-8c-8g-533’ is offline Running on prd-ubuntu20.04-docker-8c-8g-535 in /w/workspace/gexfoundry_device-snmp-go_PR-346 [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-346 # 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/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab3bf70376c9802f6ba544aa167c564e283ce2c4 into PR head commit f439acb25c1011bb6138a645f0cec5c8e55aab48 Merge succeeded, producing f439acb25c1011bb6138a645f0cec5c8e55aab48 Checking out Revision f439acb25c1011bb6138a645f0cec5c8e55aab48 (PR-346) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f f439acb25c1011bb6138a645f0cec5c8e55aab48 # 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 ab3bf70376c9802f6ba544aa167c564e283ce2c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f439acb25c1011bb6138a645f0cec5c8e55aab48 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:38 ========================================================= 05:59:38 EdgeX Global Pipelines Version Info 05:59:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:59:39 ------------------- 05:59:39 stable info: 05:59:39 ------------------- 05:59:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:59:39 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:59:39 Message: update stable to v1.0.258 05:59:40 ------------------- 05:59:40 experimental info: 05:59:40 ------------------- 05:59:40 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:40 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 05:59:40 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-346 [Pipeline] echo 05:59:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-346 [Pipeline] echo 05:59:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-346 [Pipeline] echo 05:59:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] echo 05:59:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f439acb [Pipeline] echo 05:59:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:42 provisioning config files... 05:59:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/config9459126960447997590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:42 ---> ****-login.sh 05:59:42 nexus3.edgexfoundry.org:10001 05:59:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:42 Configure a credential helper to remove this warning. See 05:59:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:42 05:59:42 Login Succeeded 05:59:42 nexus3.edgexfoundry.org:10002 05:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:43 Configure a credential helper to remove this warning. See 05:59:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:43 05:59:43 Login Succeeded 05:59:43 nexus3.edgexfoundry.org:10003 05:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:43 Configure a credential helper to remove this warning. See 05:59:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:43 05:59:43 Login Succeeded 05:59:43 nexus3.edgexfoundry.org:10004 05:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:43 Configure a credential helper to remove this warning. See 05:59:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:43 05:59:43 Login Succeeded 05:59:43 ****.io 05:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:59:43 Configure a credential helper to remove this warning. See 05:59:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:59:43 05:59:43 Login Succeeded 05:59:43 ---> ****-login.sh ends [Pipeline] } 05:59:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:44 + git rev-list -1 --merges f439acb25c1011bb6138a645f0cec5c8e55aab48~1..f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] echo 05:59:44 -----------> git rev-list -1 --merges f439acb25c1011bb6138a645f0cec5c8e55aab48~1..f439acb25c1011bb6138a645f0cec5c8e55aab48 f439acb25c1011bb6138a645f0cec5c8e55aab48 [false] [Pipeline] sh 05:59:44 + git log --format=format:%s -1 f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] echo 05:59:44 ========================================================= 05:59:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:45 + git log --format=format:%s -1 f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] echo 05:59:45 [semverPrep] GIT_COMMIT: f439acb25c1011bb6138a645f0cec5c8e55aab48, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:59:45 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:45 + grep -v github /etc/ssh/ssh_known_hosts 05:59:45 + [ -e /tmp/ssh_known_hosts ] 05:59:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:45 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:46 05:59:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:46 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:46 b85a868b505f: Pulling fs layer 05:59:46 e2be974225ed: Pulling fs layer 05:59:46 339a4e72a1f5: Pulling fs layer 05:59:46 988bab9f4d93: Pulling fs layer 05:59:46 1469e6f7b9e6: Pulling fs layer 05:59:46 eaf3925da568: Pulling fs layer 05:59:46 bab4dde63d76: Pulling fs layer 05:59:46 bde34c3a00c8: Pulling fs layer 05:59:46 b352a97aabf1: Pulling fs layer 05:59:46 4872d77fe225: Pulling fs layer 05:59:46 5851b861e8e6: Pulling fs layer 05:59:46 eaf3925da568: Waiting 05:59:46 988bab9f4d93: Waiting 05:59:46 b352a97aabf1: Waiting 05:59:46 bab4dde63d76: Waiting 05:59:46 4872d77fe225: Waiting 05:59:46 bde34c3a00c8: Waiting 05:59:46 e2be974225ed: Verifying Checksum 05:59:46 e2be974225ed: Download complete 05:59:46 988bab9f4d93: Verifying Checksum 05:59:46 988bab9f4d93: Download complete 05:59:46 1469e6f7b9e6: Verifying Checksum 05:59:46 1469e6f7b9e6: Download complete 05:59:46 339a4e72a1f5: Verifying Checksum 05:59:46 339a4e72a1f5: Download complete 05:59:46 eaf3925da568: Download complete 05:59:46 bde34c3a00c8: Download complete 05:59:46 b352a97aabf1: Verifying Checksum 05:59:46 b352a97aabf1: Download complete 05:59:46 4872d77fe225: Download complete 05:59:46 5851b861e8e6: Verifying Checksum 05:59:46 5851b861e8e6: Download complete 05:59:46 b85a868b505f: Verifying Checksum 05:59:46 b85a868b505f: Download complete 05:59:47 bab4dde63d76: Download complete 05:59:48 b85a868b505f: Pull complete 05:59:48 e2be974225ed: Pull complete 05:59:48 339a4e72a1f5: Pull complete 05:59:48 988bab9f4d93: Pull complete 05:59:49 1469e6f7b9e6: Pull complete 05:59:49 eaf3925da568: Pull complete 05:59:51 bab4dde63d76: Pull complete 05:59:51 bde34c3a00c8: Pull complete 05:59:51 b352a97aabf1: Pull complete 05:59:51 4872d77fe225: Pull complete 05:59:51 5851b861e8e6: Pull complete 05:59:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:59:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:51 prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container 05:59:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-346 -v /w/workspace/gexfoundry_device-snmp-go_PR-346:/w/workspace/gexfoundry_device-snmp-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:59:55 $ docker top 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 -eo pid,comm 05:59:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:59:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:59:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:55 [ssh-agent] Looking for ssh-agent implementation... 05:59:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:55 $ docker exec 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 ssh-agent 05:59:56 SSH_AUTH_SOCK=/tmp/ssh-5aM0xRDWibXU/agent.32 05:59:56 SSH_AGENT_PID=38 05:59:56 Running ssh-add (command line suppressed) 05:59:56 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/private_key_17939790146091442562.key (/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/private_key_17939790146091442562.key) 05:59:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:56 + git tag --points-at HEAD [Pipeline] } 05:59:56 $ docker exec --env ******** --env ******** 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 ssh-agent -k 05:59:56 unset SSH_AUTH_SOCK; 05:59:56 unset SSH_AGENT_PID; 05:59:56 echo Agent pid 38 killed; 05:59:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:59:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:56 [ssh-agent] Looking for ssh-agent implementation... 05:59:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:56 $ docker exec 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 ssh-agent 05:59:56 SSH_AUTH_SOCK=/tmp/ssh-3btMMuBSoZgm/agent.71 05:59:56 SSH_AGENT_PID=77 05:59:56 Running ssh-add (command line suppressed) 05:59:57 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/private_key_15348806773117929279.key (/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/private_key_15348806773117929279.key) 05:59:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:57 + git semver init 05:59:57 2024-03-21 05:59:57,620 [run_init] DEBUG init version:0.0.0 force:False 05:59:57 2024-03-21 05:59:57,621 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-346/.semver 05:59:57 2024-03-21 05:59:57,622 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-346/.semver 05:59:57 2024-03-21 05:59:57,622 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-346/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-346, universal_newlines=False, shell=None, istream=None) 05:59:59 2024-03-21 05:59:58,689 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-346/.git/info/exclude 05:59:59 2024-03-21 05:59:58,690 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-346/.semver/PR-346 with force:False 05:59:59 2024-03-21 05:59:58,690 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-346/.semver/PR-346 05:59:59 2024-03-21 05:59:58,695 [execute] INFO git cat-file --batch-check 05:59:59 2024-03-21 05:59:58,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) 05:59:59 2024-03-21 05:59:58,702 [execute] INFO git cat-file --batch 05:59:59 2024-03-21 05:59:58,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) 05:59:59 2024-03-21 05:59:58,708 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-346/.semver/PR-346 05:59:59 0.0.0 [Pipeline] } 05:59:59 $ docker exec --env ******** --env ******** 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 ssh-agent -k 05:59:59 unset SSH_AUTH_SOCK; 05:59:59 unset SSH_AGENT_PID; 05:59:59 echo Agent pid 77 killed; 05:59:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:59 + git semver [Pipeline] } 05:59:59 $ docker stop --time=1 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 06:00:01 $ docker rm -f --volumes 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:00:02 Stashed 1 file(s) [Pipeline] echo 06:00:02 [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 06:00:02 provisioning config files... 06:00:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/config17594312100806378636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:03 ---> ****-login.sh 06:00:03 nexus3.edgexfoundry.org:10001 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:03 Configure a credential helper to remove this warning. See 06:00:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:03 06:00:03 Login Succeeded 06:00:03 nexus3.edgexfoundry.org:10002 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:03 Configure a credential helper to remove this warning. See 06:00:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:03 06:00:03 Login Succeeded 06:00:03 nexus3.edgexfoundry.org:10003 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:03 Configure a credential helper to remove this warning. See 06:00:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:03 06:00:03 Login Succeeded 06:00:03 nexus3.edgexfoundry.org:10004 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:03 Configure a credential helper to remove this warning. See 06:00:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:03 06:00:03 Login Succeeded 06:00:03 ****.io 06:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:00:05 Configure a credential helper to remove this warning. See 06:00:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:00:05 06:00:05 Login Succeeded 06:00:05 ---> ****-login.sh ends [Pipeline] } 06:00:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:00:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:00:05 ========================================================= 06:00:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:00:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:06 + 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 . 06:00:06 Sending build context to Docker daemon 14.2MB 06:00:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 06:00:06 Step 2/12 : FROM ${BASE} AS builder 06:00:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:06 7264a8db6415: Pulling fs layer 06:00:06 c4d48a809fc2: Pulling fs layer 06:00:06 4f1c88b9dad5: Pulling fs layer 06:00:06 ad3a456e5733: Pulling fs layer 06:00:06 69c7f0334f64: Pulling fs layer 06:00:06 1f1c1a5573a3: Pulling fs layer 06:00:06 ce7588e14bc9: Pulling fs layer 06:00:06 69c7f0334f64: Waiting 06:00:06 1f1c1a5573a3: Waiting 06:00:06 ad3a456e5733: Waiting 06:00:06 b5e4710f87ac: Pulling fs layer 06:00:06 ce7588e14bc9: Waiting 06:00:06 b5e4710f87ac: Waiting 06:00:06 c4d48a809fc2: Verifying Checksum 06:00:06 c4d48a809fc2: Download complete 06:00:06 ad3a456e5733: Verifying Checksum 06:00:06 ad3a456e5733: Download complete 06:00:06 69c7f0334f64: Download complete 06:00:06 7264a8db6415: Verifying Checksum 06:00:06 7264a8db6415: Download complete 06:00:06 1f1c1a5573a3: Verifying Checksum 06:00:06 1f1c1a5573a3: Download complete 06:00:06 b5e4710f87ac: Verifying Checksum 06:00:06 b5e4710f87ac: Download complete 06:00:06 7264a8db6415: Pull complete 06:00:06 4f1c88b9dad5: Verifying Checksum 06:00:06 4f1c88b9dad5: Download complete 06:00:07 c4d48a809fc2: Pull complete 06:00:07 ce7588e14bc9: Verifying Checksum 06:00:07 ce7588e14bc9: Download complete 06:00:11 4f1c88b9dad5: Pull complete 06:00:11 ad3a456e5733: Pull complete 06:00:11 69c7f0334f64: Pull complete 06:00:11 1f1c1a5573a3: Pull complete 06:00:13 ce7588e14bc9: Pull complete 06:00:13 b5e4710f87ac: Pull complete 06:00:13 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 06:00:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:00:13 ---> 88b5674ff536 06:00:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:00:17 Still waiting to schedule task 06:00:17 ‘prd-ubuntu20.04-docker-arm64-4c-16g-534’ is offline 06:00:19 ---> Running in 921a671f18d5 06:00:19 Removing intermediate container 921a671f18d5 06:00:19 ---> 857c63ea392f 06:00:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:00:19 ---> Running in 0017122a9720 06:00:19 Removing intermediate container 0017122a9720 06:00:19 ---> 9c902a525957 06:00:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:00:19 ---> Running in c8233c08a9eb 06:00:19 Removing intermediate container c8233c08a9eb 06:00:19 ---> 044af479aead 06:00:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:00:19 ---> Running in 14a8de48501e 06:00:19 Removing intermediate container 14a8de48501e 06:00:19 ---> 28b1cffeebe9 06:00:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:00:19 ---> Running in 10b647b50beb 06:00:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:00:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:00:20 (1/4) Installing openssh-keygen (9.3_p2-r1) 06:00:20 (2/4) Installing libedit (20221030.3.1-r1) 06:00:20 (3/4) Installing openssh-client-common (9.3_p2-r1) 06:00:20 (4/4) Installing openssh-client-default (9.3_p2-r1) 06:00:20 Executing busybox-1.36.1-r5.trigger 06:00:20 OK: 268 MiB in 56 packages 06:00:21 Removing intermediate container 10b647b50beb 06:00:21 ---> 61bf1afdcea2 06:00:21 Step 8/12 : WORKDIR /device-snmp-go 06:00:21 ---> Running in 601e41011b49 06:00:21 Removing intermediate container 601e41011b49 06:00:21 ---> 23c1dad0601a 06:00:21 Step 9/12 : COPY go.mod vendor* ./ 06:00:21 ---> 5f862148aacf 06:00:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:21 ---> Running in 5a8d0fd2254c 06:01:30 Removing intermediate container 5a8d0fd2254c 06:01:30 ---> a65067ff63b5 06:01:30 Step 11/12 : COPY . . 06:01:30 ---> 42d97de363b2 06:01:30 Step 12/12 : RUN ${MAKE} 06:01:30 ---> Running in eb57fa24f33b 06:01:30 noop 06:01:30 Removing intermediate container eb57fa24f33b 06:01:30 ---> 0e7465fc72bf 06:01:30 Successfully built 0e7465fc72bf 06:01:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:31 + docker inspect -f . ci-base-image-x86_64 06:01:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:31 prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container 06:01:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-346 -v /w/workspace/gexfoundry_device-snmp-go_PR-346:/w/workspace/gexfoundry_device-snmp-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:31 $ docker top 07b41c505e08e0d691780d56aa29ef8add5f34159061e3476e0b585ad6f03786 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:32 + go version 06:01:32 go version go1.21.0 linux/amd64 [Pipeline] } 06:01:32 $ docker stop --time=1 07b41c505e08e0d691780d56aa29ef8add5f34159061e3476e0b585ad6f03786 06:01:33 $ docker rm -f --volumes 07b41c505e08e0d691780d56aa29ef8add5f34159061e3476e0b585ad6f03786 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:34 + docker inspect -f . ci-base-image-x86_64 06:01:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:01:34 prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container 06:01:34 $ 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-346 -v /w/workspace/gexfoundry_device-snmp-go_PR-346:/w/workspace/gexfoundry_device-snmp-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:34 $ docker top f7845296a8bf402dea6c95c66f635cfeba9a42652aa099a1c876dc05580dfdf0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-346 [Pipeline] fileExists [Pipeline] sh 06:01:35 + make test 06:01:35 go test ./... -coverprofile=coverage.out 06:01:37 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:01:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-536 in /w/workspace/gexfoundry_device-snmp-go_PR-346 [Pipeline] { [Pipeline] ws 06:01:41 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:01:41 Selected Git installation does not exist. Using Default 06:01:41 The recommended git tool is: NONE 06:01:46 using credential edgex-jenkins-ssh 06:01:46 Cloning the remote Git repository 06:01:46 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:01:46 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:01:47 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:01:47 > git --version # timeout=10 06:01:47 > git --version # 'git version 2.25.1' 06:01:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:48 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:01:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:50 Merging remotes/origin/main commit ab3bf70376c9802f6ba544aa167c564e283ce2c4 into PR head commit f439acb25c1011bb6138a645f0cec5c8e55aab48 06:01:50 Merge succeeded, producing f439acb25c1011bb6138a645f0cec5c8e55aab48 06:01:50 Checking out Revision f439acb25c1011bb6138a645f0cec5c8e55aab48 (PR-346) 06:01:49 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:01:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:01:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:01:50 > git config core.sparsecheckout # timeout=10 06:01:50 > git checkout -f f439acb25c1011bb6138a645f0cec5c8e55aab48 # timeout=10 06:01:50 > git remote # timeout=10 06:01:50 > git config --get remote.origin.url # timeout=10 06:01:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:50 > git merge ab3bf70376c9802f6ba544aa167c564e283ce2c4 # timeout=10 06:01:50 > git rev-parse HEAD^{commit} # timeout=10 06:01:50 > git config core.sparsecheckout # timeout=10 06:01:50 > git checkout -f f439acb25c1011bb6138a645f0cec5c8e55aab48 # timeout=10 06:01:51 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 06:01:51 > git --version # timeout=10 06:01:51 > git --version # 'git version 2.25.1' 06:01:51 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 06:01:55 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:01:55 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:01:56 % Total % Received % Xferd Average Speed Time Time Time Current 06:01:56 Dload Upload Total Spent Left Speed 06:01:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh 06:01:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:01:56 + sudo tee /etc/docker/daemon.new 06:01:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:01:56 { 06:01:56 "registry-mirrors": [ 06:01:56 "https://nexus3.edgexfoundry.org:10001" 06:01:56 ], 06:01:56 "bip": "10.250.0.254/24", 06:01:56 "hosts": [ 06:01:56 "tcp://0.0.0.0:5555", 06:01:56 "unix:///var/run/docker.sock" 06:01:56 ], 06:01:56 "mtu": 1458, 06:01:56 "selinux-enabled": true, 06:01:56 "seccomp-profile": "/etc/docker/seccomp.json" 06:01:56 } [Pipeline] sh 06:01:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:01:57 + sudo service docker restart 06:02:03 go vet ./... 06:02:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:02:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:02:08 ./bin/test-attribution-txt.sh 06:02:08 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:02:08 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:02:08 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:02:08 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:02:08 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:02:08 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:02:08 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:02:08 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:02:08 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:02:08 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 06:02:08 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:02:08 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:02:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:02:08 $ docker stop --time=1 f7845296a8bf402dea6c95c66f635cfeba9a42652aa099a1c876dc05580dfdf0 06:02:13 $ docker rm -f --volumes f7845296a8bf402dea6c95c66f635cfeba9a42652aa099a1c876dc05580dfdf0 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:15 + ls -al . 06:02:15 total 240 06:02:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 06:01 . 06:02:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:59 .. 06:02:15 -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 05:59 .dockerignore 06:02:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 06:01 .git 06:02:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:59 .github 06:02:15 -rw-rw-r-- 1 jenkins jenkins 263 Mar 21 05:59 .gitignore 06:02:15 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:59 .golangci.yml 06:02:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:59 .semver 06:02:15 -rw-rw-r-- 1 jenkins jenkins 10025 Mar 21 05:59 Attribution.txt 06:02:15 -rw-rw-r-- 1 jenkins jenkins 11809 Mar 21 05:59 CHANGELOG.md 06:02:15 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 21 05:59 Dockerfile 06:02:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:59 GOVERNANCE.md 06:02:15 -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 05:59 Jenkinsfile 06:02:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:59 LICENSE 06:02:15 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 21 05:59 Makefile 06:02:15 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:59 OWNERS.md 06:02:15 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 21 05:59 README.md 06:02:15 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 06:00 VERSION 06:02:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:59 bin 06:02:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:59 cmd 06:02:15 -rw-r--r-- 1 jenkins jenkins 8837 Mar 21 06:01 coverage.out 06:02:15 -rw-rw-r-- 1 jenkins jenkins 7059 Mar 21 05:59 go.mod 06:02:15 -rw-rw-r-- 1 jenkins jenkins 101590 Mar 21 05:59 go.sum 06:02:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:59 internal 06:02:15 -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv 06:02:15 + 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=f439acb25c1011bb6138a645f0cec5c8e55aab48 --label arch=amd64 --label version=0.0.0 . 06:02:15 Sending build context to Docker daemon 14.21MB 06:02:15 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 06:02:15 Step 2/25 : FROM ${BASE} AS builder 06:02:15 ---> 0e7465fc72bf 06:02:15 Step 3/25 : ARG ADD_BUILD_TAGS="" [Pipeline] { [Pipeline] configFileProvider 06:02:15 provisioning config files... 06:02:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config14385549818497656654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:16 ---> Running in 8042b6ee4195 06:02:16 Removing intermediate container 8042b6ee4195 06:02:16 ---> 8ccb28efbbad 06:02:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:16 ---> Running in a76743f32def 06:02:16 Removing intermediate container a76743f32def 06:02:16 ---> 205bd0a3fa85 06:02:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:02:16 ---> Running in 2601918027a6 06:02:16 Removing intermediate container 2601918027a6 06:02:16 ---> 471fbb2a3340 06:02:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:02:16 ---> Running in 144d2a67ed00 06:02:16 Removing intermediate container 144d2a67ed00 06:02:16 ---> 569f03a06c43 06:02:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:16 ---> Running in 54baba8e0f16 06:02:16 ---> ****-login.sh 06:02:16 nexus3.edgexfoundry.org:10001 06:02:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:16 Configure a credential helper to remove this warning. See 06:02:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:16 06:02:16 Login Succeeded 06:02:16 nexus3.edgexfoundry.org:10002 06:02:17 OK: 268 MiB in 56 packages 06:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:17 Configure a credential helper to remove this warning. See 06:02:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:17 06:02:17 Removing intermediate container 54baba8e0f16 06:02:17 ---> d11c7edfec67 06:02:17 Step 8/25 : WORKDIR /device-snmp-go 06:02:17 ---> Running in baf76f99db3b 06:02:17 Login Succeeded 06:02:17 nexus3.edgexfoundry.org:10003 06:02:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:17 Removing intermediate container baf76f99db3b 06:02:17 ---> d3f2e48a7395 06:02:17 Step 9/25 : COPY go.mod vendor* ./ 06:02:17 ---> d8d5ccb43780 06:02:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:17 ---> Running in fe92f70a6eef 06:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:17 Configure a credential helper to remove this warning. See 06:02:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:17 06:02:17 Login Succeeded 06:02:17 nexus3.edgexfoundry.org:10004 06:02:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:18 Configure a credential helper to remove this warning. See 06:02:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:18 06:02:18 Login Succeeded 06:02:18 ****.io 06:02:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:02:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:02:18 Configure a credential helper to remove this warning. See 06:02:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:02:18 06:02:18 Login Succeeded 06:02:18 ---> ****-login.sh ends 06:02:18 Removing intermediate container fe92f70a6eef 06:02:18 ---> c7374b089f91 06:02:18 Step 11/25 : COPY . . [Pipeline] } 06:02:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:02:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:02:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:02:19 ========================================================= 06:02:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:02:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 06:02:19 ---> 7f4a295813e1 06:02:19 Step 12/25 : RUN ${MAKE} 06:02:19 ---> Running in 747941e88956 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:19 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.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:02:19 + 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 . 06:02:19 Sending build context to Docker daemon 7.188MB 06:02:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 06:02:19 Step 2/12 : FROM ${BASE} AS builder 06:02:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:02:20 9fda8d8052c6: Pulling fs layer 06:02:20 5d54e960e981: Pulling fs layer 06:02:20 c4a7e357bf2a: Pulling fs layer 06:02:20 f0e02332f6b5: Pulling fs layer 06:02:20 872ee5b61b7b: Pulling fs layer 06:02:20 0c6a40ed1a82: Pulling fs layer 06:02:20 94ae7d8d031c: Pulling fs layer 06:02:20 0c6a40ed1a82: Waiting 06:02:20 f0e02332f6b5: Waiting 06:02:20 94ae7d8d031c: Waiting 06:02:20 872ee5b61b7b: Waiting 06:02:20 5d54e960e981: Verifying Checksum 06:02:20 5d54e960e981: Download complete 06:02:20 f0e02332f6b5: Verifying Checksum 06:02:20 f0e02332f6b5: Download complete 06:02:20 872ee5b61b7b: Verifying Checksum 06:02:20 872ee5b61b7b: Download complete 06:02:20 9fda8d8052c6: Verifying Checksum 06:02:20 9fda8d8052c6: Download complete 06:02:20 94ae7d8d031c: Verifying Checksum 06:02:20 94ae7d8d031c: Download complete 06:02:21 9fda8d8052c6: Pull complete 06:02:21 5d54e960e981: Pull complete 06:02:21 c4a7e357bf2a: Verifying Checksum 06:02:21 c4a7e357bf2a: Download complete 06:02:22 0c6a40ed1a82: Verifying Checksum 06:02:22 0c6a40ed1a82: Download complete 06:02:35 c4a7e357bf2a: Pull complete 06:02:35 f0e02332f6b5: Pull complete 06:02:35 872ee5b61b7b: Pull complete 06:02:43 0c6a40ed1a82: Pull complete 06:02:44 94ae7d8d031c: Pull complete 06:02:44 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 06:02:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:02:44 ---> 86de565de09d 06:02:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:02:46 ---> Running in eef866d8e8f2 06:02:47 Removing intermediate container eef866d8e8f2 06:02:47 ---> 9d2801171aaa 06:02:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:02:47 ---> Running in 8e75000b85ee 06:02:47 Removing intermediate container 8e75000b85ee 06:02:47 ---> 4d0ccaf2ac8f 06:02:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:02:47 ---> Running in 357917ef8d50 06:02:47 Removing intermediate container 357917ef8d50 06:02:47 ---> f72c91a4ee97 06:02:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:02:47 ---> Running in 6827340d2d6e 06:02:48 Removing intermediate container 6827340d2d6e 06:02:48 ---> f1b3814babdd 06:02:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:02:48 ---> Running in 3e15921ad5e9 06:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:02:50 (1/4) Installing openssh-keygen (9.3_p2-r1) 06:02:50 (2/4) Installing libedit (20221030.3.1-r1) 06:02:50 (3/4) Installing openssh-client-common (9.3_p2-r1) 06:02:50 (4/4) Installing openssh-client-default (9.3_p2-r1) 06:02:50 Executing busybox-1.36.1-r5.trigger 06:02:50 OK: 271 MiB in 56 packages 06:02:52 Removing intermediate container 3e15921ad5e9 06:02:52 ---> b73c2be9ff63 06:02:52 Step 8/12 : WORKDIR /device-snmp-go 06:02:52 ---> Running in 6a13af4b380d 06:02:52 Removing intermediate container 6a13af4b380d 06:02:52 ---> 373b2d8f7f18 06:02:52 Step 9/12 : COPY go.mod vendor* ./ 06:02:52 ---> 26c9ae2b33ea 06:02:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:02:52 ---> Running in 62926889d0ba 06:02:58 Removing intermediate container 747941e88956 06:02:58 ---> 76b7a1adfc1b 06:02:58 Step 13/25 : FROM alpine:3.18 06:02:58 3.18: Pulling from library/alpine 06:02:58 619be1103602: Pulling fs layer 06:02:58 619be1103602: Verifying Checksum 06:02:58 619be1103602: Download complete 06:02:58 619be1103602: Pull complete 06:02:58 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:02:58 Status: Downloaded newer image for alpine:3.18 06:02:58 ---> d3782b16ccc9 06:02:58 Step 14/25 : RUN apk add --update --no-cache dumb-init 06:02:58 ---> Running in ee267379261d 06:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:02:58 (1/1) Installing dumb-init (1.2.5-r2) 06:02:58 Executing busybox-1.36.1-r5.trigger 06:02:58 OK: 7 MiB in 16 packages 06:02:58 Removing intermediate container ee267379261d 06:02:58 ---> 10ae8ef0f0d8 06:02:58 Step 15/25 : RUN apk --no-cache upgrade 06:02:58 ---> Running in ac5528572e8b 06:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:02:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:02:58 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 06:02:58 OK: 7 MiB in 16 packages 06:02:58 Removing intermediate container ac5528572e8b 06:02:58 ---> b147403a4e03 06:02:58 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 06:02:58 ---> 7f3065fa3ad1 06:02:58 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:02:58 ---> b251c42e2022 06:02:58 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 06:02:58 ---> ccfb43ab0c93 06:02:58 Step 19/25 : EXPOSE 59993 06:02:58 ---> Running in 3b2ccfbe8a22 06:02:58 Removing intermediate container 3b2ccfbe8a22 06:02:58 ---> 552efe31151d 06:02:58 Step 20/25 : EXPOSE 161 06:02:58 ---> Running in c6a6ab8e591d 06:02:58 Removing intermediate container c6a6ab8e591d 06:02:58 ---> e6f2f77e09c9 06:02:58 Step 21/25 : ENTRYPOINT ["/device-snmp"] 06:02:58 ---> Running in 2dec9ac4ed31 06:02:58 Removing intermediate container 2dec9ac4ed31 06:02:58 ---> 7a4f33d5a300 06:02:58 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:02:58 ---> Running in a9a62c3ecbf4 06:02:58 Removing intermediate container a9a62c3ecbf4 06:02:58 ---> 056dc228a217 06:02:58 Step 23/25 : LABEL arch=amd64 06:02:58 ---> Running in f09f96816397 06:02:58 Removing intermediate container f09f96816397 06:02:58 ---> 3c40058c161f 06:02:58 Step 24/25 : LABEL git_sha=f439acb25c1011bb6138a645f0cec5c8e55aab48 06:02:58 ---> Running in 933d78faadd3 06:02:58 Removing intermediate container 933d78faadd3 06:02:58 ---> 2eaab6f09825 06:02:58 Step 25/25 : LABEL version=0.0.0 06:02:58 ---> Running in 1c8a31255ce9 06:02:58 Removing intermediate container 1c8a31255ce9 06:02:58 ---> 3ed5408b8c41 06:02:58 [Warning] One or more build-args [ARCH] were not consumed 06:02:58 Successfully built 3ed5408b8c41 06:02:58 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:59 06:02:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:59 latest: Pulling from edgex-lftools-log-publisher 06:02:59 5eb5b503b376: Pulling fs layer 06:02:59 5c69ac0246d0: Pulling fs layer 06:02:59 ec43610c2a17: Pulling fs layer 06:02:59 3a2ae6a8a46f: Pulling fs layer 06:02:59 33b1e0a273af: Pulling fs layer 06:02:59 5d3b04190fa2: Pulling fs layer 06:02:59 2f39f015ded8: Pulling fs layer 06:02:59 33b1e0a273af: Waiting 06:02:59 5d3b04190fa2: Waiting 06:02:59 2f39f015ded8: Waiting 06:02:59 3a2ae6a8a46f: Waiting 06:02:59 5c69ac0246d0: Verifying Checksum 06:02:59 5c69ac0246d0: Download complete 06:02:59 3a2ae6a8a46f: Verifying Checksum 06:02:59 3a2ae6a8a46f: Download complete 06:02:59 33b1e0a273af: Verifying Checksum 06:02:59 33b1e0a273af: Download complete 06:02:59 5d3b04190fa2: Verifying Checksum 06:02:59 5d3b04190fa2: Download complete 06:02:59 ec43610c2a17: Verifying Checksum 06:02:59 ec43610c2a17: Download complete 06:02:59 5eb5b503b376: Verifying Checksum 06:02:59 5eb5b503b376: Download complete 06:03:00 2f39f015ded8: Download complete 06:03:00 5eb5b503b376: Pull complete 06:03:00 5c69ac0246d0: Pull complete 06:03:01 ec43610c2a17: Pull complete 06:03:01 3a2ae6a8a46f: Pull complete 06:03:01 33b1e0a273af: Pull complete 06:03:01 5d3b04190fa2: Pull complete 06:03:05 2f39f015ded8: Pull complete 06:03:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:03:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:06 prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container 06:03:06 $ 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-346 -v /w/workspace/gexfoundry_device-snmp-go_PR-346:/w/workspace/gexfoundry_device-snmp-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:03:11 $ docker top c07e7a2ff726bda77b5f88e3972627fda67869a9c9eb70df5557f601c4d97a7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:12 ---> job-cost.sh 06:03:12 lf-activate-venv: SKIPPING 06:03:12 INFO: No Stack... 06:03:12 INFO: Retrieving Pricing Info for: v3-standard-8 06:03:12 INFO: Archiving Costs [Pipeline] sh 06:03:12 + cat /w/workspace/gexfoundry_device-snmp-go_PR-346/archives/cost.csv 06:03:12 + cut -d, -f6 [Pipeline] lock 06:03:12 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] 06:03:12 Resource [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] did not exist. Created. 06:03:12 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:13 + echo total: 0.2199999988079071 [Pipeline] stash 06:03:13 Stashed 1 file(s) [Pipeline] } 06:03:13 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:03:13 $ docker stop --time=1 c07e7a2ff726bda77b5f88e3972627fda67869a9c9eb70df5557f601c4d97a7b 06:03:14 $ docker rm -f --volumes c07e7a2ff726bda77b5f88e3972627fda67869a9c9eb70df5557f601c4d97a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:04:44 Removing intermediate container 62926889d0ba 06:04:44 ---> da5e870391e4 06:04:44 Step 11/12 : COPY . . 06:04:45 ---> 649db1822c25 06:04:45 Step 12/12 : RUN ${MAKE} 06:04:45 ---> Running in e4d8bb2932c1 06:04:46 noop 06:04:46 Removing intermediate container e4d8bb2932c1 06:04:46 ---> 4a7b91a5bbfe 06:04:46 Successfully built 4a7b91a5bbfe 06:04:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:47 + docker inspect -f . ci-base-image-arm64 06:04:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:47 prd-ubuntu20.04-docker-arm64-4c-16g-536 does not seem to be running inside a container 06:04:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:48 $ docker top a761a47666ee01685f61cacdfea52d14377b2b033f536f0448dc83eb2d9f16a9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:49 + go version 06:04:49 go version go1.21.0 linux/arm64 [Pipeline] } 06:04:49 $ docker stop --time=1 a761a47666ee01685f61cacdfea52d14377b2b033f536f0448dc83eb2d9f16a9 06:04:51 $ docker rm -f --volumes a761a47666ee01685f61cacdfea52d14377b2b033f536f0448dc83eb2d9f16a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:52 + docker inspect -f . ci-base-image-arm64 06:04:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:52 prd-ubuntu20.04-docker-arm64-4c-16g-536 does not seem to be running inside a container 06:04:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:04:53 $ docker top e556b10bebc563ec7647e1f6693ec144a46a2601499fa708f6e8959a9bd91332 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:54 + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh 06:04:55 + make test 06:04:55 go test ./... -coverprofile=coverage.out 06:05:00 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:07:22 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:07:22 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.032s coverage: 0.0% of statements 06:07:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:07:22 go vet ./... 06:07:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:07:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:07:54 ./bin/test-attribution-txt.sh 06:07:54 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:07:54 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:07:54 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:07:54 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:07:54 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:07:54 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:07:54 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:07:54 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:07:54 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:07:54 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 06:07:54 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:07:54 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:07:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:07:54 $ docker stop --time=1 e556b10bebc563ec7647e1f6693ec144a46a2601499fa708f6e8959a9bd91332 06:07:56 $ docker rm -f --volumes e556b10bebc563ec7647e1f6693ec144a46a2601499fa708f6e8959a9bd91332 [Pipeline] // withDockerContainer [Pipeline] sh 06:07:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:07:58 Warning: overwriting stash ‘coverage-report’ 06:07:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:07:59 + ls -al . 06:07:59 total 236 06:07:59 drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 06:04 . 06:07:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 06:01 .. 06:07:59 -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 06:01 .dockerignore 06:07:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 06:01 .git 06:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 06:01 .github 06:07:59 -rw-rw-r-- 1 jenkins jenkins 263 Mar 21 06:01 .gitignore 06:07:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 06:01 .golangci.yml 06:07:59 -rw-rw-r-- 1 jenkins jenkins 10025 Mar 21 06:01 Attribution.txt 06:07:59 -rw-rw-r-- 1 jenkins jenkins 11809 Mar 21 06:01 CHANGELOG.md 06:07:59 -rw-rw-r-- 1 jenkins jenkins 1571 Mar 21 06:01 Dockerfile 06:07:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 06:01 GOVERNANCE.md 06:07:59 -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 06:01 Jenkinsfile 06:07:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 06:01 LICENSE 06:07:59 -rw-rw-r-- 1 jenkins jenkins 2240 Mar 21 06:01 Makefile 06:07:59 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 06:01 OWNERS.md 06:07:59 -rw-rw-r-- 1 jenkins jenkins 10477 Mar 21 06:01 README.md 06:07:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 06:00 VERSION 06:07:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 06:01 bin 06:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 06:01 cmd 06:07:59 -rw-r--r-- 1 jenkins jenkins 8837 Mar 21 06:07 coverage.out 06:07:59 -rw-rw-r-- 1 jenkins jenkins 7059 Mar 21 06:01 go.mod 06:07:59 -rw-rw-r-- 1 jenkins jenkins 101590 Mar 21 06:01 go.sum 06:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 06:01 internal 06:07:59 -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:00 + 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=f439acb25c1011bb6138a645f0cec5c8e55aab48 --label arch=arm64 --label version=0.0.0 . 06:08:00 Sending build context to Docker daemon 7.198MB 06:08:00 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 06:08:00 Step 2/25 : FROM ${BASE} AS builder 06:08:00 ---> 4a7b91a5bbfe 06:08:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:08:00 ---> Running in b8f819d92ce9 06:08:00 Removing intermediate container b8f819d92ce9 06:08:00 ---> fa420b748de5 06:08:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:08:00 ---> Running in c9ca76a4aa6e 06:08:01 Removing intermediate container c9ca76a4aa6e 06:08:01 ---> 63816e737f31 06:08:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:08:01 ---> Running in 15dadbe3a3d0 06:08:01 Removing intermediate container 15dadbe3a3d0 06:08:01 ---> 92a713e5b461 06:08:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:08:01 ---> Running in c37b7d64c125 06:08:02 Removing intermediate container c37b7d64c125 06:08:02 ---> 99739797f3d0 06:08:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:08:02 ---> Running in 8afeaff085e8 06:08:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:08:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:08:04 OK: 271 MiB in 56 packages 06:08:05 Removing intermediate container 8afeaff085e8 06:08:05 ---> 0bb9033cfbb0 06:08:05 Step 8/25 : WORKDIR /device-snmp-go 06:08:05 ---> Running in 0395110911ca 06:08:05 Removing intermediate container 0395110911ca 06:08:05 ---> b4e6a180f4f3 06:08:05 Step 9/25 : COPY go.mod vendor* ./ 06:08:06 ---> d6858e215d22 06:08:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:06 ---> Running in 0e34aa14c6ac 06:08:08 Removing intermediate container 0e34aa14c6ac 06:08:08 ---> 120bb1ded3a2 06:08:08 Step 11/25 : COPY . . 06:08:09 ---> eb03ada3864f 06:08:09 Step 12/25 : RUN ${MAKE} 06:08:09 ---> Running in d9e892b2c225 06:08:10 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.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-snmp ./cmd 06:10:46 Removing intermediate container d9e892b2c225 06:10:46 ---> 998950f3e540 06:10:46 Step 13/25 : FROM alpine:3.18 06:10:46 3.18: Pulling from library/alpine 06:10:46 c6b39de5b339: Pulling fs layer 06:10:46 c6b39de5b339: Verifying Checksum 06:10:46 c6b39de5b339: Download complete 06:10:46 c6b39de5b339: Pull complete 06:10:46 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 06:10:46 Status: Downloaded newer image for alpine:3.18 06:10:46 ---> 33abbf032149 06:10:46 Step 14/25 : RUN apk add --update --no-cache dumb-init 06:10:46 ---> Running in 58c1250fe996 06:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:10:47 (1/1) Installing dumb-init (1.2.5-r2) 06:10:47 Executing busybox-1.36.1-r5.trigger 06:10:47 OK: 8 MiB in 16 packages 06:10:48 Removing intermediate container 58c1250fe996 06:10:48 ---> 61372172700e 06:10:48 Step 15/25 : RUN apk --no-cache upgrade 06:10:48 ---> Running in 591c2fc8b1e2 06:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:10:50 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 06:10:50 OK: 8 MiB in 16 packages 06:10:51 Removing intermediate container 591c2fc8b1e2 06:10:51 ---> 858d77f54c4b 06:10:51 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 06:10:53 ---> 4edc3c64c762 06:10:53 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:10:54 ---> f54df1119060 06:10:54 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 06:10:54 ---> c220e4c8fce3 06:10:54 Step 19/25 : EXPOSE 59993 06:10:54 ---> Running in f610c63819c3 06:10:54 Removing intermediate container f610c63819c3 06:10:54 ---> fbe2c14ed039 06:10:54 Step 20/25 : EXPOSE 161 06:10:54 ---> Running in dd885462fe9f 06:10:55 Removing intermediate container dd885462fe9f 06:10:55 ---> 9a30dac9699f 06:10:55 Step 21/25 : ENTRYPOINT ["/device-snmp"] 06:10:55 ---> Running in e901ea7d8d02 06:10:55 Removing intermediate container e901ea7d8d02 06:10:55 ---> fd803f827165 06:10:55 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:10:55 ---> Running in 318f5cedbb80 06:10:55 Removing intermediate container 318f5cedbb80 06:10:55 ---> 6cc9116790fe 06:10:55 Step 23/25 : LABEL arch=arm64 06:10:55 ---> Running in 2955275d5da2 06:10:56 Removing intermediate container 2955275d5da2 06:10:56 ---> 61831f0487b8 06:10:56 Step 24/25 : LABEL git_sha=f439acb25c1011bb6138a645f0cec5c8e55aab48 06:10:56 ---> Running in fe2b0b3359cb 06:10:56 Removing intermediate container fe2b0b3359cb 06:10:56 ---> ee45e894ce7f 06:10:56 Step 25/25 : LABEL version=0.0.0 06:10:56 ---> Running in 40aa66f2cf55 06:10:56 Removing intermediate container 40aa66f2cf55 06:10:56 ---> 9140dd31c02d 06:10:56 [Warning] One or more build-args [ARCH] were not consumed 06:10:56 Successfully built 9140dd31c02d 06:10:56 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:57 06:10:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:10:58 arm64: Pulling from edgex-lftools-log-publisher 06:10:58 8998bd30e6a1: Pulling fs layer 06:10:58 04944245beec: Pulling fs layer 06:10:58 699f458cf7ca: Pulling fs layer 06:10:58 765212b225bb: Pulling fs layer 06:10:58 f23df028b6ca: Pulling fs layer 06:10:58 d65c8cfc05b1: Pulling fs layer 06:10:58 2437ff75d9bd: Pulling fs layer 06:10:58 765212b225bb: Waiting 06:10:58 f23df028b6ca: Waiting 06:10:58 d65c8cfc05b1: Waiting 06:10:58 2437ff75d9bd: Waiting 06:10:58 04944245beec: Verifying Checksum 06:10:58 04944245beec: Download complete 06:10:58 765212b225bb: Verifying Checksum 06:10:58 765212b225bb: Download complete 06:10:58 f23df028b6ca: Verifying Checksum 06:10:58 f23df028b6ca: Download complete 06:10:58 d65c8cfc05b1: Verifying Checksum 06:10:58 d65c8cfc05b1: Download complete 06:10:58 699f458cf7ca: Verifying Checksum 06:10:58 699f458cf7ca: Download complete 06:10:58 8998bd30e6a1: Verifying Checksum 06:10:58 8998bd30e6a1: Download complete 06:11:01 2437ff75d9bd: Verifying Checksum 06:11:01 2437ff75d9bd: Download complete 06:11:03 8998bd30e6a1: Pull complete 06:11:03 04944245beec: Pull complete 06:11:05 699f458cf7ca: Pull complete 06:11:05 765212b225bb: Pull complete 06:11:06 f23df028b6ca: Pull complete 06:11:06 d65c8cfc05b1: Pull complete 06:11:24 2437ff75d9bd: Pull complete 06:11:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:11:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:11:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:25 prd-ubuntu20.04-docker-arm64-4c-16g-536 does not seem to be running inside a container 06:11:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:11:27 $ docker top 152d6c72f54a5b4678f719116830cf521bd8a9eff57b34d344461fc97ea230c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:28 ---> job-cost.sh 06:11:28 lf-activate-venv: SKIPPING 06:11:28 INFO: No Stack... 06:11:29 INFO: Retrieving Pricing Info for: v3-standard-4 06:11:29 INFO: Archiving Costs [Pipeline] sh 06:11:30 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 06:11:30 + cut -d, -f6 [Pipeline] lock 06:11:30 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] 06:11:30 Resource [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] did not exist. Created. 06:11:30 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:11:31 /w/workspace/device-snmp-go/1@tmp/durable-1076f1a2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:11:32 + echo total: 0.10999999940395355 [Pipeline] stash 06:11:32 Warning: overwriting stash ‘stack-cost’ 06:11:32 Stashed 1 file(s) [Pipeline] } 06:11:32 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:11:32 $ docker stop --time=1 152d6c72f54a5b4678f719116830cf521bd8a9eff57b34d344461fc97ea230c1 06:11:33 $ docker rm -f --volumes 152d6c72f54a5b4678f719116830cf521bd8a9eff57b34d344461fc97ea230c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:11:35 provisioning config files... 06:11:35 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/config12242133913894861476tmp [Pipeline] { [Pipeline] sh 06:11:35 + set +x 06:11:35 + curl -s https://codecov.io/bash 06:11:35 + bash -s -- 06:11:35 06:11:35 _____ _ 06:11:35 / ____| | | 06:11:35 | | ___ __| | ___ ___ _____ __ 06:11:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:11:35 | |___| (_) | (_| | __/ (_| (_) \ V / 06:11:35 \_____\___/ \__,_|\___|\___\___/ \_/ 06:11:35 Bash-1.0.6 06:11:35 06:11:35 06:11:35 ==> git version 2.25.1 found 06:11:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:11:35 Release-Date: 2020-01-08 06:11:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:11:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:11:35 ==> Jenkins CI detected. 06:11:35 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-346 06:11:35 project root: . 06:11:35 --> token set from env 06:11:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:11:35 ==> Running gcov in . (disable via -X gcov) 06:11:35 ==> Python coveragepy not found 06:11:35 ==> Searching for coverage reports in: 06:11:35 + . 06:11:35 -> Found 1 reports 06:11:35 ==> Detecting git/mercurial file structure 06:11:35 ==> Reading reports 06:11:35 + ./coverage.out bytes=8837 06:11:35 ==> Appending adjustments 06:11:35 https://docs.codecov.io/docs/fixing-reports 06:11:35 + Found adjustments 06:11:35 ==> Gzipping contents 06:11:35 4.0K /tmp/codecov.f6fEUM.gz 06:11:35 ==> Uploading reports 06:11:35 url: https://codecov.io 06:11:35 query: branch=PR-346&commit=f439acb25c1011bb6138a645f0cec5c8e55aab48&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=346&job=&cmd_args= 06:11:35 -> Pinging Codecov 06:11:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-346&commit=f439acb25c1011bb6138a645f0cec5c8e55aab48&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=346&job=&cmd_args= 06:11:35 -> Uploading to 06:11:35 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/6C56EA5C29638FB4528AC87E60AF5AE0/f439acb25c1011bb6138a645f0cec5c8e55aab48/67ce80e6-3d9e-4b71-80bc-e13cf69433b8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T061135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f137054f98b2f4f23cc0bc8542df36cce5c85a6eb7ee95b761bba2af30a558e5 06:11:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:11:35 Dload Upload Total Spent Left Speed 06:11:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5275 --:--:-- --:--:-- --:--:-- 5275 06:11:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] } 06:11:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:11:38 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-346/archives ] 06:11:38 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-346/archives 06:11:38 total 16 06:11:38 drwxr-xr-x 3 root root 4096 Mar 21 06:03 . 06:11:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 06:03 .. 06:11:38 drwxr-xr-x 2 root root 4096 Mar 21 06:03 cost 06:11:38 -rw-r--r-- 1 root root 86 Mar 21 06:03 cost.csv 06:11:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-346/archives 06:11:38 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-346/archives 06:11:38 total 16 06:11:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 06:03 . 06:11:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 06:03 .. 06:11:38 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 06:03 cost 06:11:38 -rw-r--r-- 1 jenkins jenkins 86 Mar 21 06:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:11:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:11:39 ---> package-listing.sh 06:11:39 ++ facter osfamily 06:11:39 ++ tr '[:upper:]' '[:lower:]' 06:11:39 + OS_FAMILY=debian 06:11:39 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-346 06:11:39 + START_PACKAGES=/tmp/packages_start.txt 06:11:39 + END_PACKAGES=/tmp/packages_end.txt 06:11:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:11:39 + PACKAGES=/tmp/packages_start.txt 06:11:39 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-346 ']' 06:11:39 + PACKAGES=/tmp/packages_end.txt 06:11:39 + case "${OS_FAMILY}" in 06:11:39 + dpkg -l 06:11:39 + grep '^ii' 06:11:39 + '[' -f /tmp/packages_start.txt ']' 06:11:39 + '[' -f /tmp/packages_end.txt ']' 06:11:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:11:39 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-346 ']' 06:11:39 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-346/archives/ 06:11:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-346/archives/ [Pipeline] echo 06:11:39 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-346/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:11:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:11:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:11:40 prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container 06:11:40 $ 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-346/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-346 -v /w/workspace/gexfoundry_device-snmp-go_PR-346:/w/workspace/gexfoundry_device-snmp-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:11:40 $ docker top 05eb41246f3247fa53a4d39355d2d0fb22c981d34b85b25beda9b754e150deaa -eo pid,comm [Pipeline] { [Pipeline] sh 06:11:41 + touch /tmp/pre-build-complete [Pipeline] sh 06:11:41 + mkdir -p /var/log/sysstat [Pipeline] sh 06:11:41 + ls /var/log/sa-host 06:11:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:42 provisioning config files... 06:11:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/config261115444716169293tmp [Pipeline] { [Pipeline] echo 06:11:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:11:42 ---> create-netrc.sh [Pipeline] } 06:11:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:11:43 ---> python-tools-install.sh [Pipeline] echo 06:11:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:11:43 ---> sudo-logs.sh 06:11:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:11:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:11:43 ---> job-cost.sh 06:11:43 lf-activate-venv: SKIPPING 06:11:43 DEBUG: total: 0.2199999988079071 06:11:43 INFO: Retrieving Stack Cost... 06:11:44 INFO: Retrieving Pricing Info for: v3-standard-8 06:11:44 INFO: Archiving Costs [Pipeline] echo 06:11:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:11:45 ---> logs-deploy.sh 06:11:45 lf-activate-venv: SKIPPING 06:11:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-346/1 06:11:45 INFO: archiving workspace using pattern(s): 06:11:46 Archives upload complete. 06:11:46 INFO: archiving logs to Nexus