Pull request #349 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f93a2571d940aab632954045262108355447637a+ab3bf70376c9802f6ba544aa167c564e283ce2c4 (dc4a0ac755264fefd2ecec159919ac439e39ffac) 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-ssh7518798643474076017.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh2574425709142286562.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 590556114a56c6d90cc8043840e039c2f74196dc 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-349/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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18433925112142087798.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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10784075228992905773.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh11773321348398373267.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-349/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-349/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16750431386271302818.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 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4901 in /w/workspace/gexfoundry_device-snmp-go_PR-349 [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-349 # 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 Merging remotes/origin/main commit ab3bf70376c9802f6ba544aa167c564e283ce2c4 into PR head commit f93a2571d940aab632954045262108355447637a Merge succeeded, producing f93a2571d940aab632954045262108355447637a Checking out Revision f93a2571d940aab632954045262108355447637a (PR-349) 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 590556114a56c6d90cc8043840e039c2f74196dc > 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/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f93a2571d940aab632954045262108355447637a # 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 f93a2571d940aab632954045262108355447637a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-03T08:01:25.894Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-03T08:01:26.122Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-03T08:01:26.243Z] ========================================================= [2024-07-03T08:01:26.243Z] EdgeX Global Pipelines Version Info [2024-07-03T08:01:26.243Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:01:26.990Z] ------------------- [2024-07-03T08:01:26.990Z] stable info: [2024-07-03T08:01:26.990Z] ------------------- [2024-07-03T08:01:26.990Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T08:01:26.990Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-03T08:01:26.990Z] Message: update stable to v1.0.260 [2024-07-03T08:01:27.559Z] ------------------- [2024-07-03T08:01:27.559Z] experimental info: [2024-07-03T08:01:27.559Z] ------------------- [2024-07-03T08:01:27.559Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-03T08:01:27.559Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-03T08:01:27.559Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-03T08:01:27.782Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2024-07-03T08:01:27.837Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2024-07-03T08:01:27.905Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-03T08:01:27.963Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-03T08:01:28.022Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-03T08:01:28.078Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-03T08:01:28.143Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-03T08:01:28.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-03T08:01:28.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-03T08:01:28.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-03T08:01:28.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-03T08:01:28.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2024-07-03T08:01:28.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-03T08:01:28.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-03T08:01:28.626Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T08:01:28.687Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-03T08:01:28.749Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T08:01:28.809Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-03T08:01:28.869Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-03T08:01:28.928Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-03T08:01:28.987Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-03T08:01:29.042Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-03T08:01:29.112Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-03T08:01:29.175Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-03T08:01:29.234Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-03T08:01:29.295Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-03T08:01:29.357Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-03T08:01:29.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-349 [Pipeline] echo [2024-07-03T08:01:29.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-349 [Pipeline] echo [2024-07-03T08:01:29.540Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-349 [Pipeline] echo [2024-07-03T08:01:29.596Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f93a2571d940aab632954045262108355447637a [Pipeline] echo [2024-07-03T08:01:29.651Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f93a257 [Pipeline] echo [2024-07-03T08:01:29.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T08:01:29.879Z] provisioning config files... [2024-07-03T08:01:29.892Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-349@tmp/config13416843493434338879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:01:30.285Z] ---> ****-login.sh [2024-07-03T08:01:30.285Z] nexus3.edgexfoundry.org:10001 [2024-07-03T08:01:30.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:30.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:30.543Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:30.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:30.543Z] [2024-07-03T08:01:30.543Z] Login Succeeded [2024-07-03T08:01:30.543Z] nexus3.edgexfoundry.org:10002 [2024-07-03T08:01:30.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:30.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:30.802Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:30.802Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:30.802Z] [2024-07-03T08:01:30.802Z] Login Succeeded [2024-07-03T08:01:30.802Z] nexus3.edgexfoundry.org:10003 [2024-07-03T08:01:30.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:30.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:30.802Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:30.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:30.803Z] [2024-07-03T08:01:30.803Z] Login Succeeded [2024-07-03T08:01:30.803Z] nexus3.edgexfoundry.org:10004 [2024-07-03T08:01:30.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:31.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:31.064Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:31.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:31.064Z] [2024-07-03T08:01:31.064Z] Login Succeeded [2024-07-03T08:01:31.064Z] ****.io [2024-07-03T08:01:31.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:31.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:31.324Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:31.324Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:31.324Z] [2024-07-03T08:01:31.324Z] Login Succeeded [2024-07-03T08:01:31.324Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T08:01:31.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-03T08:01:32.040Z] + git rev-list -1 --merges f93a2571d940aab632954045262108355447637a~1..f93a2571d940aab632954045262108355447637a [Pipeline] echo [2024-07-03T08:01:32.091Z] -----------> git rev-list -1 --merges f93a2571d940aab632954045262108355447637a~1..f93a2571d940aab632954045262108355447637a f93a2571d940aab632954045262108355447637a [false] [Pipeline] sh [2024-07-03T08:01:32.415Z] + git log --format=format:%s -1 f93a2571d940aab632954045262108355447637a [Pipeline] echo [2024-07-03T08:01:32.460Z] ========================================================= [2024-07-03T08:01:32.460Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-03T08:01:32.460Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T08:01:32.931Z] + git log --format=format:%s -1 f93a2571d940aab632954045262108355447637a [Pipeline] echo [2024-07-03T08:01:32.972Z] [semverPrep] GIT_COMMIT: f93a2571d940aab632954045262108355447637a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-03T08:01:33.020Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-03T08:01:33.421Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-03T08:01:33.421Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-03T08:01:33.421Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-03T08:01:33.421Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-03T08:01:33.421Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-07-03T08:01:33.421Z] -a /etc/ssh/ssh_known_hosts [2024-07-03T08:01:33.421Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:01:33.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T08:01:33.881Z] [2024-07-03T08:01:33.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:01:34.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T08:01:34.292Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-03T08:01:34.292Z] b85a868b505f: Pulling fs layer [2024-07-03T08:01:34.292Z] e2be974225ed: Pulling fs layer [2024-07-03T08:01:34.292Z] 339a4e72a1f5: Pulling fs layer [2024-07-03T08:01:34.292Z] 988bab9f4d93: Pulling fs layer [2024-07-03T08:01:34.292Z] 1469e6f7b9e6: Pulling fs layer [2024-07-03T08:01:34.292Z] eaf3925da568: Pulling fs layer [2024-07-03T08:01:34.292Z] bab4dde63d76: Pulling fs layer [2024-07-03T08:01:34.292Z] bde34c3a00c8: Pulling fs layer [2024-07-03T08:01:34.292Z] b352a97aabf1: Pulling fs layer [2024-07-03T08:01:34.292Z] 4872d77fe225: Pulling fs layer [2024-07-03T08:01:34.292Z] 5851b861e8e6: Pulling fs layer [2024-07-03T08:01:34.292Z] bab4dde63d76: Waiting [2024-07-03T08:01:34.292Z] bde34c3a00c8: Waiting [2024-07-03T08:01:34.292Z] 4872d77fe225: Waiting [2024-07-03T08:01:34.292Z] b352a97aabf1: Waiting [2024-07-03T08:01:34.292Z] 988bab9f4d93: Waiting [2024-07-03T08:01:34.292Z] eaf3925da568: Waiting [2024-07-03T08:01:34.292Z] 1469e6f7b9e6: Waiting [2024-07-03T08:01:34.292Z] 5851b861e8e6: Waiting [2024-07-03T08:01:34.292Z] e2be974225ed: Verifying Checksum [2024-07-03T08:01:34.292Z] e2be974225ed: Download complete [2024-07-03T08:01:34.292Z] 988bab9f4d93: Download complete [2024-07-03T08:01:34.292Z] 1469e6f7b9e6: Verifying Checksum [2024-07-03T08:01:34.292Z] 1469e6f7b9e6: Download complete [2024-07-03T08:01:34.292Z] eaf3925da568: Verifying Checksum [2024-07-03T08:01:34.292Z] eaf3925da568: Download complete [2024-07-03T08:01:34.554Z] 339a4e72a1f5: Verifying Checksum [2024-07-03T08:01:34.554Z] 339a4e72a1f5: Download complete [2024-07-03T08:01:34.554Z] bde34c3a00c8: Download complete [2024-07-03T08:01:34.554Z] b352a97aabf1: Verifying Checksum [2024-07-03T08:01:34.554Z] b352a97aabf1: Download complete [2024-07-03T08:01:34.554Z] 4872d77fe225: Verifying Checksum [2024-07-03T08:01:34.554Z] 4872d77fe225: Download complete [2024-07-03T08:01:34.554Z] 5851b861e8e6: Verifying Checksum [2024-07-03T08:01:34.554Z] 5851b861e8e6: Download complete [2024-07-03T08:01:34.554Z] b85a868b505f: Verifying Checksum [2024-07-03T08:01:34.554Z] b85a868b505f: Download complete [2024-07-03T08:01:34.815Z] bab4dde63d76: Verifying Checksum [2024-07-03T08:01:34.815Z] bab4dde63d76: Download complete [2024-07-03T08:01:35.756Z] b85a868b505f: Pull complete [2024-07-03T08:01:35.756Z] e2be974225ed: Pull complete [2024-07-03T08:01:36.323Z] 339a4e72a1f5: Pull complete [2024-07-03T08:01:36.323Z] 988bab9f4d93: Pull complete [2024-07-03T08:01:36.584Z] 1469e6f7b9e6: Pull complete [2024-07-03T08:01:36.584Z] eaf3925da568: Pull complete [2024-07-03T08:01:38.518Z] bab4dde63d76: Pull complete [2024-07-03T08:01:38.518Z] bde34c3a00c8: Pull complete [2024-07-03T08:01:38.518Z] b352a97aabf1: Pull complete [2024-07-03T08:01:38.518Z] 4872d77fe225: Pull complete [2024-07-03T08:01:38.518Z] 5851b861e8e6: Pull complete [2024-07-03T08:01:38.518Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-03T08:01:38.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-03T08:01:38.518Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T08:01:38.823Z] prd-ubuntu20.04-docker-8c-8g-4901 does not seem to be running inside a container [2024-07-03T08:01:38.873Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-349 -v /w/workspace/gexfoundry_device-snmp-go_PR-349:/w/workspace/gexfoundry_device-snmp-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-349@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-349@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-07-03T08:01:41.652Z] $ docker top 6ec2578989948397055277ee0fe9247fcdaf73aafb4a31a6103b4dfb48453b45 -eo pid,comm [2024-07-03T08:01:41.704Z] 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-07-03T08:01:41.704Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-03T08:01:41.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T08:01:41.876Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T08:01:41.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T08:01:41.978Z] $ docker exec 6ec2578989948397055277ee0fe9247fcdaf73aafb4a31a6103b4dfb48453b45 ssh-agent [2024-07-03T08:01:42.084Z] SSH_AUTH_SOCK=/tmp/ssh-ta86w4v7HB1D/agent.33 [2024-07-03T08:01:42.084Z] SSH_AGENT_PID=39 [2024-07-03T08:01:42.095Z] Running ssh-add (command line suppressed) [2024-07-03T08:01:42.197Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-349@tmp/private_key_9338692684345410903.key (/w/workspace/gexfoundry_device-snmp-go_PR-349@tmp/private_key_9338692684345410903.key) [2024-07-03T08:01:42.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T08:01:42.556Z] + git tag --points-at HEAD [Pipeline] } [2024-07-03T08:01:42.581Z] $ docker exec --env ******** --env ******** 6ec2578989948397055277ee0fe9247fcdaf73aafb4a31a6103b4dfb48453b45 ssh-agent -k [2024-07-03T08:01:42.675Z] unset SSH_AUTH_SOCK; [2024-07-03T08:01:42.675Z] unset SSH_AGENT_PID; [2024-07-03T08:01:42.675Z] echo Agent pid 39 killed; [2024-07-03T08:01:42.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-03T08:01:42.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-03T08:01:42.797Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-03T08:01:42.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-03T08:01:42.905Z] $ docker exec 6ec2578989948397055277ee0fe9247fcdaf73aafb4a31a6103b4dfb48453b45 ssh-agent [2024-07-03T08:01:43.025Z] SSH_AUTH_SOCK=/tmp/ssh-ykAJsNckWmWR/agent.72 [2024-07-03T08:01:43.025Z] SSH_AGENT_PID=79 [2024-07-03T08:01:43.029Z] Running ssh-add (command line suppressed) [2024-07-03T08:01:43.115Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-349@tmp/private_key_6762788694407217924.key (/w/workspace/gexfoundry_device-snmp-go_PR-349@tmp/private_key_6762788694407217924.key) [2024-07-03T08:01:43.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-03T08:01:43.473Z] + git semver init [2024-07-03T08:01:43.731Z] 2024-07-03 08:01:43,638 [run_init] DEBUG init version:0.0.0 force:False [2024-07-03T08:01:43.731Z] 2024-07-03 08:01:43,639 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-349/.semver [2024-07-03T08:01:43.731Z] 2024-07-03 08:01:43,640 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-349/.semver [2024-07-03T08:01:43.731Z] 2024-07-03 08:01:43,640 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-349/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-349, universal_newlines=False, shell=None, istream=None) [2024-07-03T08:01:45.218Z] 2024-07-03 08:01:44,929 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-349/.git/info/exclude [2024-07-03T08:01:45.218Z] 2024-07-03 08:01:44,930 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-349/.semver/PR-349 with force:False [2024-07-03T08:01:45.218Z] 2024-07-03 08:01:44,930 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-349/.semver/PR-349 [2024-07-03T08:01:45.218Z] 2024-07-03 08:01:44,934 [execute] INFO git cat-file --batch-check [2024-07-03T08:01:45.218Z] 2024-07-03 08:01:44,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-349/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T08:01:45.218Z] 2024-07-03 08:01:44,942 [execute] INFO git cat-file --batch [2024-07-03T08:01:45.218Z] 2024-07-03 08:01:44,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-349/.semver, universal_newlines=False, shell=None, istream=) [2024-07-03T08:01:45.218Z] 2024-07-03 08:01:44,948 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-349/.semver/PR-349 [2024-07-03T08:01:45.218Z] 0.0.0 [Pipeline] } [2024-07-03T08:01:45.244Z] $ docker exec --env ******** --env ******** 6ec2578989948397055277ee0fe9247fcdaf73aafb4a31a6103b4dfb48453b45 ssh-agent -k [2024-07-03T08:01:45.335Z] unset SSH_AUTH_SOCK; [2024-07-03T08:01:45.336Z] unset SSH_AGENT_PID; [2024-07-03T08:01:45.336Z] echo Agent pid 79 killed; [2024-07-03T08:01:45.345Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-03T08:01:45.794Z] + git semver [Pipeline] } [2024-07-03T08:01:46.084Z] $ docker stop --time=1 6ec2578989948397055277ee0fe9247fcdaf73aafb4a31a6103b4dfb48453b45 [2024-07-03T08:01:47.414Z] $ docker rm -f --volumes 6ec2578989948397055277ee0fe9247fcdaf73aafb4a31a6103b4dfb48453b45 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T08:01:47.826Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-03T08:01:48.113Z] Stashed 1 file(s) [Pipeline] echo [2024-07-03T08:01:48.136Z] [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-07-03T08:01:48.889Z] provisioning config files... [2024-07-03T08:01:48.898Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-349@tmp/config12691333895502438891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:01:49.260Z] ---> ****-login.sh [2024-07-03T08:01:49.260Z] nexus3.edgexfoundry.org:10001 [2024-07-03T08:01:49.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:49.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:49.260Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:49.260Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:49.260Z] [2024-07-03T08:01:49.260Z] Login Succeeded [2024-07-03T08:01:49.260Z] nexus3.edgexfoundry.org:10002 [2024-07-03T08:01:49.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:49.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:49.260Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:49.260Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:49.260Z] [2024-07-03T08:01:49.260Z] Login Succeeded [2024-07-03T08:01:49.260Z] nexus3.edgexfoundry.org:10003 [2024-07-03T08:01:49.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:49.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:49.519Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:49.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:49.519Z] [2024-07-03T08:01:49.519Z] Login Succeeded [2024-07-03T08:01:49.519Z] nexus3.edgexfoundry.org:10004 [2024-07-03T08:01:49.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:49.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:49.519Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:49.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:49.519Z] [2024-07-03T08:01:49.519Z] Login Succeeded [2024-07-03T08:01:49.519Z] ****.io [2024-07-03T08:01:49.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:01:49.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:01:49.777Z] Configure a credential helper to remove this warning. See [2024-07-03T08:01:49.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:01:49.777Z] [2024-07-03T08:01:49.777Z] Login Succeeded [2024-07-03T08:01:49.777Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T08:01:49.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T08:01:50.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T08:01:50.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T08:01:50.227Z] ========================================================= [2024-07-03T08:01:50.227Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-03T08:01:50.227Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:01:50.741Z] + 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-07-03T08:01:50.741Z] Sending build context to Docker daemon 20.11MB [2024-07-03T08:01:50.741Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T08:01:50.741Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-03T08:01:50.741Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-03T08:01:50.741Z] 619be1103602: Pulling fs layer [2024-07-03T08:01:50.741Z] 7862e08f4a3e: Pulling fs layer [2024-07-03T08:01:50.741Z] 5df492c9dc93: Pulling fs layer [2024-07-03T08:01:50.741Z] 7629e6793208: Pulling fs layer [2024-07-03T08:01:50.741Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T08:01:50.741Z] fb5054dd5b73: Pulling fs layer [2024-07-03T08:01:50.741Z] eeca6798cff9: Pulling fs layer [2024-07-03T08:01:50.741Z] aa269ceb94a6: Pulling fs layer [2024-07-03T08:01:50.741Z] ada007ff1a6a: Pulling fs layer [2024-07-03T08:01:50.741Z] 7629e6793208: Waiting [2024-07-03T08:01:50.741Z] eeca6798cff9: Waiting [2024-07-03T08:01:50.741Z] 4f4fb700ef54: Waiting [2024-07-03T08:01:50.741Z] aa269ceb94a6: Waiting [2024-07-03T08:01:50.741Z] fb5054dd5b73: Waiting [2024-07-03T08:01:50.741Z] ada007ff1a6a: Waiting [2024-07-03T08:01:51.000Z] 7862e08f4a3e: Download complete [2024-07-03T08:01:51.000Z] 7629e6793208: Download complete [2024-07-03T08:01:51.000Z] 4f4fb700ef54: Download complete [2024-07-03T08:01:51.000Z] fb5054dd5b73: Verifying Checksum [2024-07-03T08:01:51.000Z] fb5054dd5b73: Download complete [2024-07-03T08:01:51.000Z] 619be1103602: Verifying Checksum [2024-07-03T08:01:51.000Z] 619be1103602: Download complete [2024-07-03T08:01:51.000Z] eeca6798cff9: Verifying Checksum [2024-07-03T08:01:51.000Z] eeca6798cff9: Download complete [2024-07-03T08:01:51.000Z] 619be1103602: Pull complete [2024-07-03T08:01:51.258Z] 7862e08f4a3e: Pull complete [2024-07-03T08:01:51.258Z] ada007ff1a6a: Verifying Checksum [2024-07-03T08:01:51.258Z] ada007ff1a6a: Download complete [2024-07-03T08:01:51.258Z] 5df492c9dc93: Verifying Checksum [2024-07-03T08:01:51.258Z] 5df492c9dc93: Download complete [2024-07-03T08:01:51.824Z] aa269ceb94a6: Verifying Checksum [2024-07-03T08:01:51.824Z] aa269ceb94a6: Download complete [2024-07-03T08:01:54.359Z] 5df492c9dc93: Pull complete [2024-07-03T08:01:54.359Z] 7629e6793208: Pull complete [2024-07-03T08:01:54.359Z] 4f4fb700ef54: Pull complete [2024-07-03T08:01:54.359Z] fb5054dd5b73: Pull complete [2024-07-03T08:01:55.807Z] eeca6798cff9: Pull complete [2024-07-03T08:01:56.745Z] aa269ceb94a6: Pull complete [2024-07-03T08:01:57.321Z] ada007ff1a6a: Pull complete [2024-07-03T08:01:57.321Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-03T08:01:57.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-03T08:01:57.321Z] ---> f489d0715acc [2024-07-03T08:01:57.321Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-03T08:02:01.516Z] ---> Running in 3c5d6e1a7b9b [2024-07-03T08:02:01.516Z] Removing intermediate container 3c5d6e1a7b9b [2024-07-03T08:02:01.516Z] ---> 61046277d13c [2024-07-03T08:02:01.516Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T08:02:01.516Z] ---> Running in 069a63221683 [2024-07-03T08:02:01.516Z] Removing intermediate container 069a63221683 [2024-07-03T08:02:01.516Z] ---> 7e13c8eb782b [2024-07-03T08:02:01.516Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-03T08:02:01.516Z] ---> Running in 1567960db80a [2024-07-03T08:02:01.516Z] Removing intermediate container 1567960db80a [2024-07-03T08:02:01.516Z] ---> a5a07edbd6c3 [2024-07-03T08:02:01.516Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T08:02:01.516Z] ---> Running in 60629f1d0e28 [2024-07-03T08:02:01.516Z] Removing intermediate container 60629f1d0e28 [2024-07-03T08:02:01.516Z] ---> 8dc09788ad53 [2024-07-03T08:02:01.516Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T08:02:01.516Z] ---> Running in 427a5fb58dcb [2024-07-03T08:02:02.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T08:02:02.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T08:02:02.345Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T08:02:02.345Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-03T08:02:02.345Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T08:02:02.345Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T08:02:02.345Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T08:02:02.345Z] OK: 268 MiB in 56 packages [2024-07-03T08:02:02.915Z] Removing intermediate container 427a5fb58dcb [2024-07-03T08:02:02.915Z] ---> d500766bdadc [2024-07-03T08:02:02.915Z] Step 8/12 : WORKDIR /device-snmp-go [2024-07-03T08:02:02.915Z] ---> Running in 7ab10880d53d [2024-07-03T08:02:03.177Z] Removing intermediate container 7ab10880d53d [2024-07-03T08:02:03.177Z] ---> 9a0416a43e63 [2024-07-03T08:02:03.177Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-03T08:02:03.177Z] ---> ea7b89e87820 [2024-07-03T08:02:03.177Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T08:02:03.177Z] ---> Running in 1b3d6fd4c99c [2024-07-03T08:02:03.671Z] Still waiting to schedule task [2024-07-03T08:02:03.672Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4899’ [2024-07-03T08:02:59.418Z] Removing intermediate container 1b3d6fd4c99c [2024-07-03T08:02:59.418Z] ---> 257de6ccbe33 [2024-07-03T08:02:59.418Z] Step 11/12 : COPY . . [2024-07-03T08:02:59.418Z] ---> b63751eb9246 [2024-07-03T08:02:59.418Z] Step 12/12 : RUN ${MAKE} [2024-07-03T08:02:59.418Z] ---> Running in 31f28b7f5036 [2024-07-03T08:02:59.418Z] noop [2024-07-03T08:02:59.418Z] Removing intermediate container 31f28b7f5036 [2024-07-03T08:02:59.418Z] ---> 74b24a1ae56d [2024-07-03T08:02:59.418Z] Successfully built 74b24a1ae56d [2024-07-03T08:02:59.418Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:02:59.892Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T08:02:59.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T08:03:00.054Z] prd-ubuntu20.04-docker-8c-8g-4901 does not seem to be running inside a container [2024-07-03T08:03:00.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-349 -v /w/workspace/gexfoundry_device-snmp-go_PR-349:/w/workspace/gexfoundry_device-snmp-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-349@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-349@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-07-03T08:03:00.420Z] $ docker top 2e2568e3d688183903a0b7a4780b303bcfeaafb95442abd4794f2bda6ae0fb78 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T08:03:00.832Z] + go version [2024-07-03T08:03:00.832Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-03T08:03:01.760Z] $ docker stop --time=1 2e2568e3d688183903a0b7a4780b303bcfeaafb95442abd4794f2bda6ae0fb78 [2024-07-03T08:03:03.035Z] $ docker rm -f --volumes 2e2568e3d688183903a0b7a4780b303bcfeaafb95442abd4794f2bda6ae0fb78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:03:03.849Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-03T08:03:03.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T08:03:04.022Z] prd-ubuntu20.04-docker-8c-8g-4901 does not seem to be running inside a container [2024-07-03T08:03:04.053Z] $ 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-349 -v /w/workspace/gexfoundry_device-snmp-go_PR-349:/w/workspace/gexfoundry_device-snmp-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-349@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-349@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-07-03T08:03:04.397Z] $ docker top 1a4e85f7a25d3ec29903735a933047dccae6cea4f056749a48accd7f4f46bae7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T08:03:04.819Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-349 [Pipeline] fileExists [Pipeline] sh [2024-07-03T08:03:05.204Z] + make test [2024-07-03T08:03:05.204Z] go test ./... -coverprofile=coverage.out [2024-07-03T08:03:06.580Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-07-03T08:03:24.656Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-07-03T08:03:24.656Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.004s coverage: 0.0% of statements [2024-07-03T08:03:36.850Z] go vet ./... [2024-07-03T08:03:41.030Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-03T08:03:41.030Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-03T08:03:41.030Z] ./bin/test-attribution-txt.sh [2024-07-03T08:03:41.030Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-03T08:03:41.030Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-03T08:03:41.293Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-03T08:03:41.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-03T08:03:41.386Z] $ docker stop --time=1 1a4e85f7a25d3ec29903735a933047dccae6cea4f056749a48accd7f4f46bae7 [2024-07-03T08:03:45.703Z] $ docker rm -f --volumes 1a4e85f7a25d3ec29903735a933047dccae6cea4f056749a48accd7f4f46bae7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T08:03:46.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-03T08:03:46.382Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-03T08:03:47.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-03T08:03:47.455Z] + ls -al . [2024-07-03T08:03:47.455Z] total 240 [2024-07-03T08:03:47.455Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 08:03 . [2024-07-03T08:03:47.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 08:01 .. [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 3 08:01 .dockerignore [2024-07-03T08:03:47.455Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 08:03 .git [2024-07-03T08:03:47.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:01 .github [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 263 Jul 3 08:01 .gitignore [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 08:01 .golangci.yml [2024-07-03T08:03:47.455Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 08:01 .semver [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 10025 Jul 3 08:01 Attribution.txt [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 11809 Jul 3 08:01 CHANGELOG.md [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 1571 Jul 3 08:01 Dockerfile [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 08:01 GOVERNANCE.md [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 3 08:01 Jenkinsfile [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 08:01 LICENSE [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 2240 Jul 3 08:01 Makefile [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 3 08:01 OWNERS.md [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 10477 Jul 3 08:01 README.md [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 08:01 VERSION [2024-07-03T08:03:47.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 08:01 bin [2024-07-03T08:03:47.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:01 cmd [2024-07-03T08:03:47.455Z] -rw-r--r-- 1 jenkins jenkins 8837 Jul 3 08:03 coverage.out [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 7054 Jul 3 08:01 go.mod [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 102364 Jul 3 08:01 go.sum [2024-07-03T08:03:47.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:01 internal [2024-07-03T08:03:47.455Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 3 08:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:03:47.876Z] + 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=f93a2571d940aab632954045262108355447637a --label arch=amd64 --label version=0.0.0 . [2024-07-03T08:03:47.876Z] Sending build context to Docker daemon 20.12MB [2024-07-03T08:03:47.876Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T08:03:47.876Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-03T08:03:47.876Z] ---> 74b24a1ae56d [2024-07-03T08:03:47.876Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-03T08:03:48.133Z] ---> Running in 8c1126d65e25 [2024-07-03T08:03:48.133Z] Removing intermediate container 8c1126d65e25 [2024-07-03T08:03:48.133Z] ---> d32b60711899 [2024-07-03T08:03:48.133Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T08:03:48.133Z] ---> Running in 6fb940b75cb4 [2024-07-03T08:03:48.391Z] Removing intermediate container 6fb940b75cb4 [2024-07-03T08:03:48.391Z] ---> ed7906f6f6af [2024-07-03T08:03:48.391Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-03T08:03:48.391Z] ---> Running in 05f6215b8f64 [2024-07-03T08:03:48.665Z] Removing intermediate container 05f6215b8f64 [2024-07-03T08:03:48.665Z] ---> 5d76959a9b35 [2024-07-03T08:03:48.665Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T08:03:48.925Z] ---> Running in fdde85782e7f [2024-07-03T08:03:48.925Z] Removing intermediate container fdde85782e7f [2024-07-03T08:03:48.925Z] ---> f79e0ee0c52d [2024-07-03T08:03:48.925Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T08:03:48.925Z] ---> Running in beaaccee51ae [2024-07-03T08:03:49.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T08:03:49.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T08:03:49.700Z] OK: 268 MiB in 56 packages [2024-07-03T08:03:49.958Z] Removing intermediate container beaaccee51ae [2024-07-03T08:03:49.958Z] ---> abe7ff6a185c [2024-07-03T08:03:49.958Z] Step 8/25 : WORKDIR /device-snmp-go [2024-07-03T08:03:49.958Z] ---> Running in 415e2b37ec26 [2024-07-03T08:03:50.217Z] Removing intermediate container 415e2b37ec26 [2024-07-03T08:03:50.217Z] ---> 129b31c22f42 [2024-07-03T08:03:50.217Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-03T08:03:50.217Z] ---> fbcb281cd6e9 [2024-07-03T08:03:50.217Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T08:03:50.217Z] ---> Running in b809eaf71e0d [2024-07-03T08:03:51.596Z] Removing intermediate container b809eaf71e0d [2024-07-03T08:03:51.596Z] ---> caa46feca73d [2024-07-03T08:03:51.596Z] Step 11/25 : COPY . . [2024-07-03T08:03:52.162Z] ---> 2a7e8f6c816b [2024-07-03T08:03:52.162Z] Step 12/25 : RUN ${MAKE} [2024-07-03T08:03:52.162Z] ---> Running in c6ee92a7aef1 [2024-07-03T08:03:52.421Z] 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.20" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-07-03T08:04:24.482Z] Removing intermediate container c6ee92a7aef1 [2024-07-03T08:04:24.482Z] ---> c5ac7365c5b0 [2024-07-03T08:04:24.482Z] Step 13/25 : FROM alpine:3.18 [2024-07-03T08:04:24.482Z] 3.18: Pulling from library/alpine [2024-07-03T08:04:24.482Z] 73baa7ef167e: Pulling fs layer [2024-07-03T08:04:24.482Z] 73baa7ef167e: Verifying Checksum [2024-07-03T08:04:24.482Z] 73baa7ef167e: Download complete [2024-07-03T08:04:24.482Z] 73baa7ef167e: Pull complete [2024-07-03T08:04:24.482Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-03T08:04:24.482Z] Status: Downloaded newer image for alpine:3.18 [2024-07-03T08:04:24.482Z] ---> 8fd7cac70a4a [2024-07-03T08:04:24.482Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-07-03T08:04:24.482Z] ---> Running in fb754b5294c4 [2024-07-03T08:04:24.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T08:04:24.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T08:04:24.482Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-03T08:04:24.482Z] Executing busybox-1.36.1-r7.trigger [2024-07-03T08:04:24.482Z] OK: 7 MiB in 16 packages [2024-07-03T08:04:24.482Z] Removing intermediate container fb754b5294c4 [2024-07-03T08:04:24.482Z] ---> 6b74fc3cd9b8 [2024-07-03T08:04:24.482Z] Step 15/25 : RUN apk --no-cache upgrade [2024-07-03T08:04:24.482Z] ---> Running in 945c943da407 [2024-07-03T08:04:24.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-03T08:04:24.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-03T08:04:24.482Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T08:04:24.482Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T08:04:24.482Z] OK: 7 MiB in 16 packages [2024-07-03T08:04:25.049Z] Removing intermediate container 945c943da407 [2024-07-03T08:04:25.049Z] ---> ad12781eb354 [2024-07-03T08:04:25.049Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-07-03T08:04:26.426Z] ---> 4a37c2c21683 [2024-07-03T08:04:26.426Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-07-03T08:04:26.426Z] ---> d2e7c999cd56 [2024-07-03T08:04:26.426Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-07-03T08:04:26.426Z] ---> 8fb8c86657d9 [2024-07-03T08:04:26.426Z] Step 19/25 : EXPOSE 59993 [2024-07-03T08:04:26.426Z] ---> Running in 6aeddc87ec6d [2024-07-03T08:04:26.426Z] Removing intermediate container 6aeddc87ec6d [2024-07-03T08:04:26.426Z] ---> 92ff966b46f3 [2024-07-03T08:04:26.426Z] Step 20/25 : EXPOSE 161 [2024-07-03T08:04:26.684Z] ---> Running in 1e40fe17d69c [2024-07-03T08:04:26.684Z] Removing intermediate container 1e40fe17d69c [2024-07-03T08:04:26.684Z] ---> 381d7ff29106 [2024-07-03T08:04:26.684Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-07-03T08:04:26.684Z] ---> Running in 1ff1d0873284 [2024-07-03T08:04:26.684Z] Removing intermediate container 1ff1d0873284 [2024-07-03T08:04:26.684Z] ---> e25a9f533043 [2024-07-03T08:04:26.684Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-03T08:04:26.684Z] ---> Running in 250b129eaa08 [2024-07-03T08:04:26.941Z] Removing intermediate container 250b129eaa08 [2024-07-03T08:04:26.941Z] ---> c62840658d2f [2024-07-03T08:04:26.941Z] Step 23/25 : LABEL arch=amd64 [2024-07-03T08:04:26.941Z] ---> Running in ef52b189cf1b [2024-07-03T08:04:26.941Z] Removing intermediate container ef52b189cf1b [2024-07-03T08:04:26.941Z] ---> e6d22786c838 [2024-07-03T08:04:26.941Z] Step 24/25 : LABEL git_sha=f93a2571d940aab632954045262108355447637a [2024-07-03T08:04:26.941Z] ---> Running in e665fdb79777 [2024-07-03T08:04:26.941Z] Removing intermediate container e665fdb79777 [2024-07-03T08:04:26.941Z] ---> f0ce08265a90 [2024-07-03T08:04:26.941Z] Step 25/25 : LABEL version=0.0.0 [2024-07-03T08:04:26.941Z] ---> Running in 33933569f3f3 [2024-07-03T08:04:27.200Z] Removing intermediate container 33933569f3f3 [2024-07-03T08:04:27.200Z] ---> b61bc3b90a24 [2024-07-03T08:04:27.200Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-03T08:04:27.200Z] Successfully built b61bc3b90a24 [2024-07-03T08:04:27.200Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:04:28.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T08:04:28.295Z] [2024-07-03T08:04:28.295Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:04:28.695Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T08:04:28.695Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-03T08:04:28.695Z] 5eb5b503b376: Pulling fs layer [2024-07-03T08:04:28.695Z] 5c69ac0246d0: Pulling fs layer [2024-07-03T08:04:28.695Z] ec43610c2a17: Pulling fs layer [2024-07-03T08:04:28.695Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-03T08:04:28.695Z] 33b1e0a273af: Pulling fs layer [2024-07-03T08:04:28.695Z] 5d3b04190fa2: Pulling fs layer [2024-07-03T08:04:28.695Z] 2f39f015ded8: Pulling fs layer [2024-07-03T08:04:28.695Z] 3a2ae6a8a46f: Waiting [2024-07-03T08:04:28.695Z] 33b1e0a273af: Waiting [2024-07-03T08:04:28.695Z] 5d3b04190fa2: Waiting [2024-07-03T08:04:28.695Z] 2f39f015ded8: Waiting [2024-07-03T08:04:28.695Z] 5c69ac0246d0: Download complete [2024-07-03T08:04:28.695Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-03T08:04:28.695Z] 3a2ae6a8a46f: Download complete [2024-07-03T08:04:28.695Z] 33b1e0a273af: Verifying Checksum [2024-07-03T08:04:28.695Z] 33b1e0a273af: Download complete [2024-07-03T08:04:28.954Z] 5d3b04190fa2: Verifying Checksum [2024-07-03T08:04:28.954Z] 5d3b04190fa2: Download complete [2024-07-03T08:04:28.954Z] ec43610c2a17: Verifying Checksum [2024-07-03T08:04:28.954Z] ec43610c2a17: Download complete [2024-07-03T08:04:28.954Z] 5eb5b503b376: Verifying Checksum [2024-07-03T08:04:28.954Z] 5eb5b503b376: Download complete [2024-07-03T08:04:29.521Z] 2f39f015ded8: Verifying Checksum [2024-07-03T08:04:29.521Z] 2f39f015ded8: Download complete [2024-07-03T08:04:30.088Z] 5eb5b503b376: Pull complete [2024-07-03T08:04:30.088Z] 5c69ac0246d0: Pull complete [2024-07-03T08:04:30.653Z] ec43610c2a17: Pull complete [2024-07-03T08:04:30.653Z] 3a2ae6a8a46f: Pull complete [2024-07-03T08:04:30.943Z] 33b1e0a273af: Pull complete [2024-07-03T08:04:30.943Z] 5d3b04190fa2: Pull complete [2024-07-03T08:04:35.127Z] 2f39f015ded8: Pull complete [2024-07-03T08:04:35.127Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-03T08:04:35.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T08:04:35.127Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T08:04:35.379Z] prd-ubuntu20.04-docker-8c-8g-4901 does not seem to be running inside a container [2024-07-03T08:04:35.404Z] $ 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-349 -v /w/workspace/gexfoundry_device-snmp-go_PR-349:/w/workspace/gexfoundry_device-snmp-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-349@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-349@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-07-03T08:04:39.582Z] $ docker top b5cf78b606a4cd2eba890a460f13870a2e3d6e9968a249a2ac0b18aa3d7d1a55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:04:40.042Z] ---> job-cost.sh [2024-07-03T08:04:40.042Z] lf-activate-venv: SKIPPING [2024-07-03T08:04:40.042Z] INFO: No Stack... [2024-07-03T08:04:40.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T08:04:40.450Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4903 in /w/workspace/gexfoundry_device-snmp-go_PR-349 [Pipeline] { [Pipeline] ws [2024-07-03T08:04:40.518Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [2024-07-03T08:04:40.560Z] INFO: Archiving Costs [Pipeline] checkout [2024-07-03T08:04:40.607Z] Selected Git installation does not exist. Using Default [2024-07-03T08:04:40.607Z] The recommended git tool is: NONE [Pipeline] sh [2024-07-03T08:04:40.939Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-349/archives/cost.csv [2024-07-03T08:04:40.939Z] + cut -d, -f6 [Pipeline] lock [2024-07-03T08:04:40.986Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-349-1-stack-cost] [2024-07-03T08:04:40.992Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-349-1-stack-cost] did not exist. Created. [2024-07-03T08:04:40.998Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T08:04:41.497Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-03T08:04:41.549Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T08:04:41.584Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T08:04:41.669Z] $ docker stop --time=1 b5cf78b606a4cd2eba890a460f13870a2e3d6e9968a249a2ac0b18aa3d7d1a55 [2024-07-03T08:04:42.810Z] $ docker rm -f --volumes b5cf78b606a4cd2eba890a460f13870a2e3d6e9968a249a2ac0b18aa3d7d1a55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-03T08:04:45.722Z] using credential edgex-jenkins-ssh [2024-07-03T08:04:45.743Z] Cloning the remote Git repository [2024-07-03T08:04:45.781Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2024-07-03T08:04:45.876Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2024-07-03T08:04:46.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-07-03T08:04:46.027Z] > git --version # timeout=10 [2024-07-03T08:04:46.049Z] > git --version # 'git version 2.25.1' [2024-07-03T08:04:46.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T08:04:46.190Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T08:04:48.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-07-03T08:04:48.453Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-03T08:04:49.316Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-07-03T08:04:49.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-07-03T08:04:49.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T08:04:49.391Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-03T08:04:49.845Z] Merging remotes/origin/main commit ab3bf70376c9802f6ba544aa167c564e283ce2c4 into PR head commit f93a2571d940aab632954045262108355447637a [2024-07-03T08:04:50.223Z] Merge succeeded, producing f93a2571d940aab632954045262108355447637a [2024-07-03T08:04:50.223Z] Checking out Revision f93a2571d940aab632954045262108355447637a (PR-349) [2024-07-03T08:04:50.767Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-03T08:04:49.856Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T08:04:49.919Z] > git checkout -f f93a2571d940aab632954045262108355447637a # timeout=10 [2024-07-03T08:04:50.017Z] > git remote # timeout=10 [2024-07-03T08:04:50.038Z] > git config --get remote.origin.url # timeout=10 [2024-07-03T08:04:50.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-03T08:04:50.083Z] > git merge ab3bf70376c9802f6ba544aa167c564e283ce2c4 # timeout=10 [2024-07-03T08:04:50.191Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-03T08:04:50.222Z] > git config core.sparsecheckout # timeout=10 [2024-07-03T08:04:50.248Z] > git checkout -f f93a2571d940aab632954045262108355447637a # timeout=10 [2024-07-03T08:04:50.806Z] > git --version # timeout=10 [2024-07-03T08:04:50.818Z] > git --version # 'git version 2.25.1' [2024-07-03T08:04:50.837Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T08:04:56.014Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-03T08:04:56.014Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T08:04:56.014Z] Dload Upload Total Spent Left Speed [2024-07-03T08:04:56.014Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh [2024-07-03T08:04:56.376Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-03T08:04:56.777Z] + sudo tee /etc/docker/daemon.new [2024-07-03T08:04:56.777Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-03T08:04:56.777Z] { [2024-07-03T08:04:56.777Z] "registry-mirrors": [ [2024-07-03T08:04:56.777Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-03T08:04:56.777Z] ], [2024-07-03T08:04:56.777Z] "bip": "10.250.0.254/24", [2024-07-03T08:04:56.777Z] "hosts": [ [2024-07-03T08:04:56.777Z] "tcp://0.0.0.0:5555", [2024-07-03T08:04:56.777Z] "unix:///var/run/docker.sock" [2024-07-03T08:04:56.777Z] ], [2024-07-03T08:04:56.777Z] "mtu": 1458, [2024-07-03T08:04:56.777Z] "selinux-enabled": true, [2024-07-03T08:04:56.777Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-03T08:04:56.777Z] } [Pipeline] sh [2024-07-03T08:04:57.142Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-03T08:04:57.509Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T08:05:15.863Z] provisioning config files... [2024-07-03T08:05:15.893Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config13254486598550632394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:05:16.425Z] ---> ****-login.sh [2024-07-03T08:05:16.425Z] nexus3.edgexfoundry.org:10001 [2024-07-03T08:05:17.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:05:17.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:05:17.016Z] Configure a credential helper to remove this warning. See [2024-07-03T08:05:17.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:05:17.016Z] [2024-07-03T08:05:17.016Z] Login Succeeded [2024-07-03T08:05:17.016Z] nexus3.edgexfoundry.org:10002 [2024-07-03T08:05:17.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:05:17.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:05:17.559Z] Configure a credential helper to remove this warning. See [2024-07-03T08:05:17.559Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:05:17.559Z] [2024-07-03T08:05:17.559Z] Login Succeeded [2024-07-03T08:05:17.559Z] nexus3.edgexfoundry.org:10003 [2024-07-03T08:05:17.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:05:17.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:05:17.830Z] Configure a credential helper to remove this warning. See [2024-07-03T08:05:17.831Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:05:17.831Z] [2024-07-03T08:05:17.831Z] Login Succeeded [2024-07-03T08:05:17.831Z] nexus3.edgexfoundry.org:10004 [2024-07-03T08:05:18.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:05:18.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:05:18.368Z] Configure a credential helper to remove this warning. See [2024-07-03T08:05:18.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:05:18.368Z] [2024-07-03T08:05:18.368Z] Login Succeeded [2024-07-03T08:05:18.368Z] ****.io [2024-07-03T08:05:18.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-03T08:05:18.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-03T08:05:18.903Z] Configure a credential helper to remove this warning. See [2024-07-03T08:05:18.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-03T08:05:18.903Z] [2024-07-03T08:05:18.903Z] Login Succeeded [2024-07-03T08:05:18.903Z] ---> ****-login.sh ends [Pipeline] } [2024-07-03T08:05:18.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-03T08:05:19.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T08:05:19.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-03T08:05:19.531Z] ========================================================= [2024-07-03T08:05:19.531Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-03T08:05:19.531Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:05:20.067Z] + 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-07-03T08:05:20.335Z] Sending build context to Docker daemon 10.15MB [2024-07-03T08:05:20.613Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T08:05:20.613Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-03T08:05:20.613Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-03T08:05:20.613Z] c6b39de5b339: Pulling fs layer [2024-07-03T08:05:20.613Z] a69c41024577: Pulling fs layer [2024-07-03T08:05:20.613Z] d6de4b400683: Pulling fs layer [2024-07-03T08:05:20.613Z] 35cb2a7552d0: Pulling fs layer [2024-07-03T08:05:20.613Z] 4f4fb700ef54: Pulling fs layer [2024-07-03T08:05:20.613Z] 464afbd9ba4c: Pulling fs layer [2024-07-03T08:05:20.613Z] 00f215d4a9da: Pulling fs layer [2024-07-03T08:05:20.613Z] d496ad576159: Pulling fs layer [2024-07-03T08:05:20.613Z] 464afbd9ba4c: Waiting [2024-07-03T08:05:20.613Z] d496ad576159: Waiting [2024-07-03T08:05:20.613Z] 35cb2a7552d0: Waiting [2024-07-03T08:05:20.613Z] 4f4fb700ef54: Waiting [2024-07-03T08:05:20.613Z] 00f215d4a9da: Waiting [2024-07-03T08:05:20.613Z] a69c41024577: Verifying Checksum [2024-07-03T08:05:20.613Z] a69c41024577: Download complete [2024-07-03T08:05:20.613Z] 35cb2a7552d0: Verifying Checksum [2024-07-03T08:05:20.613Z] 35cb2a7552d0: Download complete [2024-07-03T08:05:20.886Z] 4f4fb700ef54: Verifying Checksum [2024-07-03T08:05:20.886Z] 4f4fb700ef54: Download complete [2024-07-03T08:05:20.886Z] 464afbd9ba4c: Download complete [2024-07-03T08:05:20.886Z] c6b39de5b339: Verifying Checksum [2024-07-03T08:05:20.886Z] c6b39de5b339: Download complete [2024-07-03T08:05:21.161Z] d496ad576159: Verifying Checksum [2024-07-03T08:05:21.161Z] d496ad576159: Download complete [2024-07-03T08:05:21.750Z] c6b39de5b339: Pull complete [2024-07-03T08:05:22.343Z] a69c41024577: Pull complete [2024-07-03T08:05:22.612Z] d6de4b400683: Verifying Checksum [2024-07-03T08:05:22.612Z] d6de4b400683: Download complete [2024-07-03T08:05:24.038Z] 00f215d4a9da: Verifying Checksum [2024-07-03T08:05:24.038Z] 00f215d4a9da: Download complete [2024-07-03T08:05:36.368Z] d6de4b400683: Pull complete [2024-07-03T08:05:36.368Z] 35cb2a7552d0: Pull complete [2024-07-03T08:05:36.368Z] 4f4fb700ef54: Pull complete [2024-07-03T08:05:36.368Z] 464afbd9ba4c: Pull complete [2024-07-03T08:05:46.458Z] 00f215d4a9da: Pull complete [2024-07-03T08:05:46.726Z] d496ad576159: Pull complete [2024-07-03T08:05:46.726Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-03T08:05:46.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-03T08:05:46.726Z] ---> f246e2811388 [2024-07-03T08:05:46.726Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-03T08:05:47.683Z] ---> Running in 10d21989307e [2024-07-03T08:05:47.683Z] Removing intermediate container 10d21989307e [2024-07-03T08:05:47.683Z] ---> 049380243f4b [2024-07-03T08:05:47.683Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T08:05:47.951Z] ---> Running in 7acc534586a2 [2024-07-03T08:05:48.221Z] Removing intermediate container 7acc534586a2 [2024-07-03T08:05:48.221Z] ---> 3c48d0c09824 [2024-07-03T08:05:48.221Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-03T08:05:48.221Z] ---> Running in f96b00fcbf3e [2024-07-03T08:05:48.486Z] Removing intermediate container f96b00fcbf3e [2024-07-03T08:05:48.486Z] ---> 3c8729865883 [2024-07-03T08:05:48.486Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T08:05:48.486Z] ---> Running in 6c4a4a521eaa [2024-07-03T08:05:49.072Z] Removing intermediate container 6c4a4a521eaa [2024-07-03T08:05:49.072Z] ---> 8211d0692838 [2024-07-03T08:05:49.072Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T08:05:49.072Z] ---> Running in 349ded41d638 [2024-07-03T08:05:50.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T08:05:50.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T08:05:51.604Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-03T08:05:51.604Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-03T08:05:51.604Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-03T08:05:51.604Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-03T08:05:51.604Z] Executing busybox-1.36.1-r5.trigger [2024-07-03T08:05:51.604Z] OK: 271 MiB in 56 packages [2024-07-03T08:05:52.574Z] Removing intermediate container 349ded41d638 [2024-07-03T08:05:52.574Z] ---> 4db676d9b661 [2024-07-03T08:05:52.574Z] Step 8/12 : WORKDIR /device-snmp-go [2024-07-03T08:05:52.843Z] ---> Running in d8ff83338752 [2024-07-03T08:05:53.113Z] Removing intermediate container d8ff83338752 [2024-07-03T08:05:53.113Z] ---> df507932064d [2024-07-03T08:05:53.113Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-03T08:05:53.697Z] ---> 3d02bfb7827d [2024-07-03T08:05:53.697Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T08:05:53.697Z] ---> Running in cf63d19bc326 [2024-07-03T08:07:45.608Z] Removing intermediate container cf63d19bc326 [2024-07-03T08:07:45.608Z] ---> afbc2adf5017 [2024-07-03T08:07:45.608Z] Step 11/12 : COPY . . [2024-07-03T08:07:45.608Z] ---> d0f2554bfc73 [2024-07-03T08:07:45.608Z] Step 12/12 : RUN ${MAKE} [2024-07-03T08:07:45.608Z] ---> Running in c8cf0dc4fa04 [2024-07-03T08:07:45.608Z] noop [2024-07-03T08:07:45.608Z] Removing intermediate container c8cf0dc4fa04 [2024-07-03T08:07:45.608Z] ---> e4367ecdfa5e [2024-07-03T08:07:45.608Z] Successfully built e4367ecdfa5e [2024-07-03T08:07:45.608Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:07:46.133Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T08:07:46.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T08:07:46.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-4903 does not seem to be running inside a container [2024-07-03T08:07:46.630Z] $ 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-07-03T08:07:47.887Z] $ docker top 8f0ff1ab5ccb651b75b1a1c198dcebbcee341eeab87386a6915408c21aad8d32 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T08:07:48.812Z] + go version [2024-07-03T08:07:48.812Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-03T08:07:48.847Z] $ docker stop --time=1 8f0ff1ab5ccb651b75b1a1c198dcebbcee341eeab87386a6915408c21aad8d32 [2024-07-03T08:07:50.480Z] $ docker rm -f --volumes 8f0ff1ab5ccb651b75b1a1c198dcebbcee341eeab87386a6915408c21aad8d32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:07:51.425Z] + docker inspect -f . ci-base-image-arm64 [2024-07-03T08:07:51.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T08:07:51.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-4903 does not seem to be running inside a container [2024-07-03T08:07:51.849Z] $ 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-07-03T08:07:53.089Z] $ docker top df6cf04133a99fe858d445c8046cb150e3b2c7dfd0fa3f55324d6c9d14dc0cfa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T08:07:54.045Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-03T08:07:54.805Z] + make test [2024-07-03T08:07:54.805Z] go test ./... -coverprofile=coverage.out [2024-07-03T08:08:01.483Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-07-03T08:11:53.304Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-07-03T08:11:53.304Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.027s coverage: 0.0% of statements [2024-07-03T08:11:53.304Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-03T08:11:53.304Z] go vet ./... [2024-07-03T08:12:40.147Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-03T08:12:40.147Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-03T08:12:40.147Z] ./bin/test-attribution-txt.sh [2024-07-03T08:12:40.147Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-03T08:12:40.147Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-03T08:12:40.194Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-03T08:12:40.229Z] $ docker stop --time=1 df6cf04133a99fe858d445c8046cb150e3b2c7dfd0fa3f55324d6c9d14dc0cfa [2024-07-03T08:12:42.184Z] $ docker rm -f --volumes df6cf04133a99fe858d445c8046cb150e3b2c7dfd0fa3f55324d6c9d14dc0cfa [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-03T08:12:43.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-03T08:12:44.015Z] Warning: overwriting stash ‘coverage-report’ [2024-07-03T08:12:44.442Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-03T08:12:45.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-03T08:12:45.442Z] + ls -al . [2024-07-03T08:12:45.442Z] total 236 [2024-07-03T08:12:45.442Z] drwxrwxr-x 7 jenkins jenkins 4096 Jul 3 08:07 . [2024-07-03T08:12:45.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 08:04 .. [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 6 Jul 3 08:04 .dockerignore [2024-07-03T08:12:45.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 08:04 .git [2024-07-03T08:12:45.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:04 .github [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 263 Jul 3 08:04 .gitignore [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 3 08:04 .golangci.yml [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 10025 Jul 3 08:04 Attribution.txt [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 11809 Jul 3 08:04 CHANGELOG.md [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 1571 Jul 3 08:04 Dockerfile [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 08:04 GOVERNANCE.md [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 656 Jul 3 08:04 Jenkinsfile [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 3 08:04 LICENSE [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 2240 Jul 3 08:04 Makefile [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 3 08:04 OWNERS.md [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 10477 Jul 3 08:04 README.md [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 08:01 VERSION [2024-07-03T08:12:45.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 08:04 bin [2024-07-03T08:12:45.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:04 cmd [2024-07-03T08:12:45.442Z] -rw-r--r-- 1 jenkins jenkins 8837 Jul 3 08:11 coverage.out [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 7054 Jul 3 08:04 go.mod [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 102364 Jul 3 08:04 go.sum [2024-07-03T08:12:45.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 08:04 internal [2024-07-03T08:12:45.442Z] -rw-rw-r-- 1 jenkins jenkins 228 Jul 3 08:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:12:45.876Z] + 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=f93a2571d940aab632954045262108355447637a --label arch=arm64 --label version=0.0.0 . [2024-07-03T08:12:46.469Z] Sending build context to Docker daemon 10.16MB [2024-07-03T08:12:46.469Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-03T08:12:46.469Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-03T08:12:46.469Z] ---> e4367ecdfa5e [2024-07-03T08:12:46.469Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-03T08:12:46.469Z] ---> Running in 1fc3b95ca85e [2024-07-03T08:12:46.740Z] Removing intermediate container 1fc3b95ca85e [2024-07-03T08:12:46.740Z] ---> 95b09f7ad689 [2024-07-03T08:12:46.740Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-03T08:12:47.008Z] ---> Running in 675429ef4b13 [2024-07-03T08:12:47.276Z] Removing intermediate container 675429ef4b13 [2024-07-03T08:12:47.276Z] ---> 10801a92f0f1 [2024-07-03T08:12:47.276Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-03T08:12:47.276Z] ---> Running in 5947a92cc30b [2024-07-03T08:12:47.549Z] Removing intermediate container 5947a92cc30b [2024-07-03T08:12:47.549Z] ---> e630e6b743ea [2024-07-03T08:12:47.549Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-03T08:12:47.817Z] ---> Running in d5322a270010 [2024-07-03T08:12:48.087Z] Removing intermediate container d5322a270010 [2024-07-03T08:12:48.087Z] ---> fd274fa2a76b [2024-07-03T08:12:48.087Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-03T08:12:48.087Z] ---> Running in 328e9a3cde6b [2024-07-03T08:12:49.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T08:12:49.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T08:12:50.600Z] OK: 271 MiB in 56 packages [2024-07-03T08:12:51.569Z] Removing intermediate container 328e9a3cde6b [2024-07-03T08:12:51.569Z] ---> cbb9dffb59d2 [2024-07-03T08:12:51.569Z] Step 8/25 : WORKDIR /device-snmp-go [2024-07-03T08:12:51.569Z] ---> Running in c61b3dc5739c [2024-07-03T08:12:51.840Z] Removing intermediate container c61b3dc5739c [2024-07-03T08:12:51.840Z] ---> 80a65124c5be [2024-07-03T08:12:51.840Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-03T08:12:52.431Z] ---> a00da7a1b921 [2024-07-03T08:12:52.431Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-03T08:12:52.431Z] ---> Running in d97c5978dddd [2024-07-03T08:12:54.381Z] Removing intermediate container d97c5978dddd [2024-07-03T08:12:54.381Z] ---> 27f6526b7631 [2024-07-03T08:12:54.381Z] Step 11/25 : COPY . . [2024-07-03T08:12:55.796Z] ---> 5fbbbb6640f6 [2024-07-03T08:12:55.796Z] Step 12/25 : RUN ${MAKE} [2024-07-03T08:12:55.796Z] ---> Running in 78d5d301d4bc [2024-07-03T08:12:56.760Z] 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.20" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-07-03T08:16:33.562Z] Removing intermediate container 78d5d301d4bc [2024-07-03T08:16:33.562Z] ---> b48130d90850 [2024-07-03T08:16:33.562Z] Step 13/25 : FROM alpine:3.18 [2024-07-03T08:16:33.562Z] 3.18: Pulling from library/alpine [2024-07-03T08:16:33.562Z] 5c905c7ebe2f: Pulling fs layer [2024-07-03T08:16:33.562Z] 5c905c7ebe2f: Verifying Checksum [2024-07-03T08:16:33.562Z] 5c905c7ebe2f: Download complete [2024-07-03T08:16:33.562Z] 5c905c7ebe2f: Pull complete [2024-07-03T08:16:33.562Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-03T08:16:33.562Z] Status: Downloaded newer image for alpine:3.18 [2024-07-03T08:16:33.562Z] ---> dec292d02e07 [2024-07-03T08:16:33.562Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-07-03T08:16:33.562Z] ---> Running in 58ada360829d [2024-07-03T08:16:34.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T08:16:34.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T08:16:35.810Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-03T08:16:35.810Z] Executing busybox-1.36.1-r7.trigger [2024-07-03T08:16:35.810Z] OK: 8 MiB in 16 packages [2024-07-03T08:16:36.406Z] Removing intermediate container 58ada360829d [2024-07-03T08:16:36.406Z] ---> 6a7787b1836c [2024-07-03T08:16:36.406Z] Step 15/25 : RUN apk --no-cache upgrade [2024-07-03T08:16:36.672Z] ---> Running in 2659791d7305 [2024-07-03T08:16:37.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-03T08:16:37.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-03T08:16:38.855Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T08:16:38.855Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-03T08:16:38.855Z] OK: 8 MiB in 16 packages [2024-07-03T08:16:40.270Z] Removing intermediate container 2659791d7305 [2024-07-03T08:16:40.270Z] ---> d204df114694 [2024-07-03T08:16:40.270Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-07-03T08:16:42.215Z] ---> ae61bca34d9b [2024-07-03T08:16:42.215Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-07-03T08:16:42.799Z] ---> 7fcd1f2bcf4b [2024-07-03T08:16:42.799Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-07-03T08:16:43.385Z] ---> 8da7aeca0295 [2024-07-03T08:16:43.385Z] Step 19/25 : EXPOSE 59993 [2024-07-03T08:16:43.385Z] ---> Running in 2cb0a50ea080 [2024-07-03T08:16:43.651Z] Removing intermediate container 2cb0a50ea080 [2024-07-03T08:16:43.651Z] ---> ed7e443bb40d [2024-07-03T08:16:43.651Z] Step 20/25 : EXPOSE 161 [2024-07-03T08:16:43.919Z] ---> Running in 2fefaf8d0043 [2024-07-03T08:16:44.186Z] Removing intermediate container 2fefaf8d0043 [2024-07-03T08:16:44.186Z] ---> 81a79e1dbab6 [2024-07-03T08:16:44.186Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-07-03T08:16:44.186Z] ---> Running in adbaf146a0b8 [2024-07-03T08:16:44.453Z] Removing intermediate container adbaf146a0b8 [2024-07-03T08:16:44.453Z] ---> 1183304df75e [2024-07-03T08:16:44.453Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-03T08:16:44.722Z] ---> Running in 21e8dc7356cc [2024-07-03T08:16:44.989Z] Removing intermediate container 21e8dc7356cc [2024-07-03T08:16:44.989Z] ---> bb0931f1403b [2024-07-03T08:16:44.989Z] Step 23/25 : LABEL arch=arm64 [2024-07-03T08:16:44.989Z] ---> Running in 627957397de6 [2024-07-03T08:16:45.257Z] Removing intermediate container 627957397de6 [2024-07-03T08:16:45.257Z] ---> 8627981d96d9 [2024-07-03T08:16:45.257Z] Step 24/25 : LABEL git_sha=f93a2571d940aab632954045262108355447637a [2024-07-03T08:16:45.257Z] ---> Running in 6a6f807fbb06 [2024-07-03T08:16:45.524Z] Removing intermediate container 6a6f807fbb06 [2024-07-03T08:16:45.524Z] ---> 5761b997acb8 [2024-07-03T08:16:45.524Z] Step 25/25 : LABEL version=0.0.0 [2024-07-03T08:16:45.792Z] ---> Running in cdca6b21d7d7 [2024-07-03T08:16:46.059Z] Removing intermediate container cdca6b21d7d7 [2024-07-03T08:16:46.059Z] ---> 94b4ec6ba53e [2024-07-03T08:16:46.059Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-03T08:16:46.059Z] Successfully built 94b4ec6ba53e [2024-07-03T08:16:46.059Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:16:47.000Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T08:16:47.000Z] [2024-07-03T08:16:47.000Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:16:47.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T08:16:47.437Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-03T08:16:47.437Z] 8998bd30e6a1: Pulling fs layer [2024-07-03T08:16:47.437Z] 04944245beec: Pulling fs layer [2024-07-03T08:16:47.437Z] 699f458cf7ca: Pulling fs layer [2024-07-03T08:16:47.437Z] 765212b225bb: Pulling fs layer [2024-07-03T08:16:47.437Z] f23df028b6ca: Pulling fs layer [2024-07-03T08:16:47.437Z] d65c8cfc05b1: Pulling fs layer [2024-07-03T08:16:47.437Z] 2437ff75d9bd: Pulling fs layer [2024-07-03T08:16:47.437Z] 765212b225bb: Waiting [2024-07-03T08:16:47.437Z] f23df028b6ca: Waiting [2024-07-03T08:16:47.437Z] d65c8cfc05b1: Waiting [2024-07-03T08:16:47.437Z] 2437ff75d9bd: Waiting [2024-07-03T08:16:47.703Z] 04944245beec: Verifying Checksum [2024-07-03T08:16:47.703Z] 04944245beec: Download complete [2024-07-03T08:16:47.703Z] 765212b225bb: Verifying Checksum [2024-07-03T08:16:47.703Z] 765212b225bb: Download complete [2024-07-03T08:16:47.703Z] f23df028b6ca: Download complete [2024-07-03T08:16:47.703Z] d65c8cfc05b1: Verifying Checksum [2024-07-03T08:16:47.703Z] d65c8cfc05b1: Download complete [2024-07-03T08:16:47.970Z] 699f458cf7ca: Verifying Checksum [2024-07-03T08:16:47.970Z] 699f458cf7ca: Download complete [2024-07-03T08:16:48.239Z] 8998bd30e6a1: Verifying Checksum [2024-07-03T08:16:48.239Z] 8998bd30e6a1: Download complete [2024-07-03T08:16:50.819Z] 2437ff75d9bd: Verifying Checksum [2024-07-03T08:16:50.819Z] 2437ff75d9bd: Download complete [2024-07-03T08:16:52.760Z] 8998bd30e6a1: Pull complete [2024-07-03T08:16:53.343Z] 04944245beec: Pull complete [2024-07-03T08:16:55.283Z] 699f458cf7ca: Pull complete [2024-07-03T08:16:55.283Z] 765212b225bb: Pull complete [2024-07-03T08:16:56.241Z] f23df028b6ca: Pull complete [2024-07-03T08:16:56.241Z] d65c8cfc05b1: Pull complete [2024-07-03T08:17:14.429Z] 2437ff75d9bd: Pull complete [2024-07-03T08:17:14.429Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-03T08:17:14.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-03T08:17:14.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T08:17:14.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-4903 does not seem to be running inside a container [2024-07-03T08:17:14.914Z] $ 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-07-03T08:17:17.876Z] $ docker top e98f1af716cf53460abbe18125819f40c847d4ac2c19387f5ead20f7a9cad2a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:17:18.836Z] ---> job-cost.sh [2024-07-03T08:17:18.836Z] lf-activate-venv: SKIPPING [2024-07-03T08:17:18.836Z] INFO: No Stack... [2024-07-03T08:17:19.121Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-03T08:17:20.086Z] INFO: Archiving Costs [Pipeline] sh [2024-07-03T08:17:20.750Z] + cut -d, -f6 [2024-07-03T08:17:20.751Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2024-07-03T08:17:20.834Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-349-1-stack-cost] [2024-07-03T08:17:20.840Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-349-1-stack-cost] did not exist. Created. [2024-07-03T08:17:20.847Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-snmp-go-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-03T08:17:21.581Z] /w/workspace/device-snmp-go/1@tmp/durable-9793887e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-03T08:17:22.239Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-03T08:17:22.282Z] Warning: overwriting stash ‘stack-cost’ [2024-07-03T08:17:22.325Z] Stashed 1 file(s) [Pipeline] } [2024-07-03T08:17:22.346Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-snmp-go-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-03T08:17:22.434Z] $ docker stop --time=1 e98f1af716cf53460abbe18125819f40c847d4ac2c19387f5ead20f7a9cad2a6 [2024-07-03T08:17:23.939Z] $ docker rm -f --volumes e98f1af716cf53460abbe18125819f40c847d4ac2c19387f5ead20f7a9cad2a6 [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-07-03T08:17:25.073Z] provisioning config files... [2024-07-03T08:17:25.081Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-349@tmp/config16866100100096318639tmp [Pipeline] { [Pipeline] sh [2024-07-03T08:17:25.445Z] + set +x [2024-07-03T08:17:25.446Z] + bash -s -- [2024-07-03T08:17:25.446Z] + curl -s https://codecov.io/bash [2024-07-03T08:17:25.446Z] [2024-07-03T08:17:25.446Z] _____ _ [2024-07-03T08:17:25.446Z] / ____| | | [2024-07-03T08:17:25.446Z] | | ___ __| | ___ ___ _____ __ [2024-07-03T08:17:25.446Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-03T08:17:25.446Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-03T08:17:25.446Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-03T08:17:25.446Z] Bash-1.0.6 [2024-07-03T08:17:25.446Z] [2024-07-03T08:17:25.446Z] [2024-07-03T08:17:25.446Z] ==> git version 2.25.1 found [2024-07-03T08:17:25.446Z] ==> 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-07-03T08:17:25.446Z] Release-Date: 2020-01-08 [2024-07-03T08:17:25.446Z] 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-07-03T08:17:25.446Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-03T08:17:25.446Z] ==> Jenkins CI detected. [2024-07-03T08:17:25.446Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-349 [2024-07-03T08:17:25.446Z] project root: . [2024-07-03T08:17:25.446Z] --> token set from env [2024-07-03T08:17:25.446Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-03T08:17:25.446Z] ==> Running gcov in . (disable via -X gcov) [2024-07-03T08:17:25.446Z] ==> Python coveragepy not found [2024-07-03T08:17:25.446Z] ==> Searching for coverage reports in: [2024-07-03T08:17:25.446Z] + . [2024-07-03T08:17:25.446Z] -> Found 1 reports [2024-07-03T08:17:25.446Z] ==> Detecting git/mercurial file structure [2024-07-03T08:17:25.705Z] ==> Reading reports [2024-07-03T08:17:25.705Z] + ./coverage.out bytes=8837 [2024-07-03T08:17:25.705Z] ==> Appending adjustments [2024-07-03T08:17:25.705Z] https://docs.codecov.io/docs/fixing-reports [2024-07-03T08:17:25.705Z] + Found adjustments [2024-07-03T08:17:25.705Z] ==> Gzipping contents [2024-07-03T08:17:25.705Z] 4.0K /tmp/codecov.aBn8Lg.gz [2024-07-03T08:17:25.705Z] ==> Uploading reports [2024-07-03T08:17:25.705Z] url: https://codecov.io [2024-07-03T08:17:25.705Z] query: branch=PR-349&commit=f93a2571d940aab632954045262108355447637a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-349%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=349&job=&cmd_args= [2024-07-03T08:17:25.705Z] -> Pinging Codecov [2024-07-03T08:17:25.705Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-349&commit=f93a2571d940aab632954045262108355447637a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-349%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=349&job=&cmd_args= [2024-07-03T08:17:25.705Z] -> Uploading to [2024-07-03T08:17:25.705Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-03/6C56EA5C29638FB4528AC87E60AF5AE0/f93a2571d940aab632954045262108355447637a/246f580c-7783-456a-96e0-b2790445de00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T081725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60c35f73adc77c062ae3877725a41326c8fa2e0fd071d5bb4e3533075151ce65 [2024-07-03T08:17:25.705Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-03T08:17:25.705Z] Dload Upload Total Spent Left Speed [2024-07-03T08:17:25.965Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 6321 --:--:-- --:--:-- --:--:-- 6321 [2024-07-03T08:17:25.965Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/f93a2571d940aab632954045262108355447637a [Pipeline] } [2024-07-03T08:17:25.998Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-07-03T08:17:28.336Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-349/archives ] [2024-07-03T08:17:28.337Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-349/archives [2024-07-03T08:17:28.337Z] total 16 [2024-07-03T08:17:28.337Z] drwxr-xr-x 3 root root 4096 Jul 3 08:04 . [2024-07-03T08:17:28.337Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 08:04 .. [2024-07-03T08:17:28.337Z] drwxr-xr-x 2 root root 4096 Jul 3 08:04 cost [2024-07-03T08:17:28.337Z] -rw-r--r-- 1 root root 86 Jul 3 08:04 cost.csv [2024-07-03T08:17:28.337Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-349/archives [2024-07-03T08:17:28.337Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-349/archives [2024-07-03T08:17:28.337Z] total 16 [2024-07-03T08:17:28.337Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 08:04 . [2024-07-03T08:17:28.337Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 08:04 .. [2024-07-03T08:17:28.337Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 08:04 cost [2024-07-03T08:17:28.337Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 3 08:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:17:28.675Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:17:29.571Z] ---> package-listing.sh [2024-07-03T08:17:29.571Z] ++ facter osfamily [2024-07-03T08:17:29.571Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-03T08:17:29.829Z] + OS_FAMILY=debian [2024-07-03T08:17:29.829Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-349 [2024-07-03T08:17:29.829Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-03T08:17:29.829Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-03T08:17:29.829Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-03T08:17:29.829Z] + PACKAGES=/tmp/packages_start.txt [2024-07-03T08:17:29.829Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-349 ']' [2024-07-03T08:17:29.829Z] + PACKAGES=/tmp/packages_end.txt [2024-07-03T08:17:29.829Z] + case "${OS_FAMILY}" in [2024-07-03T08:17:29.829Z] + dpkg -l [2024-07-03T08:17:29.829Z] + grep '^ii' [2024-07-03T08:17:29.829Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-03T08:17:29.829Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-03T08:17:29.829Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-03T08:17:29.829Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-349 ']' [2024-07-03T08:17:29.829Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-349/archives/ [2024-07-03T08:17:29.829Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-349/archives/ [Pipeline] echo [2024-07-03T08:17:29.878Z] 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-349/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-03T08:17:30.176Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-03T08:17:30.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-03T08:17:30.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-03T08:17:30.984Z] prd-ubuntu20.04-docker-8c-8g-4901 does not seem to be running inside a container [2024-07-03T08:17:31.012Z] $ 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-349/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-349 -v /w/workspace/gexfoundry_device-snmp-go_PR-349:/w/workspace/gexfoundry_device-snmp-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-349@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-349@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-07-03T08:17:31.217Z] $ docker top 7b8ccb812fd3f926e015c23ae81a482506467be7f1c881cd16d74ae296203f7f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-03T08:17:31.634Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-03T08:17:31.951Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-03T08:17:32.266Z] + ls /var/log/sa-host [2024-07-03T08:17:32.266Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-03T08:17:32.418Z] provisioning config files... [2024-07-03T08:17:32.427Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-349@tmp/config7593942165958906908tmp [Pipeline] { [Pipeline] echo [2024-07-03T08:17:32.494Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:17:32.814Z] ---> create-netrc.sh [Pipeline] } [2024-07-03T08:17:32.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:17:33.270Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-03T08:17:33.305Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:17:33.635Z] ---> sudo-logs.sh [2024-07-03T08:17:33.635Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-03T08:17:33.743Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:17:34.098Z] ---> job-cost.sh [2024-07-03T08:17:34.098Z] lf-activate-venv: SKIPPING [2024-07-03T08:17:34.098Z] DEBUG: total: 0.2199999988079071 [2024-07-03T08:17:34.098Z] INFO: Retrieving Stack Cost... [2024-07-03T08:17:34.401Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-03T08:17:34.689Z] INFO: Archiving Costs [Pipeline] echo [2024-07-03T08:17:34.775Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-03T08:17:35.101Z] ---> logs-deploy.sh [2024-07-03T08:17:35.101Z] lf-activate-venv: SKIPPING [2024-07-03T08:17:35.101Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-349/1 [2024-07-03T08:17:35.101Z] INFO: archiving workspace using pattern(s): [2024-07-03T08:17:36.040Z] Archives upload complete. [2024-07-03T08:17:36.300Z] INFO: archiving logs to Nexus