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 [2024-03-21T05:59:38.261Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-21T05:59:38.476Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-21T05:59:38.579Z] ========================================================= [2024-03-21T05:59:38.579Z] EdgeX Global Pipelines Version Info [2024-03-21T05:59:38.579Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:59:39.348Z] ------------------- [2024-03-21T05:59:39.349Z] stable info: [2024-03-21T05:59:39.349Z] ------------------- [2024-03-21T05:59:39.349Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-21T05:59:39.349Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T05:59:39.349Z] Message: update stable to v1.0.258 [2024-03-21T05:59:40.291Z] ------------------- [2024-03-21T05:59:40.291Z] experimental info: [2024-03-21T05:59:40.292Z] ------------------- [2024-03-21T05:59:40.292Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-21T05:59:40.292Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T05:59:40.292Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-21T05:59:40.508Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2024-03-21T05:59:40.569Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2024-03-21T05:59:40.620Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-21T05:59:40.673Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-21T05:59:40.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-21T05:59:40.768Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-21T05:59:40.819Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-21T05:59:40.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-21T05:59:40.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-21T05:59:40.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-21T05:59:41.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-21T05:59:41.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2024-03-21T05:59:41.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-21T05:59:41.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-21T05:59:41.226Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T05:59:41.274Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T05:59:41.324Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T05:59:41.376Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T05:59:41.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-21T05:59:41.477Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-21T05:59:41.530Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-21T05:59:41.592Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-21T05:59:41.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-21T05:59:41.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-21T05:59:41.759Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-21T05:59:41.817Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-21T05:59:41.869Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-21T05:59:41.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-346 [Pipeline] echo [2024-03-21T05:59:41.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-346 [Pipeline] echo [2024-03-21T05:59:42.026Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-346 [Pipeline] echo [2024-03-21T05:59:42.077Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] echo [2024-03-21T05:59:42.127Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f439acb [Pipeline] echo [2024-03-21T05:59:42.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T05:59:42.313Z] provisioning config files... [2024-03-21T05:59:42.328Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/config9459126960447997590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T05:59:42.710Z] ---> ****-login.sh [2024-03-21T05:59:42.710Z] nexus3.edgexfoundry.org:10001 [2024-03-21T05:59:42.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:59:42.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:59:42.970Z] Configure a credential helper to remove this warning. See [2024-03-21T05:59:42.970Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:59:42.970Z] [2024-03-21T05:59:42.970Z] Login Succeeded [2024-03-21T05:59:42.970Z] nexus3.edgexfoundry.org:10002 [2024-03-21T05:59:43.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:59:43.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:59:43.230Z] Configure a credential helper to remove this warning. See [2024-03-21T05:59:43.230Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:59:43.230Z] [2024-03-21T05:59:43.230Z] Login Succeeded [2024-03-21T05:59:43.230Z] nexus3.edgexfoundry.org:10003 [2024-03-21T05:59:43.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:59:43.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:59:43.230Z] Configure a credential helper to remove this warning. See [2024-03-21T05:59:43.230Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:59:43.230Z] [2024-03-21T05:59:43.230Z] Login Succeeded [2024-03-21T05:59:43.230Z] nexus3.edgexfoundry.org:10004 [2024-03-21T05:59:43.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:59:43.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:59:43.490Z] Configure a credential helper to remove this warning. See [2024-03-21T05:59:43.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:59:43.491Z] [2024-03-21T05:59:43.491Z] Login Succeeded [2024-03-21T05:59:43.491Z] ****.io [2024-03-21T05:59:43.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T05:59:43.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T05:59:43.751Z] Configure a credential helper to remove this warning. See [2024-03-21T05:59:43.751Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T05:59:43.751Z] [2024-03-21T05:59:43.751Z] Login Succeeded [2024-03-21T05:59:43.751Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T05:59:43.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-21T05:59:44.465Z] + git rev-list -1 --merges f439acb25c1011bb6138a645f0cec5c8e55aab48~1..f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] echo [2024-03-21T05:59:44.508Z] -----------> git rev-list -1 --merges f439acb25c1011bb6138a645f0cec5c8e55aab48~1..f439acb25c1011bb6138a645f0cec5c8e55aab48 f439acb25c1011bb6138a645f0cec5c8e55aab48 [false] [Pipeline] sh [2024-03-21T05:59:44.822Z] + git log --format=format:%s -1 f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] echo [2024-03-21T05:59:44.858Z] ========================================================= [2024-03-21T05:59:44.858Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-21T05:59:44.858Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T05:59:45.305Z] + git log --format=format:%s -1 f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] echo [2024-03-21T05:59:45.335Z] [semverPrep] GIT_COMMIT: f439acb25c1011bb6138a645f0cec5c8e55aab48, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-21T05:59:45.370Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-21T05:59:45.772Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-21T05:59:45.772Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-21T05:59:45.772Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-21T05:59:45.772Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-21T05:59:45.772Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-21T05:59:45.772Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-21T05:59:45.772Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:59:46.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T05:59:46.292Z] [2024-03-21T05:59:46.292Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T05:59:46.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T05:59:46.683Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-21T05:59:46.683Z] b85a868b505f: Pulling fs layer [2024-03-21T05:59:46.683Z] e2be974225ed: Pulling fs layer [2024-03-21T05:59:46.683Z] 339a4e72a1f5: Pulling fs layer [2024-03-21T05:59:46.683Z] 988bab9f4d93: Pulling fs layer [2024-03-21T05:59:46.683Z] 1469e6f7b9e6: Pulling fs layer [2024-03-21T05:59:46.683Z] eaf3925da568: Pulling fs layer [2024-03-21T05:59:46.683Z] bab4dde63d76: Pulling fs layer [2024-03-21T05:59:46.683Z] bde34c3a00c8: Pulling fs layer [2024-03-21T05:59:46.683Z] b352a97aabf1: Pulling fs layer [2024-03-21T05:59:46.683Z] 4872d77fe225: Pulling fs layer [2024-03-21T05:59:46.683Z] 5851b861e8e6: Pulling fs layer [2024-03-21T05:59:46.683Z] eaf3925da568: Waiting [2024-03-21T05:59:46.683Z] 988bab9f4d93: Waiting [2024-03-21T05:59:46.683Z] b352a97aabf1: Waiting [2024-03-21T05:59:46.683Z] bab4dde63d76: Waiting [2024-03-21T05:59:46.683Z] 4872d77fe225: Waiting [2024-03-21T05:59:46.683Z] bde34c3a00c8: Waiting [2024-03-21T05:59:46.683Z] e2be974225ed: Verifying Checksum [2024-03-21T05:59:46.683Z] e2be974225ed: Download complete [2024-03-21T05:59:46.683Z] 988bab9f4d93: Verifying Checksum [2024-03-21T05:59:46.683Z] 988bab9f4d93: Download complete [2024-03-21T05:59:46.943Z] 1469e6f7b9e6: Verifying Checksum [2024-03-21T05:59:46.943Z] 1469e6f7b9e6: Download complete [2024-03-21T05:59:46.943Z] 339a4e72a1f5: Verifying Checksum [2024-03-21T05:59:46.943Z] 339a4e72a1f5: Download complete [2024-03-21T05:59:46.943Z] eaf3925da568: Download complete [2024-03-21T05:59:46.943Z] bde34c3a00c8: Download complete [2024-03-21T05:59:46.943Z] b352a97aabf1: Verifying Checksum [2024-03-21T05:59:46.943Z] b352a97aabf1: Download complete [2024-03-21T05:59:46.943Z] 4872d77fe225: Download complete [2024-03-21T05:59:46.943Z] 5851b861e8e6: Verifying Checksum [2024-03-21T05:59:46.943Z] 5851b861e8e6: Download complete [2024-03-21T05:59:46.943Z] b85a868b505f: Verifying Checksum [2024-03-21T05:59:46.943Z] b85a868b505f: Download complete [2024-03-21T05:59:47.202Z] bab4dde63d76: Download complete [2024-03-21T05:59:48.143Z] b85a868b505f: Pull complete [2024-03-21T05:59:48.403Z] e2be974225ed: Pull complete [2024-03-21T05:59:48.972Z] 339a4e72a1f5: Pull complete [2024-03-21T05:59:48.972Z] 988bab9f4d93: Pull complete [2024-03-21T05:59:49.234Z] 1469e6f7b9e6: Pull complete [2024-03-21T05:59:49.492Z] eaf3925da568: Pull complete [2024-03-21T05:59:51.481Z] bab4dde63d76: Pull complete [2024-03-21T05:59:51.481Z] bde34c3a00c8: Pull complete [2024-03-21T05:59:51.481Z] b352a97aabf1: Pull complete [2024-03-21T05:59:51.481Z] 4872d77fe225: Pull complete [2024-03-21T05:59:51.481Z] 5851b861e8e6: Pull complete [2024-03-21T05:59:51.481Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-21T05:59:51.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T05:59:51.481Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T05:59:51.745Z] prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container [2024-03-21T05:59:51.778Z] $ 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 [2024-03-21T05:59:55.606Z] $ docker top 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 -eo pid,comm [2024-03-21T05:59:55.658Z] 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). [2024-03-21T05:59:55.658Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-21T05:59:55.803Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T05:59:55.803Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T05:59:55.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T05:59:55.923Z] $ docker exec 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 ssh-agent [2024-03-21T05:59:56.053Z] SSH_AUTH_SOCK=/tmp/ssh-5aM0xRDWibXU/agent.32 [2024-03-21T05:59:56.053Z] SSH_AGENT_PID=38 [2024-03-21T05:59:56.060Z] Running ssh-add (command line suppressed) [2024-03-21T05:59:56.163Z] 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) [2024-03-21T05:59:56.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T05:59:56.512Z] + git tag --points-at HEAD [Pipeline] } [2024-03-21T05:59:56.538Z] $ docker exec --env ******** --env ******** 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 ssh-agent -k [2024-03-21T05:59:56.640Z] unset SSH_AUTH_SOCK; [2024-03-21T05:59:56.641Z] unset SSH_AGENT_PID; [2024-03-21T05:59:56.641Z] echo Agent pid 38 killed; [2024-03-21T05:59:56.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-21T05:59:56.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T05:59:56.752Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T05:59:56.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T05:59:56.868Z] $ docker exec 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 ssh-agent [2024-03-21T05:59:56.989Z] SSH_AUTH_SOCK=/tmp/ssh-3btMMuBSoZgm/agent.71 [2024-03-21T05:59:56.989Z] SSH_AGENT_PID=77 [2024-03-21T05:59:56.994Z] Running ssh-add (command line suppressed) [2024-03-21T05:59:57.114Z] 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) [2024-03-21T05:59:57.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T05:59:57.458Z] + git semver init [2024-03-21T05:59:57.719Z] 2024-03-21 05:59:57,620 [run_init] DEBUG init version:0.0.0 force:False [2024-03-21T05:59:57.719Z] 2024-03-21 05:59:57,621 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-346/.semver [2024-03-21T05:59:57.719Z] 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 [2024-03-21T05:59:57.719Z] 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) [2024-03-21T05:59:59.100Z] 2024-03-21 05:59:58,689 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-346/.git/info/exclude [2024-03-21T05:59:59.100Z] 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 [2024-03-21T05:59:59.100Z] 2024-03-21 05:59:58,690 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-346/.semver/PR-346 [2024-03-21T05:59:59.100Z] 2024-03-21 05:59:58,695 [execute] INFO git cat-file --batch-check [2024-03-21T05:59:59.100Z] 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=) [2024-03-21T05:59:59.100Z] 2024-03-21 05:59:58,702 [execute] INFO git cat-file --batch [2024-03-21T05:59:59.100Z] 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=) [2024-03-21T05:59:59.100Z] 2024-03-21 05:59:58,708 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-346/.semver/PR-346 [2024-03-21T05:59:59.100Z] 0.0.0 [Pipeline] } [2024-03-21T05:59:59.128Z] $ docker exec --env ******** --env ******** 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 ssh-agent -k [2024-03-21T05:59:59.240Z] unset SSH_AUTH_SOCK; [2024-03-21T05:59:59.240Z] unset SSH_AGENT_PID; [2024-03-21T05:59:59.241Z] echo Agent pid 77 killed; [2024-03-21T05:59:59.248Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-21T05:59:59.692Z] + git semver [Pipeline] } [2024-03-21T05:59:59.976Z] $ docker stop --time=1 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 [2024-03-21T06:00:01.283Z] $ docker rm -f --volumes 1ffc6d8f6f8dc4a22705338da11d52d2d27adfed3059cd351695348a9a212540 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T06:00:01.698Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-21T06:00:02.018Z] Stashed 1 file(s) [Pipeline] echo [2024-03-21T06:00:02.036Z] [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 [2024-03-21T06:00:02.683Z] provisioning config files... [2024-03-21T06:00:02.694Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/config17594312100806378636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:00:03.060Z] ---> ****-login.sh [2024-03-21T06:00:03.060Z] nexus3.edgexfoundry.org:10001 [2024-03-21T06:00:03.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:00:03.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:00:03.060Z] Configure a credential helper to remove this warning. See [2024-03-21T06:00:03.060Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:00:03.060Z] [2024-03-21T06:00:03.060Z] Login Succeeded [2024-03-21T06:00:03.060Z] nexus3.edgexfoundry.org:10002 [2024-03-21T06:00:03.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:00:03.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:00:03.060Z] Configure a credential helper to remove this warning. See [2024-03-21T06:00:03.060Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:00:03.060Z] [2024-03-21T06:00:03.060Z] Login Succeeded [2024-03-21T06:00:03.319Z] nexus3.edgexfoundry.org:10003 [2024-03-21T06:00:03.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:00:03.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:00:03.319Z] Configure a credential helper to remove this warning. See [2024-03-21T06:00:03.319Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:00:03.319Z] [2024-03-21T06:00:03.319Z] Login Succeeded [2024-03-21T06:00:03.319Z] nexus3.edgexfoundry.org:10004 [2024-03-21T06:00:03.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:00:03.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:00:03.319Z] Configure a credential helper to remove this warning. See [2024-03-21T06:00:03.319Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:00:03.319Z] [2024-03-21T06:00:03.319Z] Login Succeeded [2024-03-21T06:00:03.319Z] ****.io [2024-03-21T06:00:03.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:00:05.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:00:05.493Z] Configure a credential helper to remove this warning. See [2024-03-21T06:00:05.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:00:05.493Z] [2024-03-21T06:00:05.493Z] Login Succeeded [2024-03-21T06:00:05.493Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T06:00:05.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T06:00:05.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T06:00:05.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T06:00:05.851Z] ========================================================= [2024-03-21T06:00:05.851Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-21T06:00:05.851Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T06:00:06.354Z] + 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 . [2024-03-21T06:00:06.354Z] Sending build context to Docker daemon 14.2MB [2024-03-21T06:00:06.354Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T06:00:06.354Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-21T06:00:06.354Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-21T06:00:06.354Z] 7264a8db6415: Pulling fs layer [2024-03-21T06:00:06.354Z] c4d48a809fc2: Pulling fs layer [2024-03-21T06:00:06.354Z] 4f1c88b9dad5: Pulling fs layer [2024-03-21T06:00:06.354Z] ad3a456e5733: Pulling fs layer [2024-03-21T06:00:06.354Z] 69c7f0334f64: Pulling fs layer [2024-03-21T06:00:06.354Z] 1f1c1a5573a3: Pulling fs layer [2024-03-21T06:00:06.354Z] ce7588e14bc9: Pulling fs layer [2024-03-21T06:00:06.354Z] 69c7f0334f64: Waiting [2024-03-21T06:00:06.354Z] 1f1c1a5573a3: Waiting [2024-03-21T06:00:06.354Z] ad3a456e5733: Waiting [2024-03-21T06:00:06.354Z] b5e4710f87ac: Pulling fs layer [2024-03-21T06:00:06.354Z] ce7588e14bc9: Waiting [2024-03-21T06:00:06.354Z] b5e4710f87ac: Waiting [2024-03-21T06:00:06.647Z] c4d48a809fc2: Verifying Checksum [2024-03-21T06:00:06.647Z] c4d48a809fc2: Download complete [2024-03-21T06:00:06.647Z] ad3a456e5733: Verifying Checksum [2024-03-21T06:00:06.647Z] ad3a456e5733: Download complete [2024-03-21T06:00:06.647Z] 69c7f0334f64: Download complete [2024-03-21T06:00:06.647Z] 7264a8db6415: Verifying Checksum [2024-03-21T06:00:06.647Z] 7264a8db6415: Download complete [2024-03-21T06:00:06.647Z] 1f1c1a5573a3: Verifying Checksum [2024-03-21T06:00:06.647Z] 1f1c1a5573a3: Download complete [2024-03-21T06:00:06.914Z] b5e4710f87ac: Verifying Checksum [2024-03-21T06:00:06.914Z] b5e4710f87ac: Download complete [2024-03-21T06:00:06.914Z] 7264a8db6415: Pull complete [2024-03-21T06:00:06.914Z] 4f1c88b9dad5: Verifying Checksum [2024-03-21T06:00:06.914Z] 4f1c88b9dad5: Download complete [2024-03-21T06:00:07.185Z] c4d48a809fc2: Pull complete [2024-03-21T06:00:07.444Z] ce7588e14bc9: Verifying Checksum [2024-03-21T06:00:07.444Z] ce7588e14bc9: Download complete [2024-03-21T06:00:11.196Z] 4f1c88b9dad5: Pull complete [2024-03-21T06:00:11.196Z] ad3a456e5733: Pull complete [2024-03-21T06:00:11.196Z] 69c7f0334f64: Pull complete [2024-03-21T06:00:11.196Z] 1f1c1a5573a3: Pull complete [2024-03-21T06:00:13.730Z] ce7588e14bc9: Pull complete [2024-03-21T06:00:13.730Z] b5e4710f87ac: Pull complete [2024-03-21T06:00:13.730Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-21T06:00:13.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-21T06:00:13.730Z] ---> 88b5674ff536 [2024-03-21T06:00:13.730Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-21T06:00:17.491Z] Still waiting to schedule task [2024-03-21T06:00:17.492Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-534’ is offline [2024-03-21T06:00:19.530Z] ---> Running in 921a671f18d5 [2024-03-21T06:00:19.530Z] Removing intermediate container 921a671f18d5 [2024-03-21T06:00:19.530Z] ---> 857c63ea392f [2024-03-21T06:00:19.530Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T06:00:19.530Z] ---> Running in 0017122a9720 [2024-03-21T06:00:19.530Z] Removing intermediate container 0017122a9720 [2024-03-21T06:00:19.530Z] ---> 9c902a525957 [2024-03-21T06:00:19.530Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T06:00:19.530Z] ---> Running in c8233c08a9eb [2024-03-21T06:00:19.530Z] Removing intermediate container c8233c08a9eb [2024-03-21T06:00:19.530Z] ---> 044af479aead [2024-03-21T06:00:19.530Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T06:00:19.530Z] ---> Running in 14a8de48501e [2024-03-21T06:00:19.530Z] Removing intermediate container 14a8de48501e [2024-03-21T06:00:19.530Z] ---> 28b1cffeebe9 [2024-03-21T06:00:19.530Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T06:00:19.794Z] ---> Running in 10b647b50beb [2024-03-21T06:00:20.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T06:00:20.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T06:00:20.577Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T06:00:20.577Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-21T06:00:20.577Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T06:00:20.577Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T06:00:20.577Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T06:00:20.577Z] OK: 268 MiB in 56 packages [2024-03-21T06:00:21.143Z] Removing intermediate container 10b647b50beb [2024-03-21T06:00:21.143Z] ---> 61bf1afdcea2 [2024-03-21T06:00:21.143Z] Step 8/12 : WORKDIR /device-snmp-go [2024-03-21T06:00:21.402Z] ---> Running in 601e41011b49 [2024-03-21T06:00:21.402Z] Removing intermediate container 601e41011b49 [2024-03-21T06:00:21.402Z] ---> 23c1dad0601a [2024-03-21T06:00:21.402Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-21T06:00:21.402Z] ---> 5f862148aacf [2024-03-21T06:00:21.402Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T06:00:21.402Z] ---> Running in 5a8d0fd2254c [2024-03-21T06:01:30.808Z] Removing intermediate container 5a8d0fd2254c [2024-03-21T06:01:30.808Z] ---> a65067ff63b5 [2024-03-21T06:01:30.808Z] Step 11/12 : COPY . . [2024-03-21T06:01:30.809Z] ---> 42d97de363b2 [2024-03-21T06:01:30.809Z] Step 12/12 : RUN ${MAKE} [2024-03-21T06:01:30.809Z] ---> Running in eb57fa24f33b [2024-03-21T06:01:30.809Z] noop [2024-03-21T06:01:30.809Z] Removing intermediate container eb57fa24f33b [2024-03-21T06:01:30.809Z] ---> 0e7465fc72bf [2024-03-21T06:01:30.809Z] Successfully built 0e7465fc72bf [2024-03-21T06:01:30.809Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T06:01:31.271Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T06:01:31.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T06:01:31.431Z] prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container [2024-03-21T06:01:31.463Z] $ 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 [2024-03-21T06:01:31.790Z] $ docker top 07b41c505e08e0d691780d56aa29ef8add5f34159061e3476e0b585ad6f03786 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T06:01:32.191Z] + go version [2024-03-21T06:01:32.191Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-21T06:01:32.224Z] $ docker stop --time=1 07b41c505e08e0d691780d56aa29ef8add5f34159061e3476e0b585ad6f03786 [2024-03-21T06:01:33.479Z] $ 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 [2024-03-21T06:01:34.241Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T06:01:34.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T06:01:34.416Z] prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container [2024-03-21T06:01:34.450Z] $ 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 [2024-03-21T06:01:34.760Z] $ docker top f7845296a8bf402dea6c95c66f635cfeba9a42652aa099a1c876dc05580dfdf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T06:01:35.158Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-346 [Pipeline] fileExists [Pipeline] sh [2024-03-21T06:01:35.514Z] + make test [2024-03-21T06:01:35.514Z] go test ./... -coverprofile=coverage.out [2024-03-21T06:01:37.416Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-03-21T06:01:41.703Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-536 in /w/workspace/gexfoundry_device-snmp-go_PR-346 [Pipeline] { [Pipeline] ws [2024-03-21T06:01:41.768Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2024-03-21T06:01:41.854Z] Selected Git installation does not exist. Using Default [2024-03-21T06:01:41.855Z] The recommended git tool is: NONE [2024-03-21T06:01:46.728Z] using credential edgex-jenkins-ssh [2024-03-21T06:01:46.746Z] Cloning the remote Git repository [2024-03-21T06:01:46.805Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2024-03-21T06:01:46.903Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2024-03-21T06:01:47.040Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-03-21T06:01:47.041Z] > git --version # timeout=10 [2024-03-21T06:01:47.061Z] > git --version # 'git version 2.25.1' [2024-03-21T06:01:47.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T06:01:47.211Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T06:01:48.803Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-03-21T06:01:48.827Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T06:01:50.269Z] Merging remotes/origin/main commit ab3bf70376c9802f6ba544aa167c564e283ce2c4 into PR head commit f439acb25c1011bb6138a645f0cec5c8e55aab48 [2024-03-21T06:01:50.552Z] Merge succeeded, producing f439acb25c1011bb6138a645f0cec5c8e55aab48 [2024-03-21T06:01:50.553Z] Checking out Revision f439acb25c1011bb6138a645f0cec5c8e55aab48 (PR-346) [2024-03-21T06:01:49.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-03-21T06:01:49.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-03-21T06:01:49.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T06:01:49.713Z] > 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 [2024-03-21T06:01:50.295Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T06:01:50.365Z] > git checkout -f f439acb25c1011bb6138a645f0cec5c8e55aab48 # timeout=10 [2024-03-21T06:01:50.457Z] > git remote # timeout=10 [2024-03-21T06:01:50.475Z] > git config --get remote.origin.url # timeout=10 [2024-03-21T06:01:50.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T06:01:50.511Z] > git merge ab3bf70376c9802f6ba544aa167c564e283ce2c4 # timeout=10 [2024-03-21T06:01:50.540Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-21T06:01:50.559Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T06:01:50.570Z] > git checkout -f f439acb25c1011bb6138a645f0cec5c8e55aab48 # timeout=10 [2024-03-21T06:01:51.087Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-21T06:01:51.135Z] > git --version # timeout=10 [2024-03-21T06:01:51.148Z] > git --version # 'git version 2.25.1' [2024-03-21T06:01:51.165Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2024-03-21T06:01:55.486Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-03-21T06:01:55.486Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T06:01:56.146Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-21T06:01:56.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T06:01:56.146Z] Dload Upload Total Spent Left Speed [2024-03-21T06:01:56.146Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh [2024-03-21T06:01:56.511Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-21T06:01:56.862Z] + sudo tee /etc/docker/daemon.new [2024-03-21T06:01:56.862Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-21T06:01:56.862Z] { [2024-03-21T06:01:56.862Z] "registry-mirrors": [ [2024-03-21T06:01:56.862Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-21T06:01:56.862Z] ], [2024-03-21T06:01:56.862Z] "bip": "10.250.0.254/24", [2024-03-21T06:01:56.862Z] "hosts": [ [2024-03-21T06:01:56.862Z] "tcp://0.0.0.0:5555", [2024-03-21T06:01:56.862Z] "unix:///var/run/docker.sock" [2024-03-21T06:01:56.862Z] ], [2024-03-21T06:01:56.862Z] "mtu": 1458, [2024-03-21T06:01:56.862Z] "selinux-enabled": true, [2024-03-21T06:01:56.863Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-21T06:01:56.863Z] } [Pipeline] sh [2024-03-21T06:01:57.206Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-21T06:01:57.549Z] + sudo service docker restart [2024-03-21T06:02:03.590Z] go vet ./... [2024-03-21T06:02:08.852Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T06:02:08.852Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T06:02:08.852Z] ./bin/test-attribution-txt.sh [2024-03-21T06:02:08.852Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T06:02:08.852Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T06:02:08.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T06:02:08.935Z] $ docker stop --time=1 f7845296a8bf402dea6c95c66f635cfeba9a42652aa099a1c876dc05580dfdf0 [2024-03-21T06:02:13.456Z] $ docker rm -f --volumes f7845296a8bf402dea6c95c66f635cfeba9a42652aa099a1c876dc05580dfdf0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T06:02:14.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T06:02:14.195Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-21T06:02:14.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T06:02:15.234Z] + ls -al . [2024-03-21T06:02:15.234Z] total 240 [2024-03-21T06:02:15.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 06:01 . [2024-03-21T06:02:15.234Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:59 .. [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 05:59 .dockerignore [2024-03-21T06:02:15.234Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 06:01 .git [2024-03-21T06:02:15.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:59 .github [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 263 Mar 21 05:59 .gitignore [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 05:59 .golangci.yml [2024-03-21T06:02:15.234Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:59 .semver [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 10025 Mar 21 05:59 Attribution.txt [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 11809 Mar 21 05:59 CHANGELOG.md [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 1571 Mar 21 05:59 Dockerfile [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:59 GOVERNANCE.md [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 05:59 Jenkinsfile [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 05:59 LICENSE [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 2240 Mar 21 05:59 Makefile [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 05:59 OWNERS.md [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 10477 Mar 21 05:59 README.md [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 06:00 VERSION [2024-03-21T06:02:15.234Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:59 bin [2024-03-21T06:02:15.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:59 cmd [2024-03-21T06:02:15.234Z] -rw-r--r-- 1 jenkins jenkins 8837 Mar 21 06:01 coverage.out [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 7059 Mar 21 05:59 go.mod [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 101590 Mar 21 05:59 go.sum [2024-03-21T06:02:15.234Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:59 internal [2024-03-21T06:02:15.234Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [2024-03-21T06:02:15.827Z] + 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 . [2024-03-21T06:02:15.827Z] Sending build context to Docker daemon 14.21MB [2024-03-21T06:02:15.827Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T06:02:15.827Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-21T06:02:15.827Z] ---> 0e7465fc72bf [2024-03-21T06:02:15.827Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [Pipeline] { [Pipeline] configFileProvider [2024-03-21T06:02:15.906Z] provisioning config files... [2024-03-21T06:02:15.932Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config14385549818497656654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:02:16.087Z] ---> Running in 8042b6ee4195 [2024-03-21T06:02:16.087Z] Removing intermediate container 8042b6ee4195 [2024-03-21T06:02:16.087Z] ---> 8ccb28efbbad [2024-03-21T06:02:16.087Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T06:02:16.087Z] ---> Running in a76743f32def [2024-03-21T06:02:16.087Z] Removing intermediate container a76743f32def [2024-03-21T06:02:16.087Z] ---> 205bd0a3fa85 [2024-03-21T06:02:16.087Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T06:02:16.346Z] ---> Running in 2601918027a6 [2024-03-21T06:02:16.346Z] Removing intermediate container 2601918027a6 [2024-03-21T06:02:16.346Z] ---> 471fbb2a3340 [2024-03-21T06:02:16.346Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T06:02:16.346Z] ---> Running in 144d2a67ed00 [2024-03-21T06:02:16.346Z] Removing intermediate container 144d2a67ed00 [2024-03-21T06:02:16.346Z] ---> 569f03a06c43 [2024-03-21T06:02:16.346Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T06:02:16.346Z] ---> Running in 54baba8e0f16 [2024-03-21T06:02:16.384Z] ---> ****-login.sh [2024-03-21T06:02:16.384Z] nexus3.edgexfoundry.org:10001 [2024-03-21T06:02:16.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T06:02:16.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:02:16.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T06:02:16.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:02:16.927Z] Configure a credential helper to remove this warning. See [2024-03-21T06:02:16.928Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:02:16.928Z] [2024-03-21T06:02:16.928Z] Login Succeeded [2024-03-21T06:02:16.928Z] nexus3.edgexfoundry.org:10002 [2024-03-21T06:02:17.126Z] OK: 268 MiB in 56 packages [2024-03-21T06:02:17.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:02:17.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:02:17.196Z] Configure a credential helper to remove this warning. See [2024-03-21T06:02:17.196Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:02:17.196Z] [2024-03-21T06:02:17.384Z] Removing intermediate container 54baba8e0f16 [2024-03-21T06:02:17.384Z] ---> d11c7edfec67 [2024-03-21T06:02:17.384Z] Step 8/25 : WORKDIR /device-snmp-go [2024-03-21T06:02:17.384Z] ---> Running in baf76f99db3b [2024-03-21T06:02:17.477Z] Login Succeeded [2024-03-21T06:02:17.477Z] nexus3.edgexfoundry.org:10003 [2024-03-21T06:02:17.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:02:17.643Z] Removing intermediate container baf76f99db3b [2024-03-21T06:02:17.643Z] ---> d3f2e48a7395 [2024-03-21T06:02:17.643Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-21T06:02:17.643Z] ---> d8d5ccb43780 [2024-03-21T06:02:17.643Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T06:02:17.643Z] ---> Running in fe92f70a6eef [2024-03-21T06:02:17.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:02:17.749Z] Configure a credential helper to remove this warning. See [2024-03-21T06:02:17.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:02:17.749Z] [2024-03-21T06:02:17.749Z] Login Succeeded [2024-03-21T06:02:17.749Z] nexus3.edgexfoundry.org:10004 [2024-03-21T06:02:18.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:02:18.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:02:18.017Z] Configure a credential helper to remove this warning. See [2024-03-21T06:02:18.017Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:02:18.017Z] [2024-03-21T06:02:18.017Z] Login Succeeded [2024-03-21T06:02:18.017Z] ****.io [2024-03-21T06:02:18.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T06:02:18.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T06:02:18.560Z] Configure a credential helper to remove this warning. See [2024-03-21T06:02:18.560Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T06:02:18.560Z] [2024-03-21T06:02:18.560Z] Login Succeeded [2024-03-21T06:02:18.560Z] ---> ****-login.sh ends [2024-03-21T06:02:18.584Z] Removing intermediate container fe92f70a6eef [2024-03-21T06:02:18.584Z] ---> c7374b089f91 [2024-03-21T06:02:18.584Z] Step 11/25 : COPY . . [Pipeline] } [2024-03-21T06:02:18.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T06:02:19.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T06:02:19.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T06:02:19.089Z] ========================================================= [2024-03-21T06:02:19.089Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-21T06:02:19.089Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2024-03-21T06:02:19.188Z] ---> 7f4a295813e1 [2024-03-21T06:02:19.188Z] Step 12/25 : RUN ${MAKE} [2024-03-21T06:02:19.188Z] ---> Running in 747941e88956 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T06:02:19.446Z] 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 [2024-03-21T06:02:19.635Z] + 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 . [2024-03-21T06:02:19.902Z] Sending build context to Docker daemon 7.188MB [2024-03-21T06:02:19.902Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T06:02:19.902Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-21T06:02:20.179Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-21T06:02:20.179Z] 9fda8d8052c6: Pulling fs layer [2024-03-21T06:02:20.179Z] 5d54e960e981: Pulling fs layer [2024-03-21T06:02:20.179Z] c4a7e357bf2a: Pulling fs layer [2024-03-21T06:02:20.179Z] f0e02332f6b5: Pulling fs layer [2024-03-21T06:02:20.179Z] 872ee5b61b7b: Pulling fs layer [2024-03-21T06:02:20.179Z] 0c6a40ed1a82: Pulling fs layer [2024-03-21T06:02:20.179Z] 94ae7d8d031c: Pulling fs layer [2024-03-21T06:02:20.179Z] 0c6a40ed1a82: Waiting [2024-03-21T06:02:20.179Z] f0e02332f6b5: Waiting [2024-03-21T06:02:20.179Z] 94ae7d8d031c: Waiting [2024-03-21T06:02:20.179Z] 872ee5b61b7b: Waiting [2024-03-21T06:02:20.179Z] 5d54e960e981: Verifying Checksum [2024-03-21T06:02:20.179Z] 5d54e960e981: Download complete [2024-03-21T06:02:20.179Z] f0e02332f6b5: Verifying Checksum [2024-03-21T06:02:20.179Z] f0e02332f6b5: Download complete [2024-03-21T06:02:20.179Z] 872ee5b61b7b: Verifying Checksum [2024-03-21T06:02:20.180Z] 872ee5b61b7b: Download complete [2024-03-21T06:02:20.180Z] 9fda8d8052c6: Verifying Checksum [2024-03-21T06:02:20.180Z] 9fda8d8052c6: Download complete [2024-03-21T06:02:20.778Z] 94ae7d8d031c: Verifying Checksum [2024-03-21T06:02:20.778Z] 94ae7d8d031c: Download complete [2024-03-21T06:02:21.064Z] 9fda8d8052c6: Pull complete [2024-03-21T06:02:21.651Z] 5d54e960e981: Pull complete [2024-03-21T06:02:21.921Z] c4a7e357bf2a: Verifying Checksum [2024-03-21T06:02:21.921Z] c4a7e357bf2a: Download complete [2024-03-21T06:02:22.885Z] 0c6a40ed1a82: Verifying Checksum [2024-03-21T06:02:22.885Z] 0c6a40ed1a82: Download complete [2024-03-21T06:02:35.205Z] c4a7e357bf2a: Pull complete [2024-03-21T06:02:35.205Z] f0e02332f6b5: Pull complete [2024-03-21T06:02:35.205Z] 872ee5b61b7b: Pull complete [2024-03-21T06:02:43.408Z] 0c6a40ed1a82: Pull complete [2024-03-21T06:02:44.819Z] 94ae7d8d031c: Pull complete [2024-03-21T06:02:44.819Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-21T06:02:44.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-21T06:02:44.819Z] ---> 86de565de09d [2024-03-21T06:02:44.819Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-21T06:02:46.762Z] ---> Running in eef866d8e8f2 [2024-03-21T06:02:47.026Z] Removing intermediate container eef866d8e8f2 [2024-03-21T06:02:47.026Z] ---> 9d2801171aaa [2024-03-21T06:02:47.026Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T06:02:47.026Z] ---> Running in 8e75000b85ee [2024-03-21T06:02:47.292Z] Removing intermediate container 8e75000b85ee [2024-03-21T06:02:47.292Z] ---> 4d0ccaf2ac8f [2024-03-21T06:02:47.292Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T06:02:47.292Z] ---> Running in 357917ef8d50 [2024-03-21T06:02:47.556Z] Removing intermediate container 357917ef8d50 [2024-03-21T06:02:47.557Z] ---> f72c91a4ee97 [2024-03-21T06:02:47.557Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T06:02:47.821Z] ---> Running in 6827340d2d6e [2024-03-21T06:02:48.089Z] Removing intermediate container 6827340d2d6e [2024-03-21T06:02:48.089Z] ---> f1b3814babdd [2024-03-21T06:02:48.089Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T06:02:48.089Z] ---> Running in 3e15921ad5e9 [2024-03-21T06:02:49.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T06:02:49.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T06:02:50.710Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T06:02:50.710Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-21T06:02:50.710Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T06:02:50.710Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T06:02:50.710Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T06:02:50.710Z] OK: 271 MiB in 56 packages [2024-03-21T06:02:52.123Z] Removing intermediate container 3e15921ad5e9 [2024-03-21T06:02:52.123Z] ---> b73c2be9ff63 [2024-03-21T06:02:52.123Z] Step 8/12 : WORKDIR /device-snmp-go [2024-03-21T06:02:52.123Z] ---> Running in 6a13af4b380d [2024-03-21T06:02:52.123Z] Removing intermediate container 6a13af4b380d [2024-03-21T06:02:52.123Z] ---> 373b2d8f7f18 [2024-03-21T06:02:52.123Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-21T06:02:52.713Z] ---> 26c9ae2b33ea [2024-03-21T06:02:52.713Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T06:02:52.713Z] ---> Running in 62926889d0ba [2024-03-21T06:02:58.148Z] Removing intermediate container 747941e88956 [2024-03-21T06:02:58.148Z] ---> 76b7a1adfc1b [2024-03-21T06:02:58.148Z] Step 13/25 : FROM alpine:3.18 [2024-03-21T06:02:58.148Z] 3.18: Pulling from library/alpine [2024-03-21T06:02:58.148Z] 619be1103602: Pulling fs layer [2024-03-21T06:02:58.148Z] 619be1103602: Verifying Checksum [2024-03-21T06:02:58.148Z] 619be1103602: Download complete [2024-03-21T06:02:58.148Z] 619be1103602: Pull complete [2024-03-21T06:02:58.148Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T06:02:58.148Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T06:02:58.148Z] ---> d3782b16ccc9 [2024-03-21T06:02:58.148Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-03-21T06:02:58.148Z] ---> Running in ee267379261d [2024-03-21T06:02:58.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T06:02:58.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T06:02:58.148Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T06:02:58.148Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T06:02:58.148Z] OK: 7 MiB in 16 packages [2024-03-21T06:02:58.148Z] Removing intermediate container ee267379261d [2024-03-21T06:02:58.148Z] ---> 10ae8ef0f0d8 [2024-03-21T06:02:58.148Z] Step 15/25 : RUN apk --no-cache upgrade [2024-03-21T06:02:58.148Z] ---> Running in ac5528572e8b [2024-03-21T06:02:58.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T06:02:58.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T06:02:58.148Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T06:02:58.148Z] OK: 7 MiB in 16 packages [2024-03-21T06:02:58.148Z] Removing intermediate container ac5528572e8b [2024-03-21T06:02:58.148Z] ---> b147403a4e03 [2024-03-21T06:02:58.148Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-03-21T06:02:58.148Z] ---> 7f3065fa3ad1 [2024-03-21T06:02:58.148Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-03-21T06:02:58.148Z] ---> b251c42e2022 [2024-03-21T06:02:58.148Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-03-21T06:02:58.148Z] ---> ccfb43ab0c93 [2024-03-21T06:02:58.148Z] Step 19/25 : EXPOSE 59993 [2024-03-21T06:02:58.148Z] ---> Running in 3b2ccfbe8a22 [2024-03-21T06:02:58.148Z] Removing intermediate container 3b2ccfbe8a22 [2024-03-21T06:02:58.148Z] ---> 552efe31151d [2024-03-21T06:02:58.148Z] Step 20/25 : EXPOSE 161 [2024-03-21T06:02:58.148Z] ---> Running in c6a6ab8e591d [2024-03-21T06:02:58.148Z] Removing intermediate container c6a6ab8e591d [2024-03-21T06:02:58.148Z] ---> e6f2f77e09c9 [2024-03-21T06:02:58.148Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-03-21T06:02:58.148Z] ---> Running in 2dec9ac4ed31 [2024-03-21T06:02:58.148Z] Removing intermediate container 2dec9ac4ed31 [2024-03-21T06:02:58.148Z] ---> 7a4f33d5a300 [2024-03-21T06:02:58.148Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-21T06:02:58.148Z] ---> Running in a9a62c3ecbf4 [2024-03-21T06:02:58.148Z] Removing intermediate container a9a62c3ecbf4 [2024-03-21T06:02:58.148Z] ---> 056dc228a217 [2024-03-21T06:02:58.148Z] Step 23/25 : LABEL arch=amd64 [2024-03-21T06:02:58.148Z] ---> Running in f09f96816397 [2024-03-21T06:02:58.148Z] Removing intermediate container f09f96816397 [2024-03-21T06:02:58.148Z] ---> 3c40058c161f [2024-03-21T06:02:58.148Z] Step 24/25 : LABEL git_sha=f439acb25c1011bb6138a645f0cec5c8e55aab48 [2024-03-21T06:02:58.148Z] ---> Running in 933d78faadd3 [2024-03-21T06:02:58.148Z] Removing intermediate container 933d78faadd3 [2024-03-21T06:02:58.148Z] ---> 2eaab6f09825 [2024-03-21T06:02:58.148Z] Step 25/25 : LABEL version=0.0.0 [2024-03-21T06:02:58.148Z] ---> Running in 1c8a31255ce9 [2024-03-21T06:02:58.148Z] Removing intermediate container 1c8a31255ce9 [2024-03-21T06:02:58.148Z] ---> 3ed5408b8c41 [2024-03-21T06:02:58.148Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T06:02:58.148Z] Successfully built 3ed5408b8c41 [2024-03-21T06:02:58.148Z] 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 [2024-03-21T06:02:59.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T06:02:59.105Z] [2024-03-21T06:02:59.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T06:02:59.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T06:02:59.488Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-21T06:02:59.488Z] 5eb5b503b376: Pulling fs layer [2024-03-21T06:02:59.488Z] 5c69ac0246d0: Pulling fs layer [2024-03-21T06:02:59.488Z] ec43610c2a17: Pulling fs layer [2024-03-21T06:02:59.488Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-21T06:02:59.488Z] 33b1e0a273af: Pulling fs layer [2024-03-21T06:02:59.488Z] 5d3b04190fa2: Pulling fs layer [2024-03-21T06:02:59.488Z] 2f39f015ded8: Pulling fs layer [2024-03-21T06:02:59.488Z] 33b1e0a273af: Waiting [2024-03-21T06:02:59.488Z] 5d3b04190fa2: Waiting [2024-03-21T06:02:59.488Z] 2f39f015ded8: Waiting [2024-03-21T06:02:59.488Z] 3a2ae6a8a46f: Waiting [2024-03-21T06:02:59.488Z] 5c69ac0246d0: Verifying Checksum [2024-03-21T06:02:59.488Z] 5c69ac0246d0: Download complete [2024-03-21T06:02:59.488Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-21T06:02:59.488Z] 3a2ae6a8a46f: Download complete [2024-03-21T06:02:59.488Z] 33b1e0a273af: Verifying Checksum [2024-03-21T06:02:59.488Z] 33b1e0a273af: Download complete [2024-03-21T06:02:59.488Z] 5d3b04190fa2: Verifying Checksum [2024-03-21T06:02:59.488Z] 5d3b04190fa2: Download complete [2024-03-21T06:02:59.488Z] ec43610c2a17: Verifying Checksum [2024-03-21T06:02:59.488Z] ec43610c2a17: Download complete [2024-03-21T06:02:59.746Z] 5eb5b503b376: Verifying Checksum [2024-03-21T06:02:59.746Z] 5eb5b503b376: Download complete [2024-03-21T06:03:00.313Z] 2f39f015ded8: Download complete [2024-03-21T06:03:00.879Z] 5eb5b503b376: Pull complete [2024-03-21T06:03:00.879Z] 5c69ac0246d0: Pull complete [2024-03-21T06:03:01.444Z] ec43610c2a17: Pull complete [2024-03-21T06:03:01.444Z] 3a2ae6a8a46f: Pull complete [2024-03-21T06:03:01.701Z] 33b1e0a273af: Pull complete [2024-03-21T06:03:01.701Z] 5d3b04190fa2: Pull complete [2024-03-21T06:03:05.884Z] 2f39f015ded8: Pull complete [2024-03-21T06:03:05.884Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-21T06:03:05.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T06:03:05.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T06:03:06.133Z] prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container [2024-03-21T06:03:06.161Z] $ 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 [2024-03-21T06:03:11.597Z] $ docker top c07e7a2ff726bda77b5f88e3972627fda67869a9c9eb70df5557f601c4d97a7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:03:12.075Z] ---> job-cost.sh [2024-03-21T06:03:12.075Z] lf-activate-venv: SKIPPING [2024-03-21T06:03:12.075Z] INFO: No Stack... [2024-03-21T06:03:12.347Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T06:03:12.606Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T06:03:12.920Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-346/archives/cost.csv [2024-03-21T06:03:12.920Z] + cut -d, -f6 [Pipeline] lock [2024-03-21T06:03:12.964Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [2024-03-21T06:03:12.969Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] did not exist. Created. [2024-03-21T06:03:12.974Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T06:03:13.376Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-21T06:03:13.430Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T06:03:13.469Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T06:03:13.556Z] $ docker stop --time=1 c07e7a2ff726bda77b5f88e3972627fda67869a9c9eb70df5557f601c4d97a7b [2024-03-21T06:03:14.716Z] $ docker rm -f --volumes c07e7a2ff726bda77b5f88e3972627fda67869a9c9eb70df5557f601c4d97a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-21T06:04:44.371Z] Removing intermediate container 62926889d0ba [2024-03-21T06:04:44.371Z] ---> da5e870391e4 [2024-03-21T06:04:44.371Z] Step 11/12 : COPY . . [2024-03-21T06:04:45.338Z] ---> 649db1822c25 [2024-03-21T06:04:45.338Z] Step 12/12 : RUN ${MAKE} [2024-03-21T06:04:45.338Z] ---> Running in e4d8bb2932c1 [2024-03-21T06:04:46.307Z] noop [2024-03-21T06:04:46.891Z] Removing intermediate container e4d8bb2932c1 [2024-03-21T06:04:46.892Z] ---> 4a7b91a5bbfe [2024-03-21T06:04:46.892Z] Successfully built 4a7b91a5bbfe [2024-03-21T06:04:46.892Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T06:04:47.383Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T06:04:47.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T06:04:47.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-536 does not seem to be running inside a container [2024-03-21T06:04:47.745Z] $ 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 [2024-03-21T06:04:48.916Z] $ docker top a761a47666ee01685f61cacdfea52d14377b2b033f536f0448dc83eb2d9f16a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T06:04:49.803Z] + go version [2024-03-21T06:04:49.803Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-21T06:04:49.839Z] $ docker stop --time=1 a761a47666ee01685f61cacdfea52d14377b2b033f536f0448dc83eb2d9f16a9 [2024-03-21T06:04:51.428Z] $ 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 [2024-03-21T06:04:52.317Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T06:04:52.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T06:04:52.577Z] prd-ubuntu20.04-docker-arm64-4c-16g-536 does not seem to be running inside a container [2024-03-21T06:04:52.632Z] $ 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 [2024-03-21T06:04:53.777Z] $ docker top e556b10bebc563ec7647e1f6693ec144a46a2601499fa708f6e8959a9bd91332 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T06:04:54.663Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-21T06:04:55.383Z] + make test [2024-03-21T06:04:55.383Z] go test ./... -coverprofile=coverage.out [2024-03-21T06:05:00.809Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-03-21T06:07:22.625Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-03-21T06:07:22.625Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.032s coverage: 0.0% of statements [2024-03-21T06:07:22.625Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-21T06:07:22.625Z] go vet ./... [2024-03-21T06:07:54.865Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T06:07:54.865Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T06:07:54.865Z] ./bin/test-attribution-txt.sh [2024-03-21T06:07:54.865Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T06:07:54.865Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T06:07:54.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T06:07:54.949Z] $ docker stop --time=1 e556b10bebc563ec7647e1f6693ec144a46a2601499fa708f6e8959a9bd91332 [2024-03-21T06:07:56.820Z] $ docker rm -f --volumes e556b10bebc563ec7647e1f6693ec144a46a2601499fa708f6e8959a9bd91332 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T06:07:58.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T06:07:58.409Z] Warning: overwriting stash ‘coverage-report’ [2024-03-21T06:07:58.791Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T06:07:59.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T06:07:59.762Z] + ls -al . [2024-03-21T06:07:59.763Z] total 236 [2024-03-21T06:07:59.763Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 06:04 . [2024-03-21T06:07:59.763Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 06:01 .. [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 21 06:01 .dockerignore [2024-03-21T06:07:59.763Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 06:01 .git [2024-03-21T06:07:59.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 06:01 .github [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 263 Mar 21 06:01 .gitignore [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 06:01 .golangci.yml [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 10025 Mar 21 06:01 Attribution.txt [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 11809 Mar 21 06:01 CHANGELOG.md [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 1571 Mar 21 06:01 Dockerfile [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 06:01 GOVERNANCE.md [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 21 06:01 Jenkinsfile [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 06:01 LICENSE [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 2240 Mar 21 06:01 Makefile [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 06:01 OWNERS.md [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 10477 Mar 21 06:01 README.md [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 06:00 VERSION [2024-03-21T06:07:59.763Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 06:01 bin [2024-03-21T06:07:59.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 06:01 cmd [2024-03-21T06:07:59.763Z] -rw-r--r-- 1 jenkins jenkins 8837 Mar 21 06:07 coverage.out [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 7059 Mar 21 06:01 go.mod [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 101590 Mar 21 06:01 go.sum [2024-03-21T06:07:59.763Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 06:01 internal [2024-03-21T06:07:59.763Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 21 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T06:08:00.181Z] + 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 . [2024-03-21T06:08:00.450Z] Sending build context to Docker daemon 7.198MB [2024-03-21T06:08:00.450Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T06:08:00.450Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-21T06:08:00.450Z] ---> 4a7b91a5bbfe [2024-03-21T06:08:00.450Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-21T06:08:00.715Z] ---> Running in b8f819d92ce9 [2024-03-21T06:08:00.979Z] Removing intermediate container b8f819d92ce9 [2024-03-21T06:08:00.979Z] ---> fa420b748de5 [2024-03-21T06:08:00.979Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T06:08:00.979Z] ---> Running in c9ca76a4aa6e [2024-03-21T06:08:01.246Z] Removing intermediate container c9ca76a4aa6e [2024-03-21T06:08:01.246Z] ---> 63816e737f31 [2024-03-21T06:08:01.246Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T06:08:01.511Z] ---> Running in 15dadbe3a3d0 [2024-03-21T06:08:01.775Z] Removing intermediate container 15dadbe3a3d0 [2024-03-21T06:08:01.775Z] ---> 92a713e5b461 [2024-03-21T06:08:01.775Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T06:08:01.775Z] ---> Running in c37b7d64c125 [2024-03-21T06:08:02.045Z] Removing intermediate container c37b7d64c125 [2024-03-21T06:08:02.045Z] ---> 99739797f3d0 [2024-03-21T06:08:02.045Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T06:08:02.045Z] ---> Running in 8afeaff085e8 [2024-03-21T06:08:03.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T06:08:03.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T06:08:04.534Z] OK: 271 MiB in 56 packages [2024-03-21T06:08:05.495Z] Removing intermediate container 8afeaff085e8 [2024-03-21T06:08:05.495Z] ---> 0bb9033cfbb0 [2024-03-21T06:08:05.495Z] Step 8/25 : WORKDIR /device-snmp-go [2024-03-21T06:08:05.495Z] ---> Running in 0395110911ca [2024-03-21T06:08:05.760Z] Removing intermediate container 0395110911ca [2024-03-21T06:08:05.760Z] ---> b4e6a180f4f3 [2024-03-21T06:08:05.760Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-21T06:08:06.342Z] ---> d6858e215d22 [2024-03-21T06:08:06.342Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T06:08:06.342Z] ---> Running in 0e34aa14c6ac [2024-03-21T06:08:08.295Z] Removing intermediate container 0e34aa14c6ac [2024-03-21T06:08:08.295Z] ---> 120bb1ded3a2 [2024-03-21T06:08:08.295Z] Step 11/25 : COPY . . [2024-03-21T06:08:09.254Z] ---> eb03ada3864f [2024-03-21T06:08:09.254Z] Step 12/25 : RUN ${MAKE} [2024-03-21T06:08:09.254Z] ---> Running in d9e892b2c225 [2024-03-21T06:08:10.209Z] 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 [2024-03-21T06:10:46.909Z] Removing intermediate container d9e892b2c225 [2024-03-21T06:10:46.909Z] ---> 998950f3e540 [2024-03-21T06:10:46.909Z] Step 13/25 : FROM alpine:3.18 [2024-03-21T06:10:46.909Z] 3.18: Pulling from library/alpine [2024-03-21T06:10:46.909Z] c6b39de5b339: Pulling fs layer [2024-03-21T06:10:46.909Z] c6b39de5b339: Verifying Checksum [2024-03-21T06:10:46.909Z] c6b39de5b339: Download complete [2024-03-21T06:10:46.909Z] c6b39de5b339: Pull complete [2024-03-21T06:10:46.909Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T06:10:46.909Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T06:10:46.909Z] ---> 33abbf032149 [2024-03-21T06:10:46.909Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-03-21T06:10:46.909Z] ---> Running in 58c1250fe996 [2024-03-21T06:10:46.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T06:10:46.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T06:10:47.860Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T06:10:47.860Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T06:10:47.860Z] OK: 8 MiB in 16 packages [2024-03-21T06:10:48.444Z] Removing intermediate container 58c1250fe996 [2024-03-21T06:10:48.444Z] ---> 61372172700e [2024-03-21T06:10:48.444Z] Step 15/25 : RUN apk --no-cache upgrade [2024-03-21T06:10:48.715Z] ---> Running in 591c2fc8b1e2 [2024-03-21T06:10:49.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T06:10:49.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T06:10:50.640Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T06:10:50.640Z] OK: 8 MiB in 16 packages [2024-03-21T06:10:51.596Z] Removing intermediate container 591c2fc8b1e2 [2024-03-21T06:10:51.596Z] ---> 858d77f54c4b [2024-03-21T06:10:51.596Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-03-21T06:10:53.529Z] ---> 4edc3c64c762 [2024-03-21T06:10:53.529Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-03-21T06:10:54.111Z] ---> f54df1119060 [2024-03-21T06:10:54.111Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-03-21T06:10:54.379Z] ---> c220e4c8fce3 [2024-03-21T06:10:54.379Z] Step 19/25 : EXPOSE 59993 [2024-03-21T06:10:54.379Z] ---> Running in f610c63819c3 [2024-03-21T06:10:54.959Z] Removing intermediate container f610c63819c3 [2024-03-21T06:10:54.959Z] ---> fbe2c14ed039 [2024-03-21T06:10:54.959Z] Step 20/25 : EXPOSE 161 [2024-03-21T06:10:54.959Z] ---> Running in dd885462fe9f [2024-03-21T06:10:55.223Z] Removing intermediate container dd885462fe9f [2024-03-21T06:10:55.223Z] ---> 9a30dac9699f [2024-03-21T06:10:55.223Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-03-21T06:10:55.223Z] ---> Running in e901ea7d8d02 [2024-03-21T06:10:55.488Z] Removing intermediate container e901ea7d8d02 [2024-03-21T06:10:55.488Z] ---> fd803f827165 [2024-03-21T06:10:55.488Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-21T06:10:55.488Z] ---> Running in 318f5cedbb80 [2024-03-21T06:10:55.752Z] Removing intermediate container 318f5cedbb80 [2024-03-21T06:10:55.752Z] ---> 6cc9116790fe [2024-03-21T06:10:55.752Z] Step 23/25 : LABEL arch=arm64 [2024-03-21T06:10:55.752Z] ---> Running in 2955275d5da2 [2024-03-21T06:10:56.019Z] Removing intermediate container 2955275d5da2 [2024-03-21T06:10:56.019Z] ---> 61831f0487b8 [2024-03-21T06:10:56.019Z] Step 24/25 : LABEL git_sha=f439acb25c1011bb6138a645f0cec5c8e55aab48 [2024-03-21T06:10:56.019Z] ---> Running in fe2b0b3359cb [2024-03-21T06:10:56.284Z] Removing intermediate container fe2b0b3359cb [2024-03-21T06:10:56.284Z] ---> ee45e894ce7f [2024-03-21T06:10:56.284Z] Step 25/25 : LABEL version=0.0.0 [2024-03-21T06:10:56.550Z] ---> Running in 40aa66f2cf55 [2024-03-21T06:10:56.550Z] Removing intermediate container 40aa66f2cf55 [2024-03-21T06:10:56.550Z] ---> 9140dd31c02d [2024-03-21T06:10:56.550Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T06:10:56.814Z] Successfully built 9140dd31c02d [2024-03-21T06:10:56.815Z] 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 [2024-03-21T06:10:57.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T06:10:57.707Z] [2024-03-21T06:10:57.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T06:10:58.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T06:10:58.115Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-21T06:10:58.115Z] 8998bd30e6a1: Pulling fs layer [2024-03-21T06:10:58.115Z] 04944245beec: Pulling fs layer [2024-03-21T06:10:58.115Z] 699f458cf7ca: Pulling fs layer [2024-03-21T06:10:58.115Z] 765212b225bb: Pulling fs layer [2024-03-21T06:10:58.115Z] f23df028b6ca: Pulling fs layer [2024-03-21T06:10:58.115Z] d65c8cfc05b1: Pulling fs layer [2024-03-21T06:10:58.115Z] 2437ff75d9bd: Pulling fs layer [2024-03-21T06:10:58.115Z] 765212b225bb: Waiting [2024-03-21T06:10:58.115Z] f23df028b6ca: Waiting [2024-03-21T06:10:58.115Z] d65c8cfc05b1: Waiting [2024-03-21T06:10:58.115Z] 2437ff75d9bd: Waiting [2024-03-21T06:10:58.382Z] 04944245beec: Verifying Checksum [2024-03-21T06:10:58.382Z] 04944245beec: Download complete [2024-03-21T06:10:58.382Z] 765212b225bb: Verifying Checksum [2024-03-21T06:10:58.382Z] 765212b225bb: Download complete [2024-03-21T06:10:58.382Z] f23df028b6ca: Verifying Checksum [2024-03-21T06:10:58.382Z] f23df028b6ca: Download complete [2024-03-21T06:10:58.382Z] d65c8cfc05b1: Verifying Checksum [2024-03-21T06:10:58.382Z] d65c8cfc05b1: Download complete [2024-03-21T06:10:58.382Z] 699f458cf7ca: Verifying Checksum [2024-03-21T06:10:58.382Z] 699f458cf7ca: Download complete [2024-03-21T06:10:58.961Z] 8998bd30e6a1: Verifying Checksum [2024-03-21T06:10:58.961Z] 8998bd30e6a1: Download complete [2024-03-21T06:11:01.528Z] 2437ff75d9bd: Verifying Checksum [2024-03-21T06:11:01.528Z] 2437ff75d9bd: Download complete [2024-03-21T06:11:03.464Z] 8998bd30e6a1: Pull complete [2024-03-21T06:11:03.729Z] 04944245beec: Pull complete [2024-03-21T06:11:05.667Z] 699f458cf7ca: Pull complete [2024-03-21T06:11:05.667Z] 765212b225bb: Pull complete [2024-03-21T06:11:06.622Z] f23df028b6ca: Pull complete [2024-03-21T06:11:06.622Z] d65c8cfc05b1: Pull complete [2024-03-21T06:11:24.816Z] 2437ff75d9bd: Pull complete [2024-03-21T06:11:24.816Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-21T06:11:24.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T06:11:24.816Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T06:11:25.156Z] prd-ubuntu20.04-docker-arm64-4c-16g-536 does not seem to be running inside a container [2024-03-21T06:11:25.213Z] $ 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 [2024-03-21T06:11:27.864Z] $ docker top 152d6c72f54a5b4678f719116830cf521bd8a9eff57b34d344461fc97ea230c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:11:28.764Z] ---> job-cost.sh [2024-03-21T06:11:28.764Z] lf-activate-venv: SKIPPING [2024-03-21T06:11:28.764Z] INFO: No Stack... [2024-03-21T06:11:29.027Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-21T06:11:29.981Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T06:11:30.632Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2024-03-21T06:11:30.632Z] + cut -d, -f6 [Pipeline] lock [2024-03-21T06:11:30.707Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [2024-03-21T06:11:30.713Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] did not exist. Created. [2024-03-21T06:11:30.717Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T06:11:31.452Z] /w/workspace/device-snmp-go/1@tmp/durable-1076f1a2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-21T06:11:32.110Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-21T06:11:32.156Z] Warning: overwriting stash ‘stack-cost’ [2024-03-21T06:11:32.205Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T06:11:32.228Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T06:11:32.308Z] $ docker stop --time=1 152d6c72f54a5b4678f719116830cf521bd8a9eff57b34d344461fc97ea230c1 [2024-03-21T06:11:33.788Z] $ 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 [2024-03-21T06:11:35.021Z] provisioning config files... [2024-03-21T06:11:35.030Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/config12242133913894861476tmp [Pipeline] { [Pipeline] sh [2024-03-21T06:11:35.374Z] + set +x [2024-03-21T06:11:35.374Z] + curl -s https://codecov.io/bash [2024-03-21T06:11:35.374Z] + bash -s -- [2024-03-21T06:11:35.374Z] [2024-03-21T06:11:35.374Z] _____ _ [2024-03-21T06:11:35.374Z] / ____| | | [2024-03-21T06:11:35.374Z] | | ___ __| | ___ ___ _____ __ [2024-03-21T06:11:35.374Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-21T06:11:35.374Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-21T06:11:35.374Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-21T06:11:35.374Z] Bash-1.0.6 [2024-03-21T06:11:35.374Z] [2024-03-21T06:11:35.374Z] [2024-03-21T06:11:35.374Z] ==> git version 2.25.1 found [2024-03-21T06:11:35.374Z] ==> 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 [2024-03-21T06:11:35.374Z] Release-Date: 2020-01-08 [2024-03-21T06:11:35.374Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-21T06:11:35.374Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-21T06:11:35.374Z] ==> Jenkins CI detected. [2024-03-21T06:11:35.374Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-346 [2024-03-21T06:11:35.374Z] project root: . [2024-03-21T06:11:35.374Z] --> token set from env [2024-03-21T06:11:35.374Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-21T06:11:35.633Z] ==> Running gcov in . (disable via -X gcov) [2024-03-21T06:11:35.633Z] ==> Python coveragepy not found [2024-03-21T06:11:35.633Z] ==> Searching for coverage reports in: [2024-03-21T06:11:35.633Z] + . [2024-03-21T06:11:35.633Z] -> Found 1 reports [2024-03-21T06:11:35.633Z] ==> Detecting git/mercurial file structure [2024-03-21T06:11:35.633Z] ==> Reading reports [2024-03-21T06:11:35.633Z] + ./coverage.out bytes=8837 [2024-03-21T06:11:35.633Z] ==> Appending adjustments [2024-03-21T06:11:35.633Z] https://docs.codecov.io/docs/fixing-reports [2024-03-21T06:11:35.633Z] + Found adjustments [2024-03-21T06:11:35.633Z] ==> Gzipping contents [2024-03-21T06:11:35.633Z] 4.0K /tmp/codecov.f6fEUM.gz [2024-03-21T06:11:35.633Z] ==> Uploading reports [2024-03-21T06:11:35.633Z] url: https://codecov.io [2024-03-21T06:11:35.633Z] 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= [2024-03-21T06:11:35.633Z] -> Pinging Codecov [2024-03-21T06:11:35.633Z] 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= [2024-03-21T06:11:35.894Z] -> Uploading to [2024-03-21T06:11:35.894Z] 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 [2024-03-21T06:11:35.894Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T06:11:35.894Z] Dload Upload Total Spent Left Speed [2024-03-21T06:11:36.153Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5275 --:--:-- --:--:-- --:--:-- 5275 [2024-03-21T06:11:36.153Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/f439acb25c1011bb6138a645f0cec5c8e55aab48 [Pipeline] } [2024-03-21T06:11:36.187Z] 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 [2024-03-21T06:11:38.097Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-346/archives ] [2024-03-21T06:11:38.097Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-346/archives [2024-03-21T06:11:38.097Z] total 16 [2024-03-21T06:11:38.097Z] drwxr-xr-x 3 root root 4096 Mar 21 06:03 . [2024-03-21T06:11:38.097Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 06:03 .. [2024-03-21T06:11:38.097Z] drwxr-xr-x 2 root root 4096 Mar 21 06:03 cost [2024-03-21T06:11:38.097Z] -rw-r--r-- 1 root root 86 Mar 21 06:03 cost.csv [2024-03-21T06:11:38.097Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-346/archives [2024-03-21T06:11:38.097Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-346/archives [2024-03-21T06:11:38.097Z] total 16 [2024-03-21T06:11:38.097Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 06:03 . [2024-03-21T06:11:38.097Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 06:03 .. [2024-03-21T06:11:38.097Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 06:03 cost [2024-03-21T06:11:38.097Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 06:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:11:38.430Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:11:39.319Z] ---> package-listing.sh [2024-03-21T06:11:39.319Z] ++ facter osfamily [2024-03-21T06:11:39.319Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-21T06:11:39.578Z] + OS_FAMILY=debian [2024-03-21T06:11:39.578Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-346 [2024-03-21T06:11:39.578Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-21T06:11:39.578Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-21T06:11:39.578Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-21T06:11:39.578Z] + PACKAGES=/tmp/packages_start.txt [2024-03-21T06:11:39.578Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-346 ']' [2024-03-21T06:11:39.578Z] + PACKAGES=/tmp/packages_end.txt [2024-03-21T06:11:39.578Z] + case "${OS_FAMILY}" in [2024-03-21T06:11:39.578Z] + dpkg -l [2024-03-21T06:11:39.578Z] + grep '^ii' [2024-03-21T06:11:39.578Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-21T06:11:39.578Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-21T06:11:39.578Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-21T06:11:39.578Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-346 ']' [2024-03-21T06:11:39.578Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-346/archives/ [2024-03-21T06:11:39.578Z] + 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 [2024-03-21T06:11:39.616Z] 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 [2024-03-21T06:11:39.906Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T06:11:40.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T06:11:40.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T06:11:40.694Z] prd-ubuntu20.04-docker-8c-8g-535 does not seem to be running inside a container [2024-03-21T06:11:40.725Z] $ 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 [2024-03-21T06:11:40.935Z] $ docker top 05eb41246f3247fa53a4d39355d2d0fb22c981d34b85b25beda9b754e150deaa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T06:11:41.339Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-21T06:11:41.654Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-21T06:11:41.968Z] + ls /var/log/sa-host [2024-03-21T06:11:41.968Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T06:11:42.189Z] provisioning config files... [2024-03-21T06:11:42.198Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-346@tmp/config261115444716169293tmp [Pipeline] { [Pipeline] echo [2024-03-21T06:11:42.261Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:11:42.577Z] ---> create-netrc.sh [Pipeline] } [2024-03-21T06:11:42.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:11:43.041Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-21T06:11:43.073Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:11:43.385Z] ---> sudo-logs.sh [2024-03-21T06:11:43.386Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-21T06:11:43.485Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:11:43.808Z] ---> job-cost.sh [2024-03-21T06:11:43.808Z] lf-activate-venv: SKIPPING [2024-03-21T06:11:43.808Z] DEBUG: total: 0.2199999988079071 [2024-03-21T06:11:43.808Z] INFO: Retrieving Stack Cost... [2024-03-21T06:11:44.069Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T06:11:44.701Z] INFO: Archiving Costs [Pipeline] echo [2024-03-21T06:11:44.771Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T06:11:45.119Z] ---> logs-deploy.sh [2024-03-21T06:11:45.119Z] lf-activate-venv: SKIPPING [2024-03-21T06:11:45.119Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-346/1 [2024-03-21T06:11:45.119Z] INFO: archiving workspace using pattern(s): [2024-03-21T06:11:46.109Z] Archives upload complete. [2024-03-21T06:11:46.109Z] INFO: archiving logs to Nexus