Pull request #344 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd+d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 (74f9334b9fc8f0c15e972186e151f810706c24ee) 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-ssh17572984278672977840.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16470138612286471785.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-344/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-344/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12517284714506789160.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-344/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13970290544677894290.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10814394730261868587.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-344/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-344/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9865360175322641850.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-5310’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-5507’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-5508’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-5509’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5561’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5562’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5568 in /w/workspace/gexfoundry_device-snmp-go_PR-344 [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-344 # 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 Merging remotes/origin/main commit d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 into PR head commit 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd Merge succeeded, producing 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd Checking out Revision 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd (PR-344) Commit message: "build(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd # 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 d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-13T23:34:23.527Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-13T23:34:23.747Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-13T23:34:23.875Z] ========================================================= [2024-03-13T23:34:23.875Z] EdgeX Global Pipelines Version Info [2024-03-13T23:34:23.875Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:34:24.845Z] ------------------- [2024-03-13T23:34:24.845Z] stable info: [2024-03-13T23:34:24.845Z] ------------------- [2024-03-13T23:34:24.845Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-13T23:34:24.845Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:34:24.845Z] Message: update stable to v1.0.258 [2024-03-13T23:34:25.431Z] ------------------- [2024-03-13T23:34:25.431Z] experimental info: [2024-03-13T23:34:25.431Z] ------------------- [2024-03-13T23:34:25.431Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-13T23:34:25.431Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:34:25.431Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-13T23:34:25.739Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2024-03-13T23:34:25.794Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2024-03-13T23:34:25.857Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-13T23:34:25.920Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-13T23:34:25.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-13T23:34:26.059Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-13T23:34:26.119Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-13T23:34:26.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-13T23:34:26.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-13T23:34:26.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-13T23:34:26.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-13T23:34:26.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2024-03-13T23:34:26.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-13T23:34:26.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-13T23:34:26.553Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-13T23:34:26.616Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-13T23:34:26.689Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-13T23:34:26.747Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-13T23:34:26.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-13T23:34:26.874Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-13T23:34:26.939Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-13T23:34:27.005Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-13T23:34:27.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-13T23:34:27.143Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-13T23:34:27.213Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-13T23:34:27.283Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-13T23:34:27.359Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-13T23:34:27.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-344 [Pipeline] echo [2024-03-13T23:34:27.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-344 [Pipeline] echo [2024-03-13T23:34:27.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-344 [Pipeline] echo [2024-03-13T23:34:27.653Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [Pipeline] echo [2024-03-13T23:34:27.729Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92a7d33 [Pipeline] echo [2024-03-13T23:34:27.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:34:27.970Z] provisioning config files... [2024-03-13T23:34:27.981Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp/config517383717744698160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:34:28.377Z] ---> ****-login.sh [2024-03-13T23:34:28.377Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:34:28.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:29.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:29.211Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:29.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:29.211Z] [2024-03-13T23:34:29.211Z] Login Succeeded [2024-03-13T23:34:29.211Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:34:29.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:29.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:29.468Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:29.469Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:29.469Z] [2024-03-13T23:34:29.469Z] Login Succeeded [2024-03-13T23:34:29.469Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:34:29.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:29.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:29.730Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:29.730Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:29.730Z] [2024-03-13T23:34:29.731Z] Login Succeeded [2024-03-13T23:34:29.731Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:34:29.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:29.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:29.731Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:29.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:29.731Z] [2024-03-13T23:34:29.731Z] Login Succeeded [2024-03-13T23:34:29.731Z] ****.io [2024-03-13T23:34:29.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:29.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:29.989Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:29.989Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:29.989Z] [2024-03-13T23:34:29.989Z] Login Succeeded [2024-03-13T23:34:29.989Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:34:30.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-13T23:34:30.790Z] + git rev-list -1 --merges 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd~1..92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [Pipeline] echo [2024-03-13T23:34:30.931Z] -----------> git rev-list -1 --merges 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd~1..92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [false] [Pipeline] sh [2024-03-13T23:34:31.261Z] + git log --format=format:%s -1 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [Pipeline] echo [2024-03-13T23:34:31.302Z] ========================================================= [2024-03-13T23:34:31.302Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-13T23:34:31.302Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:34:31.808Z] + git log --format=format:%s -1 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [Pipeline] echo [2024-03-13T23:34:31.852Z] [semverPrep] GIT_COMMIT: 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd, Commit Message: build(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 [Pipeline] echo [2024-03-13T23:34:31.898Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-13T23:34:32.312Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-13T23:34:32.313Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-13T23:34:32.313Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-13T23:34:32.313Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-13T23:34:32.313Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2024-03-13T23:34:32.313Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-13T23:34:32.313Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:34:32.755Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:34:32.755Z] [2024-03-13T23:34:32.755Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:34:33.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:34:33.423Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-13T23:34:33.423Z] b85a868b505f: Pulling fs layer [2024-03-13T23:34:33.423Z] e2be974225ed: Pulling fs layer [2024-03-13T23:34:33.423Z] 339a4e72a1f5: Pulling fs layer [2024-03-13T23:34:33.423Z] 988bab9f4d93: Pulling fs layer [2024-03-13T23:34:33.423Z] 1469e6f7b9e6: Pulling fs layer [2024-03-13T23:34:33.423Z] eaf3925da568: Pulling fs layer [2024-03-13T23:34:33.423Z] bab4dde63d76: Pulling fs layer [2024-03-13T23:34:33.423Z] bde34c3a00c8: Pulling fs layer [2024-03-13T23:34:33.423Z] b352a97aabf1: Pulling fs layer [2024-03-13T23:34:33.423Z] 4872d77fe225: Pulling fs layer [2024-03-13T23:34:33.423Z] 5851b861e8e6: Pulling fs layer [2024-03-13T23:34:33.423Z] 988bab9f4d93: Waiting [2024-03-13T23:34:33.423Z] eaf3925da568: Waiting [2024-03-13T23:34:33.423Z] bab4dde63d76: Waiting [2024-03-13T23:34:33.423Z] 4872d77fe225: Waiting [2024-03-13T23:34:33.423Z] bde34c3a00c8: Waiting [2024-03-13T23:34:33.423Z] 5851b861e8e6: Waiting [2024-03-13T23:34:33.423Z] e2be974225ed: Verifying Checksum [2024-03-13T23:34:33.423Z] e2be974225ed: Download complete [2024-03-13T23:34:33.423Z] 988bab9f4d93: Download complete [2024-03-13T23:34:33.423Z] 1469e6f7b9e6: Verifying Checksum [2024-03-13T23:34:33.423Z] 1469e6f7b9e6: Download complete [2024-03-13T23:34:33.423Z] eaf3925da568: Download complete [2024-03-13T23:34:33.423Z] 339a4e72a1f5: Verifying Checksum [2024-03-13T23:34:33.423Z] 339a4e72a1f5: Download complete [2024-03-13T23:34:33.682Z] bde34c3a00c8: Verifying Checksum [2024-03-13T23:34:33.682Z] bde34c3a00c8: Download complete [2024-03-13T23:34:33.682Z] b352a97aabf1: Verifying Checksum [2024-03-13T23:34:33.682Z] b352a97aabf1: Download complete [2024-03-13T23:34:33.682Z] 4872d77fe225: Verifying Checksum [2024-03-13T23:34:33.682Z] 4872d77fe225: Download complete [2024-03-13T23:34:33.682Z] 5851b861e8e6: Download complete [2024-03-13T23:34:33.682Z] b85a868b505f: Verifying Checksum [2024-03-13T23:34:33.682Z] b85a868b505f: Download complete [2024-03-13T23:34:33.939Z] bab4dde63d76: Verifying Checksum [2024-03-13T23:34:33.939Z] bab4dde63d76: Download complete [2024-03-13T23:34:34.880Z] b85a868b505f: Pull complete [2024-03-13T23:34:35.450Z] e2be974225ed: Pull complete [2024-03-13T23:34:36.064Z] 339a4e72a1f5: Pull complete [2024-03-13T23:34:36.344Z] 988bab9f4d93: Pull complete [2024-03-13T23:34:36.605Z] 1469e6f7b9e6: Pull complete [2024-03-13T23:34:36.605Z] eaf3925da568: Pull complete [2024-03-13T23:34:38.793Z] bab4dde63d76: Pull complete [2024-03-13T23:34:38.793Z] bde34c3a00c8: Pull complete [2024-03-13T23:34:38.793Z] b352a97aabf1: Pull complete [2024-03-13T23:34:39.061Z] 4872d77fe225: Pull complete [2024-03-13T23:34:39.629Z] 5851b861e8e6: Pull complete [2024-03-13T23:34:39.629Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-13T23:34:39.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:34:39.629Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:34:39.998Z] prd-ubuntu20.04-docker-8c-8g-5568 does not seem to be running inside a container [2024-03-13T23:34:40.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-344 -v /w/workspace/gexfoundry_device-snmp-go_PR-344:/w/workspace/gexfoundry_device-snmp-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-13T23:34:45.528Z] $ docker top 3fa11b2a0ee87f643ad3dd185306b34b3aa881d437cdb0721383122b550752ef -eo pid,comm [2024-03-13T23:34:45.636Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-13T23:34:45.636Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-13T23:34:45.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-13T23:34:45.821Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-13T23:34:45.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-13T23:34:45.971Z] $ docker exec 3fa11b2a0ee87f643ad3dd185306b34b3aa881d437cdb0721383122b550752ef ssh-agent [2024-03-13T23:34:46.070Z] SSH_AUTH_SOCK=/tmp/ssh-GyeY37BfIfw6/agent.32 [2024-03-13T23:34:46.070Z] SSH_AGENT_PID=38 [2024-03-13T23:34:46.076Z] Running ssh-add (command line suppressed) [2024-03-13T23:34:46.181Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-344@tmp/private_key_10598124894203322788.key (/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp/private_key_10598124894203322788.key) [2024-03-13T23:34:46.194Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-13T23:34:46.549Z] + git tag --points-at HEAD [Pipeline] } [2024-03-13T23:34:46.573Z] $ docker exec --env ******** --env ******** 3fa11b2a0ee87f643ad3dd185306b34b3aa881d437cdb0721383122b550752ef ssh-agent -k [2024-03-13T23:34:46.658Z] unset SSH_AUTH_SOCK; [2024-03-13T23:34:46.658Z] unset SSH_AGENT_PID; [2024-03-13T23:34:46.658Z] echo Agent pid 38 killed; [2024-03-13T23:34:46.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-13T23:34:46.802Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-13T23:34:46.802Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-13T23:34:46.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-13T23:34:46.922Z] $ docker exec 3fa11b2a0ee87f643ad3dd185306b34b3aa881d437cdb0721383122b550752ef ssh-agent [2024-03-13T23:34:47.023Z] SSH_AUTH_SOCK=/tmp/ssh-Zz1U1JBtzSsn/agent.69 [2024-03-13T23:34:47.023Z] SSH_AGENT_PID=75 [2024-03-13T23:34:47.026Z] Running ssh-add (command line suppressed) [2024-03-13T23:34:47.152Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-344@tmp/private_key_12627764287257802900.key (/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp/private_key_12627764287257802900.key) [2024-03-13T23:34:47.164Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-13T23:34:47.507Z] + git semver init [2024-03-13T23:34:48.076Z] 2024-03-13 23:34:47,791 [run_init] DEBUG init version:0.0.0 force:False [2024-03-13T23:34:48.076Z] 2024-03-13 23:34:47,793 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-344/.semver [2024-03-13T23:34:48.076Z] 2024-03-13 23:34:47,794 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-344/.semver [2024-03-13T23:34:48.076Z] 2024-03-13 23:34:47,794 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-344/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-344, universal_newlines=False, shell=None, istream=None) [2024-03-13T23:34:49.010Z] 2024-03-13 23:34:48,920 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-344/.git/info/exclude [2024-03-13T23:34:49.010Z] 2024-03-13 23:34:48,921 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-344/.semver/PR-344 with force:False [2024-03-13T23:34:49.010Z] 2024-03-13 23:34:48,921 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-344/.semver/PR-344 [2024-03-13T23:34:49.010Z] 2024-03-13 23:34:48,926 [execute] INFO git cat-file --batch-check [2024-03-13T23:34:49.010Z] 2024-03-13 23:34:48,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) [2024-03-13T23:34:49.010Z] 2024-03-13 23:34:48,956 [execute] INFO git cat-file --batch [2024-03-13T23:34:49.010Z] 2024-03-13 23:34:48,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) [2024-03-13T23:34:49.010Z] 2024-03-13 23:34:48,963 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-344/.semver/PR-344 [2024-03-13T23:34:49.010Z] 0.0.0 [Pipeline] } [2024-03-13T23:34:49.036Z] $ docker exec --env ******** --env ******** 3fa11b2a0ee87f643ad3dd185306b34b3aa881d437cdb0721383122b550752ef ssh-agent -k [2024-03-13T23:34:49.145Z] unset SSH_AUTH_SOCK; [2024-03-13T23:34:49.145Z] unset SSH_AGENT_PID; [2024-03-13T23:34:49.146Z] echo Agent pid 75 killed; [2024-03-13T23:34:49.153Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-13T23:34:49.700Z] + git semver [Pipeline] } [2024-03-13T23:34:49.986Z] $ docker stop --time=1 3fa11b2a0ee87f643ad3dd185306b34b3aa881d437cdb0721383122b550752ef [2024-03-13T23:34:51.858Z] $ docker rm -f --volumes 3fa11b2a0ee87f643ad3dd185306b34b3aa881d437cdb0721383122b550752ef [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:34:52.387Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-13T23:34:52.822Z] Stashed 1 file(s) [Pipeline] echo [2024-03-13T23:34:52.862Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:34:53.858Z] provisioning config files... [2024-03-13T23:34:53.890Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp/config8388141987581344189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:34:54.253Z] ---> ****-login.sh [2024-03-13T23:34:54.253Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:34:54.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:54.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:54.253Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:54.253Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:54.253Z] [2024-03-13T23:34:54.253Z] Login Succeeded [2024-03-13T23:34:54.253Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:34:54.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:54.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:54.253Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:54.253Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:54.253Z] [2024-03-13T23:34:54.253Z] Login Succeeded [2024-03-13T23:34:54.253Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:34:54.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:54.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:54.573Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:54.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:54.574Z] [2024-03-13T23:34:54.574Z] Login Succeeded [2024-03-13T23:34:54.574Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:34:54.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:54.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:54.574Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:54.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:54.574Z] [2024-03-13T23:34:54.574Z] Login Succeeded [2024-03-13T23:34:54.574Z] ****.io [2024-03-13T23:34:54.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:34:54.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:34:54.841Z] Configure a credential helper to remove this warning. See [2024-03-13T23:34:54.841Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:34:54.841Z] [2024-03-13T23:34:54.841Z] Login Succeeded [2024-03-13T23:34:54.841Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:34:54.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-13T23:34:55.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:34:55.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:34:55.438Z] ========================================================= [2024-03-13T23:34:55.438Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-13T23:34:55.438Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:34:56.068Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-13T23:34:56.068Z] Sending build context to Docker daemon 14.13MB [2024-03-13T23:34:56.068Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:34:56.068Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-13T23:34:56.331Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-13T23:34:56.331Z] 7264a8db6415: Pulling fs layer [2024-03-13T23:34:56.331Z] c4d48a809fc2: Pulling fs layer [2024-03-13T23:34:56.331Z] 4f1c88b9dad5: Pulling fs layer [2024-03-13T23:34:56.331Z] ad3a456e5733: Pulling fs layer [2024-03-13T23:34:56.331Z] 69c7f0334f64: Pulling fs layer [2024-03-13T23:34:56.331Z] 1f1c1a5573a3: Pulling fs layer [2024-03-13T23:34:56.331Z] ce7588e14bc9: Pulling fs layer [2024-03-13T23:34:56.331Z] b5e4710f87ac: Pulling fs layer [2024-03-13T23:34:56.331Z] ad3a456e5733: Waiting [2024-03-13T23:34:56.331Z] 69c7f0334f64: Waiting [2024-03-13T23:34:56.331Z] 1f1c1a5573a3: Waiting [2024-03-13T23:34:56.331Z] ce7588e14bc9: Waiting [2024-03-13T23:34:56.331Z] b5e4710f87ac: Waiting [2024-03-13T23:34:56.331Z] c4d48a809fc2: Verifying Checksum [2024-03-13T23:34:56.331Z] c4d48a809fc2: Download complete [2024-03-13T23:34:56.331Z] ad3a456e5733: Verifying Checksum [2024-03-13T23:34:56.331Z] ad3a456e5733: Download complete [2024-03-13T23:34:56.331Z] 69c7f0334f64: Download complete [2024-03-13T23:34:56.331Z] 7264a8db6415: Verifying Checksum [2024-03-13T23:34:56.331Z] 7264a8db6415: Download complete [2024-03-13T23:34:56.331Z] 1f1c1a5573a3: Verifying Checksum [2024-03-13T23:34:56.331Z] 1f1c1a5573a3: Download complete [2024-03-13T23:34:56.922Z] 7264a8db6415: Pull complete [2024-03-13T23:34:56.922Z] b5e4710f87ac: Verifying Checksum [2024-03-13T23:34:56.922Z] b5e4710f87ac: Download complete [2024-03-13T23:34:57.184Z] 4f1c88b9dad5: Verifying Checksum [2024-03-13T23:34:57.184Z] 4f1c88b9dad5: Download complete [2024-03-13T23:34:57.442Z] c4d48a809fc2: Pull complete [2024-03-13T23:34:57.442Z] ce7588e14bc9: Verifying Checksum [2024-03-13T23:34:57.442Z] ce7588e14bc9: Download complete [2024-03-13T23:35:00.737Z] 4f1c88b9dad5: Pull complete [2024-03-13T23:35:01.023Z] ad3a456e5733: Pull complete [2024-03-13T23:35:01.306Z] 69c7f0334f64: Pull complete [2024-03-13T23:35:01.575Z] 1f1c1a5573a3: Pull complete [2024-03-13T23:35:04.926Z] ce7588e14bc9: Pull complete [2024-03-13T23:35:05.492Z] b5e4710f87ac: Pull complete [2024-03-13T23:35:05.492Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-13T23:35:05.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-13T23:35:05.492Z] ---> 88b5674ff536 [2024-03-13T23:35:05.492Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:35:08.606Z] Still waiting to schedule task [2024-03-13T23:35:08.606Z] ‘prd-centos7-blackbox-4c-2g-5310’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:08.606Z] ‘prd-centos7-blackbox-4c-2g-5311’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:08.606Z] ‘prd-ubuntu18.04-docker-8c-8g-5507’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:08.606Z] ‘prd-ubuntu18.04-docker-8c-8g-5508’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:08.606Z] ‘prd-ubuntu18.04-docker-8c-8g-5509’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:08.607Z] ‘prd-ubuntu20.04-docker-8c-8g-5573’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:08.607Z] ‘prd-ubuntu20.04-docker-8c-8g-5574’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:08.607Z] ‘prd-ubuntu20.04-docker-8c-8g-5575’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-13T23:35:08.607Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5576’ is offline [2024-03-13T23:35:08.607Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5578’ is offline [2024-03-13T23:35:20.490Z] ---> Running in 0ad6670ed718 [2024-03-13T23:35:20.490Z] Removing intermediate container 0ad6670ed718 [2024-03-13T23:35:20.490Z] ---> f4d69ed1d520 [2024-03-13T23:35:20.490Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:35:22.096Z] ---> Running in 5dd8bb2ed498 [2024-03-13T23:35:22.096Z] Removing intermediate container 5dd8bb2ed498 [2024-03-13T23:35:22.096Z] ---> 48a72a10fe7d [2024-03-13T23:35:22.096Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:35:22.669Z] ---> Running in 394168e40dfb [2024-03-13T23:35:24.051Z] Removing intermediate container 394168e40dfb [2024-03-13T23:35:24.051Z] ---> cffe2dc31542 [2024-03-13T23:35:24.051Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:35:24.348Z] ---> Running in d0492eee3773 [2024-03-13T23:35:24.924Z] Removing intermediate container d0492eee3773 [2024-03-13T23:35:24.924Z] ---> 460cb71b4322 [2024-03-13T23:35:24.924Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:35:25.206Z] ---> Running in 139562f5376e [2024-03-13T23:35:25.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:35:25.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:35:26.046Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-13T23:35:26.046Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-13T23:35:26.046Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-13T23:35:26.046Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-13T23:35:26.046Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:35:26.046Z] OK: 268 MiB in 56 packages [2024-03-13T23:35:27.477Z] Removing intermediate container 139562f5376e [2024-03-13T23:35:27.477Z] ---> 7c26b5657425 [2024-03-13T23:35:27.477Z] Step 8/12 : WORKDIR /device-snmp-go [2024-03-13T23:35:28.083Z] ---> Running in 5496e2bb1ded [2024-03-13T23:35:28.350Z] Removing intermediate container 5496e2bb1ded [2024-03-13T23:35:28.350Z] ---> f91f7f04aa47 [2024-03-13T23:35:28.350Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-13T23:35:28.610Z] ---> 627772e4273c [2024-03-13T23:35:28.611Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:35:28.611Z] ---> Running in 2909dd8c93d5 [2024-03-13T23:36:24.918Z] Removing intermediate container 2909dd8c93d5 [2024-03-13T23:36:24.918Z] ---> 3bc6ddc841a4 [2024-03-13T23:36:24.918Z] Step 11/12 : COPY . . [2024-03-13T23:36:24.918Z] ---> 0e5198d8ec41 [2024-03-13T23:36:24.918Z] Step 12/12 : RUN ${MAKE} [2024-03-13T23:36:24.918Z] ---> Running in 3b30d910d429 [2024-03-13T23:36:24.918Z] noop [2024-03-13T23:36:24.918Z] Removing intermediate container 3b30d910d429 [2024-03-13T23:36:24.918Z] ---> 15b98c221ddc [2024-03-13T23:36:24.918Z] Successfully built 15b98c221ddc [2024-03-13T23:36:24.918Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:36:25.435Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-13T23:36:25.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:36:25.661Z] prd-ubuntu20.04-docker-8c-8g-5568 does not seem to be running inside a container [2024-03-13T23:36:25.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-344 -v /w/workspace/gexfoundry_device-snmp-go_PR-344:/w/workspace/gexfoundry_device-snmp-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-13T23:36:27.234Z] $ docker top 071cb4519f9b7aca5ffd0f7eaf9e11e7b17683172b8bcdcf8c3ba350aeb397f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:36:27.695Z] + go version [2024-03-13T23:36:27.696Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-13T23:36:27.737Z] $ docker stop --time=1 071cb4519f9b7aca5ffd0f7eaf9e11e7b17683172b8bcdcf8c3ba350aeb397f7 [2024-03-13T23:36:29.023Z] $ docker rm -f --volumes 071cb4519f9b7aca5ffd0f7eaf9e11e7b17683172b8bcdcf8c3ba350aeb397f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:36:30.061Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-13T23:36:30.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:36:30.267Z] prd-ubuntu20.04-docker-8c-8g-5568 does not seem to be running inside a container [2024-03-13T23:36:30.297Z] $ 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-344 -v /w/workspace/gexfoundry_device-snmp-go_PR-344:/w/workspace/gexfoundry_device-snmp-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-13T23:36:30.640Z] $ docker top ebf975e5d46b0f499baf969989718a7dea268f2a7fcad1d415e0092e29f2162a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:36:31.144Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-344 [Pipeline] fileExists [Pipeline] sh [2024-03-13T23:36:31.529Z] + make test [2024-03-13T23:36:31.529Z] go test ./... -coverprofile=coverage.out [2024-03-13T23:36:36.809Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-03-13T23:36:49.033Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-03-13T23:36:49.033Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2024-03-13T23:36:55.585Z] go vet ./... [2024-03-13T23:36:58.115Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-13T23:36:58.115Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-13T23:36:58.115Z] ./bin/test-attribution-txt.sh [2024-03-13T23:36:58.115Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-13T23:36:58.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-13T23:36:58.333Z] $ docker stop --time=1 ebf975e5d46b0f499baf969989718a7dea268f2a7fcad1d415e0092e29f2162a [2024-03-13T23:37:03.984Z] $ docker rm -f --volumes ebf975e5d46b0f499baf969989718a7dea268f2a7fcad1d415e0092e29f2162a [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:37:04.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-13T23:37:07.449Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-13T23:37:31.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-13T23:37:31.487Z] + ls -al . [2024-03-13T23:37:31.487Z] total 172 [2024-03-13T23:37:31.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:36 . [2024-03-13T23:37:31.487Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:34 .. [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 13 23:34 .dockerignore [2024-03-13T23:37:31.487Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:36 .git [2024-03-13T23:37:31.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:34 .github [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 263 Mar 13 23:34 .gitignore [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 23:34 .golangci.yml [2024-03-13T23:37:31.487Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:34 .semver [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 10025 Mar 13 23:34 Attribution.txt [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 11809 Mar 13 23:34 CHANGELOG.md [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 1571 Mar 13 23:34 Dockerfile [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:34 GOVERNANCE.md [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 13 23:34 Jenkinsfile [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 23:34 LICENSE [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 2240 Mar 13 23:34 Makefile [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 23:34 OWNERS.md [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 10477 Mar 13 23:34 README.md [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:34 VERSION [2024-03-13T23:37:31.487Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:34 bin [2024-03-13T23:37:31.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:34 cmd [2024-03-13T23:37:31.487Z] -rw-r--r-- 1 jenkins jenkins 8837 Mar 13 23:36 coverage.out [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 3757 Mar 13 23:34 go.mod [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 35944 Mar 13 23:34 go.sum [2024-03-13T23:37:31.487Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:34 internal [2024-03-13T23:37:31.487Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 13 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:37:31.992Z] + 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=92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd --label arch=amd64 --label version=0.0.0 . [2024-03-13T23:37:31.992Z] Sending build context to Docker daemon 14.14MB [2024-03-13T23:37:31.992Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:37:31.992Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-13T23:37:31.992Z] ---> 15b98c221ddc [2024-03-13T23:37:31.992Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:37:32.252Z] ---> Running in e233101cb135 [2024-03-13T23:37:32.513Z] Removing intermediate container e233101cb135 [2024-03-13T23:37:32.513Z] ---> d580e991e9dd [2024-03-13T23:37:32.513Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:37:32.513Z] ---> Running in b05b5d522ca7 [2024-03-13T23:37:32.513Z] Removing intermediate container b05b5d522ca7 [2024-03-13T23:37:32.513Z] ---> 3d2c632b20f4 [2024-03-13T23:37:32.513Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:37:32.513Z] ---> Running in ea9623bb6958 [2024-03-13T23:37:32.513Z] Removing intermediate container ea9623bb6958 [2024-03-13T23:37:32.513Z] ---> fbb2814f4082 [2024-03-13T23:37:32.513Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:37:32.513Z] ---> Running in 83b24c4140cb [2024-03-13T23:37:32.772Z] Removing intermediate container 83b24c4140cb [2024-03-13T23:37:32.772Z] ---> 2340e48a1fe3 [2024-03-13T23:37:32.772Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:37:32.772Z] ---> Running in 49494821a937 [2024-03-13T23:37:33.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:33.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:37:33.289Z] OK: 268 MiB in 56 packages [2024-03-13T23:37:33.547Z] Removing intermediate container 49494821a937 [2024-03-13T23:37:33.547Z] ---> 199dcf35d17e [2024-03-13T23:37:33.547Z] Step 8/25 : WORKDIR /device-snmp-go [2024-03-13T23:37:33.547Z] ---> Running in 1b57f8c20d0a [2024-03-13T23:37:33.547Z] Removing intermediate container 1b57f8c20d0a [2024-03-13T23:37:33.547Z] ---> 6c9de77d6812 [2024-03-13T23:37:33.547Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-13T23:37:33.808Z] ---> 37919f004452 [2024-03-13T23:37:33.808Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:37:33.808Z] ---> Running in 048fd9f274b7 [2024-03-13T23:37:34.745Z] Removing intermediate container 048fd9f274b7 [2024-03-13T23:37:34.745Z] ---> da996db114a1 [2024-03-13T23:37:34.745Z] Step 11/25 : COPY . . [2024-03-13T23:37:35.363Z] ---> 3e72ac31cb08 [2024-03-13T23:37:35.363Z] Step 12/25 : RUN ${MAKE} [2024-03-13T23:37:35.665Z] ---> Running in 6e47ee4688a5 [2024-03-13T23:37:35.940Z] 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.10" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-03-13T23:38:02.712Z] Removing intermediate container 6e47ee4688a5 [2024-03-13T23:38:02.712Z] ---> f7f16dad88e3 [2024-03-13T23:38:02.712Z] Step 13/25 : FROM alpine:3.18 [2024-03-13T23:38:02.712Z] 3.18: Pulling from library/alpine [2024-03-13T23:38:02.712Z] 619be1103602: Pulling fs layer [2024-03-13T23:38:02.712Z] 619be1103602: Verifying Checksum [2024-03-13T23:38:02.712Z] 619be1103602: Download complete [2024-03-13T23:38:02.712Z] 619be1103602: Pull complete [2024-03-13T23:38:02.712Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-13T23:38:02.712Z] Status: Downloaded newer image for alpine:3.18 [2024-03-13T23:38:02.712Z] ---> d3782b16ccc9 [2024-03-13T23:38:02.712Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-03-13T23:38:02.712Z] ---> Running in 30248b940f95 [2024-03-13T23:38:02.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:38:02.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:38:02.971Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-13T23:38:02.971Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:38:02.971Z] OK: 7 MiB in 16 packages [2024-03-13T23:38:03.228Z] Removing intermediate container 30248b940f95 [2024-03-13T23:38:03.228Z] ---> 445f563130eb [2024-03-13T23:38:03.228Z] Step 15/25 : RUN apk --no-cache upgrade [2024-03-13T23:38:03.228Z] ---> Running in 2d751cca5989 [2024-03-13T23:38:03.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:38:03.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:38:03.751Z] OK: 7 MiB in 16 packages [2024-03-13T23:38:04.317Z] Removing intermediate container 2d751cca5989 [2024-03-13T23:38:04.318Z] ---> aa882f48711a [2024-03-13T23:38:04.318Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-03-13T23:38:04.882Z] ---> 6561ddfbd4e3 [2024-03-13T23:38:04.882Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-03-13T23:38:05.148Z] ---> 44a221cf0669 [2024-03-13T23:38:05.148Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-03-13T23:38:05.406Z] ---> 86845f889d17 [2024-03-13T23:38:05.406Z] Step 19/25 : EXPOSE 59993 [2024-03-13T23:38:05.406Z] ---> Running in 21ce9e8ec31b [2024-03-13T23:38:05.406Z] Removing intermediate container 21ce9e8ec31b [2024-03-13T23:38:05.406Z] ---> 5ad3127b4f31 [2024-03-13T23:38:05.406Z] Step 20/25 : EXPOSE 161 [2024-03-13T23:38:05.406Z] ---> Running in cdd9f13c2b31 [2024-03-13T23:38:05.666Z] Removing intermediate container cdd9f13c2b31 [2024-03-13T23:38:05.666Z] ---> e76f5598c3e8 [2024-03-13T23:38:05.666Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-03-13T23:38:05.666Z] ---> Running in b215f6468437 [2024-03-13T23:38:05.666Z] Removing intermediate container b215f6468437 [2024-03-13T23:38:05.666Z] ---> caed9469b3cb [2024-03-13T23:38:05.666Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-13T23:38:05.666Z] ---> Running in 5267e23e55fe [2024-03-13T23:38:05.666Z] Removing intermediate container 5267e23e55fe [2024-03-13T23:38:05.666Z] ---> 42503853ef56 [2024-03-13T23:38:05.666Z] Step 23/25 : LABEL arch=amd64 [2024-03-13T23:38:05.666Z] ---> Running in f8f0e1003b4e [2024-03-13T23:38:05.924Z] Removing intermediate container f8f0e1003b4e [2024-03-13T23:38:05.924Z] ---> afe01626a80f [2024-03-13T23:38:05.924Z] Step 24/25 : LABEL git_sha=92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [2024-03-13T23:38:05.924Z] ---> Running in f2bd1ab68070 [2024-03-13T23:38:05.924Z] Removing intermediate container f2bd1ab68070 [2024-03-13T23:38:05.924Z] ---> 996a817c142f [2024-03-13T23:38:05.924Z] Step 25/25 : LABEL version=0.0.0 [2024-03-13T23:38:05.924Z] ---> Running in 3325c8acca57 [2024-03-13T23:38:06.184Z] Removing intermediate container 3325c8acca57 [2024-03-13T23:38:06.184Z] ---> 4947177bed15 [2024-03-13T23:38:06.184Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-13T23:38:06.184Z] Successfully built 4947177bed15 [2024-03-13T23:38:06.184Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:38:07.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:38:07.454Z] [2024-03-13T23:38:07.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:38:07.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:38:07.871Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-13T23:38:07.871Z] 5eb5b503b376: Pulling fs layer [2024-03-13T23:38:07.871Z] 5c69ac0246d0: Pulling fs layer [2024-03-13T23:38:07.871Z] ec43610c2a17: Pulling fs layer [2024-03-13T23:38:07.871Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-13T23:38:07.871Z] 33b1e0a273af: Pulling fs layer [2024-03-13T23:38:07.871Z] 5d3b04190fa2: Pulling fs layer [2024-03-13T23:38:07.871Z] 2f39f015ded8: Pulling fs layer [2024-03-13T23:38:07.871Z] 33b1e0a273af: Waiting [2024-03-13T23:38:07.871Z] 5d3b04190fa2: Waiting [2024-03-13T23:38:07.871Z] 2f39f015ded8: Waiting [2024-03-13T23:38:07.871Z] 3a2ae6a8a46f: Waiting [2024-03-13T23:38:07.871Z] 5c69ac0246d0: Verifying Checksum [2024-03-13T23:38:07.871Z] 5c69ac0246d0: Download complete [2024-03-13T23:38:07.871Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-13T23:38:07.871Z] 3a2ae6a8a46f: Download complete [2024-03-13T23:38:07.871Z] 33b1e0a273af: Verifying Checksum [2024-03-13T23:38:07.871Z] 33b1e0a273af: Download complete [2024-03-13T23:38:07.871Z] 5d3b04190fa2: Verifying Checksum [2024-03-13T23:38:07.871Z] 5d3b04190fa2: Download complete [2024-03-13T23:38:07.871Z] ec43610c2a17: Verifying Checksum [2024-03-13T23:38:07.871Z] ec43610c2a17: Download complete [2024-03-13T23:38:08.128Z] 5eb5b503b376: Verifying Checksum [2024-03-13T23:38:08.128Z] 5eb5b503b376: Download complete [2024-03-13T23:38:08.745Z] 2f39f015ded8: Download complete [2024-03-13T23:38:09.717Z] 5eb5b503b376: Pull complete [2024-03-13T23:38:10.284Z] 5c69ac0246d0: Pull complete [2024-03-13T23:38:10.851Z] ec43610c2a17: Pull complete [2024-03-13T23:38:10.862Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5589 in /w/workspace/gexfoundry_device-snmp-go_PR-344 [Pipeline] { [Pipeline] ws [2024-03-13T23:38:10.961Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2024-03-13T23:38:11.111Z] 3a2ae6a8a46f: Pull complete [2024-03-13T23:38:11.690Z] 33b1e0a273af: Pull complete [2024-03-13T23:38:11.971Z] 5d3b04190fa2: Pull complete [2024-03-13T23:38:14.115Z] Selected Git installation does not exist. Using Default [2024-03-13T23:38:14.115Z] The recommended git tool is: NONE [2024-03-13T23:38:16.151Z] 2f39f015ded8: Pull complete [2024-03-13T23:38:16.151Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-13T23:38:16.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:38:16.151Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:38:16.521Z] prd-ubuntu20.04-docker-8c-8g-5568 does not seem to be running inside a container [2024-03-13T23:38:16.556Z] $ 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-344 -v /w/workspace/gexfoundry_device-snmp-go_PR-344:/w/workspace/gexfoundry_device-snmp-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-13T23:38:21.507Z] using credential edgex-jenkins-ssh [2024-03-13T23:38:21.526Z] Cloning the remote Git repository [2024-03-13T23:38:21.580Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2024-03-13T23:38:21.702Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2024-03-13T23:38:21.900Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-03-13T23:38:21.902Z] > git --version # timeout=10 [2024-03-13T23:38:21.935Z] > git --version # 'git version 2.25.1' [2024-03-13T23:38:21.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:38:22.274Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-13T23:38:24.206Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-03-13T23:38:24.249Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-13T23:38:25.076Z] $ docker top a593923a54d6e639592f879b96309f2c5d1c54cf99b5bb013055d7b7618afa43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:38:25.603Z] ---> job-cost.sh [2024-03-13T23:38:25.603Z] lf-activate-venv: SKIPPING [2024-03-13T23:38:25.603Z] INFO: No Stack... [2024-03-13T23:38:25.861Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-13T23:38:25.711Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-03-13T23:38:25.780Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-03-13T23:38:25.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:38:25.808Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-13T23:38:26.119Z] INFO: Archiving Costs [Pipeline] sh [2024-03-13T23:38:26.399Z] Merging remotes/origin/main commit d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 into PR head commit 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [2024-03-13T23:38:26.443Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-344/archives/cost.csv [2024-03-13T23:38:26.443Z] + cut -d, -f6 [Pipeline] lock [2024-03-13T23:38:26.478Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-344-1-stack-cost] [2024-03-13T23:38:26.484Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-344-1-stack-cost] did not exist. Created. [2024-03-13T23:38:26.489Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-13T23:38:26.855Z] Merge succeeded, producing 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [2024-03-13T23:38:26.856Z] Checking out Revision 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd (PR-344) [2024-03-13T23:38:26.949Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-13T23:38:27.003Z] Stashed 1 file(s) [Pipeline] } [2024-03-13T23:38:27.073Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-13T23:38:27.210Z] $ docker stop --time=1 a593923a54d6e639592f879b96309f2c5d1c54cf99b5bb013055d7b7618afa43 [2024-03-13T23:38:26.444Z] > git config core.sparsecheckout # timeout=10 [2024-03-13T23:38:26.561Z] > git checkout -f 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd # timeout=10 [2024-03-13T23:38:26.702Z] > git remote # timeout=10 [2024-03-13T23:38:26.729Z] > git config --get remote.origin.url # timeout=10 [2024-03-13T23:38:26.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:38:26.781Z] > git merge d897dc44ab7b6c3fb8a5af91365bcd11242d3d23 # timeout=10 [2024-03-13T23:38:26.826Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-13T23:38:26.866Z] > git config core.sparsecheckout # timeout=10 [2024-03-13T23:38:26.893Z] > git checkout -f 92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd # timeout=10 [2024-03-13T23:38:28.042Z] Commit message: "build(deps): Bump google.golang.org/protobuf from 1.32.0 to 1.33.0" [2024-03-13T23:38:28.127Z] > git --version # timeout=10 [2024-03-13T23:38:28.144Z] > git --version # 'git version 2.25.1' [2024-03-13T23:38:28.166Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:38:28.447Z] [2024-03-13T23:38:28.447Z] GitHub has been notified of this commit’s build result [2024-03-13T23:38:28.447Z] [2024-03-13T23:38:28.634Z] $ docker rm -f --volumes a593923a54d6e639592f879b96309f2c5d1c54cf99b5bb013055d7b7618afa43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:38:30.181Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-13T23:38:30.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-13T23:38:30.181Z] Dload Upload Total Spent Left Speed [2024-03-13T23:38:30.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 139k 0 --:--:-- --:--:-- --:--:-- 140k [Pipeline] sh [2024-03-13T23:38:30.585Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-13T23:38:30.998Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2024-03-13T23:38:30.998Z] [2024-03-13T23:38:30.998Z] { [2024-03-13T23:38:30.998Z] "registry-mirrors": [ [2024-03-13T23:38:30.998Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-13T23:38:30.998Z] ], [2024-03-13T23:38:30.998Z] "bip": "10.250.0.254/24", [2024-03-13T23:38:30.998Z] "hosts": [ [2024-03-13T23:38:30.998Z] "tcp://0.0.0.0:5555", [2024-03-13T23:38:30.998Z] "unix:///var/run/docker.sock" [2024-03-13T23:38:30.998Z] ], [2024-03-13T23:38:30.998Z] "mtu": 1458, [2024-03-13T23:38:30.998Z] "selinux-enabled": true, [2024-03-13T23:38:30.998Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-13T23:38:30.998Z] } [Pipeline] sh [2024-03-13T23:38:31.419Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-13T23:38:31.815Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:38:50.537Z] provisioning config files... [2024-03-13T23:38:50.603Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7980173466480619856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:38:51.245Z] ---> ****-login.sh [2024-03-13T23:38:51.245Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:38:51.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:52.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:52.144Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:52.144Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:52.144Z] [2024-03-13T23:38:52.144Z] Login Succeeded [2024-03-13T23:38:52.144Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:38:52.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:52.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:52.700Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:52.700Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:52.700Z] [2024-03-13T23:38:52.700Z] Login Succeeded [2024-03-13T23:38:52.700Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:38:52.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:52.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:52.974Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:52.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:52.974Z] [2024-03-13T23:38:52.974Z] Login Succeeded [2024-03-13T23:38:52.974Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:38:53.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:53.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:53.535Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:53.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:53.535Z] [2024-03-13T23:38:53.535Z] Login Succeeded [2024-03-13T23:38:53.535Z] ****.io [2024-03-13T23:38:53.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:38:54.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:38:54.092Z] Configure a credential helper to remove this warning. See [2024-03-13T23:38:54.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:38:54.093Z] [2024-03-13T23:38:54.093Z] Login Succeeded [2024-03-13T23:38:54.093Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:38:54.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-13T23:38:54.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:38:54.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:38:55.035Z] ========================================================= [2024-03-13T23:38:55.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-13T23:38:55.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:38:55.719Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-13T23:38:56.001Z] Sending build context to Docker daemon 7.152MB [2024-03-13T23:38:56.585Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:38:56.585Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-13T23:38:56.585Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-13T23:38:56.585Z] 9fda8d8052c6: Pulling fs layer [2024-03-13T23:38:56.585Z] 5d54e960e981: Pulling fs layer [2024-03-13T23:38:56.585Z] c4a7e357bf2a: Pulling fs layer [2024-03-13T23:38:56.585Z] f0e02332f6b5: Pulling fs layer [2024-03-13T23:38:56.585Z] 872ee5b61b7b: Pulling fs layer [2024-03-13T23:38:56.585Z] 0c6a40ed1a82: Pulling fs layer [2024-03-13T23:38:56.585Z] 94ae7d8d031c: Pulling fs layer [2024-03-13T23:38:56.585Z] 872ee5b61b7b: Waiting [2024-03-13T23:38:56.585Z] 0c6a40ed1a82: Waiting [2024-03-13T23:38:56.585Z] f0e02332f6b5: Waiting [2024-03-13T23:38:56.585Z] 94ae7d8d031c: Waiting [2024-03-13T23:38:56.585Z] 5d54e960e981: Verifying Checksum [2024-03-13T23:38:56.585Z] 5d54e960e981: Download complete [2024-03-13T23:38:56.585Z] f0e02332f6b5: Verifying Checksum [2024-03-13T23:38:56.585Z] f0e02332f6b5: Download complete [2024-03-13T23:38:56.868Z] 872ee5b61b7b: Verifying Checksum [2024-03-13T23:38:56.868Z] 872ee5b61b7b: Download complete [2024-03-13T23:38:57.145Z] 9fda8d8052c6: Download complete [2024-03-13T23:38:57.416Z] 94ae7d8d031c: Verifying Checksum [2024-03-13T23:38:57.416Z] 94ae7d8d031c: Download complete [2024-03-13T23:38:58.394Z] 9fda8d8052c6: Pull complete [2024-03-13T23:38:59.367Z] c4a7e357bf2a: Verifying Checksum [2024-03-13T23:38:59.367Z] c4a7e357bf2a: Download complete [2024-03-13T23:38:59.367Z] 5d54e960e981: Pull complete [2024-03-13T23:39:00.337Z] 0c6a40ed1a82: Verifying Checksum [2024-03-13T23:39:00.337Z] 0c6a40ed1a82: Download complete [2024-03-13T23:39:15.410Z] c4a7e357bf2a: Pull complete [2024-03-13T23:39:15.410Z] f0e02332f6b5: Pull complete [2024-03-13T23:39:15.410Z] 872ee5b61b7b: Pull complete [2024-03-13T23:39:25.892Z] 0c6a40ed1a82: Pull complete [2024-03-13T23:39:27.335Z] 94ae7d8d031c: Pull complete [2024-03-13T23:39:27.335Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-13T23:39:27.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-13T23:39:27.335Z] ---> 86de565de09d [2024-03-13T23:39:27.335Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:39:28.773Z] ---> Running in d0f97e082357 [2024-03-13T23:39:29.376Z] Removing intermediate container d0f97e082357 [2024-03-13T23:39:29.376Z] ---> 98dc028db486 [2024-03-13T23:39:29.376Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:39:29.376Z] ---> Running in dbb1e399e0f2 [2024-03-13T23:39:29.983Z] Removing intermediate container dbb1e399e0f2 [2024-03-13T23:39:29.984Z] ---> 46077886b3e3 [2024-03-13T23:39:29.984Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:39:29.984Z] ---> Running in 2b639f2c51a2 [2024-03-13T23:39:30.642Z] Removing intermediate container 2b639f2c51a2 [2024-03-13T23:39:30.642Z] ---> 34dfc8b16e45 [2024-03-13T23:39:30.642Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:39:30.642Z] ---> Running in 0a99e413c9cf [2024-03-13T23:39:30.921Z] Removing intermediate container 0a99e413c9cf [2024-03-13T23:39:30.921Z] ---> a60376a28d54 [2024-03-13T23:39:30.921Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:39:31.203Z] ---> Running in d716008870c0 [2024-03-13T23:39:33.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:39:33.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:39:35.259Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-13T23:39:35.259Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-13T23:39:35.259Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-13T23:39:35.259Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-13T23:39:35.259Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:39:35.259Z] OK: 271 MiB in 56 packages [2024-03-13T23:39:36.798Z] Removing intermediate container d716008870c0 [2024-03-13T23:39:36.798Z] ---> 047384148425 [2024-03-13T23:39:36.798Z] Step 8/12 : WORKDIR /device-snmp-go [2024-03-13T23:39:37.085Z] ---> Running in 72fe9aa176f8 [2024-03-13T23:39:37.389Z] Removing intermediate container 72fe9aa176f8 [2024-03-13T23:39:37.389Z] ---> 23b8d47da402 [2024-03-13T23:39:37.389Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-13T23:39:38.414Z] ---> c2381af32375 [2024-03-13T23:39:38.414Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:39:38.414Z] ---> Running in 97e88b11e41f [2024-03-13T23:41:02.427Z] Removing intermediate container 97e88b11e41f [2024-03-13T23:41:02.427Z] ---> 469a145719f1 [2024-03-13T23:41:02.427Z] Step 11/12 : COPY . . [2024-03-13T23:41:02.427Z] ---> e36ad082af6e [2024-03-13T23:41:02.427Z] Step 12/12 : RUN ${MAKE} [2024-03-13T23:41:02.427Z] ---> Running in b03d05424950 [2024-03-13T23:41:02.427Z] noop [2024-03-13T23:41:02.427Z] Removing intermediate container b03d05424950 [2024-03-13T23:41:02.427Z] ---> 74a9f7fe8534 [2024-03-13T23:41:02.427Z] Successfully built 74a9f7fe8534 [2024-03-13T23:41:02.427Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:41:03.076Z] + docker inspect -f . ci-base-image-arm64 [2024-03-13T23:41:03.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:41:03.463Z] prd-ubuntu20.04-docker-arm64-4c-16g-5589 does not seem to be running inside a container [2024-03-13T23:41:03.558Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-03-13T23:41:04.959Z] $ docker top 323f5414687192aa4feb09418175a5c430c794bda16b92f1a66d6102ba0003db -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:41:05.981Z] + go version [2024-03-13T23:41:05.981Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-13T23:41:06.027Z] $ docker stop --time=1 323f5414687192aa4feb09418175a5c430c794bda16b92f1a66d6102ba0003db [2024-03-13T23:41:07.755Z] $ docker rm -f --volumes 323f5414687192aa4feb09418175a5c430c794bda16b92f1a66d6102ba0003db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:41:09.045Z] + docker inspect -f . ci-base-image-arm64 [2024-03-13T23:41:09.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:41:09.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-5589 does not seem to be running inside a container [2024-03-13T23:41:09.513Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2024-03-13T23:41:10.862Z] $ docker top a017c91db512aa4fa6bac605f5daf611fd2c95f992474c8f5f5f063690e5b60b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:41:11.888Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-13T23:41:12.723Z] + make test [2024-03-13T23:41:12.723Z] go test ./... -coverprofile=coverage.out [2024-03-13T23:41:17.040Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-03-13T23:43:38.860Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-03-13T23:43:38.860Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements [2024-03-13T23:43:38.860Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-13T23:43:38.860Z] go vet ./... [2024-03-13T23:43:54.053Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-13T23:43:54.053Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-13T23:43:54.053Z] ./bin/test-attribution-txt.sh [2024-03-13T23:43:54.322Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-13T23:43:54.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-13T23:43:54.443Z] $ docker stop --time=1 a017c91db512aa4fa6bac605f5daf611fd2c95f992474c8f5f5f063690e5b60b [2024-03-13T23:43:56.554Z] $ docker rm -f --volumes a017c91db512aa4fa6bac605f5daf611fd2c95f992474c8f5f5f063690e5b60b [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:43:58.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-13T23:43:58.218Z] Warning: overwriting stash ‘coverage-report’ [2024-03-13T23:43:58.920Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:43:59.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-13T23:44:00.190Z] + ls -al . [2024-03-13T23:44:00.190Z] total 168 [2024-03-13T23:44:00.190Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 13 23:41 . [2024-03-13T23:44:00.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:38 .. [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 13 23:38 .dockerignore [2024-03-13T23:44:00.190Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:38 .git [2024-03-13T23:44:00.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:38 .github [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 263 Mar 13 23:38 .gitignore [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 23:38 .golangci.yml [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 10025 Mar 13 23:38 Attribution.txt [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 11809 Mar 13 23:38 CHANGELOG.md [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 1571 Mar 13 23:38 Dockerfile [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:38 GOVERNANCE.md [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 13 23:38 Jenkinsfile [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 23:38 LICENSE [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 2240 Mar 13 23:38 Makefile [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 13 23:38 OWNERS.md [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 10477 Mar 13 23:38 README.md [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:34 VERSION [2024-03-13T23:44:00.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:38 bin [2024-03-13T23:44:00.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:38 cmd [2024-03-13T23:44:00.190Z] -rw-r--r-- 1 jenkins jenkins 8837 Mar 13 23:43 coverage.out [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 3757 Mar 13 23:38 go.mod [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 35944 Mar 13 23:38 go.sum [2024-03-13T23:44:00.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:38 internal [2024-03-13T23:44:00.190Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 13 23:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:44:00.731Z] + 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=92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd --label arch=arm64 --label version=0.0.0 . [2024-03-13T23:44:01.331Z] Sending build context to Docker daemon 7.162MB [2024-03-13T23:44:01.331Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:44:01.331Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-13T23:44:01.331Z] ---> 74a9f7fe8534 [2024-03-13T23:44:01.331Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-13T23:44:01.611Z] ---> Running in 8b3421a13e09 [2024-03-13T23:44:01.893Z] Removing intermediate container 8b3421a13e09 [2024-03-13T23:44:01.893Z] ---> c86d31fd7e16 [2024-03-13T23:44:01.893Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-13T23:44:02.170Z] ---> Running in 069b055a5d8b [2024-03-13T23:44:02.446Z] Removing intermediate container 069b055a5d8b [2024-03-13T23:44:02.446Z] ---> ef0acb882d01 [2024-03-13T23:44:02.446Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-13T23:44:02.724Z] ---> Running in 92a1dc239082 [2024-03-13T23:44:03.006Z] Removing intermediate container 92a1dc239082 [2024-03-13T23:44:03.006Z] ---> db4a38760fd7 [2024-03-13T23:44:03.006Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-13T23:44:03.279Z] ---> Running in 059b5f5fa519 [2024-03-13T23:44:03.552Z] Removing intermediate container 059b5f5fa519 [2024-03-13T23:44:03.552Z] ---> 6b7807377fb9 [2024-03-13T23:44:03.552Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-13T23:44:03.823Z] ---> Running in 18310f06a9a1 [2024-03-13T23:44:05.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:44:05.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:44:06.975Z] OK: 271 MiB in 56 packages [2024-03-13T23:44:07.951Z] Removing intermediate container 18310f06a9a1 [2024-03-13T23:44:07.951Z] ---> 3eda5a6c8103 [2024-03-13T23:44:07.951Z] Step 8/25 : WORKDIR /device-snmp-go [2024-03-13T23:44:07.951Z] ---> Running in 108da412ce2a [2024-03-13T23:44:08.538Z] Removing intermediate container 108da412ce2a [2024-03-13T23:44:08.538Z] ---> 7efeb37b665e [2024-03-13T23:44:08.538Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-13T23:44:09.136Z] ---> 878a50440cb8 [2024-03-13T23:44:09.136Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:44:09.136Z] ---> Running in a40c1ff1c674 [2024-03-13T23:44:11.739Z] Removing intermediate container a40c1ff1c674 [2024-03-13T23:44:11.739Z] ---> 58f19f1dc91b [2024-03-13T23:44:11.739Z] Step 11/25 : COPY . . [2024-03-13T23:44:12.709Z] ---> e6374514c156 [2024-03-13T23:44:12.709Z] Step 12/25 : RUN ${MAKE} [2024-03-13T23:44:12.709Z] ---> Running in 1f02df1ef7b7 [2024-03-13T23:44:13.675Z] 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.10" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-03-13T23:46:35.453Z] Removing intermediate container 1f02df1ef7b7 [2024-03-13T23:46:35.453Z] ---> 7ac1fe893a94 [2024-03-13T23:46:35.453Z] Step 13/25 : FROM alpine:3.18 [2024-03-13T23:46:35.453Z] 3.18: Pulling from library/alpine [2024-03-13T23:46:35.453Z] c6b39de5b339: Pulling fs layer [2024-03-13T23:46:35.453Z] c6b39de5b339: Verifying Checksum [2024-03-13T23:46:35.453Z] c6b39de5b339: Download complete [2024-03-13T23:46:35.453Z] c6b39de5b339: Pull complete [2024-03-13T23:46:35.453Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-13T23:46:35.453Z] Status: Downloaded newer image for alpine:3.18 [2024-03-13T23:46:35.453Z] ---> 33abbf032149 [2024-03-13T23:46:35.453Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-03-13T23:46:35.453Z] ---> Running in 35c6aa0dd389 [2024-03-13T23:46:35.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:35.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:35.730Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-13T23:46:35.730Z] Executing busybox-1.36.1-r5.trigger [2024-03-13T23:46:35.730Z] OK: 8 MiB in 16 packages [2024-03-13T23:46:36.730Z] Removing intermediate container 35c6aa0dd389 [2024-03-13T23:46:36.730Z] ---> a5e9374925d4 [2024-03-13T23:46:36.730Z] Step 15/25 : RUN apk --no-cache upgrade [2024-03-13T23:46:36.730Z] ---> Running in c5805575e294 [2024-03-13T23:46:38.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:38.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:39.440Z] OK: 8 MiB in 16 packages [2024-03-13T23:46:40.956Z] Removing intermediate container c5805575e294 [2024-03-13T23:46:40.956Z] ---> a856c6039ea8 [2024-03-13T23:46:40.956Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-03-13T23:46:42.410Z] ---> ebde0e3f45f0 [2024-03-13T23:46:42.410Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-03-13T23:46:43.396Z] ---> 59a9dc98437e [2024-03-13T23:46:43.396Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-03-13T23:46:44.003Z] ---> edcc288780cc [2024-03-13T23:46:44.003Z] Step 19/25 : EXPOSE 59993 [2024-03-13T23:46:44.003Z] ---> Running in 15bfca0d4976 [2024-03-13T23:46:44.276Z] Removing intermediate container 15bfca0d4976 [2024-03-13T23:46:44.276Z] ---> ab2ac935a7d4 [2024-03-13T23:46:44.276Z] Step 20/25 : EXPOSE 161 [2024-03-13T23:46:44.547Z] ---> Running in 0029003c19fb [2024-03-13T23:46:45.833Z] Removing intermediate container 0029003c19fb [2024-03-13T23:46:45.833Z] ---> 2ed236a062a7 [2024-03-13T23:46:45.833Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-03-13T23:46:45.833Z] ---> Running in 77fd0181adf2 [2024-03-13T23:46:45.833Z] Removing intermediate container 77fd0181adf2 [2024-03-13T23:46:45.833Z] ---> da0c30a8f3dd [2024-03-13T23:46:45.833Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-13T23:46:45.833Z] ---> Running in 70f45afdfb55 [2024-03-13T23:46:45.833Z] Removing intermediate container 70f45afdfb55 [2024-03-13T23:46:45.833Z] ---> 105dce33e35b [2024-03-13T23:46:45.833Z] Step 23/25 : LABEL arch=arm64 [2024-03-13T23:46:45.833Z] ---> Running in 3e90ba0449ff [2024-03-13T23:46:46.110Z] Removing intermediate container 3e90ba0449ff [2024-03-13T23:46:46.110Z] ---> 5c3b22e01802 [2024-03-13T23:46:46.110Z] Step 24/25 : LABEL git_sha=92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [2024-03-13T23:46:46.385Z] ---> Running in 72c245739342 [2024-03-13T23:46:46.655Z] Removing intermediate container 72c245739342 [2024-03-13T23:46:46.655Z] ---> fe39bdf6425c [2024-03-13T23:46:46.655Z] Step 25/25 : LABEL version=0.0.0 [2024-03-13T23:46:46.655Z] ---> Running in d28f52c18472 [2024-03-13T23:46:46.928Z] Removing intermediate container d28f52c18472 [2024-03-13T23:46:46.928Z] ---> 2b7a28a3246a [2024-03-13T23:46:46.928Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-13T23:46:46.928Z] Successfully built 2b7a28a3246a [2024-03-13T23:46:46.928Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:46:48.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:46:48.341Z] [2024-03-13T23:46:48.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:46:48.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:46:49.149Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-13T23:46:49.149Z] 8998bd30e6a1: Pulling fs layer [2024-03-13T23:46:49.149Z] 04944245beec: Pulling fs layer [2024-03-13T23:46:49.149Z] 699f458cf7ca: Pulling fs layer [2024-03-13T23:46:49.149Z] 765212b225bb: Pulling fs layer [2024-03-13T23:46:49.149Z] f23df028b6ca: Pulling fs layer [2024-03-13T23:46:49.149Z] d65c8cfc05b1: Pulling fs layer [2024-03-13T23:46:49.149Z] 2437ff75d9bd: Pulling fs layer [2024-03-13T23:46:49.149Z] 765212b225bb: Waiting [2024-03-13T23:46:49.149Z] f23df028b6ca: Waiting [2024-03-13T23:46:49.149Z] d65c8cfc05b1: Waiting [2024-03-13T23:46:49.149Z] 2437ff75d9bd: Waiting [2024-03-13T23:46:49.149Z] 04944245beec: Verifying Checksum [2024-03-13T23:46:49.149Z] 04944245beec: Download complete [2024-03-13T23:46:49.149Z] 765212b225bb: Verifying Checksum [2024-03-13T23:46:49.149Z] 765212b225bb: Download complete [2024-03-13T23:46:49.431Z] f23df028b6ca: Verifying Checksum [2024-03-13T23:46:49.431Z] f23df028b6ca: Download complete [2024-03-13T23:46:49.431Z] d65c8cfc05b1: Download complete [2024-03-13T23:46:49.431Z] 699f458cf7ca: Verifying Checksum [2024-03-13T23:46:49.431Z] 699f458cf7ca: Download complete [2024-03-13T23:46:56.683Z] 2437ff75d9bd: Verifying Checksum [2024-03-13T23:46:56.683Z] 2437ff75d9bd: Download complete [2024-03-13T23:47:06.817Z] 8998bd30e6a1: Download complete [2024-03-13T23:47:11.111Z] 8998bd30e6a1: Pull complete [2024-03-13T23:47:11.383Z] 04944245beec: Pull complete [2024-03-13T23:47:13.353Z] 699f458cf7ca: Pull complete [2024-03-13T23:47:13.625Z] 765212b225bb: Pull complete [2024-03-13T23:47:14.603Z] f23df028b6ca: Pull complete [2024-03-13T23:47:14.876Z] d65c8cfc05b1: Pull complete [2024-03-13T23:47:33.137Z] 2437ff75d9bd: Pull complete [2024-03-13T23:47:33.137Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-13T23:47:33.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:47:33.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:47:33.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-5589 does not seem to be running inside a container [2024-03-13T23:47:33.850Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-13T23:47:37.428Z] $ docker top 73e16c16423bd677faf8d2b50e780e1105834682533a0b261189f05257171703 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:38.532Z] ---> job-cost.sh [2024-03-13T23:47:38.806Z] lf-activate-venv: SKIPPING [2024-03-13T23:47:38.806Z] INFO: No Stack... [2024-03-13T23:47:39.118Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-13T23:47:40.108Z] INFO: Archiving Costs [Pipeline] sh [2024-03-13T23:47:40.872Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2024-03-13T23:47:40.872Z] + cut -d, -f6 [Pipeline] lock [2024-03-13T23:47:40.952Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-344-1-stack-cost] [2024-03-13T23:47:40.958Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-344-1-stack-cost] did not exist. Created. [2024-03-13T23:47:40.962Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-13T23:47:41.840Z] /w/workspace/device-snmp-go/1@tmp/durable-8900113f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-13T23:47:42.613Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-13T23:47:42.649Z] Warning: overwriting stash ‘stack-cost’ [2024-03-13T23:47:42.712Z] Stashed 1 file(s) [Pipeline] } [2024-03-13T23:47:42.746Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-13T23:47:42.944Z] $ docker stop --time=1 73e16c16423bd677faf8d2b50e780e1105834682533a0b261189f05257171703 [2024-03-13T23:47:44.666Z] $ docker rm -f --volumes 73e16c16423bd677faf8d2b50e780e1105834682533a0b261189f05257171703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-03-13T23:47:46.843Z] provisioning config files... [2024-03-13T23:47:46.852Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp/config9742127611576356028tmp [Pipeline] { [Pipeline] sh [2024-03-13T23:47:47.319Z] + set +x [2024-03-13T23:47:47.320Z] + bash -s -- [2024-03-13T23:47:47.320Z] + curl -s https://codecov.io/bash [2024-03-13T23:47:47.320Z] [2024-03-13T23:47:47.320Z] _____ _ [2024-03-13T23:47:47.320Z] / ____| | | [2024-03-13T23:47:47.320Z] | | ___ __| | ___ ___ _____ __ [2024-03-13T23:47:47.320Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-13T23:47:47.320Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-13T23:47:47.320Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-13T23:47:47.320Z] Bash-1.0.6 [2024-03-13T23:47:47.320Z] [2024-03-13T23:47:47.320Z] [2024-03-13T23:47:47.320Z] ==> git version 2.25.1 found [2024-03-13T23:47:47.320Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-03-13T23:47:47.320Z] Release-Date: 2020-01-08 [2024-03-13T23:47:47.320Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-13T23:47:47.320Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-13T23:47:47.320Z] ==> Jenkins CI detected. [2024-03-13T23:47:47.320Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-344 [2024-03-13T23:47:47.320Z] project root: . [2024-03-13T23:47:47.320Z] --> token set from env [2024-03-13T23:47:47.320Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-13T23:47:47.320Z] ==> Running gcov in . (disable via -X gcov) [2024-03-13T23:47:47.320Z] ==> Python coveragepy not found [2024-03-13T23:47:47.320Z] ==> Searching for coverage reports in: [2024-03-13T23:47:47.320Z] + . [2024-03-13T23:47:47.320Z] -> Found 1 reports [2024-03-13T23:47:47.320Z] ==> Detecting git/mercurial file structure [2024-03-13T23:47:47.320Z] ==> Reading reports [2024-03-13T23:47:47.320Z] + ./coverage.out bytes=8837 [2024-03-13T23:47:47.580Z] ==> Appending adjustments [2024-03-13T23:47:47.580Z] https://docs.codecov.io/docs/fixing-reports [2024-03-13T23:47:47.580Z] + Found adjustments [2024-03-13T23:47:47.580Z] ==> Gzipping contents [2024-03-13T23:47:47.580Z] 4.0K /tmp/codecov.47QWi2.gz [2024-03-13T23:47:47.580Z] ==> Uploading reports [2024-03-13T23:47:47.580Z] url: https://codecov.io [2024-03-13T23:47:47.580Z] query: branch=PR-344&commit=92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=344&job=&cmd_args= [2024-03-13T23:47:47.580Z] -> Pinging Codecov [2024-03-13T23:47:47.580Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-344&commit=92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=344&job=&cmd_args= [2024-03-13T23:47:47.842Z] -> Uploading to [2024-03-13T23:47:47.842Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-13/6C56EA5C29638FB4528AC87E60AF5AE0/92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd/bd3ec322-1449-4c45-af46-2417328d7054.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240313T234747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d148736e2d2d05d3ac4b343f2e5025eafe107cd6550209be47928188bdf8de4 [2024-03-13T23:47:47.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-13T23:47:47.842Z] Dload Upload Total Spent Left Speed [2024-03-13T23:47:48.101Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5394 --:--:-- --:--:-- --:--:-- 5394 [2024-03-13T23:47:48.101Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/92a7d336db5b9b199f2bdd8e0ffcc078c12d26cd [Pipeline] } [2024-03-13T23:47:48.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-13T23:47:51.333Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-344/archives ] [2024-03-13T23:47:51.333Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-344/archives [2024-03-13T23:47:51.333Z] total 16 [2024-03-13T23:47:51.333Z] drwxr-xr-x 3 root root 4096 Mar 13 23:38 . [2024-03-13T23:47:51.333Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 23:38 .. [2024-03-13T23:47:51.333Z] drwxr-xr-x 2 root root 4096 Mar 13 23:38 cost [2024-03-13T23:47:51.333Z] -rw-r--r-- 1 root root 86 Mar 13 23:38 cost.csv [2024-03-13T23:47:51.333Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-344/archives [2024-03-13T23:47:51.333Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-344/archives [2024-03-13T23:47:51.333Z] total 16 [2024-03-13T23:47:51.333Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:38 . [2024-03-13T23:47:51.333Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 23:38 .. [2024-03-13T23:47:51.333Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 23:38 cost [2024-03-13T23:47:51.333Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 23:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:51.662Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:52.559Z] ---> package-listing.sh [2024-03-13T23:47:52.559Z] ++ facter osfamily [2024-03-13T23:47:52.559Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-13T23:47:52.818Z] + OS_FAMILY=debian [2024-03-13T23:47:52.818Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-344 [2024-03-13T23:47:52.818Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-13T23:47:52.818Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-13T23:47:52.818Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-13T23:47:52.818Z] + PACKAGES=/tmp/packages_start.txt [2024-03-13T23:47:52.818Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-344 ']' [2024-03-13T23:47:52.818Z] + PACKAGES=/tmp/packages_end.txt [2024-03-13T23:47:52.818Z] + case "${OS_FAMILY}" in [2024-03-13T23:47:52.818Z] + dpkg -l [2024-03-13T23:47:52.818Z] + grep '^ii' [2024-03-13T23:47:52.818Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-13T23:47:52.818Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-13T23:47:52.818Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-13T23:47:52.818Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-344 ']' [2024-03-13T23:47:52.818Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-344/archives/ [2024-03-13T23:47:52.818Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-344/archives/ [Pipeline] echo [2024-03-13T23:47:52.857Z] 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-344/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-13T23:47:53.159Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:47:53.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:47:53.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:47:54.155Z] prd-ubuntu20.04-docker-8c-8g-5568 does not seem to be running inside a container [2024-03-13T23:47:54.189Z] $ 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-344/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-344 -v /w/workspace/gexfoundry_device-snmp-go_PR-344:/w/workspace/gexfoundry_device-snmp-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-13T23:47:54.375Z] $ docker top 0ff4e3e65279541f90688f5813d51ae3063e7c902c374bf71c4094a9d5767c3f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:47:54.868Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-13T23:47:55.269Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-13T23:47:55.584Z] + ls /var/log/sa-host [2024-03-13T23:47:55.584Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:47:55.781Z] provisioning config files... [2024-03-13T23:47:55.791Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-344@tmp/config16416012797439168160tmp [Pipeline] { [Pipeline] echo [2024-03-13T23:47:55.944Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:56.262Z] ---> create-netrc.sh [Pipeline] } [2024-03-13T23:47:56.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:56.804Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-13T23:47:56.834Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:57.145Z] ---> sudo-logs.sh [2024-03-13T23:47:57.145Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-13T23:47:57.297Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:57.608Z] ---> job-cost.sh [2024-03-13T23:47:57.608Z] lf-activate-venv: SKIPPING [2024-03-13T23:47:57.608Z] DEBUG: total: 0.2199999988079071 [2024-03-13T23:47:57.608Z] INFO: Retrieving Stack Cost... [2024-03-13T23:47:57.869Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-13T23:47:58.128Z] INFO: Archiving Costs [Pipeline] echo [2024-03-13T23:47:58.167Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:47:58.473Z] ---> logs-deploy.sh [2024-03-13T23:47:58.473Z] lf-activate-venv: SKIPPING [2024-03-13T23:47:58.473Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-344/1 [2024-03-13T23:47:58.473Z] INFO: archiving workspace using pattern(s): [2024-03-13T23:47:59.419Z] Archives upload complete. [2024-03-13T23:47:59.419Z] INFO: archiving logs to Nexus