Pull request #342 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4f0b9d9b098db3889db55a0c696048b42859bf9+bf06fbc5d59e17dbd9bd9bfb78a812e5d4ef91be (22c046fed1efd8e78a78df89d985b78c021e1494) 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-ssh12649210119579380739.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-ssh13998633879649141011.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-342/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-342/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15339001873779724005.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-342/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3856511866761800961.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-ssh11344366937108493072.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-342/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-342/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2366659308608637853.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-2059’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5114’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5124 in /w/workspace/gexfoundry_device-snmp-go_PR-342 [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-342 # 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 bf06fbc5d59e17dbd9bd9bfb78a812e5d4ef91be into PR head commit c4f0b9d9b098db3889db55a0c696048b42859bf9 Merge succeeded, producing c4f0b9d9b098db3889db55a0c696048b42859bf9 Checking out Revision c4f0b9d9b098db3889db55a0c696048b42859bf9 (PR-342) Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3" 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/342/head:refs/remotes/origin/PR-342 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4f0b9d9b098db3889db55a0c696048b42859bf9 # 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 bf06fbc5d59e17dbd9bd9bfb78a812e5d4ef91be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4f0b9d9b098db3889db55a0c696048b42859bf9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-07T23:03:19.969Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-07T23:03:20.169Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-07T23:03:20.272Z] ========================================================= [2024-03-07T23:03:20.272Z] EdgeX Global Pipelines Version Info [2024-03-07T23:03:20.272Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:03:21.029Z] ------------------- [2024-03-07T23:03:21.029Z] stable info: [2024-03-07T23:03:21.029Z] ------------------- [2024-03-07T23:03:21.029Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-07T23:03:21.029Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-07T23:03:21.029Z] Message: update stable to v1.0.258 [2024-03-07T23:03:21.964Z] ------------------- [2024-03-07T23:03:21.964Z] experimental info: [2024-03-07T23:03:21.964Z] ------------------- [2024-03-07T23:03:21.964Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-07T23:03:21.964Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-07T23:03:21.964Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-07T23:03:22.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2024-03-07T23:03:22.225Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2024-03-07T23:03:22.285Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-07T23:03:22.348Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-07T23:03:22.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-07T23:03:22.466Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-07T23:03:22.520Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-07T23:03:22.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-07T23:03:22.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-07T23:03:22.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-07T23:03:22.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-07T23:03:22.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2024-03-07T23:03:22.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-07T23:03:22.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-07T23:03:23.023Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-07T23:03:23.166Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-07T23:03:23.235Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-07T23:03:23.313Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-07T23:03:23.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-07T23:03:23.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-07T23:03:23.506Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-07T23:03:23.573Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-07T23:03:23.652Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-07T23:03:23.710Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-07T23:03:23.792Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-07T23:03:23.865Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-07T23:03:23.950Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-07T23:03:24.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-342 [Pipeline] echo [2024-03-07T23:03:24.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-342 [Pipeline] echo [2024-03-07T23:03:24.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-342 [Pipeline] echo [2024-03-07T23:03:24.277Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4f0b9d9b098db3889db55a0c696048b42859bf9 [Pipeline] echo [2024-03-07T23:03:24.372Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4f0b9d [Pipeline] echo [2024-03-07T23:03:24.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-07T23:03:24.757Z] provisioning config files... [2024-03-07T23:03:24.771Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-342@tmp/config13135805636301184807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:03:25.225Z] ---> ****-login.sh [2024-03-07T23:03:25.225Z] nexus3.edgexfoundry.org:10001 [2024-03-07T23:03:25.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:25.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:25.488Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:25.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:25.488Z] [2024-03-07T23:03:25.488Z] Login Succeeded [2024-03-07T23:03:25.488Z] nexus3.edgexfoundry.org:10002 [2024-03-07T23:03:25.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:25.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:25.488Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:25.488Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:25.488Z] [2024-03-07T23:03:25.488Z] Login Succeeded [2024-03-07T23:03:25.488Z] nexus3.edgexfoundry.org:10003 [2024-03-07T23:03:25.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:25.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:25.752Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:25.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:25.752Z] [2024-03-07T23:03:25.752Z] Login Succeeded [2024-03-07T23:03:25.752Z] nexus3.edgexfoundry.org:10004 [2024-03-07T23:03:25.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:25.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:25.752Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:25.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:25.752Z] [2024-03-07T23:03:25.752Z] Login Succeeded [2024-03-07T23:03:25.752Z] ****.io [2024-03-07T23:03:26.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:26.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:26.282Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:26.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:26.282Z] [2024-03-07T23:03:26.282Z] Login Succeeded [2024-03-07T23:03:26.282Z] ---> ****-login.sh ends [Pipeline] } [2024-03-07T23:03:26.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-07T23:03:27.120Z] + git rev-list -1 --merges c4f0b9d9b098db3889db55a0c696048b42859bf9~1..c4f0b9d9b098db3889db55a0c696048b42859bf9 [Pipeline] echo [2024-03-07T23:03:27.161Z] -----------> git rev-list -1 --merges c4f0b9d9b098db3889db55a0c696048b42859bf9~1..c4f0b9d9b098db3889db55a0c696048b42859bf9 c4f0b9d9b098db3889db55a0c696048b42859bf9 [false] [Pipeline] sh [2024-03-07T23:03:27.496Z] + git log --format=format:%s -1 c4f0b9d9b098db3889db55a0c696048b42859bf9 [Pipeline] echo [2024-03-07T23:03:27.533Z] ========================================================= [2024-03-07T23:03:27.534Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-07T23:03:27.534Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-07T23:03:28.052Z] + git log --format=format:%s -1 c4f0b9d9b098db3889db55a0c696048b42859bf9 [Pipeline] echo [2024-03-07T23:03:28.086Z] [semverPrep] GIT_COMMIT: c4f0b9d9b098db3889db55a0c696048b42859bf9, Commit Message: build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 [Pipeline] echo [2024-03-07T23:03:28.135Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-07T23:03:28.543Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-07T23:03:28.543Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-07T23:03:28.543Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-07T23:03:28.543Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-07T23:03:28.543Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-07T23:03:28.543Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-07T23:03:28.543Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:03:29.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-07T23:03:29.034Z] [2024-03-07T23:03:29.034Z] 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-07T23:03:29.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-07T23:03:29.459Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-07T23:03:29.459Z] b85a868b505f: Pulling fs layer [2024-03-07T23:03:29.459Z] e2be974225ed: Pulling fs layer [2024-03-07T23:03:29.459Z] 339a4e72a1f5: Pulling fs layer [2024-03-07T23:03:29.459Z] 988bab9f4d93: Pulling fs layer [2024-03-07T23:03:29.459Z] 1469e6f7b9e6: Pulling fs layer [2024-03-07T23:03:29.459Z] eaf3925da568: Pulling fs layer [2024-03-07T23:03:29.459Z] bab4dde63d76: Pulling fs layer [2024-03-07T23:03:29.459Z] bde34c3a00c8: Pulling fs layer [2024-03-07T23:03:29.459Z] b352a97aabf1: Pulling fs layer [2024-03-07T23:03:29.459Z] 4872d77fe225: Pulling fs layer [2024-03-07T23:03:29.459Z] 5851b861e8e6: Pulling fs layer [2024-03-07T23:03:29.459Z] bab4dde63d76: Waiting [2024-03-07T23:03:29.459Z] b352a97aabf1: Waiting [2024-03-07T23:03:29.459Z] eaf3925da568: Waiting [2024-03-07T23:03:29.459Z] 1469e6f7b9e6: Waiting [2024-03-07T23:03:29.459Z] 4872d77fe225: Waiting [2024-03-07T23:03:29.459Z] 5851b861e8e6: Waiting [2024-03-07T23:03:29.459Z] 988bab9f4d93: Waiting [2024-03-07T23:03:29.459Z] bde34c3a00c8: Waiting [2024-03-07T23:03:29.459Z] e2be974225ed: Verifying Checksum [2024-03-07T23:03:29.459Z] e2be974225ed: Download complete [2024-03-07T23:03:29.459Z] 988bab9f4d93: Verifying Checksum [2024-03-07T23:03:29.459Z] 988bab9f4d93: Download complete [2024-03-07T23:03:29.459Z] 339a4e72a1f5: Verifying Checksum [2024-03-07T23:03:29.459Z] 339a4e72a1f5: Download complete [2024-03-07T23:03:29.459Z] 1469e6f7b9e6: Verifying Checksum [2024-03-07T23:03:29.459Z] 1469e6f7b9e6: Download complete [2024-03-07T23:03:29.459Z] eaf3925da568: Verifying Checksum [2024-03-07T23:03:29.459Z] eaf3925da568: Download complete [2024-03-07T23:03:29.459Z] bde34c3a00c8: Download complete [2024-03-07T23:03:29.719Z] b352a97aabf1: Verifying Checksum [2024-03-07T23:03:29.719Z] b352a97aabf1: Download complete [2024-03-07T23:03:29.719Z] 4872d77fe225: Verifying Checksum [2024-03-07T23:03:29.719Z] 4872d77fe225: Download complete [2024-03-07T23:03:29.719Z] 5851b861e8e6: Verifying Checksum [2024-03-07T23:03:29.719Z] 5851b861e8e6: Download complete [2024-03-07T23:03:29.719Z] b85a868b505f: Download complete [2024-03-07T23:03:29.980Z] bab4dde63d76: Verifying Checksum [2024-03-07T23:03:29.980Z] bab4dde63d76: Download complete [2024-03-07T23:03:30.916Z] b85a868b505f: Pull complete [2024-03-07T23:03:31.175Z] e2be974225ed: Pull complete [2024-03-07T23:03:31.743Z] 339a4e72a1f5: Pull complete [2024-03-07T23:03:31.743Z] 988bab9f4d93: Pull complete [2024-03-07T23:03:32.003Z] 1469e6f7b9e6: Pull complete [2024-03-07T23:03:32.003Z] eaf3925da568: Pull complete [2024-03-07T23:03:34.539Z] bab4dde63d76: Pull complete [2024-03-07T23:03:34.539Z] bde34c3a00c8: Pull complete [2024-03-07T23:03:34.539Z] b352a97aabf1: Pull complete [2024-03-07T23:03:34.539Z] 4872d77fe225: Pull complete [2024-03-07T23:03:34.539Z] 5851b861e8e6: Pull complete [2024-03-07T23:03:34.539Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-07T23:03:34.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-07T23:03:34.539Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:03:34.873Z] prd-ubuntu20.04-docker-8c-8g-5124 does not seem to be running inside a container [2024-03-07T23:03:34.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-342 -v /w/workspace/gexfoundry_device-snmp-go_PR-342:/w/workspace/gexfoundry_device-snmp-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-342@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-342@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-07T23:03:46.423Z] $ docker top 33102af858b67aa6fb2f5ac354eee11d90b15e0878a80f0a8fb25068b5d8a655 -eo pid,comm [2024-03-07T23:03:46.480Z] 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-07T23:03:46.480Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-07T23:03:46.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-07T23:03:46.711Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-07T23:03:46.821Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-07T23:03:46.826Z] $ docker exec 33102af858b67aa6fb2f5ac354eee11d90b15e0878a80f0a8fb25068b5d8a655 ssh-agent [2024-03-07T23:03:46.917Z] SSH_AUTH_SOCK=/tmp/ssh-GRjYnMoUQRwJ/agent.32 [2024-03-07T23:03:46.918Z] SSH_AGENT_PID=38 [2024-03-07T23:03:46.924Z] Running ssh-add (command line suppressed) [2024-03-07T23:03:47.032Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-342@tmp/private_key_1285884804719077104.key (/w/workspace/gexfoundry_device-snmp-go_PR-342@tmp/private_key_1285884804719077104.key) [2024-03-07T23:03:47.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-07T23:03:47.498Z] + git tag --points-at HEAD [Pipeline] } [2024-03-07T23:03:47.527Z] $ docker exec --env ******** --env ******** 33102af858b67aa6fb2f5ac354eee11d90b15e0878a80f0a8fb25068b5d8a655 ssh-agent -k [2024-03-07T23:03:47.621Z] unset SSH_AUTH_SOCK; [2024-03-07T23:03:47.621Z] unset SSH_AGENT_PID; [2024-03-07T23:03:47.622Z] echo Agent pid 38 killed; [2024-03-07T23:03:47.632Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-07T23:03:47.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-07T23:03:47.777Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-07T23:03:47.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-07T23:03:47.895Z] $ docker exec 33102af858b67aa6fb2f5ac354eee11d90b15e0878a80f0a8fb25068b5d8a655 ssh-agent [2024-03-07T23:03:48.011Z] SSH_AUTH_SOCK=/tmp/ssh-2jZsp1tlwieL/agent.70 [2024-03-07T23:03:48.011Z] SSH_AGENT_PID=77 [2024-03-07T23:03:48.016Z] Running ssh-add (command line suppressed) [2024-03-07T23:03:48.123Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-342@tmp/private_key_6309091691588605041.key (/w/workspace/gexfoundry_device-snmp-go_PR-342@tmp/private_key_6309091691588605041.key) [2024-03-07T23:03:48.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-07T23:03:48.519Z] + git semver init [2024-03-07T23:03:48.779Z] 2024-03-07 23:03:48,692 [run_init] DEBUG init version:0.0.0 force:False [2024-03-07T23:03:48.779Z] 2024-03-07 23:03:48,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-342/.semver [2024-03-07T23:03:48.779Z] 2024-03-07 23:03:48,694 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-342/.semver [2024-03-07T23:03:48.779Z] 2024-03-07 23:03:48,694 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-342/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-342, universal_newlines=False, shell=None, istream=None) [2024-03-07T23:03:50.160Z] 2024-03-07 23:03:49,791 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-342/.git/info/exclude [2024-03-07T23:03:50.161Z] 2024-03-07 23:03:49,792 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-342/.semver/PR-342 with force:False [2024-03-07T23:03:50.161Z] 2024-03-07 23:03:49,792 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-342/.semver/PR-342 [2024-03-07T23:03:50.161Z] 2024-03-07 23:03:49,796 [execute] INFO git cat-file --batch-check [2024-03-07T23:03:50.161Z] 2024-03-07 23:03:49,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-342/.semver, universal_newlines=False, shell=None, istream=) [2024-03-07T23:03:50.161Z] 2024-03-07 23:03:49,802 [execute] INFO git cat-file --batch [2024-03-07T23:03:50.161Z] 2024-03-07 23:03:49,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-342/.semver, universal_newlines=False, shell=None, istream=) [2024-03-07T23:03:50.161Z] 2024-03-07 23:03:49,806 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-342/.semver/PR-342 [2024-03-07T23:03:50.161Z] 0.0.0 [Pipeline] } [2024-03-07T23:03:50.188Z] $ docker exec --env ******** --env ******** 33102af858b67aa6fb2f5ac354eee11d90b15e0878a80f0a8fb25068b5d8a655 ssh-agent -k [2024-03-07T23:03:50.285Z] unset SSH_AUTH_SOCK; [2024-03-07T23:03:50.287Z] unset SSH_AGENT_PID; [2024-03-07T23:03:50.287Z] echo Agent pid 77 killed; [2024-03-07T23:03:50.293Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-07T23:03:50.833Z] + git semver [Pipeline] } [2024-03-07T23:03:51.120Z] $ docker stop --time=1 33102af858b67aa6fb2f5ac354eee11d90b15e0878a80f0a8fb25068b5d8a655 [2024-03-07T23:03:52.571Z] $ docker rm -f --volumes 33102af858b67aa6fb2f5ac354eee11d90b15e0878a80f0a8fb25068b5d8a655 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-07T23:03:53.148Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-07T23:03:53.703Z] Stashed 1 file(s) [Pipeline] echo [2024-03-07T23:03:53.738Z] [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-07T23:03:55.158Z] provisioning config files... [2024-03-07T23:03:55.167Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-342@tmp/config16279768163976090566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:03:57.406Z] ---> ****-login.sh [2024-03-07T23:03:57.406Z] nexus3.edgexfoundry.org:10001 [2024-03-07T23:03:57.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:57.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:57.406Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:57.406Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:57.406Z] [2024-03-07T23:03:57.406Z] Login Succeeded [2024-03-07T23:03:57.406Z] nexus3.edgexfoundry.org:10002 [2024-03-07T23:03:57.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:57.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:57.406Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:57.406Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:57.406Z] [2024-03-07T23:03:57.406Z] Login Succeeded [2024-03-07T23:03:57.406Z] nexus3.edgexfoundry.org:10003 [2024-03-07T23:03:57.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:57.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:57.406Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:57.406Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:57.406Z] [2024-03-07T23:03:57.406Z] Login Succeeded [2024-03-07T23:03:57.406Z] nexus3.edgexfoundry.org:10004 [2024-03-07T23:03:57.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:57.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:57.406Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:57.406Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:57.406Z] [2024-03-07T23:03:57.406Z] Login Succeeded [2024-03-07T23:03:57.406Z] ****.io [2024-03-07T23:03:57.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:03:57.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:03:57.407Z] Configure a credential helper to remove this warning. See [2024-03-07T23:03:57.407Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:03:57.407Z] [2024-03-07T23:03:57.407Z] Login Succeeded [2024-03-07T23:03:57.407Z] ---> ****-login.sh ends [Pipeline] } [2024-03-07T23:03:57.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-07T23:03:57.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:03:57.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:03:58.037Z] ========================================================= [2024-03-07T23:03:58.037Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-07T23:03:58.037Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:03:58.700Z] + 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-07T23:03:58.700Z] Sending build context to Docker daemon 14.13MB [2024-03-07T23:03:58.700Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:03:58.700Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-07T23:03:58.700Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-07T23:03:58.700Z] 7264a8db6415: Pulling fs layer [2024-03-07T23:03:58.700Z] c4d48a809fc2: Pulling fs layer [2024-03-07T23:03:58.700Z] 4f1c88b9dad5: Pulling fs layer [2024-03-07T23:03:58.700Z] ad3a456e5733: Pulling fs layer [2024-03-07T23:03:58.700Z] 69c7f0334f64: Pulling fs layer [2024-03-07T23:03:58.700Z] 1f1c1a5573a3: Pulling fs layer [2024-03-07T23:03:58.700Z] ce7588e14bc9: Pulling fs layer [2024-03-07T23:03:58.700Z] b5e4710f87ac: Pulling fs layer [2024-03-07T23:03:58.700Z] 69c7f0334f64: Waiting [2024-03-07T23:03:58.700Z] ce7588e14bc9: Waiting [2024-03-07T23:03:58.700Z] 1f1c1a5573a3: Waiting [2024-03-07T23:03:58.700Z] b5e4710f87ac: Waiting [2024-03-07T23:03:58.700Z] ad3a456e5733: Waiting [2024-03-07T23:03:58.970Z] c4d48a809fc2: Verifying Checksum [2024-03-07T23:03:58.970Z] c4d48a809fc2: Download complete [2024-03-07T23:03:58.970Z] ad3a456e5733: Verifying Checksum [2024-03-07T23:03:58.970Z] ad3a456e5733: Download complete [2024-03-07T23:03:58.970Z] 69c7f0334f64: Verifying Checksum [2024-03-07T23:03:58.970Z] 69c7f0334f64: Download complete [2024-03-07T23:03:58.970Z] 7264a8db6415: Download complete [2024-03-07T23:03:58.970Z] 1f1c1a5573a3: Verifying Checksum [2024-03-07T23:03:58.970Z] 1f1c1a5573a3: Download complete [2024-03-07T23:03:59.240Z] 7264a8db6415: Pull complete [2024-03-07T23:03:59.240Z] b5e4710f87ac: Verifying Checksum [2024-03-07T23:03:59.240Z] b5e4710f87ac: Download complete [2024-03-07T23:03:59.240Z] c4d48a809fc2: Pull complete [2024-03-07T23:03:59.512Z] 4f1c88b9dad5: Verifying Checksum [2024-03-07T23:03:59.512Z] 4f1c88b9dad5: Download complete [2024-03-07T23:03:59.779Z] ce7588e14bc9: Verifying Checksum [2024-03-07T23:03:59.779Z] ce7588e14bc9: Download complete [2024-03-07T23:04:03.066Z] 4f1c88b9dad5: Pull complete [2024-03-07T23:04:03.066Z] ad3a456e5733: Pull complete [2024-03-07T23:04:03.066Z] 69c7f0334f64: Pull complete [2024-03-07T23:04:03.066Z] 1f1c1a5573a3: Pull complete [2024-03-07T23:04:06.354Z] ce7588e14bc9: Pull complete [2024-03-07T23:04:06.624Z] b5e4710f87ac: Pull complete [2024-03-07T23:04:06.883Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-07T23:04:06.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-07T23:04:06.883Z] ---> 88b5674ff536 [2024-03-07T23:04:06.883Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-07T23:04:09.901Z] Still waiting to schedule task [2024-03-07T23:04:09.901Z] ‘prd-centos7-blackbox-4c-2g-2059’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-07T23:04:09.901Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5126’ is offline [2024-03-07T23:04:33.553Z] ---> Running in 516568ba2e25 [2024-03-07T23:04:33.553Z] Removing intermediate container 516568ba2e25 [2024-03-07T23:04:33.553Z] ---> ee35628c9494 [2024-03-07T23:04:33.553Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-07T23:04:33.553Z] ---> Running in 4f4513ba4d50 [2024-03-07T23:04:33.553Z] Removing intermediate container 4f4513ba4d50 [2024-03-07T23:04:33.553Z] ---> 43dc299122c7 [2024-03-07T23:04:33.553Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-07T23:04:33.553Z] ---> Running in 3058667d3dec [2024-03-07T23:04:33.553Z] Removing intermediate container 3058667d3dec [2024-03-07T23:04:33.553Z] ---> e7c50f3f76a0 [2024-03-07T23:04:33.553Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-07T23:04:33.553Z] ---> Running in fe66d21f5442 [2024-03-07T23:04:33.553Z] Removing intermediate container fe66d21f5442 [2024-03-07T23:04:33.553Z] ---> 06e26805734d [2024-03-07T23:04:33.553Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-07T23:04:33.553Z] ---> Running in d19d22e5b20b [2024-03-07T23:04:33.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:04:33.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:04:33.553Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-07T23:04:33.553Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-07T23:04:33.553Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-07T23:04:33.553Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-07T23:04:33.553Z] Executing busybox-1.36.1-r5.trigger [2024-03-07T23:04:33.553Z] OK: 268 MiB in 56 packages [2024-03-07T23:04:33.553Z] Removing intermediate container d19d22e5b20b [2024-03-07T23:04:33.553Z] ---> 5a39887578d7 [2024-03-07T23:04:33.553Z] Step 8/12 : WORKDIR /device-snmp-go [2024-03-07T23:04:33.553Z] ---> Running in 8f4e635f6016 [2024-03-07T23:04:33.553Z] Removing intermediate container 8f4e635f6016 [2024-03-07T23:04:33.553Z] ---> 88b27b079c5c [2024-03-07T23:04:33.553Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-07T23:04:33.553Z] ---> eb34da020013 [2024-03-07T23:04:33.553Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:04:33.553Z] ---> Running in 906e2bfa74f2 [2024-03-07T23:05:41.266Z] Removing intermediate container 906e2bfa74f2 [2024-03-07T23:05:41.266Z] ---> b6389dc9a6be [2024-03-07T23:05:41.266Z] Step 11/12 : COPY . . [2024-03-07T23:05:41.266Z] ---> a6f703d790ea [2024-03-07T23:05:41.266Z] Step 12/12 : RUN ${MAKE} [2024-03-07T23:05:41.266Z] ---> Running in 99ef2b1f0dbc [2024-03-07T23:05:41.266Z] noop [2024-03-07T23:05:41.266Z] Removing intermediate container 99ef2b1f0dbc [2024-03-07T23:05:41.266Z] ---> f9d543dd1abf [2024-03-07T23:05:41.266Z] Successfully built f9d543dd1abf [2024-03-07T23:05:41.266Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:05:41.800Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-07T23:05:41.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:05:42.017Z] prd-ubuntu20.04-docker-8c-8g-5124 does not seem to be running inside a container [2024-03-07T23:05:42.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-342 -v /w/workspace/gexfoundry_device-snmp-go_PR-342:/w/workspace/gexfoundry_device-snmp-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-342@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-342@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-07T23:05:42.367Z] $ docker top 479c17840435dff9db2c0eaf779487ee5413ef85ca97bb7705978a12e4e6ad18 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:05:42.816Z] + go version [2024-03-07T23:05:42.816Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-07T23:05:42.841Z] $ docker stop --time=1 479c17840435dff9db2c0eaf779487ee5413ef85ca97bb7705978a12e4e6ad18 [2024-03-07T23:05:44.118Z] $ docker rm -f --volumes 479c17840435dff9db2c0eaf779487ee5413ef85ca97bb7705978a12e4e6ad18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:05:45.123Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-07T23:05:45.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:05:45.337Z] prd-ubuntu20.04-docker-8c-8g-5124 does not seem to be running inside a container [2024-03-07T23:05:45.431Z] $ 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-342 -v /w/workspace/gexfoundry_device-snmp-go_PR-342:/w/workspace/gexfoundry_device-snmp-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-342@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-342@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-07T23:05:45.757Z] $ docker top e0b2ad474430a89a350539be6f3f2aff80ac7e3996665448c044428ef846a687 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:05:46.227Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-342 [Pipeline] fileExists [Pipeline] sh [2024-03-07T23:05:46.613Z] + make test [2024-03-07T23:05:46.613Z] go test ./... -coverprofile=coverage.out [2024-03-07T23:05:49.136Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-03-07T23:05:59.102Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-03-07T23:05:59.102Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2024-03-07T23:06:07.227Z] go vet ./... [2024-03-07T23:06:09.781Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-07T23:06:09.781Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-07T23:06:09.781Z] ./bin/test-attribution-txt.sh [2024-03-07T23:06:09.781Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-07T23:06:09.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-07T23:06:09.886Z] $ docker stop --time=1 e0b2ad474430a89a350539be6f3f2aff80ac7e3996665448c044428ef846a687 [2024-03-07T23:06:15.702Z] $ docker rm -f --volumes e0b2ad474430a89a350539be6f3f2aff80ac7e3996665448c044428ef846a687 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-07T23:06:16.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-07T23:06:16.544Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-07T23:06:17.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-07T23:06:19.743Z] + ls -al . [2024-03-07T23:06:19.743Z] total 172 [2024-03-07T23:06:19.743Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:05 . [2024-03-07T23:06:19.743Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:03 .. [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 7 23:03 .dockerignore [2024-03-07T23:06:19.743Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:05 .git [2024-03-07T23:06:19.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:03 .github [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 263 Mar 7 23:03 .gitignore [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 23:03 .golangci.yml [2024-03-07T23:06:19.743Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 23:03 .semver [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 10025 Mar 7 23:03 Attribution.txt [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 11809 Mar 7 23:03 CHANGELOG.md [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 1571 Mar 7 23:03 Dockerfile [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:03 GOVERNANCE.md [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 7 23:03 Jenkinsfile [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 23:03 LICENSE [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 2240 Mar 7 23:03 Makefile [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 7 23:03 OWNERS.md [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 10477 Mar 7 23:03 README.md [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 23:03 VERSION [2024-03-07T23:06:19.743Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:03 bin [2024-03-07T23:06:19.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:03 cmd [2024-03-07T23:06:19.743Z] -rw-r--r-- 1 jenkins jenkins 8837 Mar 7 23:05 coverage.out [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 3756 Mar 7 23:03 go.mod [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 35942 Mar 7 23:03 go.sum [2024-03-07T23:06:19.743Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:03 internal [2024-03-07T23:06:19.743Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 7 23:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:06:20.379Z] + 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=c4f0b9d9b098db3889db55a0c696048b42859bf9 --label arch=amd64 --label version=0.0.0 . [2024-03-07T23:06:20.379Z] Sending build context to Docker daemon 14.14MB [2024-03-07T23:06:20.379Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:06:20.379Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-07T23:06:20.379Z] ---> f9d543dd1abf [2024-03-07T23:06:20.379Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-07T23:06:21.396Z] ---> Running in f177b9e0ed0a [2024-03-07T23:06:21.396Z] Removing intermediate container f177b9e0ed0a [2024-03-07T23:06:21.396Z] ---> 139925443688 [2024-03-07T23:06:21.396Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-07T23:06:21.396Z] ---> Running in ccac9d625883 [2024-03-07T23:06:21.675Z] Removing intermediate container ccac9d625883 [2024-03-07T23:06:21.675Z] ---> 1c36a69fa3ee [2024-03-07T23:06:21.675Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-07T23:06:21.675Z] ---> Running in bc8309031576 [2024-03-07T23:06:21.675Z] Removing intermediate container bc8309031576 [2024-03-07T23:06:21.675Z] ---> c2b16e14966d [2024-03-07T23:06:21.675Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-07T23:06:21.675Z] ---> Running in f319e3a66d73 [2024-03-07T23:06:21.959Z] Removing intermediate container f319e3a66d73 [2024-03-07T23:06:21.959Z] ---> 65254ea73ab2 [2024-03-07T23:06:21.959Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-07T23:06:21.959Z] ---> Running in 22c07ec5b36a [2024-03-07T23:06:21.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:06:22.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:06:22.503Z] OK: 268 MiB in 56 packages [2024-03-07T23:06:24.564Z] Removing intermediate container 22c07ec5b36a [2024-03-07T23:06:24.564Z] ---> 02b4b5de0c76 [2024-03-07T23:06:24.564Z] Step 8/25 : WORKDIR /device-snmp-go [2024-03-07T23:06:24.564Z] ---> Running in 3b82eeeda92a [2024-03-07T23:06:24.564Z] Removing intermediate container 3b82eeeda92a [2024-03-07T23:06:24.564Z] ---> 3c222cb93327 [2024-03-07T23:06:24.564Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-07T23:06:25.143Z] ---> be834dc652fb [2024-03-07T23:06:25.143Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:06:25.432Z] ---> Running in d3b422996e80 [2024-03-07T23:06:26.012Z] Removing intermediate container d3b422996e80 [2024-03-07T23:06:26.012Z] ---> bf24b5712c1a [2024-03-07T23:06:26.012Z] Step 11/25 : COPY . . [2024-03-07T23:06:27.165Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5133 in /w/workspace/gexfoundry_device-snmp-go_PR-342 [Pipeline] { [2024-03-07T23:06:27.578Z] ---> 63a4dfaa16b2 [2024-03-07T23:06:27.578Z] Step 12/25 : RUN ${MAKE} [2024-03-07T23:06:27.578Z] ---> Running in 40fc8b36f3fe [2024-03-07T23:06:27.578Z] 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.9" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [Pipeline] ws [2024-03-07T23:06:27.606Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2024-03-07T23:06:30.752Z] Selected Git installation does not exist. Using Default [2024-03-07T23:06:30.752Z] The recommended git tool is: NONE [2024-03-07T23:06:49.064Z] using credential edgex-jenkins-ssh [2024-03-07T23:06:49.120Z] Cloning the remote Git repository [2024-03-07T23:06:49.194Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2024-03-07T23:06:49.379Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2024-03-07T23:06:49.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-03-07T23:06:49.651Z] > git --version # timeout=10 [2024-03-07T23:06:49.681Z] > git --version # 'git version 2.25.1' [2024-03-07T23:06:49.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-07T23:06:49.917Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-07T23:06:52.355Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-03-07T23:06:52.391Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-07T23:06:54.440Z] Merging remotes/origin/main commit bf06fbc5d59e17dbd9bd9bfb78a812e5d4ef91be into PR head commit c4f0b9d9b098db3889db55a0c696048b42859bf9 [2024-03-07T23:06:54.729Z] Merge succeeded, producing c4f0b9d9b098db3889db55a0c696048b42859bf9 [2024-03-07T23:06:54.729Z] Checking out Revision c4f0b9d9b098db3889db55a0c696048b42859bf9 (PR-342) [2024-03-07T23:06:53.879Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2024-03-07T23:06:53.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2024-03-07T23:06:53.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-07T23:06:53.951Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/342/head:refs/remotes/origin/PR-342 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-07T23:06:54.468Z] > git config core.sparsecheckout # timeout=10 [2024-03-07T23:06:54.546Z] > git checkout -f c4f0b9d9b098db3889db55a0c696048b42859bf9 # timeout=10 [2024-03-07T23:06:54.635Z] > git remote # timeout=10 [2024-03-07T23:06:54.655Z] > git config --get remote.origin.url # timeout=10 [2024-03-07T23:06:54.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-07T23:06:54.688Z] > git merge bf06fbc5d59e17dbd9bd9bfb78a812e5d4ef91be # timeout=10 [2024-03-07T23:06:54.715Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-07T23:06:54.740Z] > git config core.sparsecheckout # timeout=10 [2024-03-07T23:06:54.755Z] > git checkout -f c4f0b9d9b098db3889db55a0c696048b42859bf9 # timeout=10 [2024-03-07T23:06:55.332Z] Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3" [2024-03-07T23:06:55.393Z] > git --version # timeout=10 [2024-03-07T23:06:55.410Z] > git --version # 'git version 2.25.1' [2024-03-07T23:06:55.431Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-07T23:06:57.047Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-07T23:06:57.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-07T23:06:57.047Z] Dload Upload Total Spent Left Speed [2024-03-07T23:06:57.047Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 212k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2024-03-07T23:06:57.414Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-07T23:06:57.955Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-07T23:06:57.955Z] + sudo tee /etc/docker/daemon.new [2024-03-07T23:06:57.955Z] { [2024-03-07T23:06:57.955Z] "registry-mirrors": [ [2024-03-07T23:06:57.955Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-07T23:06:57.955Z] ], [2024-03-07T23:06:57.955Z] "bip": "10.250.0.254/24", [2024-03-07T23:06:57.955Z] "hosts": [ [2024-03-07T23:06:57.955Z] "tcp://0.0.0.0:5555", [2024-03-07T23:06:57.955Z] "unix:///var/run/docker.sock" [2024-03-07T23:06:57.955Z] ], [2024-03-07T23:06:57.955Z] "mtu": 1458, [2024-03-07T23:06:57.955Z] "selinux-enabled": true, [2024-03-07T23:06:57.955Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-07T23:06:57.955Z] } [Pipeline] sh [2024-03-07T23:06:58.345Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-07T23:06:58.728Z] + sudo service docker restart [2024-03-07T23:07:00.803Z] Removing intermediate container 40fc8b36f3fe [2024-03-07T23:07:00.803Z] ---> 6cb8b97f3d7e [2024-03-07T23:07:00.803Z] Step 13/25 : FROM alpine:3.18 [2024-03-07T23:07:00.803Z] 3.18: Pulling from library/alpine [2024-03-07T23:07:00.803Z] 619be1103602: Pulling fs layer [2024-03-07T23:07:00.803Z] 619be1103602: Verifying Checksum [2024-03-07T23:07:00.803Z] 619be1103602: Download complete [2024-03-07T23:07:00.803Z] 619be1103602: Pull complete [2024-03-07T23:07:00.803Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-07T23:07:00.803Z] Status: Downloaded newer image for alpine:3.18 [2024-03-07T23:07:00.803Z] ---> d3782b16ccc9 [2024-03-07T23:07:00.803Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-03-07T23:07:00.803Z] ---> Running in 32f1ad3776b8 [2024-03-07T23:07:00.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:07:00.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:07:01.060Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-07T23:07:01.060Z] Executing busybox-1.36.1-r5.trigger [2024-03-07T23:07:01.060Z] OK: 7 MiB in 16 packages [2024-03-07T23:07:01.317Z] Removing intermediate container 32f1ad3776b8 [2024-03-07T23:07:01.317Z] ---> d247a45d8c53 [2024-03-07T23:07:01.317Z] Step 15/25 : RUN apk --no-cache upgrade [2024-03-07T23:07:01.317Z] ---> Running in d9b977333b79 [2024-03-07T23:07:01.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-07T23:07:01.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-07T23:07:01.982Z] OK: 7 MiB in 16 packages [2024-03-07T23:07:02.560Z] Removing intermediate container d9b977333b79 [2024-03-07T23:07:02.560Z] ---> 14579237aa60 [2024-03-07T23:07:02.560Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-03-07T23:07:03.500Z] ---> 18a3a717bf5e [2024-03-07T23:07:03.500Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-03-07T23:07:03.757Z] ---> cc6bb1b5e8c9 [2024-03-07T23:07:03.757Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-03-07T23:07:03.757Z] ---> 1e4fa3bcb553 [2024-03-07T23:07:03.757Z] Step 19/25 : EXPOSE 59993 [2024-03-07T23:07:03.757Z] ---> Running in 814cd768a587 [2024-03-07T23:07:04.019Z] Removing intermediate container 814cd768a587 [2024-03-07T23:07:04.019Z] ---> 6d2ae1ed4ec7 [2024-03-07T23:07:04.019Z] Step 20/25 : EXPOSE 161 [2024-03-07T23:07:04.019Z] ---> Running in 3dcbfc472c8d [2024-03-07T23:07:04.019Z] Removing intermediate container 3dcbfc472c8d [2024-03-07T23:07:04.019Z] ---> 313caebd58e8 [2024-03-07T23:07:04.019Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-03-07T23:07:04.019Z] ---> Running in 730a9d732bfa [2024-03-07T23:07:04.019Z] Removing intermediate container 730a9d732bfa [2024-03-07T23:07:04.019Z] ---> 5a6423e84b0a [2024-03-07T23:07:04.019Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-07T23:07:04.019Z] ---> Running in 5ba09ac7f427 [2024-03-07T23:07:04.368Z] Removing intermediate container 5ba09ac7f427 [2024-03-07T23:07:04.368Z] ---> bf5114ee5368 [2024-03-07T23:07:04.368Z] Step 23/25 : LABEL arch=amd64 [2024-03-07T23:07:04.368Z] ---> Running in 7e095753736d [2024-03-07T23:07:04.368Z] Removing intermediate container 7e095753736d [2024-03-07T23:07:04.368Z] ---> e4b10d235684 [2024-03-07T23:07:04.368Z] Step 24/25 : LABEL git_sha=c4f0b9d9b098db3889db55a0c696048b42859bf9 [2024-03-07T23:07:04.368Z] ---> Running in a42f07144b79 [2024-03-07T23:07:04.368Z] Removing intermediate container a42f07144b79 [2024-03-07T23:07:04.368Z] ---> d54bd59db599 [2024-03-07T23:07:04.368Z] Step 25/25 : LABEL version=0.0.0 [2024-03-07T23:07:04.368Z] ---> Running in 36cc4a995659 [2024-03-07T23:07:04.368Z] Removing intermediate container 36cc4a995659 [2024-03-07T23:07:04.368Z] ---> ad581e608d86 [2024-03-07T23:07:04.368Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-07T23:07:04.368Z] Successfully built ad581e608d86 [2024-03-07T23:07:04.368Z] 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-07T23:07:05.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:07:05.723Z] [2024-03-07T23:07:05.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:07:06.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:07:06.166Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-07T23:07:06.166Z] 5eb5b503b376: Pulling fs layer [2024-03-07T23:07:06.166Z] 5c69ac0246d0: Pulling fs layer [2024-03-07T23:07:06.166Z] ec43610c2a17: Pulling fs layer [2024-03-07T23:07:06.166Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-07T23:07:06.166Z] 33b1e0a273af: Pulling fs layer [2024-03-07T23:07:06.166Z] 5d3b04190fa2: Pulling fs layer [2024-03-07T23:07:06.166Z] 2f39f015ded8: Pulling fs layer [2024-03-07T23:07:06.166Z] 3a2ae6a8a46f: Waiting [2024-03-07T23:07:06.166Z] 33b1e0a273af: Waiting [2024-03-07T23:07:06.166Z] 5d3b04190fa2: Waiting [2024-03-07T23:07:06.166Z] 2f39f015ded8: Waiting [2024-03-07T23:07:06.166Z] 5c69ac0246d0: Download complete [2024-03-07T23:07:06.166Z] 3a2ae6a8a46f: Download complete [2024-03-07T23:07:06.166Z] 33b1e0a273af: Verifying Checksum [2024-03-07T23:07:06.166Z] 33b1e0a273af: Download complete [2024-03-07T23:07:06.431Z] 5d3b04190fa2: Verifying Checksum [2024-03-07T23:07:06.431Z] 5d3b04190fa2: Download complete [2024-03-07T23:07:06.431Z] ec43610c2a17: Verifying Checksum [2024-03-07T23:07:06.431Z] ec43610c2a17: Download complete [2024-03-07T23:07:06.431Z] 5eb5b503b376: Download complete [2024-03-07T23:07:07.136Z] 2f39f015ded8: Download complete [2024-03-07T23:07:07.724Z] 5eb5b503b376: Pull complete [2024-03-07T23:07:07.724Z] 5c69ac0246d0: Pull complete [2024-03-07T23:07:07.985Z] ec43610c2a17: Pull complete [2024-03-07T23:07:08.248Z] 3a2ae6a8a46f: Pull complete [2024-03-07T23:07:08.520Z] 33b1e0a273af: Pull complete [2024-03-07T23:07:08.520Z] 5d3b04190fa2: Pull complete [2024-03-07T23:07:12.504Z] 2f39f015ded8: Pull complete [2024-03-07T23:07:12.504Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-07T23:07:12.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:07:12.504Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:07:16.956Z] prd-ubuntu20.04-docker-8c-8g-5124 does not seem to be running inside a container [2024-03-07T23:07:17.918Z] $ 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-342 -v /w/workspace/gexfoundry_device-snmp-go_PR-342:/w/workspace/gexfoundry_device-snmp-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-342@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-342@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-07T23:07:39.343Z] $ docker top 574fbce9c0b0d151b368ab7b4a97aa3de4503a1374ff2e9759d0c69c7decd8cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2024-03-07T23:07:39.749Z] provisioning config files... [2024-03-07T23:07:39.793Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config15201096422477011709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:07:40.173Z] ---> job-cost.sh [2024-03-07T23:07:40.173Z] lf-activate-venv: SKIPPING [2024-03-07T23:07:40.173Z] INFO: No Stack... [2024-03-07T23:07:40.173Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-07T23:07:40.441Z] INFO: Archiving Costs [Pipeline] sh [2024-03-07T23:07:40.662Z] ---> ****-login.sh [2024-03-07T23:07:40.662Z] nexus3.edgexfoundry.org:10001 [2024-03-07T23:07:40.913Z] + + cat /w/workspace/gexfoundry_device-snmp-go_PR-342/archives/cost.csv [2024-03-07T23:07:40.913Z] cut -d, -f6 [Pipeline] lock [2024-03-07T23:07:40.968Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-342-1-stack-cost] [2024-03-07T23:07:40.973Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-342-1-stack-cost] did not exist. Created. [2024-03-07T23:07:40.978Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-342-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-07T23:07:41.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:41.431Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-07T23:07:41.488Z] Stashed 1 file(s) [2024-03-07T23:07:41.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:41.539Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:41.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:41.539Z] [2024-03-07T23:07:41.539Z] Login Succeeded [2024-03-07T23:07:41.539Z] nexus3.edgexfoundry.org:10002 [Pipeline] } [2024-03-07T23:07:41.604Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-342-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-07T23:07:41.792Z] $ docker stop --time=1 574fbce9c0b0d151b368ab7b4a97aa3de4503a1374ff2e9759d0c69c7decd8cc [2024-03-07T23:07:41.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:41.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:41.814Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:41.814Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:41.814Z] [2024-03-07T23:07:41.814Z] Login Succeeded [2024-03-07T23:07:42.087Z] nexus3.edgexfoundry.org:10003 [2024-03-07T23:07:42.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:42.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:42.366Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:42.366Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:42.366Z] [2024-03-07T23:07:42.366Z] Login Succeeded [2024-03-07T23:07:42.366Z] nexus3.edgexfoundry.org:10004 [2024-03-07T23:07:42.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:42.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:42.917Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:42.917Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:42.917Z] [2024-03-07T23:07:42.917Z] Login Succeeded [2024-03-07T23:07:42.917Z] ****.io [2024-03-07T23:07:43.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-07T23:07:43.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-07T23:07:43.470Z] Configure a credential helper to remove this warning. See [2024-03-07T23:07:43.470Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-07T23:07:43.470Z] [2024-03-07T23:07:43.470Z] Login Succeeded [2024-03-07T23:07:43.470Z] ---> ****-login.sh ends [2024-03-07T23:07:44.264Z] $ docker rm -f --volumes 574fbce9c0b0d151b368ab7b4a97aa3de4503a1374ff2e9759d0c69c7decd8cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2024-03-07T23:07:44.640Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2024-03-07T23:07:45.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:07:45.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-07T23:07:45.644Z] ========================================================= [2024-03-07T23:07:45.644Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-07T23:07:45.644Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:07:46.404Z] + 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-07T23:07:46.689Z] Sending build context to Docker daemon 7.153MB [2024-03-07T23:07:46.969Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:07:46.969Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-07T23:07:46.969Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-07T23:07:46.969Z] 9fda8d8052c6: Pulling fs layer [2024-03-07T23:07:46.969Z] 5d54e960e981: Pulling fs layer [2024-03-07T23:07:46.969Z] c4a7e357bf2a: Pulling fs layer [2024-03-07T23:07:46.969Z] f0e02332f6b5: Pulling fs layer [2024-03-07T23:07:46.969Z] 872ee5b61b7b: Pulling fs layer [2024-03-07T23:07:46.969Z] 0c6a40ed1a82: Pulling fs layer [2024-03-07T23:07:46.969Z] 94ae7d8d031c: Pulling fs layer [2024-03-07T23:07:46.969Z] 872ee5b61b7b: Waiting [2024-03-07T23:07:46.969Z] f0e02332f6b5: Waiting [2024-03-07T23:07:46.969Z] 0c6a40ed1a82: Waiting [2024-03-07T23:07:46.969Z] 94ae7d8d031c: Waiting [2024-03-07T23:07:47.246Z] 5d54e960e981: Verifying Checksum [2024-03-07T23:07:47.246Z] 5d54e960e981: Download complete [2024-03-07T23:07:47.246Z] f0e02332f6b5: Download complete [2024-03-07T23:07:47.246Z] 872ee5b61b7b: Download complete [2024-03-07T23:07:47.246Z] 9fda8d8052c6: Verifying Checksum [2024-03-07T23:07:47.246Z] 9fda8d8052c6: Download complete [2024-03-07T23:07:48.241Z] 94ae7d8d031c: Verifying Checksum [2024-03-07T23:07:48.241Z] 94ae7d8d031c: Download complete [2024-03-07T23:07:48.241Z] 9fda8d8052c6: Pull complete [2024-03-07T23:07:48.847Z] 5d54e960e981: Pull complete [2024-03-07T23:07:49.516Z] c4a7e357bf2a: Verifying Checksum [2024-03-07T23:07:49.516Z] c4a7e357bf2a: Download complete [2024-03-07T23:07:50.945Z] 0c6a40ed1a82: Download complete [2024-03-07T23:08:03.366Z] c4a7e357bf2a: Pull complete [2024-03-07T23:08:03.641Z] f0e02332f6b5: Pull complete [2024-03-07T23:08:03.917Z] 872ee5b61b7b: Pull complete [2024-03-07T23:08:14.451Z] 0c6a40ed1a82: Pull complete [2024-03-07T23:08:15.056Z] 94ae7d8d031c: Pull complete [2024-03-07T23:08:15.057Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-07T23:08:15.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-07T23:08:15.057Z] ---> 86de565de09d [2024-03-07T23:08:15.057Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-07T23:08:17.068Z] ---> Running in 234e14541efc [2024-03-07T23:08:17.343Z] Removing intermediate container 234e14541efc [2024-03-07T23:08:17.343Z] ---> 468a686e3991 [2024-03-07T23:08:17.343Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-07T23:08:17.343Z] ---> Running in 09000c5df1cb [2024-03-07T23:08:17.939Z] Removing intermediate container 09000c5df1cb [2024-03-07T23:08:17.939Z] ---> aa09763b8015 [2024-03-07T23:08:17.939Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-07T23:08:17.939Z] ---> Running in c67d803e2916 [2024-03-07T23:08:18.228Z] Removing intermediate container c67d803e2916 [2024-03-07T23:08:18.228Z] ---> 0c1926de8927 [2024-03-07T23:08:18.228Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-07T23:08:18.506Z] ---> Running in 17db7509872d [2024-03-07T23:08:18.781Z] Removing intermediate container 17db7509872d [2024-03-07T23:08:18.781Z] ---> 0a8a538adf1f [2024-03-07T23:08:18.781Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-07T23:08:19.056Z] ---> Running in 74e604e16ea7 [2024-03-07T23:08:20.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:08:21.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:08:22.557Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-07T23:08:22.557Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-07T23:08:22.557Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-07T23:08:22.557Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-07T23:08:22.557Z] Executing busybox-1.36.1-r5.trigger [2024-03-07T23:08:22.557Z] OK: 271 MiB in 56 packages [2024-03-07T23:08:24.020Z] Removing intermediate container 74e604e16ea7 [2024-03-07T23:08:24.020Z] ---> 290228853694 [2024-03-07T23:08:24.020Z] Step 8/12 : WORKDIR /device-snmp-go [2024-03-07T23:08:24.020Z] ---> Running in 4a5489b03449 [2024-03-07T23:08:24.622Z] Removing intermediate container 4a5489b03449 [2024-03-07T23:08:24.622Z] ---> 88bc154bd6dd [2024-03-07T23:08:24.622Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-07T23:08:25.238Z] ---> 4f5de111c58b [2024-03-07T23:08:25.238Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:08:25.515Z] ---> Running in 7f3ebfd78384 [2024-03-07T23:09:47.675Z] Removing intermediate container 7f3ebfd78384 [2024-03-07T23:09:47.675Z] ---> 94c4b89e1870 [2024-03-07T23:09:47.675Z] Step 11/12 : COPY . . [2024-03-07T23:09:47.675Z] ---> 742d5a39a522 [2024-03-07T23:09:47.675Z] Step 12/12 : RUN ${MAKE} [2024-03-07T23:09:47.675Z] ---> Running in a81fbdeb2160 [2024-03-07T23:09:47.675Z] noop [2024-03-07T23:09:47.675Z] Removing intermediate container a81fbdeb2160 [2024-03-07T23:09:47.675Z] ---> e8ad7a397fc6 [2024-03-07T23:09:47.675Z] Successfully built e8ad7a397fc6 [2024-03-07T23:09:47.675Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:09:48.336Z] + docker inspect -f . ci-base-image-arm64 [2024-03-07T23:09:48.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:09:48.813Z] prd-ubuntu20.04-docker-arm64-4c-16g-5133 does not seem to be running inside a container [2024-03-07T23:09:48.937Z] $ 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-07T23:09:50.518Z] $ docker top 6b9d8f3122f13c4628dd1fef08fb61da29833db2bcdea03a1b78528e50ba3a1c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:09:51.557Z] + go version [2024-03-07T23:09:51.557Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-07T23:09:51.604Z] $ docker stop --time=1 6b9d8f3122f13c4628dd1fef08fb61da29833db2bcdea03a1b78528e50ba3a1c [2024-03-07T23:09:53.376Z] $ docker rm -f --volumes 6b9d8f3122f13c4628dd1fef08fb61da29833db2bcdea03a1b78528e50ba3a1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:09:54.735Z] + docker inspect -f . ci-base-image-arm64 [2024-03-07T23:09:54.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:09:55.112Z] prd-ubuntu20.04-docker-arm64-4c-16g-5133 does not seem to be running inside a container [2024-03-07T23:09:55.216Z] $ 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-07T23:09:56.719Z] $ docker top 9219fa250db2661129c581ea761cf2595d8e74386a0a3ef7e1c0907a061b55cf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:09:57.735Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-07T23:09:58.508Z] + make test [2024-03-07T23:09:58.508Z] go test ./... -coverprofile=coverage.out [2024-03-07T23:10:02.788Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2024-03-07T23:12:39.767Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2024-03-07T23:12:39.767Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2024-03-07T23:12:39.767Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-07T23:12:39.767Z] go vet ./... [2024-03-07T23:13:12.122Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-07T23:13:12.122Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-07T23:13:12.122Z] ./bin/test-attribution-txt.sh [2024-03-07T23:13:12.122Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-07T23:13:12.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-07T23:13:12.295Z] $ docker stop --time=1 9219fa250db2661129c581ea761cf2595d8e74386a0a3ef7e1c0907a061b55cf [2024-03-07T23:13:14.476Z] $ docker rm -f --volumes 9219fa250db2661129c581ea761cf2595d8e74386a0a3ef7e1c0907a061b55cf [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-07T23:13:16.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-07T23:13:16.170Z] Warning: overwriting stash ‘coverage-report’ [2024-03-07T23:13:16.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-07T23:13:17.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-07T23:13:18.075Z] + ls -al . [2024-03-07T23:13:18.075Z] total 168 [2024-03-07T23:13:18.075Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 7 23:10 . [2024-03-07T23:13:18.075Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 23:06 .. [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 7 23:06 .dockerignore [2024-03-07T23:13:18.075Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 23:06 .git [2024-03-07T23:13:18.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:06 .github [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 263 Mar 7 23:06 .gitignore [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 7 23:06 .golangci.yml [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 10025 Mar 7 23:06 Attribution.txt [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 11809 Mar 7 23:06 CHANGELOG.md [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 1571 Mar 7 23:06 Dockerfile [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 23:06 GOVERNANCE.md [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 7 23:06 Jenkinsfile [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 7 23:06 LICENSE [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 2240 Mar 7 23:06 Makefile [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 7 23:06 OWNERS.md [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 10477 Mar 7 23:06 README.md [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 23:03 VERSION [2024-03-07T23:13:18.075Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 23:06 bin [2024-03-07T23:13:18.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:06 cmd [2024-03-07T23:13:18.075Z] -rw-r--r-- 1 jenkins jenkins 8837 Mar 7 23:12 coverage.out [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 3756 Mar 7 23:06 go.mod [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 35942 Mar 7 23:06 go.sum [2024-03-07T23:13:18.075Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 23:06 internal [2024-03-07T23:13:18.075Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 7 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:13:18.598Z] + 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=c4f0b9d9b098db3889db55a0c696048b42859bf9 --label arch=arm64 --label version=0.0.0 . [2024-03-07T23:13:19.191Z] Sending build context to Docker daemon 7.162MB [2024-03-07T23:13:19.191Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-07T23:13:19.191Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-07T23:13:19.191Z] ---> e8ad7a397fc6 [2024-03-07T23:13:19.191Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-07T23:13:19.191Z] ---> Running in 9d1561d0b119 [2024-03-07T23:13:19.783Z] Removing intermediate container 9d1561d0b119 [2024-03-07T23:13:19.783Z] ---> 82848a2e0099 [2024-03-07T23:13:19.783Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-07T23:13:19.783Z] ---> Running in 4cb24b52e714 [2024-03-07T23:13:20.058Z] Removing intermediate container 4cb24b52e714 [2024-03-07T23:13:20.058Z] ---> 387f99155c74 [2024-03-07T23:13:20.058Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-07T23:13:20.327Z] ---> Running in bad63070fee0 [2024-03-07T23:13:20.599Z] Removing intermediate container bad63070fee0 [2024-03-07T23:13:20.599Z] ---> 26dcf351417e [2024-03-07T23:13:20.599Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-07T23:13:20.878Z] ---> Running in f260224230a2 [2024-03-07T23:13:21.152Z] Removing intermediate container f260224230a2 [2024-03-07T23:13:21.152Z] ---> ce7b507820cc [2024-03-07T23:13:21.152Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-07T23:13:21.152Z] ---> Running in 967f7fe2dea6 [2024-03-07T23:13:22.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:13:22.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:13:24.298Z] OK: 271 MiB in 56 packages [2024-03-07T23:13:25.284Z] Removing intermediate container 967f7fe2dea6 [2024-03-07T23:13:25.284Z] ---> b0a0687eeb2a [2024-03-07T23:13:25.284Z] Step 8/25 : WORKDIR /device-snmp-go [2024-03-07T23:13:25.284Z] ---> Running in d15e9976a152 [2024-03-07T23:13:25.881Z] Removing intermediate container d15e9976a152 [2024-03-07T23:13:25.881Z] ---> d1fcae0b36d2 [2024-03-07T23:13:25.881Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-07T23:13:26.477Z] ---> 06d76d2ad5c9 [2024-03-07T23:13:26.477Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-07T23:13:26.477Z] ---> Running in 14fd85bcd84c [2024-03-07T23:13:29.072Z] Removing intermediate container 14fd85bcd84c [2024-03-07T23:13:29.072Z] ---> fdf7a2b71d98 [2024-03-07T23:13:29.072Z] Step 11/25 : COPY . . [2024-03-07T23:13:30.047Z] ---> 406a9fdaf069 [2024-03-07T23:13:30.047Z] Step 12/25 : RUN ${MAKE} [2024-03-07T23:13:30.047Z] ---> Running in 7170f2176705 [2024-03-07T23:13:31.019Z] 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.9" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2024-03-07T23:16:22.897Z] Removing intermediate container 7170f2176705 [2024-03-07T23:16:22.897Z] ---> bd5ae15a95bd [2024-03-07T23:16:22.897Z] Step 13/25 : FROM alpine:3.18 [2024-03-07T23:16:22.897Z] 3.18: Pulling from library/alpine [2024-03-07T23:16:22.897Z] c6b39de5b339: Pulling fs layer [2024-03-07T23:16:22.897Z] c6b39de5b339: Verifying Checksum [2024-03-07T23:16:22.897Z] c6b39de5b339: Download complete [2024-03-07T23:16:22.897Z] c6b39de5b339: Pull complete [2024-03-07T23:16:22.897Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-07T23:16:22.897Z] Status: Downloaded newer image for alpine:3.18 [2024-03-07T23:16:22.897Z] ---> 33abbf032149 [2024-03-07T23:16:22.897Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2024-03-07T23:16:22.897Z] ---> Running in de960c707740 [2024-03-07T23:16:22.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:16:22.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:16:22.897Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-07T23:16:22.897Z] Executing busybox-1.36.1-r5.trigger [2024-03-07T23:16:22.897Z] OK: 8 MiB in 16 packages [2024-03-07T23:16:22.897Z] Removing intermediate container de960c707740 [2024-03-07T23:16:22.897Z] ---> 26b4dfa36518 [2024-03-07T23:16:22.897Z] Step 15/25 : RUN apk --no-cache upgrade [2024-03-07T23:16:22.897Z] ---> Running in e54898e13fc7 [2024-03-07T23:16:22.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-07T23:16:22.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-07T23:16:23.168Z] OK: 8 MiB in 16 packages [2024-03-07T23:16:24.144Z] Removing intermediate container e54898e13fc7 [2024-03-07T23:16:24.144Z] ---> 9d9feaf16872 [2024-03-07T23:16:24.144Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2024-03-07T23:16:26.101Z] ---> 810af4820008 [2024-03-07T23:16:26.101Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2024-03-07T23:16:26.690Z] ---> fbd1afcda569 [2024-03-07T23:16:26.691Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2024-03-07T23:16:26.958Z] ---> 7e79f0a65095 [2024-03-07T23:16:26.958Z] Step 19/25 : EXPOSE 59993 [2024-03-07T23:16:27.228Z] ---> Running in 1559a5b157cf [2024-03-07T23:16:27.500Z] Removing intermediate container 1559a5b157cf [2024-03-07T23:16:27.500Z] ---> 0a27a7c125b7 [2024-03-07T23:16:27.500Z] Step 20/25 : EXPOSE 161 [2024-03-07T23:16:27.768Z] ---> Running in 0c135838c197 [2024-03-07T23:16:28.038Z] Removing intermediate container 0c135838c197 [2024-03-07T23:16:28.038Z] ---> aa3aed477140 [2024-03-07T23:16:28.038Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2024-03-07T23:16:28.038Z] ---> Running in 2447d46d5c24 [2024-03-07T23:16:28.313Z] Removing intermediate container 2447d46d5c24 [2024-03-07T23:16:28.313Z] ---> 1dcb36bb4402 [2024-03-07T23:16:28.313Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-07T23:16:28.582Z] ---> Running in 9f9488905405 [2024-03-07T23:16:28.852Z] Removing intermediate container 9f9488905405 [2024-03-07T23:16:28.852Z] ---> 40ed336f8e93 [2024-03-07T23:16:28.852Z] Step 23/25 : LABEL arch=arm64 [2024-03-07T23:16:29.122Z] ---> Running in d5cf07ca4230 [2024-03-07T23:16:29.394Z] Removing intermediate container d5cf07ca4230 [2024-03-07T23:16:29.394Z] ---> feb42ad26649 [2024-03-07T23:16:29.394Z] Step 24/25 : LABEL git_sha=c4f0b9d9b098db3889db55a0c696048b42859bf9 [2024-03-07T23:16:29.394Z] ---> Running in 29b887fee9fa [2024-03-07T23:16:30.221Z] Removing intermediate container 29b887fee9fa [2024-03-07T23:16:30.221Z] ---> d8d4e6e23e49 [2024-03-07T23:16:30.221Z] Step 25/25 : LABEL version=0.0.0 [2024-03-07T23:16:30.221Z] ---> Running in 22191f5f6ee7 [2024-03-07T23:16:30.235Z] Removing intermediate container 22191f5f6ee7 [2024-03-07T23:16:30.235Z] ---> 6d8f175e28b3 [2024-03-07T23:16:30.235Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-07T23:16:30.235Z] Successfully built 6d8f175e28b3 [2024-03-07T23:16:30.235Z] 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-07T23:16:36.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-07T23:16:36.886Z] [2024-03-07T23:16:36.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:16:37.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-07T23:16:37.638Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-07T23:16:37.638Z] 8998bd30e6a1: Pulling fs layer [2024-03-07T23:16:37.638Z] 04944245beec: Pulling fs layer [2024-03-07T23:16:37.638Z] 699f458cf7ca: Pulling fs layer [2024-03-07T23:16:37.638Z] 765212b225bb: Pulling fs layer [2024-03-07T23:16:37.638Z] f23df028b6ca: Pulling fs layer [2024-03-07T23:16:37.638Z] d65c8cfc05b1: Pulling fs layer [2024-03-07T23:16:37.638Z] 2437ff75d9bd: Pulling fs layer [2024-03-07T23:16:37.638Z] 765212b225bb: Waiting [2024-03-07T23:16:37.638Z] 2437ff75d9bd: Waiting [2024-03-07T23:16:37.638Z] d65c8cfc05b1: Waiting [2024-03-07T23:16:37.638Z] f23df028b6ca: Waiting [2024-03-07T23:16:37.638Z] 04944245beec: Verifying Checksum [2024-03-07T23:16:37.638Z] 04944245beec: Download complete [2024-03-07T23:16:37.638Z] 765212b225bb: Verifying Checksum [2024-03-07T23:16:37.638Z] 765212b225bb: Download complete [2024-03-07T23:16:37.913Z] f23df028b6ca: Verifying Checksum [2024-03-07T23:16:37.913Z] f23df028b6ca: Download complete [2024-03-07T23:16:37.913Z] d65c8cfc05b1: Verifying Checksum [2024-03-07T23:16:37.913Z] d65c8cfc05b1: Download complete [2024-03-07T23:16:37.913Z] 699f458cf7ca: Download complete [2024-03-07T23:16:38.510Z] 8998bd30e6a1: Download complete [2024-03-07T23:16:41.891Z] 2437ff75d9bd: Verifying Checksum [2024-03-07T23:16:41.891Z] 2437ff75d9bd: Download complete [2024-03-07T23:16:43.859Z] 8998bd30e6a1: Pull complete [2024-03-07T23:16:44.453Z] 04944245beec: Pull complete [2024-03-07T23:16:46.441Z] 699f458cf7ca: Pull complete [2024-03-07T23:16:46.712Z] 765212b225bb: Pull complete [2024-03-07T23:16:47.696Z] f23df028b6ca: Pull complete [2024-03-07T23:16:47.966Z] d65c8cfc05b1: Pull complete [2024-03-07T23:17:06.495Z] 2437ff75d9bd: Pull complete [2024-03-07T23:17:06.495Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-07T23:17:06.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-07T23:17:06.495Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:17:07.076Z] prd-ubuntu20.04-docker-arm64-4c-16g-5133 does not seem to be running inside a container [2024-03-07T23:17:07.188Z] $ 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-07T23:17:10.665Z] $ docker top 79d4011b917516ece1aa481ec4cd67fbe1d312d7d058bcd0d3ac1fc40cc739d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:17:11.757Z] ---> job-cost.sh [2024-03-07T23:17:11.757Z] lf-activate-venv: SKIPPING [2024-03-07T23:17:11.757Z] INFO: No Stack... [2024-03-07T23:17:12.348Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-07T23:17:12.938Z] INFO: Archiving Costs [Pipeline] sh [2024-03-07T23:17:13.614Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2024-03-07T23:17:13.614Z] + cut -d, -f6 [Pipeline] lock [2024-03-07T23:17:13.717Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-342-1-stack-cost] [2024-03-07T23:17:13.722Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-342-1-stack-cost] did not exist. Created. [2024-03-07T23:17:13.728Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-342-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-07T23:17:14.670Z] /w/workspace/device-snmp-go/1@tmp/durable-85dfc5d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-07T23:17:15.361Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-07T23:17:15.404Z] Warning: overwriting stash ‘stack-cost’ [2024-03-07T23:17:15.484Z] Stashed 1 file(s) [Pipeline] } [2024-03-07T23:17:15.507Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-342-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-07T23:17:15.694Z] $ docker stop --time=1 79d4011b917516ece1aa481ec4cd67fbe1d312d7d058bcd0d3ac1fc40cc739d9 [2024-03-07T23:17:17.339Z] $ docker rm -f --volumes 79d4011b917516ece1aa481ec4cd67fbe1d312d7d058bcd0d3ac1fc40cc739d9 [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-07T23:17:19.613Z] provisioning config files... [2024-03-07T23:17:19.627Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-342@tmp/config2476287085078207258tmp [Pipeline] { [Pipeline] sh [2024-03-07T23:17:20.065Z] + set +x [2024-03-07T23:17:20.065Z] + curl -s https://codecov.io/bash [2024-03-07T23:17:20.065Z] + bash -s -- [2024-03-07T23:17:20.065Z] [2024-03-07T23:17:20.065Z] _____ _ [2024-03-07T23:17:20.065Z] / ____| | | [2024-03-07T23:17:20.065Z] | | ___ __| | ___ ___ _____ __ [2024-03-07T23:17:20.065Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-07T23:17:20.065Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-07T23:17:20.065Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-07T23:17:20.065Z] Bash-1.0.6 [2024-03-07T23:17:20.065Z] [2024-03-07T23:17:20.065Z] [2024-03-07T23:17:20.065Z] ==> git version 2.25.1 found [2024-03-07T23:17:20.065Z] ==> 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-07T23:17:20.065Z] Release-Date: 2020-01-08 [2024-03-07T23:17:20.066Z] 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-07T23:17:20.066Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-07T23:17:20.066Z] ==> Jenkins CI detected. [2024-03-07T23:17:20.066Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-342 [2024-03-07T23:17:20.066Z] project root: . [2024-03-07T23:17:20.066Z] --> token set from env [2024-03-07T23:17:20.066Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-07T23:17:20.066Z] ==> Running gcov in . (disable via -X gcov) [2024-03-07T23:17:20.066Z] ==> Python coveragepy not found [2024-03-07T23:17:20.066Z] ==> Searching for coverage reports in: [2024-03-07T23:17:20.066Z] + . [2024-03-07T23:17:20.066Z] -> Found 1 reports [2024-03-07T23:17:20.066Z] ==> Detecting git/mercurial file structure [2024-03-07T23:17:20.066Z] ==> Reading reports [2024-03-07T23:17:20.066Z] + ./coverage.out bytes=8837 [2024-03-07T23:17:20.066Z] ==> Appending adjustments [2024-03-07T23:17:20.066Z] https://docs.codecov.io/docs/fixing-reports [2024-03-07T23:17:20.325Z] + Found adjustments [2024-03-07T23:17:20.325Z] ==> Gzipping contents [2024-03-07T23:17:20.325Z] 4.0K /tmp/codecov.B8WhtE.gz [2024-03-07T23:17:20.325Z] ==> Uploading reports [2024-03-07T23:17:20.325Z] url: https://codecov.io [2024-03-07T23:17:20.325Z] query: branch=PR-342&commit=c4f0b9d9b098db3889db55a0c696048b42859bf9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-342%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=342&job=&cmd_args= [2024-03-07T23:17:20.325Z] -> Pinging Codecov [2024-03-07T23:17:20.325Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-342&commit=c4f0b9d9b098db3889db55a0c696048b42859bf9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-342%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=342&job=&cmd_args= [2024-03-07T23:17:20.325Z] -> Uploading to [2024-03-07T23:17:20.325Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-07/6C56EA5C29638FB4528AC87E60AF5AE0/c4f0b9d9b098db3889db55a0c696048b42859bf9/f69f772e-01b3-4632-a007-114844aab1b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240307T231720Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=19e43f748250cc6f435d0063b299eac32e1544a6a8e8bcbe98a9d51e79657a61 [2024-03-07T23:17:20.326Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-07T23:17:20.326Z] Dload Upload Total Spent Left Speed [2024-03-07T23:17:20.586Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5905 --:--:-- --:--:-- --:--:-- 5905 [2024-03-07T23:17:20.586Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c4f0b9d9b098db3889db55a0c696048b42859bf9 [Pipeline] } [2024-03-07T23:17:20.617Z] 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-07T23:17:24.244Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-342/archives ] [2024-03-07T23:17:24.244Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-342/archives [2024-03-07T23:17:24.244Z] total 16 [2024-03-07T23:17:24.244Z] drwxr-xr-x 3 root root 4096 Mar 7 23:07 . [2024-03-07T23:17:24.244Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 23:07 .. [2024-03-07T23:17:24.244Z] drwxr-xr-x 2 root root 4096 Mar 7 23:07 cost [2024-03-07T23:17:24.244Z] -rw-r--r-- 1 root root 86 Mar 7 23:07 cost.csv [2024-03-07T23:17:24.244Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-342/archives [2024-03-07T23:17:24.244Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-342/archives [2024-03-07T23:17:24.244Z] total 16 [2024-03-07T23:17:24.244Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 23:07 . [2024-03-07T23:17:24.244Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 23:07 .. [2024-03-07T23:17:24.244Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 23:07 cost [2024-03-07T23:17:24.244Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 23:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:17:24.585Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:17:25.473Z] ---> package-listing.sh [2024-03-07T23:17:25.473Z] ++ facter osfamily [2024-03-07T23:17:25.473Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-07T23:17:25.734Z] + OS_FAMILY=debian [2024-03-07T23:17:25.734Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-342 [2024-03-07T23:17:25.734Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-07T23:17:25.734Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-07T23:17:25.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-07T23:17:25.734Z] + PACKAGES=/tmp/packages_start.txt [2024-03-07T23:17:25.734Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-342 ']' [2024-03-07T23:17:25.734Z] + PACKAGES=/tmp/packages_end.txt [2024-03-07T23:17:25.734Z] + case "${OS_FAMILY}" in [2024-03-07T23:17:25.734Z] + dpkg -l [2024-03-07T23:17:25.734Z] + grep '^ii' [2024-03-07T23:17:25.734Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-07T23:17:25.734Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-07T23:17:25.734Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-07T23:17:25.734Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-342 ']' [2024-03-07T23:17:25.734Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-342/archives/ [2024-03-07T23:17:25.734Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-342/archives/ [Pipeline] echo [2024-03-07T23:17:25.770Z] 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-342/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-07T23:17:26.060Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-07T23:17:26.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-07T23:17:26.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-07T23:17:26.727Z] prd-ubuntu20.04-docker-8c-8g-5124 does not seem to be running inside a container [2024-03-07T23:17:26.758Z] $ 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-342/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-342 -v /w/workspace/gexfoundry_device-snmp-go_PR-342:/w/workspace/gexfoundry_device-snmp-go_PR-342:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-342@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-342@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-07T23:17:26.979Z] $ docker top 2c6758ee85688391a2d84f7a1f4d09c79713fa9f56257bb32fa4dbecc36b7ff8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-07T23:17:27.467Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-07T23:17:27.780Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-07T23:17:28.092Z] + ls /var/log/sa-host [2024-03-07T23:17:28.092Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-07T23:17:28.300Z] provisioning config files... [2024-03-07T23:17:28.310Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-342@tmp/config11655550354121235595tmp [Pipeline] { [Pipeline] echo [2024-03-07T23:17:28.468Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:17:28.783Z] ---> create-netrc.sh [Pipeline] } [2024-03-07T23:17:28.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:17:29.328Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-07T23:17:29.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:17:29.688Z] ---> sudo-logs.sh [2024-03-07T23:17:29.688Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-07T23:17:29.822Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:17:30.131Z] ---> job-cost.sh [2024-03-07T23:17:30.131Z] lf-activate-venv: SKIPPING [2024-03-07T23:17:30.131Z] DEBUG: total: 0.2199999988079071 [2024-03-07T23:17:30.131Z] INFO: Retrieving Stack Cost... [2024-03-07T23:17:30.701Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-07T23:17:30.959Z] INFO: Archiving Costs [Pipeline] echo [2024-03-07T23:17:30.993Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-07T23:17:31.304Z] ---> logs-deploy.sh [2024-03-07T23:17:31.304Z] lf-activate-venv: SKIPPING [2024-03-07T23:17:31.304Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-342/1 [2024-03-07T23:17:31.304Z] INFO: archiving workspace using pattern(s): [2024-03-07T23:17:32.241Z] Archives upload complete. [2024-03-07T23:17:32.241Z] INFO: archiving logs to Nexus