Pull request #333 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from de2c10ee5d456fb1cedac684bc69c8e1e5b89019+b852d33a75a07d69fbdb63dde5dbae2cfe6da43b (c1c49fc1bfd27a9119c665c6f7c14b7992f261f9) 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-ssh13619628308739042478.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-ssh9871911983726234326.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-333/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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17892887058770981347.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-333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9072081922278948466.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-ssh17498929016179695286.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-333/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-333/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8533275771222970698.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-349 in /w/workspace/gexfoundry_device-snmp-go_PR-333 [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-333 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b852d33a75a07d69fbdb63dde5dbae2cfe6da43b into PR head commit de2c10ee5d456fb1cedac684bc69c8e1e5b89019 Merge succeeded, producing de2c10ee5d456fb1cedac684bc69c8e1e5b89019 Checking out Revision de2c10ee5d456fb1cedac684bc69c8e1e5b89019 (PR-333) Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f de2c10ee5d456fb1cedac684bc69c8e1e5b89019 # 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 b852d33a75a07d69fbdb63dde5dbae2cfe6da43b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de2c10ee5d456fb1cedac684bc69c8e1e5b89019 # timeout=10 [Pipeline] timeout [2023-11-21T22:21:48.131Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-21T22:21:48.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-21T22:21:48.590Z] ========================================================= [2023-11-21T22:21:48.590Z] EdgeX Global Pipelines Version Info [2023-11-21T22:21:48.590Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:21:49.775Z] ------------------- [2023-11-21T22:21:49.775Z] stable info: [2023-11-21T22:21:49.775Z] ------------------- [2023-11-21T22:21:49.775Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-21T22:21:49.775Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:21:49.775Z] Message: update stable to v1.0.258 [2023-11-21T22:21:50.040Z] ------------------- [2023-11-21T22:21:50.040Z] experimental info: [2023-11-21T22:21:50.040Z] ------------------- [2023-11-21T22:21:50.040Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-21T22:21:50.040Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:21:50.040Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-21T22:21:50.420Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-11-21T22:21:50.519Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-11-21T22:21:50.599Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-21T22:21:50.688Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-21T22:21:50.768Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-21T22:21:50.845Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-21T22:21:50.927Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-21T22:21:51.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-21T22:21:51.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-21T22:21:51.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-21T22:21:51.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-21T22:21:51.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-11-21T22:21:51.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-21T22:21:51.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-21T22:21:51.730Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:21:51.835Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:21:51.943Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:21:52.074Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:21:52.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-21T22:21:52.298Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-21T22:21:52.391Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-21T22:21:52.487Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-21T22:21:52.583Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-21T22:21:52.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-21T22:21:52.904Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-21T22:21:52.992Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-21T22:21:53.087Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-21T22:21:53.192Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-333 [Pipeline] echo [2023-11-21T22:21:53.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-333 [Pipeline] echo [2023-11-21T22:21:53.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-333 [Pipeline] echo [2023-11-21T22:21:53.507Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [Pipeline] echo [2023-11-21T22:21:53.624Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de2c10e [Pipeline] echo [2023-11-21T22:21:53.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:21:53.914Z] provisioning config files... [2023-11-21T22:21:53.937Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-333@tmp/config13969584401254024296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:21:54.365Z] ---> ****-login.sh [2023-11-21T22:21:54.365Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:21:54.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.626Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.626Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.626Z] [2023-11-21T22:21:54.626Z] Login Succeeded [2023-11-21T22:21:54.626Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:21:54.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.626Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.626Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.626Z] [2023-11-21T22:21:54.626Z] Login Succeeded [2023-11-21T22:21:54.626Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:21:54.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.888Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.888Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.888Z] [2023-11-21T22:21:54.888Z] Login Succeeded [2023-11-21T22:21:54.888Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:21:54.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.888Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.888Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.888Z] [2023-11-21T22:21:54.888Z] Login Succeeded [2023-11-21T22:21:54.888Z] ****.io [2023-11-21T22:21:55.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:55.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:55.154Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:55.154Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:55.154Z] [2023-11-21T22:21:55.154Z] Login Succeeded [2023-11-21T22:21:55.154Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:21:55.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-21T22:21:56.109Z] + git rev-list -1 --merges de2c10ee5d456fb1cedac684bc69c8e1e5b89019~1..de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [Pipeline] echo [2023-11-21T22:21:56.247Z] -----------> git rev-list -1 --merges de2c10ee5d456fb1cedac684bc69c8e1e5b89019~1..de2c10ee5d456fb1cedac684bc69c8e1e5b89019 de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [false] [Pipeline] sh [2023-11-21T22:21:56.611Z] + git log --format=format:%s -1 de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [Pipeline] echo [2023-11-21T22:21:56.657Z] ========================================================= [2023-11-21T22:21:56.657Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-21T22:21:56.657Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:21:57.186Z] + git log --format=format:%s -1 de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [Pipeline] echo [2023-11-21T22:21:57.249Z] [semverPrep] GIT_COMMIT: de2c10ee5d456fb1cedac684bc69c8e1e5b89019, Commit Message: build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [Pipeline] echo [2023-11-21T22:21:57.299Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-21T22:21:57.744Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-21T22:21:57.744Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-21T22:21:57.744Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-21T22:21:57.744Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-21T22:21:57.744Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-21T22:21:57.744Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-21T22:21:57.744Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:58.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:21:58.231Z] [2023-11-21T22:21:58.231Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:58.637Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:21:58.637Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-21T22:21:58.637Z] b85a868b505f: Pulling fs layer [2023-11-21T22:21:58.637Z] e2be974225ed: Pulling fs layer [2023-11-21T22:21:58.637Z] 339a4e72a1f5: Pulling fs layer [2023-11-21T22:21:58.637Z] 988bab9f4d93: Pulling fs layer [2023-11-21T22:21:58.637Z] 1469e6f7b9e6: Pulling fs layer [2023-11-21T22:21:58.637Z] eaf3925da568: Pulling fs layer [2023-11-21T22:21:58.637Z] bab4dde63d76: Pulling fs layer [2023-11-21T22:21:58.637Z] bde34c3a00c8: Pulling fs layer [2023-11-21T22:21:58.637Z] b352a97aabf1: Pulling fs layer [2023-11-21T22:21:58.637Z] 4872d77fe225: Pulling fs layer [2023-11-21T22:21:58.637Z] 5851b861e8e6: Pulling fs layer [2023-11-21T22:21:58.637Z] 988bab9f4d93: Waiting [2023-11-21T22:21:58.637Z] 1469e6f7b9e6: Waiting [2023-11-21T22:21:58.637Z] bab4dde63d76: Waiting [2023-11-21T22:21:58.637Z] eaf3925da568: Waiting [2023-11-21T22:21:58.637Z] bde34c3a00c8: Waiting [2023-11-21T22:21:58.637Z] b352a97aabf1: Waiting [2023-11-21T22:21:58.637Z] 5851b861e8e6: Waiting [2023-11-21T22:21:58.637Z] e2be974225ed: Download complete [2023-11-21T22:21:58.637Z] 988bab9f4d93: Download complete [2023-11-21T22:21:58.898Z] 1469e6f7b9e6: Verifying Checksum [2023-11-21T22:21:58.898Z] 1469e6f7b9e6: Download complete [2023-11-21T22:21:58.898Z] eaf3925da568: Download complete [2023-11-21T22:21:59.162Z] 339a4e72a1f5: Verifying Checksum [2023-11-21T22:21:59.162Z] 339a4e72a1f5: Download complete [2023-11-21T22:21:59.162Z] b352a97aabf1: Verifying Checksum [2023-11-21T22:21:59.162Z] b352a97aabf1: Download complete [2023-11-21T22:21:59.162Z] 4872d77fe225: Download complete [2023-11-21T22:21:59.162Z] 5851b861e8e6: Download complete [2023-11-21T22:21:59.423Z] b85a868b505f: Verifying Checksum [2023-11-21T22:21:59.423Z] b85a868b505f: Download complete [2023-11-21T22:21:59.683Z] bab4dde63d76: Download complete [2023-11-21T22:22:00.640Z] b85a868b505f: Pull complete [2023-11-21T22:22:00.640Z] e2be974225ed: Pull complete [2023-11-21T22:22:01.209Z] 339a4e72a1f5: Pull complete [2023-11-21T22:22:01.470Z] 988bab9f4d93: Pull complete [2023-11-21T22:22:02.039Z] 1469e6f7b9e6: Pull complete [2023-11-21T22:22:02.300Z] eaf3925da568: Pull complete [2023-11-21T22:22:04.855Z] bab4dde63d76: Pull complete [2023-11-21T22:22:04.855Z] bde34c3a00c8: Pull complete [2023-11-21T22:22:05.117Z] b352a97aabf1: Pull complete [2023-11-21T22:22:05.374Z] 4872d77fe225: Pull complete [2023-11-21T22:22:05.636Z] 5851b861e8e6: Pull complete [2023-11-21T22:22:05.897Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-21T22:22:05.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:22:05.897Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:22:06.403Z] prd-ubuntu20.04-docker-8c-8g-349 does not seem to be running inside a container [2023-11-21T22:22:06.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-333 -v /w/workspace/gexfoundry_device-snmp-go_PR-333:/w/workspace/gexfoundry_device-snmp-go_PR-333:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-333@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-333@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 [2023-11-21T22:22:13.605Z] $ docker top 01428bdacb278d86638cfa9993d2aba9732c42c624d2450178c0b9c01d9416e6 -eo pid,comm [2023-11-21T22:22:13.668Z] 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). [2023-11-21T22:22:13.668Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-21T22:22:14.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:22:14.021Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:22:14.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:22:14.139Z] $ docker exec 01428bdacb278d86638cfa9993d2aba9732c42c624d2450178c0b9c01d9416e6 ssh-agent [2023-11-21T22:22:14.245Z] SSH_AUTH_SOCK=/tmp/ssh-m7PTaGX0ltF5/agent.31 [2023-11-21T22:22:14.245Z] SSH_AGENT_PID=37 [2023-11-21T22:22:14.255Z] Running ssh-add (command line suppressed) [2023-11-21T22:22:14.357Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-333@tmp/private_key_9859366282857694979.key (/w/workspace/gexfoundry_device-snmp-go_PR-333@tmp/private_key_9859366282857694979.key) [2023-11-21T22:22:14.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:22:14.751Z] + git tag --points-at HEAD [Pipeline] } [2023-11-21T22:22:14.787Z] $ docker exec --env ******** --env ******** 01428bdacb278d86638cfa9993d2aba9732c42c624d2450178c0b9c01d9416e6 ssh-agent -k [2023-11-21T22:22:14.908Z] unset SSH_AUTH_SOCK; [2023-11-21T22:22:14.909Z] unset SSH_AGENT_PID; [2023-11-21T22:22:14.909Z] echo Agent pid 37 killed; [2023-11-21T22:22:14.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-21T22:22:15.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:22:15.163Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:22:15.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:22:15.290Z] $ docker exec 01428bdacb278d86638cfa9993d2aba9732c42c624d2450178c0b9c01d9416e6 ssh-agent [2023-11-21T22:22:15.401Z] SSH_AUTH_SOCK=/tmp/ssh-GVc7YjGUoIVo/agent.69 [2023-11-21T22:22:15.401Z] SSH_AGENT_PID=75 [2023-11-21T22:22:15.408Z] Running ssh-add (command line suppressed) [2023-11-21T22:22:15.521Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-333@tmp/private_key_831813899876938947.key (/w/workspace/gexfoundry_device-snmp-go_PR-333@tmp/private_key_831813899876938947.key) [2023-11-21T22:22:15.532Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:22:15.886Z] + git semver init [2023-11-21T22:22:16.149Z] 2023-11-21 22:22:16,101 [run_init] DEBUG init version:0.0.0 force:False [2023-11-21T22:22:16.149Z] 2023-11-21 22:22:16,103 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-333/.semver [2023-11-21T22:22:16.149Z] 2023-11-21 22:22:16,103 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-333/.semver [2023-11-21T22:22:16.149Z] 2023-11-21 22:22:16,103 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-333/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-333, universal_newlines=False, shell=None, istream=None) [2023-11-21T22:22:18.935Z] 2023-11-21 22:22:18,550 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-333/.git/info/exclude [2023-11-21T22:22:18.935Z] 2023-11-21 22:22:18,551 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-333/.semver/PR-333 with force:False [2023-11-21T22:22:18.935Z] 2023-11-21 22:22:18,551 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-333/.semver/PR-333 [2023-11-21T22:22:18.935Z] 2023-11-21 22:22:18,555 [execute] INFO git cat-file --batch-check [2023-11-21T22:22:18.935Z] 2023-11-21 22:22:18,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-333/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:22:18.935Z] 2023-11-21 22:22:18,561 [execute] INFO git cat-file --batch [2023-11-21T22:22:18.935Z] 2023-11-21 22:22:18,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-333/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:22:18.935Z] 2023-11-21 22:22:18,566 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-333/.semver/PR-333 [2023-11-21T22:22:18.935Z] 0.0.0 [Pipeline] } [2023-11-21T22:22:18.965Z] $ docker exec --env ******** --env ******** 01428bdacb278d86638cfa9993d2aba9732c42c624d2450178c0b9c01d9416e6 ssh-agent -k [2023-11-21T22:22:19.071Z] unset SSH_AUTH_SOCK; [2023-11-21T22:22:19.072Z] unset SSH_AGENT_PID; [2023-11-21T22:22:19.072Z] echo Agent pid 75 killed; [2023-11-21T22:22:19.081Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-21T22:22:19.617Z] + git semver [Pipeline] } [2023-11-21T22:22:19.908Z] $ docker stop --time=1 01428bdacb278d86638cfa9993d2aba9732c42c624d2450178c0b9c01d9416e6 [2023-11-21T22:22:21.218Z] $ docker rm -f --volumes 01428bdacb278d86638cfa9993d2aba9732c42c624d2450178c0b9c01d9416e6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:22:21.669Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-21T22:22:22.057Z] Stashed 1 file(s) [Pipeline] echo [2023-11-21T22:22:22.074Z] [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 [2023-11-21T22:22:23.299Z] provisioning config files... [2023-11-21T22:22:23.309Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-333@tmp/config9529549545137060746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:22:23.721Z] ---> ****-login.sh [2023-11-21T22:22:23.722Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:22:23.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.722Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.722Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.722Z] [2023-11-21T22:22:23.722Z] Login Succeeded [2023-11-21T22:22:23.722Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:22:23.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.722Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.722Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.722Z] [2023-11-21T22:22:23.722Z] Login Succeeded [2023-11-21T22:22:23.722Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:22:23.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.985Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.985Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.985Z] [2023-11-21T22:22:23.986Z] Login Succeeded [2023-11-21T22:22:23.986Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:22:23.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.986Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.986Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.986Z] [2023-11-21T22:22:23.986Z] Login Succeeded [2023-11-21T22:22:23.986Z] ****.io [2023-11-21T22:22:24.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:24.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:24.247Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:24.247Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:24.247Z] [2023-11-21T22:22:24.247Z] Login Succeeded [2023-11-21T22:22:24.247Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:22:24.286Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:22:24.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:22:24.826Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:22:24.897Z] ========================================================= [2023-11-21T22:22:24.897Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-21T22:22:24.897Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:22:25.525Z] + 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 . [2023-11-21T22:22:25.525Z] Sending build context to Docker daemon 14.08MB [2023-11-21T22:22:25.525Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:22:25.525Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:22:25.788Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-21T22:22:25.788Z] 7264a8db6415: Pulling fs layer [2023-11-21T22:22:25.788Z] c4d48a809fc2: Pulling fs layer [2023-11-21T22:22:25.788Z] 4f1c88b9dad5: Pulling fs layer [2023-11-21T22:22:25.788Z] ad3a456e5733: Pulling fs layer [2023-11-21T22:22:25.788Z] 69c7f0334f64: Pulling fs layer [2023-11-21T22:22:25.788Z] 1f1c1a5573a3: Pulling fs layer [2023-11-21T22:22:25.788Z] ce7588e14bc9: Pulling fs layer [2023-11-21T22:22:25.788Z] b5e4710f87ac: Pulling fs layer [2023-11-21T22:22:25.788Z] 69c7f0334f64: Waiting [2023-11-21T22:22:25.788Z] 1f1c1a5573a3: Waiting [2023-11-21T22:22:25.788Z] ce7588e14bc9: Waiting [2023-11-21T22:22:25.788Z] b5e4710f87ac: Waiting [2023-11-21T22:22:25.788Z] ad3a456e5733: Waiting [2023-11-21T22:22:25.788Z] c4d48a809fc2: Download complete [2023-11-21T22:22:25.788Z] ad3a456e5733: Verifying Checksum [2023-11-21T22:22:25.788Z] ad3a456e5733: Download complete [2023-11-21T22:22:25.788Z] 69c7f0334f64: Verifying Checksum [2023-11-21T22:22:25.788Z] 69c7f0334f64: Download complete [2023-11-21T22:22:25.788Z] 7264a8db6415: Verifying Checksum [2023-11-21T22:22:25.788Z] 7264a8db6415: Download complete [2023-11-21T22:22:26.047Z] 1f1c1a5573a3: Verifying Checksum [2023-11-21T22:22:26.047Z] 1f1c1a5573a3: Download complete [2023-11-21T22:22:26.326Z] 7264a8db6415: Pull complete [2023-11-21T22:22:26.326Z] b5e4710f87ac: Verifying Checksum [2023-11-21T22:22:26.326Z] b5e4710f87ac: Download complete [2023-11-21T22:22:26.899Z] c4d48a809fc2: Pull complete [2023-11-21T22:22:27.158Z] 4f1c88b9dad5: Verifying Checksum [2023-11-21T22:22:27.158Z] 4f1c88b9dad5: Download complete [2023-11-21T22:22:27.726Z] ce7588e14bc9: Verifying Checksum [2023-11-21T22:22:27.726Z] ce7588e14bc9: Download complete [2023-11-21T22:22:31.187Z] 4f1c88b9dad5: Pull complete [2023-11-21T22:22:31.755Z] ad3a456e5733: Pull complete [2023-11-21T22:22:32.330Z] 69c7f0334f64: Pull complete [2023-11-21T22:22:32.595Z] 1f1c1a5573a3: Pull complete [2023-11-21T22:22:35.887Z] ce7588e14bc9: Pull complete [2023-11-21T22:22:36.170Z] b5e4710f87ac: Pull complete [2023-11-21T22:22:36.170Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-21T22:22:36.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-21T22:22:36.170Z] ---> 88b5674ff536 [2023-11-21T22:22:36.170Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:22:37.982Z] Still waiting to schedule task [2023-11-21T22:22:37.982Z] ‘prd-centos7-blackbox-4c-2g-162’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.982Z] ‘prd-centos7-blackbox-4c-2g-163’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.982Z] ‘prd-ubuntu20.04-docker-8c-8g-359’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.982Z] ‘prd-ubuntu20.04-docker-8c-8g-362’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.982Z] ‘prd-ubuntu20.04-docker-8c-8g-363’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.982Z] ‘prd-ubuntu20.04-docker-8c-8g-364’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.982Z] ‘prd-ubuntu20.04-docker-8c-8g-365’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.982Z] ‘prd-ubuntu20.04-docker-8c-8g-366’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.982Z] ‘prd-ubuntu20.04-docker-8c-8g-367’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.983Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-358’ is offline [2023-11-21T22:22:48.406Z] ---> Running in 89dc40ca0db8 [2023-11-21T22:22:49.017Z] Removing intermediate container 89dc40ca0db8 [2023-11-21T22:22:49.017Z] ---> 588f0b8c21c0 [2023-11-21T22:22:49.017Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:22:49.588Z] ---> Running in 8bd40b7603b5 [2023-11-21T22:22:50.977Z] Removing intermediate container 8bd40b7603b5 [2023-11-21T22:22:50.977Z] ---> 5bd48e1129d6 [2023-11-21T22:22:50.977Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:22:51.554Z] ---> Running in 1a6a5b2f8687 [2023-11-21T22:22:51.815Z] Removing intermediate container 1a6a5b2f8687 [2023-11-21T22:22:51.815Z] ---> 6bf1f940d960 [2023-11-21T22:22:51.815Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:22:52.076Z] ---> Running in 4d1f5a5e5f61 [2023-11-21T22:22:52.652Z] Removing intermediate container 4d1f5a5e5f61 [2023-11-21T22:22:52.652Z] ---> 9249c8b14080 [2023-11-21T22:22:52.652Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:22:52.914Z] ---> Running in 247407a7847b [2023-11-21T22:22:53.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:53.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:54.009Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:22:54.009Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:22:54.009Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:22:54.271Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:22:54.271Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:22:54.271Z] OK: 268 MiB in 56 packages [2023-11-21T22:22:56.233Z] Removing intermediate container 247407a7847b [2023-11-21T22:22:56.233Z] ---> 1d2cb3b33bc6 [2023-11-21T22:22:56.233Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-21T22:22:56.233Z] ---> Running in c39565afc9c9 [2023-11-21T22:22:56.806Z] Removing intermediate container c39565afc9c9 [2023-11-21T22:22:56.806Z] ---> 2d74f8b37329 [2023-11-21T22:22:56.806Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-21T22:22:57.379Z] ---> 6edcb3f62618 [2023-11-21T22:22:57.379Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:22:57.960Z] ---> Running in 2f3a571b82f3 [2023-11-21T22:24:34.750Z] Removing intermediate container 2f3a571b82f3 [2023-11-21T22:24:34.750Z] ---> 75c17032ad6a [2023-11-21T22:24:34.750Z] Step 11/12 : COPY . . [2023-11-21T22:24:34.750Z] ---> 9dd4b9f2a91c [2023-11-21T22:24:34.750Z] Step 12/12 : RUN ${MAKE} [2023-11-21T22:24:34.750Z] ---> Running in c34d21516203 [2023-11-21T22:24:34.750Z] noop [2023-11-21T22:24:34.750Z] Removing intermediate container c34d21516203 [2023-11-21T22:24:34.750Z] ---> 22fc17d4569b [2023-11-21T22:24:34.750Z] Successfully built 22fc17d4569b [2023-11-21T22:24:34.750Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:24:35.307Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:24:35.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:24:35.522Z] prd-ubuntu20.04-docker-8c-8g-349 does not seem to be running inside a container [2023-11-21T22:24:35.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-333 -v /w/workspace/gexfoundry_device-snmp-go_PR-333:/w/workspace/gexfoundry_device-snmp-go_PR-333:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-333@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-333@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 [2023-11-21T22:24:36.543Z] $ docker top 75d3ab29076526ed20b2c4c82d08caa9731bfc6b3ddeb5fd5b13c8ca3cad84a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:24:37.052Z] + go version [2023-11-21T22:24:37.052Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-21T22:24:37.105Z] $ docker stop --time=1 75d3ab29076526ed20b2c4c82d08caa9731bfc6b3ddeb5fd5b13c8ca3cad84a6 [2023-11-21T22:24:38.506Z] $ docker rm -f --volumes 75d3ab29076526ed20b2c4c82d08caa9731bfc6b3ddeb5fd5b13c8ca3cad84a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:24:39.633Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:24:39.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:24:39.838Z] prd-ubuntu20.04-docker-8c-8g-349 does not seem to be running inside a container [2023-11-21T22:24:39.872Z] $ 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-333 -v /w/workspace/gexfoundry_device-snmp-go_PR-333:/w/workspace/gexfoundry_device-snmp-go_PR-333:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-333@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-333@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 [2023-11-21T22:24:40.463Z] $ docker top eb82db5fc836ba3ddc071f0c3ae8f7c48958b074f56228de9f5366c8602132c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:24:40.900Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-333 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:24:41.307Z] + make test [2023-11-21T22:24:41.307Z] go test ./... -coverprofile=coverage.out [2023-11-21T22:24:44.586Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-21T22:24:54.562Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-21T22:24:54.562Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2023-11-21T22:25:02.879Z] go vet ./... [2023-11-21T22:25:06.172Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:25:06.172Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:25:06.172Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:25:06.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:25:06.268Z] $ docker stop --time=1 eb82db5fc836ba3ddc071f0c3ae8f7c48958b074f56228de9f5366c8602132c1 [2023-11-21T22:25:09.892Z] $ docker rm -f --volumes eb82db5fc836ba3ddc071f0c3ae8f7c48958b074f56228de9f5366c8602132c1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:25:10.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:25:10.569Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-21T22:25:11.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:25:11.671Z] + ls -al . [2023-11-21T22:25:11.671Z] total 172 [2023-11-21T22:25:11.671Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:24 . [2023-11-21T22:25:11.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:21 .. [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 21 22:21 .dockerignore [2023-11-21T22:25:11.671Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:24 .git [2023-11-21T22:25:11.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 .github [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 21 22:21 .gitignore [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:21 .golangci.yml [2023-11-21T22:25:11.671Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:22 .semver [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 21 22:21 Attribution.txt [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 21 22:21 CHANGELOG.md [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 1571 Nov 21 22:21 Dockerfile [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:21 GOVERNANCE.md [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 21 22:21 Jenkinsfile [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:21 LICENSE [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 21 22:21 Makefile [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 21 22:21 OWNERS.md [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 21 22:21 README.md [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION [2023-11-21T22:25:11.671Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:21 bin [2023-11-21T22:25:11.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 cmd [2023-11-21T22:25:11.671Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 21 22:24 coverage.out [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 3665 Nov 21 22:21 go.mod [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 34728 Nov 21 22:21 go.sum [2023-11-21T22:25:11.671Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 internal [2023-11-21T22:25:11.671Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 21 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:25:12.342Z] + 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=de2c10ee5d456fb1cedac684bc69c8e1e5b89019 --label arch=amd64 --label version=0.0.0 . [2023-11-21T22:25:12.342Z] Sending build context to Docker daemon 14.09MB [2023-11-21T22:25:12.342Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:25:12.342Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-21T22:25:12.342Z] ---> 22fc17d4569b [2023-11-21T22:25:12.342Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:25:12.601Z] ---> Running in 9cd6d779a64c [2023-11-21T22:25:12.601Z] Removing intermediate container 9cd6d779a64c [2023-11-21T22:25:12.601Z] ---> fa66d852d070 [2023-11-21T22:25:12.601Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:25:12.601Z] ---> Running in 1dddf60567aa [2023-11-21T22:25:12.859Z] Removing intermediate container 1dddf60567aa [2023-11-21T22:25:12.859Z] ---> 20746f314cfa [2023-11-21T22:25:12.859Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:25:12.859Z] ---> Running in 28de5a8a321f [2023-11-21T22:25:12.859Z] Removing intermediate container 28de5a8a321f [2023-11-21T22:25:12.859Z] ---> 1122dcfa4152 [2023-11-21T22:25:12.859Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:25:12.859Z] ---> Running in c25ff403b7d5 [2023-11-21T22:25:12.859Z] Removing intermediate container c25ff403b7d5 [2023-11-21T22:25:12.859Z] ---> bfc5e9f35481 [2023-11-21T22:25:12.859Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:25:12.859Z] ---> Running in 5fe229b600d3 [2023-11-21T22:25:13.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:13.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:13.737Z] OK: 268 MiB in 56 packages [2023-11-21T22:25:14.023Z] Removing intermediate container 5fe229b600d3 [2023-11-21T22:25:14.023Z] ---> 1d7f77e33268 [2023-11-21T22:25:14.023Z] Step 8/25 : WORKDIR /device-snmp-go [2023-11-21T22:25:14.023Z] ---> Running in 0cdc99b64c2d [2023-11-21T22:25:14.023Z] Removing intermediate container 0cdc99b64c2d [2023-11-21T22:25:14.023Z] ---> 7578b9b4c830 [2023-11-21T22:25:14.023Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-21T22:25:14.298Z] ---> 02d55ad6893c [2023-11-21T22:25:14.298Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:25:14.298Z] ---> Running in fef361626eec [2023-11-21T22:25:14.864Z] Removing intermediate container fef361626eec [2023-11-21T22:25:14.864Z] ---> 4e1b37994be1 [2023-11-21T22:25:14.864Z] Step 11/25 : COPY . . [2023-11-21T22:25:15.839Z] ---> d2dea6a7f2d1 [2023-11-21T22:25:15.839Z] Step 12/25 : RUN ${MAKE} [2023-11-21T22:25:16.099Z] ---> Running in 0b6638249079 [2023-11-21T22:25:16.358Z] 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.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-11-21T22:25:43.249Z] Removing intermediate container 0b6638249079 [2023-11-21T22:25:43.249Z] ---> 425c86d782a1 [2023-11-21T22:25:43.249Z] Step 13/25 : FROM alpine:3.18 [2023-11-21T22:25:43.249Z] 3.18: Pulling from library/alpine [2023-11-21T22:25:43.249Z] 96526aa774ef: Pulling fs layer [2023-11-21T22:25:43.249Z] 96526aa774ef: Verifying Checksum [2023-11-21T22:25:43.249Z] 96526aa774ef: Download complete [2023-11-21T22:25:43.249Z] 96526aa774ef: Pull complete [2023-11-21T22:25:43.249Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:25:43.249Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:25:43.249Z] ---> 8ca4688f4f35 [2023-11-21T22:25:43.249Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:25:43.249Z] ---> Running in 5033641c7064 [2023-11-21T22:25:43.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:43.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:43.249Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:25:43.249Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:25:43.249Z] OK: 7 MiB in 16 packages [2023-11-21T22:25:43.249Z] Removing intermediate container 5033641c7064 [2023-11-21T22:25:43.249Z] ---> 1f806aa8a0e0 [2023-11-21T22:25:43.249Z] Step 15/25 : RUN apk --no-cache upgrade [2023-11-21T22:25:43.249Z] ---> Running in 12a328249b73 [2023-11-21T22:25:43.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:43.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:43.249Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:25:43.249Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:25:43.249Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:25:43.249Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:25:43.249Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:25:43.249Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:25:43.249Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:25:43.249Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:25:43.249Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:25:43.249Z] OK: 7 MiB in 16 packages [2023-11-21T22:25:43.818Z] Removing intermediate container 12a328249b73 [2023-11-21T22:25:43.818Z] ---> 779b3d91b622 [2023-11-21T22:25:43.818Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2023-11-21T22:25:44.772Z] ---> 21d585beab48 [2023-11-21T22:25:44.772Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-21T22:25:44.772Z] ---> 526da0e25943 [2023-11-21T22:25:44.772Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-21T22:25:45.032Z] ---> 4d32901ad94a [2023-11-21T22:25:45.032Z] Step 19/25 : EXPOSE 59993 [2023-11-21T22:25:45.032Z] ---> Running in a41ecc7a6550 [2023-11-21T22:25:45.032Z] Removing intermediate container a41ecc7a6550 [2023-11-21T22:25:45.032Z] ---> 98e8ad90cc81 [2023-11-21T22:25:45.032Z] Step 20/25 : EXPOSE 161 [2023-11-21T22:25:45.032Z] ---> Running in 3358a2204cec [2023-11-21T22:25:45.032Z] Removing intermediate container 3358a2204cec [2023-11-21T22:25:45.032Z] ---> 82c8204fe342 [2023-11-21T22:25:45.032Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2023-11-21T22:25:45.032Z] ---> Running in a4f65eb76c2d [2023-11-21T22:25:45.292Z] Removing intermediate container a4f65eb76c2d [2023-11-21T22:25:45.292Z] ---> cc4fa50505c6 [2023-11-21T22:25:45.292Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-21T22:25:45.292Z] ---> Running in f63804c7287d [2023-11-21T22:25:45.292Z] Removing intermediate container f63804c7287d [2023-11-21T22:25:45.292Z] ---> fedfd06536c0 [2023-11-21T22:25:45.292Z] Step 23/25 : LABEL arch=amd64 [2023-11-21T22:25:45.292Z] ---> Running in b75461085ae7 [2023-11-21T22:25:45.292Z] Removing intermediate container b75461085ae7 [2023-11-21T22:25:45.292Z] ---> 8e725369101c [2023-11-21T22:25:45.292Z] Step 24/25 : LABEL git_sha=de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [2023-11-21T22:25:45.554Z] ---> Running in c67855ee55ed [2023-11-21T22:25:45.554Z] Removing intermediate container c67855ee55ed [2023-11-21T22:25:45.554Z] ---> 6f20e4a60837 [2023-11-21T22:25:45.554Z] Step 25/25 : LABEL version=0.0.0 [2023-11-21T22:25:45.554Z] ---> Running in 784d776c37ae [2023-11-21T22:25:45.554Z] Removing intermediate container 784d776c37ae [2023-11-21T22:25:45.554Z] ---> 01a78af6606f [2023-11-21T22:25:45.554Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:25:45.554Z] Successfully built 01a78af6606f [2023-11-21T22:25:45.554Z] 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 [2023-11-21T22:25:46.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:46.806Z] [2023-11-21T22:25:46.806Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:25:47.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:47.211Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-21T22:25:47.211Z] 5eb5b503b376: Pulling fs layer [2023-11-21T22:25:47.211Z] 5c69ac0246d0: Pulling fs layer [2023-11-21T22:25:47.211Z] ec43610c2a17: Pulling fs layer [2023-11-21T22:25:47.211Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-21T22:25:47.211Z] 33b1e0a273af: Pulling fs layer [2023-11-21T22:25:47.211Z] 5d3b04190fa2: Pulling fs layer [2023-11-21T22:25:47.211Z] 2f39f015ded8: Pulling fs layer [2023-11-21T22:25:47.211Z] 3a2ae6a8a46f: Waiting [2023-11-21T22:25:47.211Z] 33b1e0a273af: Waiting [2023-11-21T22:25:47.211Z] 5d3b04190fa2: Waiting [2023-11-21T22:25:47.211Z] 2f39f015ded8: Waiting [2023-11-21T22:25:47.211Z] 5c69ac0246d0: Verifying Checksum [2023-11-21T22:25:47.211Z] 5c69ac0246d0: Download complete [2023-11-21T22:25:47.211Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-21T22:25:47.211Z] 3a2ae6a8a46f: Download complete [2023-11-21T22:25:47.211Z] 33b1e0a273af: Verifying Checksum [2023-11-21T22:25:47.211Z] 33b1e0a273af: Download complete [2023-11-21T22:25:47.211Z] 5d3b04190fa2: Verifying Checksum [2023-11-21T22:25:47.211Z] 5d3b04190fa2: Download complete [2023-11-21T22:25:47.471Z] ec43610c2a17: Verifying Checksum [2023-11-21T22:25:47.471Z] ec43610c2a17: Download complete [2023-11-21T22:25:47.471Z] 5eb5b503b376: Verifying Checksum [2023-11-21T22:25:47.471Z] 5eb5b503b376: Download complete [2023-11-21T22:25:48.037Z] 2f39f015ded8: Download complete [2023-11-21T22:25:48.971Z] 5eb5b503b376: Pull complete [2023-11-21T22:25:48.971Z] 5c69ac0246d0: Pull complete [2023-11-21T22:25:49.230Z] ec43610c2a17: Pull complete [2023-11-21T22:25:49.490Z] 3a2ae6a8a46f: Pull complete [2023-11-21T22:25:49.748Z] 33b1e0a273af: Pull complete [2023-11-21T22:25:49.748Z] 5d3b04190fa2: Pull complete [2023-11-21T22:25:55.012Z] 2f39f015ded8: Pull complete [2023-11-21T22:25:55.579Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-21T22:25:55.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:55.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:25:55.945Z] prd-ubuntu20.04-docker-8c-8g-349 does not seem to be running inside a container [2023-11-21T22:25:55.980Z] $ 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-333 -v /w/workspace/gexfoundry_device-snmp-go_PR-333:/w/workspace/gexfoundry_device-snmp-go_PR-333:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-333@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-333@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 [2023-11-21T22:26:08.631Z] $ docker top be202d6d9ef777ba6dc4d456327db85d8b5e054831a119f9d3d67303449b5526 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:26:09.147Z] ---> job-cost.sh [2023-11-21T22:26:09.147Z] lf-activate-venv: SKIPPING [2023-11-21T22:26:09.147Z] INFO: No Stack... [2023-11-21T22:26:09.405Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:26:09.663Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:26:09.979Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-333/archives/cost.csv [2023-11-21T22:26:09.979Z] + cut -d, -f6 [Pipeline] lock [2023-11-21T22:26:10.022Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-333-1-stack-cost] [2023-11-21T22:26:10.026Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-333-1-stack-cost] did not exist. Created. [2023-11-21T22:26:10.026Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:26:10.486Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-21T22:26:10.535Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:26:10.595Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:26:10.738Z] $ docker stop --time=1 be202d6d9ef777ba6dc4d456327db85d8b5e054831a119f9d3d67303449b5526 [2023-11-21T22:26:11.962Z] $ docker rm -f --volumes be202d6d9ef777ba6dc4d456327db85d8b5e054831a119f9d3d67303449b5526 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-21T22:37:14.610Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-746 in /w/workspace/gexfoundry_device-snmp-go_PR-333 [Pipeline] { [Pipeline] ws [2023-11-21T22:37:14.698Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-11-21T22:37:17.842Z] Selected Git installation does not exist. Using Default [2023-11-21T22:37:17.842Z] The recommended git tool is: NONE [2023-11-21T22:37:26.318Z] using credential edgex-jenkins-ssh [2023-11-21T22:37:26.340Z] Cloning the remote Git repository [2023-11-21T22:37:26.394Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-11-21T22:37:26.517Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-11-21T22:37:26.690Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-11-21T22:37:26.691Z] > git --version # timeout=10 [2023-11-21T22:37:26.714Z] > git --version # 'git version 2.25.1' [2023-11-21T22:37:26.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:26.892Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:37:28.589Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-11-21T22:37:28.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:37:29.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-11-21T22:37:29.532Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-11-21T22:37:29.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:29.547Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/333/head:refs/remotes/origin/PR-333 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-21T22:37:30.121Z] Merging remotes/origin/main commit b852d33a75a07d69fbdb63dde5dbae2cfe6da43b into PR head commit de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [2023-11-21T22:37:30.389Z] Merge succeeded, producing de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [2023-11-21T22:37:30.390Z] Checking out Revision de2c10ee5d456fb1cedac684bc69c8e1e5b89019 (PR-333) [2023-11-21T22:37:30.941Z] Commit message: "build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" [2023-11-21T22:37:31.003Z] > git --version # timeout=10 [2023-11-21T22:37:31.022Z] > git --version # 'git version 2.25.1' [2023-11-21T22:37:31.044Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [2023-11-21T22:37:30.139Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:37:30.202Z] > git checkout -f de2c10ee5d456fb1cedac684bc69c8e1e5b89019 # timeout=10 [2023-11-21T22:37:30.286Z] > git remote # timeout=10 [2023-11-21T22:37:30.305Z] > git config --get remote.origin.url # timeout=10 [2023-11-21T22:37:30.332Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:30.346Z] > git merge b852d33a75a07d69fbdb63dde5dbae2cfe6da43b # timeout=10 [2023-11-21T22:37:30.375Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-21T22:37:30.398Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:37:30.416Z] > git checkout -f de2c10ee5d456fb1cedac684bc69c8e1e5b89019 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:37:32.418Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-21T22:37:32.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:37:32.418Z] Dload Upload Total Spent Left Speed [2023-11-21T22:37:32.418Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 169k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-11-21T22:37:37.066Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-21T22:37:37.428Z] + sudo+ tee /etc/docker/daemon.new [2023-11-21T22:37:37.428Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-21T22:37:37.428Z] { [2023-11-21T22:37:37.428Z] "registry-mirrors": [ [2023-11-21T22:37:37.428Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-21T22:37:37.428Z] ], [2023-11-21T22:37:37.428Z] "bip": "10.250.0.254/24", [2023-11-21T22:37:37.428Z] "hosts": [ [2023-11-21T22:37:37.428Z] "tcp://0.0.0.0:5555", [2023-11-21T22:37:37.428Z] "unix:///var/run/docker.sock" [2023-11-21T22:37:37.428Z] ], [2023-11-21T22:37:37.428Z] "mtu": 1458, [2023-11-21T22:37:37.428Z] "selinux-enabled": true, [2023-11-21T22:37:37.428Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-21T22:37:37.428Z] } [Pipeline] sh [2023-11-21T22:37:37.776Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-21T22:37:38.129Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:37:56.588Z] provisioning config files... [2023-11-21T22:37:56.622Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3652827566358116386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:37:57.176Z] ---> ****-login.sh [2023-11-21T22:37:57.176Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:37:57.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:57.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:57.774Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:57.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:57.774Z] [2023-11-21T22:37:57.774Z] Login Succeeded [2023-11-21T22:37:57.774Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:37:58.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:58.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:58.315Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:58.315Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:58.315Z] [2023-11-21T22:37:58.315Z] Login Succeeded [2023-11-21T22:37:58.315Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:37:58.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:58.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:58.587Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:58.587Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:58.587Z] [2023-11-21T22:37:58.587Z] Login Succeeded [2023-11-21T22:37:58.587Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:37:58.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:58.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:58.860Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:58.860Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:58.860Z] [2023-11-21T22:37:58.860Z] Login Succeeded [2023-11-21T22:37:58.860Z] ****.io [2023-11-21T22:37:59.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:59.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:59.402Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:59.402Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:59.402Z] [2023-11-21T22:37:59.402Z] Login Succeeded [2023-11-21T22:37:59.402Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:37:59.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:37:59.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:38:00.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:38:00.143Z] ========================================================= [2023-11-21T22:38:00.143Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-21T22:38:00.143Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:38:00.794Z] + 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 . [2023-11-21T22:38:01.065Z] Sending build context to Docker daemon 7.121MB [2023-11-21T22:38:01.343Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:38:01.343Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:38:01.343Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-21T22:38:01.343Z] 9fda8d8052c6: Pulling fs layer [2023-11-21T22:38:01.343Z] 5d54e960e981: Pulling fs layer [2023-11-21T22:38:01.343Z] c4a7e357bf2a: Pulling fs layer [2023-11-21T22:38:01.343Z] f0e02332f6b5: Pulling fs layer [2023-11-21T22:38:01.343Z] 872ee5b61b7b: Pulling fs layer [2023-11-21T22:38:01.343Z] 0c6a40ed1a82: Pulling fs layer [2023-11-21T22:38:01.343Z] 94ae7d8d031c: Pulling fs layer [2023-11-21T22:38:01.343Z] 872ee5b61b7b: Waiting [2023-11-21T22:38:01.343Z] 0c6a40ed1a82: Waiting [2023-11-21T22:38:01.343Z] 94ae7d8d031c: Waiting [2023-11-21T22:38:01.343Z] f0e02332f6b5: Waiting [2023-11-21T22:38:01.343Z] 5d54e960e981: Download complete [2023-11-21T22:38:01.343Z] f0e02332f6b5: Verifying Checksum [2023-11-21T22:38:01.343Z] f0e02332f6b5: Download complete [2023-11-21T22:38:01.615Z] 872ee5b61b7b: Verifying Checksum [2023-11-21T22:38:01.615Z] 872ee5b61b7b: Download complete [2023-11-21T22:38:01.615Z] 9fda8d8052c6: Download complete [2023-11-21T22:38:01.891Z] 94ae7d8d031c: Verifying Checksum [2023-11-21T22:38:01.891Z] 94ae7d8d031c: Download complete [2023-11-21T22:38:02.879Z] 9fda8d8052c6: Pull complete [2023-11-21T22:38:03.857Z] c4a7e357bf2a: Verifying Checksum [2023-11-21T22:38:03.857Z] c4a7e357bf2a: Download complete [2023-11-21T22:38:04.447Z] 0c6a40ed1a82: Verifying Checksum [2023-11-21T22:38:04.447Z] 0c6a40ed1a82: Download complete [2023-11-21T22:38:06.669Z] 5d54e960e981: Pull complete [2023-11-21T22:38:21.709Z] c4a7e357bf2a: Pull complete [2023-11-21T22:38:21.709Z] f0e02332f6b5: Pull complete [2023-11-21T22:38:21.709Z] 872ee5b61b7b: Pull complete [2023-11-21T22:38:31.805Z] 0c6a40ed1a82: Pull complete [2023-11-21T22:38:31.805Z] 94ae7d8d031c: Pull complete [2023-11-21T22:38:31.805Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-21T22:38:31.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-21T22:38:31.805Z] ---> 86de565de09d [2023-11-21T22:38:31.805Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:38:34.419Z] ---> Running in d54e12b934ac [2023-11-21T22:38:34.419Z] Removing intermediate container d54e12b934ac [2023-11-21T22:38:34.419Z] ---> 3d80e81c4c48 [2023-11-21T22:38:34.419Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:38:34.419Z] ---> Running in 4b4bf8ae62a7 [2023-11-21T22:38:35.007Z] Removing intermediate container 4b4bf8ae62a7 [2023-11-21T22:38:35.007Z] ---> 89cd391163de [2023-11-21T22:38:35.007Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:38:35.007Z] ---> Running in 757c2e9d5be3 [2023-11-21T22:38:35.277Z] Removing intermediate container 757c2e9d5be3 [2023-11-21T22:38:35.277Z] ---> 79c5c29bb0a5 [2023-11-21T22:38:35.277Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:38:35.277Z] ---> Running in db3d06126802 [2023-11-21T22:38:35.865Z] Removing intermediate container db3d06126802 [2023-11-21T22:38:35.865Z] ---> ef12181f20c8 [2023-11-21T22:38:35.865Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:38:35.865Z] ---> Running in 731a1c1ff63e [2023-11-21T22:38:37.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:38:37.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:38:39.103Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:38:39.103Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:38:39.103Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:38:39.103Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:38:39.103Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:38:39.103Z] OK: 271 MiB in 56 packages [2023-11-21T22:38:40.073Z] Removing intermediate container 731a1c1ff63e [2023-11-21T22:38:40.073Z] ---> 65c56ca80f05 [2023-11-21T22:38:40.073Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-21T22:38:40.342Z] ---> Running in 0b070c1f85e8 [2023-11-21T22:38:40.611Z] Removing intermediate container 0b070c1f85e8 [2023-11-21T22:38:40.611Z] ---> 0f5ec82587f0 [2023-11-21T22:38:40.611Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-21T22:38:41.196Z] ---> 6cb00fccee09 [2023-11-21T22:38:41.196Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:38:41.196Z] ---> Running in 10cf8a42e2cb [2023-11-21T22:40:02.908Z] Removing intermediate container 10cf8a42e2cb [2023-11-21T22:40:02.908Z] ---> be92eb07be50 [2023-11-21T22:40:02.908Z] Step 11/12 : COPY . . [2023-11-21T22:40:02.908Z] ---> d90eef9fafca [2023-11-21T22:40:02.909Z] Step 12/12 : RUN ${MAKE} [2023-11-21T22:40:02.909Z] ---> Running in 5dfab2cfe32a [2023-11-21T22:40:02.909Z] noop [2023-11-21T22:40:02.909Z] Removing intermediate container 5dfab2cfe32a [2023-11-21T22:40:02.909Z] ---> fdd1a4435dbd [2023-11-21T22:40:02.909Z] Successfully built fdd1a4435dbd [2023-11-21T22:40:02.909Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:40:03.525Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:40:03.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:40:03.940Z] prd-ubuntu20.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2023-11-21T22:40:04.020Z] $ 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 [2023-11-21T22:40:05.364Z] $ docker top 4a76d3ccdc40da0169a69ef99dfff37718eacbd2c8f2fb0017919a01438bb89c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:40:06.353Z] + go version [2023-11-21T22:40:06.353Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-21T22:40:06.390Z] $ docker stop --time=1 4a76d3ccdc40da0169a69ef99dfff37718eacbd2c8f2fb0017919a01438bb89c [2023-11-21T22:40:08.106Z] $ docker rm -f --volumes 4a76d3ccdc40da0169a69ef99dfff37718eacbd2c8f2fb0017919a01438bb89c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:40:09.410Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:40:09.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:40:09.786Z] prd-ubuntu20.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2023-11-21T22:40:09.871Z] $ 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 [2023-11-21T22:40:11.224Z] $ docker top 109c6f708845922fb3cf22a1f9874621476af56084a73ccca6835671676ae038 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:40:12.226Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:40:12.997Z] + make test [2023-11-21T22:40:12.997Z] go test ./... -coverprofile=coverage.out [2023-11-21T22:40:19.702Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-21T22:42:26.443Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-21T22:42:26.443Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements [2023-11-21T22:42:26.443Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-21T22:42:26.443Z] go vet ./... [2023-11-21T22:42:53.162Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:42:53.162Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:42:53.162Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:42:53.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:42:53.283Z] $ docker stop --time=1 109c6f708845922fb3cf22a1f9874621476af56084a73ccca6835671676ae038 [2023-11-21T22:42:57.164Z] $ docker rm -f --volumes 109c6f708845922fb3cf22a1f9874621476af56084a73ccca6835671676ae038 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:42:58.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:42:58.704Z] Warning: overwriting stash ‘coverage-report’ [2023-11-21T22:42:59.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:43:00.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:43:00.492Z] + ls -al . [2023-11-21T22:43:00.492Z] total 168 [2023-11-21T22:43:00.492Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 21 22:40 . [2023-11-21T22:43:00.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:37 .. [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 21 22:37 .dockerignore [2023-11-21T22:43:00.492Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:37 .git [2023-11-21T22:43:00.492Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 .github [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 21 22:37 .gitignore [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:37 .golangci.yml [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 21 22:37 Attribution.txt [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 21 22:37 CHANGELOG.md [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 1571 Nov 21 22:37 Dockerfile [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:37 GOVERNANCE.md [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 21 22:37 Jenkinsfile [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:37 LICENSE [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 21 22:37 Makefile [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 21 22:37 OWNERS.md [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 21 22:37 README.md [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION [2023-11-21T22:43:00.492Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:37 bin [2023-11-21T22:43:00.492Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 cmd [2023-11-21T22:43:00.492Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 21 22:42 coverage.out [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 3665 Nov 21 22:37 go.mod [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 34728 Nov 21 22:37 go.sum [2023-11-21T22:43:00.492Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 internal [2023-11-21T22:43:00.492Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 21 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:43:00.999Z] + 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=de2c10ee5d456fb1cedac684bc69c8e1e5b89019 --label arch=arm64 --label version=0.0.0 . [2023-11-21T22:43:01.271Z] Sending build context to Docker daemon 7.131MB [2023-11-21T22:43:01.544Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:43:01.544Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-21T22:43:01.544Z] ---> fdd1a4435dbd [2023-11-21T22:43:01.544Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:43:01.544Z] ---> Running in 830da609f341 [2023-11-21T22:43:01.812Z] Removing intermediate container 830da609f341 [2023-11-21T22:43:01.812Z] ---> a734d9da8df4 [2023-11-21T22:43:01.812Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:43:02.081Z] ---> Running in 49f676974bdf [2023-11-21T22:43:02.360Z] Removing intermediate container 49f676974bdf [2023-11-21T22:43:02.360Z] ---> cc796fed42c9 [2023-11-21T22:43:02.360Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:43:02.360Z] ---> Running in 21b32b9ae838 [2023-11-21T22:43:02.637Z] Removing intermediate container 21b32b9ae838 [2023-11-21T22:43:02.637Z] ---> c4789628dffc [2023-11-21T22:43:02.637Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:43:02.909Z] ---> Running in 60c6ed6b4f31 [2023-11-21T22:43:03.176Z] Removing intermediate container 60c6ed6b4f31 [2023-11-21T22:43:03.176Z] ---> 31899c0f7176 [2023-11-21T22:43:03.176Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:43:03.176Z] ---> Running in 02966710bb8b [2023-11-21T22:43:04.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:43:04.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:43:06.299Z] OK: 271 MiB in 56 packages [2023-11-21T22:43:07.267Z] Removing intermediate container 02966710bb8b [2023-11-21T22:43:07.267Z] ---> f9f5cb608356 [2023-11-21T22:43:07.267Z] Step 8/25 : WORKDIR /device-snmp-go [2023-11-21T22:43:07.267Z] ---> Running in 0d60a3c33bb4 [2023-11-21T22:43:07.536Z] Removing intermediate container 0d60a3c33bb4 [2023-11-21T22:43:07.536Z] ---> d00462b75f56 [2023-11-21T22:43:07.536Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-21T22:43:08.124Z] ---> 7b79391f34cb [2023-11-21T22:43:08.124Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:43:08.398Z] ---> Running in 54e15974b7a7 [2023-11-21T22:43:11.008Z] Removing intermediate container 54e15974b7a7 [2023-11-21T22:43:11.008Z] ---> 24177d1b197c [2023-11-21T22:43:11.008Z] Step 11/25 : COPY . . [2023-11-21T22:43:11.598Z] ---> 38264de26b02 [2023-11-21T22:43:11.598Z] Step 12/25 : RUN ${MAKE} [2023-11-21T22:43:11.869Z] ---> Running in 153e7effc334 [2023-11-21T22:43:12.833Z] 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.1.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-11-21T22:45:34.581Z] Removing intermediate container 153e7effc334 [2023-11-21T22:45:34.581Z] ---> 471f9309232a [2023-11-21T22:45:34.581Z] Step 13/25 : FROM alpine:3.18 [2023-11-21T22:45:34.581Z] 3.18: Pulling from library/alpine [2023-11-21T22:45:34.581Z] 579b34f0a95b: Pulling fs layer [2023-11-21T22:45:34.581Z] 579b34f0a95b: Verifying Checksum [2023-11-21T22:45:34.581Z] 579b34f0a95b: Download complete [2023-11-21T22:45:34.581Z] 579b34f0a95b: Pull complete [2023-11-21T22:45:34.581Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:45:34.581Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:45:34.581Z] ---> 3cc203321400 [2023-11-21T22:45:34.581Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:45:34.581Z] ---> Running in d2823b139cdb [2023-11-21T22:45:34.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:34.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:34.581Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:45:34.581Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:45:34.581Z] OK: 8 MiB in 16 packages [2023-11-21T22:45:34.581Z] Removing intermediate container d2823b139cdb [2023-11-21T22:45:34.581Z] ---> 32f3557f5937 [2023-11-21T22:45:34.581Z] Step 15/25 : RUN apk --no-cache upgrade [2023-11-21T22:45:34.581Z] ---> Running in b02859a13ace [2023-11-21T22:45:34.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:34.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:34.581Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:45:34.581Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:45:34.581Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:45:34.581Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:45:34.581Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:45:34.581Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:45:34.581Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:45:34.581Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:45:34.581Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:45:34.581Z] OK: 8 MiB in 16 packages [2023-11-21T22:45:34.581Z] Removing intermediate container b02859a13ace [2023-11-21T22:45:34.581Z] ---> 74d01b97584a [2023-11-21T22:45:34.581Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2023-11-21T22:45:35.999Z] ---> 9988854b62cf [2023-11-21T22:45:35.999Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-21T22:45:36.966Z] ---> 3d06992f5f66 [2023-11-21T22:45:36.966Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-21T22:45:37.559Z] ---> 9d43121375e3 [2023-11-21T22:45:37.559Z] Step 19/25 : EXPOSE 59993 [2023-11-21T22:45:37.559Z] ---> Running in 2c53f4b69c5c [2023-11-21T22:45:37.827Z] Removing intermediate container 2c53f4b69c5c [2023-11-21T22:45:37.827Z] ---> 2d77db04feff [2023-11-21T22:45:37.827Z] Step 20/25 : EXPOSE 161 [2023-11-21T22:45:38.105Z] ---> Running in 0208726ba2ad [2023-11-21T22:45:38.373Z] Removing intermediate container 0208726ba2ad [2023-11-21T22:45:38.373Z] ---> b7de41034cb8 [2023-11-21T22:45:38.373Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2023-11-21T22:45:38.373Z] ---> Running in 926afff0b53a [2023-11-21T22:45:38.964Z] Removing intermediate container 926afff0b53a [2023-11-21T22:45:38.964Z] ---> 186301bd2199 [2023-11-21T22:45:38.964Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-21T22:45:38.964Z] ---> Running in 3521614e6407 [2023-11-21T22:45:39.233Z] Removing intermediate container 3521614e6407 [2023-11-21T22:45:39.233Z] ---> 86943295af4f [2023-11-21T22:45:39.233Z] Step 23/25 : LABEL arch=arm64 [2023-11-21T22:45:39.233Z] ---> Running in 000f0594f3bf [2023-11-21T22:45:39.818Z] Removing intermediate container 000f0594f3bf [2023-11-21T22:45:39.818Z] ---> 81e178aedb46 [2023-11-21T22:45:39.818Z] Step 24/25 : LABEL git_sha=de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [2023-11-21T22:45:39.818Z] ---> Running in 3f701dfb7ceb [2023-11-21T22:45:40.088Z] Removing intermediate container 3f701dfb7ceb [2023-11-21T22:45:40.088Z] ---> b7b19c4eac30 [2023-11-21T22:45:40.088Z] Step 25/25 : LABEL version=0.0.0 [2023-11-21T22:45:40.088Z] ---> Running in 2d3183f28d8f [2023-11-21T22:45:40.673Z] Removing intermediate container 2d3183f28d8f [2023-11-21T22:45:40.673Z] ---> ea33eff0fcd3 [2023-11-21T22:45:40.673Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:45:40.673Z] Successfully built ea33eff0fcd3 [2023-11-21T22:45:40.673Z] 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 [2023-11-21T22:45:41.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:45:41.988Z] [2023-11-21T22:45:41.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:45:42.445Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:45:42.723Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-21T22:45:42.724Z] 8998bd30e6a1: Pulling fs layer [2023-11-21T22:45:42.724Z] 04944245beec: Pulling fs layer [2023-11-21T22:45:42.724Z] 699f458cf7ca: Pulling fs layer [2023-11-21T22:45:42.724Z] 765212b225bb: Pulling fs layer [2023-11-21T22:45:42.724Z] f23df028b6ca: Pulling fs layer [2023-11-21T22:45:42.724Z] d65c8cfc05b1: Pulling fs layer [2023-11-21T22:45:42.724Z] 2437ff75d9bd: Pulling fs layer [2023-11-21T22:45:42.724Z] 765212b225bb: Waiting [2023-11-21T22:45:42.724Z] f23df028b6ca: Waiting [2023-11-21T22:45:42.724Z] d65c8cfc05b1: Waiting [2023-11-21T22:45:42.724Z] 2437ff75d9bd: Waiting [2023-11-21T22:45:42.724Z] 04944245beec: Verifying Checksum [2023-11-21T22:45:42.724Z] 04944245beec: Download complete [2023-11-21T22:45:42.724Z] 765212b225bb: Verifying Checksum [2023-11-21T22:45:42.724Z] 765212b225bb: Download complete [2023-11-21T22:45:43.000Z] f23df028b6ca: Verifying Checksum [2023-11-21T22:45:43.000Z] f23df028b6ca: Download complete [2023-11-21T22:45:43.000Z] d65c8cfc05b1: Verifying Checksum [2023-11-21T22:45:43.000Z] d65c8cfc05b1: Download complete [2023-11-21T22:45:43.000Z] 699f458cf7ca: Verifying Checksum [2023-11-21T22:45:43.000Z] 699f458cf7ca: Download complete [2023-11-21T22:45:43.599Z] 8998bd30e6a1: Verifying Checksum [2023-11-21T22:45:43.599Z] 8998bd30e6a1: Download complete [2023-11-21T22:45:46.200Z] 2437ff75d9bd: Verifying Checksum [2023-11-21T22:45:46.200Z] 2437ff75d9bd: Download complete [2023-11-21T22:45:51.557Z] 8998bd30e6a1: Pull complete [2023-11-21T22:45:51.557Z] 04944245beec: Pull complete [2023-11-21T22:45:52.972Z] 699f458cf7ca: Pull complete [2023-11-21T22:45:52.972Z] 765212b225bb: Pull complete [2023-11-21T22:45:53.942Z] f23df028b6ca: Pull complete [2023-11-21T22:45:54.210Z] d65c8cfc05b1: Pull complete [2023-11-21T22:46:12.438Z] 2437ff75d9bd: Pull complete [2023-11-21T22:46:12.438Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-21T22:46:12.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:46:12.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:46:13.090Z] prd-ubuntu20.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2023-11-21T22:46:13.196Z] $ 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 [2023-11-21T22:46:16.560Z] $ docker top 06f40da82aa8aff97424df1b032e339c8af8b8e29de0973c1ebcab90e6ebc525 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:17.608Z] ---> job-cost.sh [2023-11-21T22:46:17.608Z] lf-activate-venv: SKIPPING [2023-11-21T22:46:17.608Z] INFO: No Stack... [2023-11-21T22:46:18.197Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-21T22:46:18.784Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:46:19.454Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-11-21T22:46:19.454Z] + cut -d, -f6 [Pipeline] lock [2023-11-21T22:46:19.537Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-333-1-stack-cost] [2023-11-21T22:46:19.542Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-333-1-stack-cost] did not exist. Created. [2023-11-21T22:46:19.542Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:46:20.363Z] /w/workspace/device-snmp-go/1@tmp/durable-ec955e15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-21T22:46:21.039Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-21T22:46:21.074Z] Warning: overwriting stash ‘stack-cost’ [2023-11-21T22:46:21.126Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:46:21.164Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:46:21.339Z] $ docker stop --time=1 06f40da82aa8aff97424df1b032e339c8af8b8e29de0973c1ebcab90e6ebc525 [2023-11-21T22:46:22.960Z] $ docker rm -f --volumes 06f40da82aa8aff97424df1b032e339c8af8b8e29de0973c1ebcab90e6ebc525 [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 [2023-11-21T22:46:24.994Z] provisioning config files... [2023-11-21T22:46:25.002Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-333@tmp/config971679512980453861tmp [Pipeline] { [Pipeline] sh [2023-11-21T22:46:25.455Z] + set +x [2023-11-21T22:46:25.455Z] + curl -s https://codecov.io/bash [2023-11-21T22:46:25.455Z] + bash -s -- [2023-11-21T22:46:25.455Z] [2023-11-21T22:46:25.455Z] _____ _ [2023-11-21T22:46:25.455Z] / ____| | | [2023-11-21T22:46:25.455Z] | | ___ __| | ___ ___ _____ __ [2023-11-21T22:46:25.455Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-21T22:46:25.455Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-21T22:46:25.455Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-21T22:46:25.455Z] Bash-1.0.6 [2023-11-21T22:46:25.455Z] [2023-11-21T22:46:25.455Z] [2023-11-21T22:46:25.455Z] ==> git version 2.25.1 found [2023-11-21T22:46:25.455Z] ==> 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 [2023-11-21T22:46:25.455Z] Release-Date: 2020-01-08 [2023-11-21T22:46:25.455Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-21T22:46:25.455Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-21T22:46:25.455Z] ==> Jenkins CI detected. [2023-11-21T22:46:25.455Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-333 [2023-11-21T22:46:25.455Z] project root: . [2023-11-21T22:46:25.455Z] --> token set from env [2023-11-21T22:46:25.455Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-21T22:46:25.455Z] ==> Running gcov in . (disable via -X gcov) [2023-11-21T22:46:25.455Z] ==> Python coveragepy not found [2023-11-21T22:46:25.455Z] ==> Searching for coverage reports in: [2023-11-21T22:46:25.455Z] + . [2023-11-21T22:46:25.455Z] -> Found 1 reports [2023-11-21T22:46:25.455Z] ==> Detecting git/mercurial file structure [2023-11-21T22:46:25.714Z] ==> Reading reports [2023-11-21T22:46:25.714Z] + ./coverage.out bytes=8837 [2023-11-21T22:46:25.714Z] ==> Appending adjustments [2023-11-21T22:46:25.714Z] https://docs.codecov.io/docs/fixing-reports [2023-11-21T22:46:25.714Z] + Found adjustments [2023-11-21T22:46:25.714Z] ==> Gzipping contents [2023-11-21T22:46:25.714Z] 4.0K /tmp/codecov.ifMdzQ.gz [2023-11-21T22:46:25.714Z] ==> Uploading reports [2023-11-21T22:46:25.714Z] url: https://codecov.io [2023-11-21T22:46:25.714Z] query: branch=PR-333&commit=de2c10ee5d456fb1cedac684bc69c8e1e5b89019&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=333&job=&cmd_args= [2023-11-21T22:46:25.714Z] -> Pinging Codecov [2023-11-21T22:46:25.714Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-333&commit=de2c10ee5d456fb1cedac684bc69c8e1e5b89019&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=333&job=&cmd_args= [2023-11-21T22:46:25.978Z] -> Uploading to [2023-11-21T22:46:25.978Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-21/6C56EA5C29638FB4528AC87E60AF5AE0/de2c10ee5d456fb1cedac684bc69c8e1e5b89019/8de6c61d-23f7-4f75-8612-94493460b816.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231121T224625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a96cc81061ebfcfa939c278eb57133f79fa267ebe8a54e5aac21549259b2c49 [2023-11-21T22:46:25.978Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:46:25.978Z] Dload Upload Total Spent Left Speed [2023-11-21T22:46:26.237Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1435 0 0 100 1435 0 5562 --:--:-- --:--:-- --:--:-- 5562 [2023-11-21T22:46:26.237Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/de2c10ee5d456fb1cedac684bc69c8e1e5b89019 [Pipeline] } [2023-11-21T22:46:26.265Z] 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 [2023-11-21T22:46:29.670Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-333/archives ] [2023-11-21T22:46:29.670Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-333/archives [2023-11-21T22:46:29.670Z] total 16 [2023-11-21T22:46:29.670Z] drwxr-xr-x 3 root root 4096 Nov 21 22:26 . [2023-11-21T22:46:29.670Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 21 22:26 .. [2023-11-21T22:46:29.670Z] drwxr-xr-x 2 root root 4096 Nov 21 22:26 cost [2023-11-21T22:46:29.670Z] -rw-r--r-- 1 root root 86 Nov 21 22:26 cost.csv [2023-11-21T22:46:29.670Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-333/archives [2023-11-21T22:46:29.670Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-333/archives [2023-11-21T22:46:29.670Z] total 16 [2023-11-21T22:46:29.670Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:26 . [2023-11-21T22:46:29.670Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 21 22:26 .. [2023-11-21T22:46:29.670Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 22:26 cost [2023-11-21T22:46:29.670Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 21 22:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:29.992Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:30.881Z] ---> package-listing.sh [2023-11-21T22:46:30.881Z] ++ facter osfamily [2023-11-21T22:46:30.881Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-21T22:46:31.141Z] + OS_FAMILY=debian [2023-11-21T22:46:31.141Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-333 [2023-11-21T22:46:31.141Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-21T22:46:31.141Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-21T22:46:31.141Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-21T22:46:31.141Z] + PACKAGES=/tmp/packages_start.txt [2023-11-21T22:46:31.141Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-333 ']' [2023-11-21T22:46:31.141Z] + PACKAGES=/tmp/packages_end.txt [2023-11-21T22:46:31.141Z] + case "${OS_FAMILY}" in [2023-11-21T22:46:31.141Z] + dpkg -l [2023-11-21T22:46:31.141Z] + grep '^ii' [2023-11-21T22:46:31.141Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-21T22:46:31.141Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-21T22:46:31.141Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-21T22:46:31.142Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-333 ']' [2023-11-21T22:46:31.142Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-333/archives/ [2023-11-21T22:46:31.142Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-333/archives/ [Pipeline] echo [2023-11-21T22:46:31.181Z] 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-333/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-21T22:46:31.475Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:46:32.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:46:32.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:46:32.397Z] prd-ubuntu20.04-docker-8c-8g-349 does not seem to be running inside a container [2023-11-21T22:46:32.431Z] $ 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-333/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-333 -v /w/workspace/gexfoundry_device-snmp-go_PR-333:/w/workspace/gexfoundry_device-snmp-go_PR-333:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-333@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-333@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 [2023-11-21T22:46:32.608Z] $ docker top e73cafdbf987ad6e533caebd8ddb31aae174b32d947261824a0f4eb625e86ab9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:46:33.099Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-21T22:46:33.409Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-21T22:46:33.720Z] + ls /var/log/sa-host [2023-11-21T22:46:33.720Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:46:33.995Z] provisioning config files... [2023-11-21T22:46:34.005Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-333@tmp/config2528181516181300384tmp [Pipeline] { [Pipeline] echo [2023-11-21T22:46:34.147Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:34.468Z] ---> create-netrc.sh [Pipeline] } [2023-11-21T22:46:34.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:35.013Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-21T22:46:35.044Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:35.354Z] ---> sudo-logs.sh [2023-11-21T22:46:35.355Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-21T22:46:35.497Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:35.808Z] ---> job-cost.sh [2023-11-21T22:46:35.808Z] lf-activate-venv: SKIPPING [2023-11-21T22:46:35.808Z] DEBUG: total: 0.2199999988079071 [2023-11-21T22:46:35.808Z] INFO: Retrieving Stack Cost... [2023-11-21T22:46:36.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:46:36.640Z] INFO: Archiving Costs [Pipeline] echo [2023-11-21T22:46:36.670Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:36.990Z] ---> logs-deploy.sh [2023-11-21T22:46:36.990Z] lf-activate-venv: SKIPPING [2023-11-21T22:46:36.990Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-333/1 [2023-11-21T22:46:36.990Z] INFO: archiving workspace using pattern(s): [2023-11-21T22:46:37.930Z] Archives upload complete. [2023-11-21T22:46:37.930Z] INFO: archiving logs to Nexus