Pull request #332 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from bb93e68095a893700c264138aff939773827ddef+7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 (d0e8eea25a4c6f5956161333ac5e0694b437c7b6) 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-ssh6133709646260040721.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh11743806596590813971.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-332/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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15462709072933609148.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-332/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6107776187321765578.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh8118882277682443696.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-332/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-332/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3032083367823522536.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17523 in /w/workspace/gexfoundry_device-snmp-go_PR-332 [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-332 # 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/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 into PR head commit bb93e68095a893700c264138aff939773827ddef Merge succeeded, producing bb93e68095a893700c264138aff939773827ddef Checking out Revision bb93e68095a893700c264138aff939773827ddef (PR-332) > git config core.sparsecheckout # timeout=10 > git checkout -f bb93e68095a893700c264138aff939773827ddef # 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 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb93e68095a893700c264138aff939773827ddef # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T19:01:16.165Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T19:01:16.350Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T19:01:16.463Z] ========================================================= [2023-11-14T19:01:16.463Z] EdgeX Global Pipelines Version Info [2023-11-14T19:01:16.463Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:17.573Z] ------------------- [2023-11-14T19:01:17.573Z] stable info: [2023-11-14T19:01:17.573Z] ------------------- [2023-11-14T19:01:17.573Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T19:01:17.573Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T19:01:17.573Z] Message: update stable to v1.0.257 [2023-11-14T19:01:17.835Z] ------------------- [2023-11-14T19:01:17.835Z] experimental info: [2023-11-14T19:01:17.835Z] ------------------- [2023-11-14T19:01:17.835Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T19:01:17.835Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T19:01:17.835Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T19:01:18.169Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-11-14T19:01:18.215Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-11-14T19:01:18.263Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T19:01:18.309Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T19:01:18.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T19:01:18.408Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T19:01:18.453Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T19:01:18.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T19:01:18.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T19:01:18.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T19:01:18.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T19:01:18.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-11-14T19:01:18.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T19:01:18.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T19:01:18.818Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T19:01:18.857Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T19:01:18.901Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T19:01:18.953Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T19:01:18.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T19:01:19.040Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T19:01:19.083Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T19:01:19.128Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T19:01:19.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T19:01:19.219Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T19:01:19.261Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T19:01:19.308Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T19:01:19.353Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T19:01:19.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-332 [Pipeline] echo [2023-11-14T19:01:19.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-332 [Pipeline] echo [2023-11-14T19:01:19.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-332 [Pipeline] echo [2023-11-14T19:01:19.535Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb93e68095a893700c264138aff939773827ddef [Pipeline] echo [2023-11-14T19:01:19.580Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb93e68 [Pipeline] echo [2023-11-14T19:01:19.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T19:01:19.745Z] provisioning config files... [2023-11-14T19:01:19.758Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/config13503216905003254904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:20.104Z] ---> docker-login.sh [2023-11-14T19:01:20.104Z] nexus3.edgexfoundry.org:10001 [2023-11-14T19:01:20.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:20.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:20.679Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:20.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:20.680Z] [2023-11-14T19:01:20.680Z] Login Succeeded [2023-11-14T19:01:20.680Z] nexus3.edgexfoundry.org:10002 [2023-11-14T19:01:20.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:20.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:20.941Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:20.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:20.942Z] [2023-11-14T19:01:20.942Z] Login Succeeded [2023-11-14T19:01:20.942Z] nexus3.edgexfoundry.org:10003 [2023-11-14T19:01:20.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:20.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:20.942Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:20.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:20.942Z] [2023-11-14T19:01:20.942Z] Login Succeeded [2023-11-14T19:01:20.942Z] nexus3.edgexfoundry.org:10004 [2023-11-14T19:01:20.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:21.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:21.202Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:21.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:21.202Z] [2023-11-14T19:01:21.202Z] Login Succeeded [2023-11-14T19:01:21.202Z] docker.io [2023-11-14T19:01:21.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:21.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:21.463Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:21.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:21.463Z] [2023-11-14T19:01:21.463Z] Login Succeeded [2023-11-14T19:01:21.463Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T19:01:21.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T19:01:22.199Z] + git rev-list -1 --merges bb93e68095a893700c264138aff939773827ddef~1..bb93e68095a893700c264138aff939773827ddef [Pipeline] echo [2023-11-14T19:01:22.263Z] -----------> git rev-list -1 --merges bb93e68095a893700c264138aff939773827ddef~1..bb93e68095a893700c264138aff939773827ddef bb93e68095a893700c264138aff939773827ddef [false] [Pipeline] sh [2023-11-14T19:01:22.577Z] + git log --format=format:%s -1 bb93e68095a893700c264138aff939773827ddef [Pipeline] echo [2023-11-14T19:01:22.617Z] ========================================================= [2023-11-14T19:01:22.617Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T19:01:22.617Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T19:01:23.054Z] + git log --format=format:%s -1 bb93e68095a893700c264138aff939773827ddef [Pipeline] echo [2023-11-14T19:01:23.090Z] [semverPrep] GIT_COMMIT: bb93e68095a893700c264138aff939773827ddef, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo [2023-11-14T19:01:23.123Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T19:01:23.506Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T19:01:23.507Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T19:01:23.507Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T19:01:23.507Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T19:01:23.507Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T19:01:23.507Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T19:01:23.507Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:01:23.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T19:01:23.952Z] [2023-11-14T19:01:23.952Z] 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-14T19:01:24.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T19:01:24.916Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T19:01:24.916Z] b85a868b505f: Pulling fs layer [2023-11-14T19:01:24.916Z] e2be974225ed: Pulling fs layer [2023-11-14T19:01:24.916Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T19:01:24.916Z] 988bab9f4d93: Pulling fs layer [2023-11-14T19:01:24.916Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T19:01:24.916Z] eaf3925da568: Pulling fs layer [2023-11-14T19:01:24.916Z] bab4dde63d76: Pulling fs layer [2023-11-14T19:01:24.916Z] bde34c3a00c8: Pulling fs layer [2023-11-14T19:01:24.916Z] b352a97aabf1: Pulling fs layer [2023-11-14T19:01:24.916Z] 988bab9f4d93: Waiting [2023-11-14T19:01:24.916Z] bab4dde63d76: Waiting [2023-11-14T19:01:24.916Z] 1469e6f7b9e6: Waiting [2023-11-14T19:01:24.916Z] eaf3925da568: Waiting [2023-11-14T19:01:24.916Z] 4872d77fe225: Pulling fs layer [2023-11-14T19:01:24.916Z] 5851b861e8e6: Pulling fs layer [2023-11-14T19:01:24.916Z] b352a97aabf1: Waiting [2023-11-14T19:01:24.916Z] 4872d77fe225: Waiting [2023-11-14T19:01:24.916Z] 5851b861e8e6: Waiting [2023-11-14T19:01:24.916Z] e2be974225ed: Verifying Checksum [2023-11-14T19:01:24.916Z] e2be974225ed: Download complete [2023-11-14T19:01:24.916Z] 988bab9f4d93: Verifying Checksum [2023-11-14T19:01:24.916Z] 988bab9f4d93: Download complete [2023-11-14T19:01:24.916Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T19:01:24.916Z] 339a4e72a1f5: Download complete [2023-11-14T19:01:24.916Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T19:01:24.916Z] 1469e6f7b9e6: Download complete [2023-11-14T19:01:24.916Z] eaf3925da568: Verifying Checksum [2023-11-14T19:01:24.916Z] eaf3925da568: Download complete [2023-11-14T19:01:25.176Z] bde34c3a00c8: Verifying Checksum [2023-11-14T19:01:25.176Z] bde34c3a00c8: Download complete [2023-11-14T19:01:25.176Z] b352a97aabf1: Verifying Checksum [2023-11-14T19:01:25.176Z] b352a97aabf1: Download complete [2023-11-14T19:01:25.176Z] 4872d77fe225: Download complete [2023-11-14T19:01:25.176Z] 5851b861e8e6: Download complete [2023-11-14T19:01:25.176Z] b85a868b505f: Verifying Checksum [2023-11-14T19:01:25.176Z] b85a868b505f: Download complete [2023-11-14T19:01:25.435Z] bab4dde63d76: Verifying Checksum [2023-11-14T19:01:25.435Z] bab4dde63d76: Download complete [2023-11-14T19:01:26.810Z] b85a868b505f: Pull complete [2023-11-14T19:01:26.810Z] e2be974225ed: Pull complete [2023-11-14T19:01:27.749Z] 339a4e72a1f5: Pull complete [2023-11-14T19:01:28.009Z] 988bab9f4d93: Pull complete [2023-11-14T19:01:28.576Z] 1469e6f7b9e6: Pull complete [2023-11-14T19:01:28.836Z] eaf3925da568: Pull complete [2023-11-14T19:01:31.424Z] bab4dde63d76: Pull complete [2023-11-14T19:01:31.424Z] bde34c3a00c8: Pull complete [2023-11-14T19:01:31.685Z] b352a97aabf1: Pull complete [2023-11-14T19:01:31.685Z] 4872d77fe225: Pull complete [2023-11-14T19:01:31.685Z] 5851b861e8e6: Pull complete [2023-11-14T19:01:31.685Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T19:01:31.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T19:01:31.685Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:01:32.178Z] prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container [2023-11-14T19:01:32.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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-devops/py-git-semver:0.1.4 cat [2023-11-14T19:01:42.001Z] $ docker top 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e -eo pid,comm [2023-11-14T19:01:42.052Z] 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-14T19:01:42.052Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T19:01:42.184Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T19:01:42.184Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T19:01:42.367Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T19:01:42.370Z] $ docker exec 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e ssh-agent [2023-11-14T19:01:42.476Z] SSH_AUTH_SOCK=/tmp/ssh-sNieIoEamoLY/agent.21 [2023-11-14T19:01:42.476Z] SSH_AGENT_PID=27 [2023-11-14T19:01:42.519Z] Running ssh-add (command line suppressed) [2023-11-14T19:01:42.605Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/private_key_16049271849499511002.key (/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/private_key_16049271849499511002.key) [2023-11-14T19:01:42.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T19:01:42.949Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T19:01:42.980Z] $ docker exec --env ******** --env ******** 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e ssh-agent -k [2023-11-14T19:01:43.075Z] unset SSH_AUTH_SOCK; [2023-11-14T19:01:43.075Z] unset SSH_AGENT_PID; [2023-11-14T19:01:43.075Z] echo Agent pid 27 killed; [2023-11-14T19:01:43.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T19:01:43.172Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T19:01:43.173Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T19:01:43.325Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T19:01:43.329Z] $ docker exec 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e ssh-agent [2023-11-14T19:01:43.430Z] SSH_AUTH_SOCK=/tmp/ssh-pKS1JqpfmoRi/agent.70 [2023-11-14T19:01:43.430Z] SSH_AGENT_PID=76 [2023-11-14T19:01:43.435Z] Running ssh-add (command line suppressed) [2023-11-14T19:01:43.527Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/private_key_5790474808739357135.key (/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/private_key_5790474808739357135.key) [2023-11-14T19:01:43.540Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T19:01:43.869Z] + git semver init [2023-11-14T19:01:44.442Z] 2023-11-14 19:01:44,301 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T19:01:44.442Z] 2023-11-14 19:01:44,303 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver [2023-11-14T19:01:44.442Z] 2023-11-14 19:01:44,304 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-332/.semver [2023-11-14T19:01:44.442Z] 2023-11-14 19:01:44,304 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-332, universal_newlines=False, shell=None, istream=None) [2023-11-14T19:01:45.399Z] 2023-11-14 19:01:45,196 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-332/.git/info/exclude [2023-11-14T19:01:45.399Z] 2023-11-14 19:01:45,197 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver/PR-332 with force:False [2023-11-14T19:01:45.399Z] 2023-11-14 19:01:45,197 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver/PR-332 [2023-11-14T19:01:45.399Z] 2023-11-14 19:01:45,201 [execute] INFO git cat-file --batch-check [2023-11-14T19:01:45.399Z] 2023-11-14 19:01:45,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T19:01:45.399Z] 2023-11-14 19:01:45,208 [execute] INFO git cat-file --batch [2023-11-14T19:01:45.399Z] 2023-11-14 19:01:45,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-332/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T19:01:45.399Z] 2023-11-14 19:01:45,211 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-332/.semver/PR-332 [2023-11-14T19:01:45.399Z] 0.0.0 [Pipeline] } [2023-11-14T19:01:45.428Z] $ docker exec --env ******** --env ******** 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e ssh-agent -k [2023-11-14T19:01:45.521Z] unset SSH_AUTH_SOCK; [2023-11-14T19:01:45.521Z] unset SSH_AGENT_PID; [2023-11-14T19:01:45.521Z] echo Agent pid 76 killed; [2023-11-14T19:01:45.532Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T19:01:45.954Z] + git semver [Pipeline] } [2023-11-14T19:01:46.239Z] $ docker stop --time=1 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e [2023-11-14T19:01:47.887Z] $ docker rm -f --volumes 8cdf0c23f1bb4ab2789160bc424f76de746a5962056819b3ace5a57d9f7add1e [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T19:01:48.291Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T19:01:48.593Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T19:01:48.609Z] [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-14T19:01:49.218Z] provisioning config files... [2023-11-14T19:01:49.227Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/config14548339094942172983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:01:49.576Z] ---> docker-login.sh [2023-11-14T19:01:49.576Z] nexus3.edgexfoundry.org:10001 [2023-11-14T19:01:49.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:49.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:49.576Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:49.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:49.576Z] [2023-11-14T19:01:49.576Z] Login Succeeded [2023-11-14T19:01:49.576Z] nexus3.edgexfoundry.org:10002 [2023-11-14T19:01:49.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:49.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:49.576Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:49.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:49.576Z] [2023-11-14T19:01:49.576Z] Login Succeeded [2023-11-14T19:01:49.576Z] nexus3.edgexfoundry.org:10003 [2023-11-14T19:01:49.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:49.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:49.834Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:49.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:49.834Z] [2023-11-14T19:01:49.834Z] Login Succeeded [2023-11-14T19:01:49.834Z] nexus3.edgexfoundry.org:10004 [2023-11-14T19:01:49.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:49.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:49.834Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:49.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:49.834Z] [2023-11-14T19:01:49.834Z] Login Succeeded [2023-11-14T19:01:49.834Z] docker.io [2023-11-14T19:01:50.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:01:50.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:01:50.095Z] Configure a credential helper to remove this warning. See [2023-11-14T19:01:50.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:01:50.095Z] [2023-11-14T19:01:50.095Z] Login Succeeded [2023-11-14T19:01:50.095Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T19:01:50.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T19:01:50.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T19:01:50.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T19:01:50.400Z] ========================================================= [2023-11-14T19:01:50.400Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T19:01:50.400Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:01:50.907Z] + 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-14T19:01:50.907Z] Sending build context to Docker daemon 5.769MB [2023-11-14T19:01:50.907Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T19:01:50.907Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T19:01:52.292Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T19:01:52.292Z] 7264a8db6415: Pulling fs layer [2023-11-14T19:01:52.292Z] c4d48a809fc2: Pulling fs layer [2023-11-14T19:01:52.292Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T19:01:52.292Z] ad3a456e5733: Pulling fs layer [2023-11-14T19:01:52.292Z] 69c7f0334f64: Pulling fs layer [2023-11-14T19:01:52.292Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T19:01:52.292Z] ce7588e14bc9: Pulling fs layer [2023-11-14T19:01:52.292Z] b5e4710f87ac: Pulling fs layer [2023-11-14T19:01:52.292Z] ad3a456e5733: Waiting [2023-11-14T19:01:52.292Z] 69c7f0334f64: Waiting [2023-11-14T19:01:52.292Z] b5e4710f87ac: Waiting [2023-11-14T19:01:52.292Z] 1f1c1a5573a3: Waiting [2023-11-14T19:01:52.292Z] ce7588e14bc9: Waiting [2023-11-14T19:01:52.292Z] c4d48a809fc2: Verifying Checksum [2023-11-14T19:01:52.292Z] c4d48a809fc2: Download complete [2023-11-14T19:01:52.292Z] ad3a456e5733: Verifying Checksum [2023-11-14T19:01:52.292Z] ad3a456e5733: Download complete [2023-11-14T19:01:52.292Z] 69c7f0334f64: Verifying Checksum [2023-11-14T19:01:52.292Z] 69c7f0334f64: Download complete [2023-11-14T19:01:52.292Z] 7264a8db6415: Download complete [2023-11-14T19:01:52.552Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T19:01:52.552Z] 1f1c1a5573a3: Download complete [2023-11-14T19:01:52.810Z] b5e4710f87ac: Verifying Checksum [2023-11-14T19:01:52.810Z] b5e4710f87ac: Download complete [2023-11-14T19:01:52.810Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T19:01:52.810Z] 4f1c88b9dad5: Download complete [2023-11-14T19:01:53.378Z] ce7588e14bc9: Verifying Checksum [2023-11-14T19:01:53.378Z] ce7588e14bc9: Download complete [2023-11-14T19:01:54.023Z] 7264a8db6415: Pull complete [2023-11-14T19:01:55.416Z] c4d48a809fc2: Pull complete [2023-11-14T19:01:59.669Z] 4f1c88b9dad5: Pull complete [2023-11-14T19:02:00.244Z] ad3a456e5733: Pull complete [2023-11-14T19:02:00.502Z] 69c7f0334f64: Pull complete [2023-11-14T19:02:01.070Z] 1f1c1a5573a3: Pull complete [2023-11-14T19:02:04.022Z] Still waiting to schedule task [2023-11-14T19:02:04.023Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T19:02:06.367Z] ce7588e14bc9: Pull complete [2023-11-14T19:02:08.268Z] b5e4710f87ac: Pull complete [2023-11-14T19:02:09.205Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T19:02:09.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T19:02:09.463Z] ---> 88b5674ff536 [2023-11-14T19:02:09.463Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T19:02:36.029Z] ---> Running in fc3d421025ff [2023-11-14T19:02:36.029Z] Removing intermediate container fc3d421025ff [2023-11-14T19:02:36.029Z] ---> d8f62d1723b9 [2023-11-14T19:02:36.029Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T19:02:36.029Z] ---> Running in 8d9a76daef1e [2023-11-14T19:02:36.029Z] Removing intermediate container 8d9a76daef1e [2023-11-14T19:02:36.029Z] ---> f1cb39cfcea5 [2023-11-14T19:02:36.029Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T19:02:36.029Z] ---> Running in e5ce1b495e45 [2023-11-14T19:02:36.029Z] Removing intermediate container e5ce1b495e45 [2023-11-14T19:02:36.029Z] ---> dc22334ffeef [2023-11-14T19:02:36.029Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T19:02:36.029Z] ---> Running in 0c9cea88f81b [2023-11-14T19:02:36.029Z] Removing intermediate container 0c9cea88f81b [2023-11-14T19:02:36.029Z] ---> 368b9466c7aa [2023-11-14T19:02:36.029Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T19:02:36.029Z] ---> Running in 1efdd2c5b4af [2023-11-14T19:02:36.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T19:02:36.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T19:02:36.029Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T19:02:36.029Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T19:02:36.029Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T19:02:36.029Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T19:02:36.029Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T19:02:36.029Z] OK: 268 MiB in 56 packages [2023-11-14T19:02:36.029Z] Removing intermediate container 1efdd2c5b4af [2023-11-14T19:02:36.029Z] ---> adbecc54967e [2023-11-14T19:02:36.029Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-14T19:02:36.029Z] ---> Running in 63ed28d9e0dd [2023-11-14T19:02:36.029Z] Removing intermediate container 63ed28d9e0dd [2023-11-14T19:02:36.029Z] ---> 3174850aee30 [2023-11-14T19:02:36.029Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T19:02:36.029Z] ---> 58a54e1dbe5f [2023-11-14T19:02:36.029Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T19:02:36.029Z] ---> Running in c9199554b6bf [2023-11-14T19:03:43.727Z] Removing intermediate container c9199554b6bf [2023-11-14T19:03:43.727Z] ---> 0af70182994d [2023-11-14T19:03:43.727Z] Step 11/12 : COPY . . [2023-11-14T19:03:43.727Z] ---> a12f7366cda6 [2023-11-14T19:03:43.727Z] Step 12/12 : RUN ${MAKE} [2023-11-14T19:03:43.727Z] ---> Running in 655269ccfdb6 [2023-11-14T19:03:43.727Z] noop [2023-11-14T19:03:43.727Z] Removing intermediate container 655269ccfdb6 [2023-11-14T19:03:43.727Z] ---> 2d0423b17e16 [2023-11-14T19:03:43.727Z] Successfully built 2d0423b17e16 [2023-11-14T19:03:43.727Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:03:44.174Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T19:03:44.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:03:44.324Z] prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container [2023-11-14T19:03:44.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T19:03:45.556Z] $ docker top 680b40c65760812fb7c74f4ad3a996411b0a32d63af17aebe0ce14748c497155 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:03:45.952Z] + go version [2023-11-14T19:03:45.952Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T19:03:45.984Z] $ docker stop --time=1 680b40c65760812fb7c74f4ad3a996411b0a32d63af17aebe0ce14748c497155 [2023-11-14T19:03:47.273Z] $ docker rm -f --volumes 680b40c65760812fb7c74f4ad3a996411b0a32d63af17aebe0ce14748c497155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:03:47.971Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T19:03:47.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:03:48.121Z] prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container [2023-11-14T19:03:48.155Z] $ 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-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T19:03:48.482Z] $ docker top 70879d7c5b1ad5f31e6915ac17408a5d3e53532e7842b37561c635e12b63c36c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:03:48.877Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-332 [Pipeline] fileExists [Pipeline] sh [2023-11-14T19:03:49.243Z] + make test [2023-11-14T19:03:49.243Z] go test ./... -coverprofile=coverage.out [2023-11-14T19:03:51.150Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-14T19:04:03.346Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-14T19:04:03.346Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-11-14T19:04:07.529Z] go vet ./... [2023-11-14T19:04:10.814Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T19:04:10.814Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T19:04:10.814Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T19:04:10.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T19:04:10.874Z] $ docker stop --time=1 70879d7c5b1ad5f31e6915ac17408a5d3e53532e7842b37561c635e12b63c36c [2023-11-14T19:04:17.392Z] $ docker rm -f --volumes 70879d7c5b1ad5f31e6915ac17408a5d3e53532e7842b37561c635e12b63c36c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T19:04:17.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T19:04:18.006Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T19:04:18.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T19:04:18.927Z] + ls -al . [2023-11-14T19:04:18.927Z] total 172 [2023-11-14T19:04:18.927Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 19:03 . [2023-11-14T19:04:18.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 19:01 .. [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 14 19:01 .dockerignore [2023-11-14T19:04:18.927Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 19:04 .git [2023-11-14T19:04:18.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:01 .github [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 14 19:01 .gitignore [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 19:01 .golangci.yml [2023-11-14T19:04:18.927Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 19:01 .semver [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 14 19:01 Attribution.txt [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 14 19:01 CHANGELOG.md [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 1571 Nov 14 19:01 Dockerfile [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 19:01 GOVERNANCE.md [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 14 19:01 Jenkinsfile [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 19:01 LICENSE [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 14 19:01 Makefile [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 19:01 OWNERS.md [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 14 19:01 README.md [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 19:01 VERSION [2023-11-14T19:04:18.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 19:01 bin [2023-11-14T19:04:18.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:01 cmd [2023-11-14T19:04:18.927Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 14 19:04 coverage.out [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 3665 Nov 14 19:01 go.mod [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 34728 Nov 14 19:01 go.sum [2023-11-14T19:04:18.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:01 internal [2023-11-14T19:04:18.927Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 14 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:04:19.320Z] + 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=bb93e68095a893700c264138aff939773827ddef --label arch=amd64 --label version=0.0.0 . [2023-11-14T19:04:19.320Z] Sending build context to Docker daemon 5.778MB [2023-11-14T19:04:19.320Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T19:04:19.320Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-14T19:04:19.321Z] ---> 2d0423b17e16 [2023-11-14T19:04:19.321Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-14T19:04:19.580Z] ---> Running in b24870d1012f [2023-11-14T19:04:19.580Z] Removing intermediate container b24870d1012f [2023-11-14T19:04:19.580Z] ---> ff937cad9259 [2023-11-14T19:04:19.580Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T19:04:19.580Z] ---> Running in 85abbeb18c4e [2023-11-14T19:04:19.840Z] Removing intermediate container 85abbeb18c4e [2023-11-14T19:04:19.840Z] ---> 20e9d6e48f18 [2023-11-14T19:04:19.840Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T19:04:19.840Z] ---> Running in e2f08e488b3f [2023-11-14T19:04:19.840Z] Removing intermediate container e2f08e488b3f [2023-11-14T19:04:19.840Z] ---> a5785929ec52 [2023-11-14T19:04:19.840Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T19:04:19.840Z] ---> Running in c087f00bde26 [2023-11-14T19:04:20.099Z] Removing intermediate container c087f00bde26 [2023-11-14T19:04:20.099Z] ---> f97d74336fa0 [2023-11-14T19:04:20.099Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T19:04:20.099Z] ---> Running in 9ca02a86ea4a [2023-11-14T19:04:20.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T19:04:20.361Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T19:04:20.620Z] OK: 268 MiB in 56 packages [2023-11-14T19:04:20.878Z] Removing intermediate container 9ca02a86ea4a [2023-11-14T19:04:20.878Z] ---> 7e63d740fbfe [2023-11-14T19:04:20.878Z] Step 8/25 : WORKDIR /device-snmp-go [2023-11-14T19:04:20.878Z] ---> Running in 2245b9ff69cc [2023-11-14T19:04:20.878Z] Removing intermediate container 2245b9ff69cc [2023-11-14T19:04:20.878Z] ---> 4dbea2ebfbf7 [2023-11-14T19:04:20.878Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-14T19:04:21.136Z] ---> bc37cd7544e1 [2023-11-14T19:04:21.136Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T19:04:21.136Z] ---> Running in b22c5ed1dee6 [2023-11-14T19:04:21.700Z] Removing intermediate container b22c5ed1dee6 [2023-11-14T19:04:21.700Z] ---> 9617cb687bbc [2023-11-14T19:04:21.700Z] Step 11/25 : COPY . . [2023-11-14T19:04:22.406Z] ---> df371383fc00 [2023-11-14T19:04:22.406Z] Step 12/25 : RUN ${MAKE} [2023-11-14T19:04:22.406Z] ---> Running in c37155684a38 [2023-11-14T19:04:22.664Z] 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-14T19:04:54.940Z] Removing intermediate container c37155684a38 [2023-11-14T19:04:54.940Z] ---> 4f386023efdf [2023-11-14T19:04:54.940Z] Step 13/25 : FROM alpine:3.18 [2023-11-14T19:04:55.875Z] 3.18: Pulling from library/alpine [2023-11-14T19:04:55.875Z] 96526aa774ef: Pulling fs layer [2023-11-14T19:04:56.134Z] 96526aa774ef: Verifying Checksum [2023-11-14T19:04:56.134Z] 96526aa774ef: Download complete [2023-11-14T19:04:56.520Z] 96526aa774ef: Pull complete [2023-11-14T19:04:56.520Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T19:04:56.520Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T19:04:56.520Z] ---> 8ca4688f4f35 [2023-11-14T19:04:56.520Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2023-11-14T19:04:56.779Z] ---> Running in 933b198486b2 [2023-11-14T19:04:57.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T19:04:57.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T19:04:57.605Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T19:04:57.605Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T19:04:57.605Z] OK: 7 MiB in 16 packages [2023-11-14T19:04:57.862Z] Removing intermediate container 933b198486b2 [2023-11-14T19:04:57.862Z] ---> 0a194b163447 [2023-11-14T19:04:57.862Z] Step 15/25 : RUN apk --no-cache upgrade [2023-11-14T19:04:57.862Z] ---> Running in dc8928d48022 [2023-11-14T19:04:58.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T19:04:58.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T19:04:58.380Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:04:58.380Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:04:58.380Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T19:04:58.380Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:04:58.380Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:04:58.380Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:04:58.380Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:04:58.380Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:04:58.380Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T19:04:58.380Z] OK: 7 MiB in 16 packages [2023-11-14T19:04:59.318Z] Removing intermediate container dc8928d48022 [2023-11-14T19:04:59.318Z] ---> 4ad36c858261 [2023-11-14T19:04:59.318Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2023-11-14T19:05:00.993Z] ---> cab8ca455447 [2023-11-14T19:05:00.993Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-14T19:05:01.254Z] ---> f509ee43edcd [2023-11-14T19:05:01.254Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-14T19:05:01.515Z] ---> 1150df6c3148 [2023-11-14T19:05:01.515Z] Step 19/25 : EXPOSE 59993 [2023-11-14T19:05:01.515Z] ---> Running in f10982b9c2c9 [2023-11-14T19:05:01.515Z] Removing intermediate container f10982b9c2c9 [2023-11-14T19:05:01.515Z] ---> 9260f28ad996 [2023-11-14T19:05:01.515Z] Step 20/25 : EXPOSE 161 [2023-11-14T19:05:01.515Z] ---> Running in 7c7630c7c339 [2023-11-14T19:05:01.780Z] Removing intermediate container 7c7630c7c339 [2023-11-14T19:05:01.780Z] ---> b552d52e3ed3 [2023-11-14T19:05:01.780Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2023-11-14T19:05:01.780Z] ---> Running in 2c045bd7160c [2023-11-14T19:05:01.780Z] Removing intermediate container 2c045bd7160c [2023-11-14T19:05:01.780Z] ---> be7c3f9a8773 [2023-11-14T19:05:01.780Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T19:05:01.780Z] ---> Running in 0c354a8ccedd [2023-11-14T19:05:01.780Z] Removing intermediate container 0c354a8ccedd [2023-11-14T19:05:01.780Z] ---> 8bad55b9ac58 [2023-11-14T19:05:01.780Z] Step 23/25 : LABEL arch=amd64 [2023-11-14T19:05:02.045Z] ---> Running in 5ee748681867 [2023-11-14T19:05:02.045Z] Removing intermediate container 5ee748681867 [2023-11-14T19:05:02.045Z] ---> fef9aa516e4d [2023-11-14T19:05:02.045Z] Step 24/25 : LABEL git_sha=bb93e68095a893700c264138aff939773827ddef [2023-11-14T19:05:02.045Z] ---> Running in d11ae831059c [2023-11-14T19:05:02.045Z] Removing intermediate container d11ae831059c [2023-11-14T19:05:02.045Z] ---> 9f71594e73ec [2023-11-14T19:05:02.045Z] Step 25/25 : LABEL version=0.0.0 [2023-11-14T19:05:02.045Z] ---> Running in 1599d0101c50 [2023-11-14T19:05:02.045Z] Removing intermediate container 1599d0101c50 [2023-11-14T19:05:02.045Z] ---> 928284a9fa47 [2023-11-14T19:05:02.045Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T19:05:02.305Z] Successfully built 928284a9fa47 [2023-11-14T19:05:02.305Z] 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-14T19:05:03.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T19:05:03.191Z] [2023-11-14T19:05:03.191Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:05:03.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T19:05:03.581Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T19:05:03.581Z] 5eb5b503b376: Pulling fs layer [2023-11-14T19:05:03.581Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T19:05:03.581Z] ec43610c2a17: Pulling fs layer [2023-11-14T19:05:03.581Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T19:05:03.581Z] 33b1e0a273af: Pulling fs layer [2023-11-14T19:05:03.581Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T19:05:03.581Z] 2f39f015ded8: Pulling fs layer [2023-11-14T19:05:03.581Z] 3a2ae6a8a46f: Waiting [2023-11-14T19:05:03.581Z] 33b1e0a273af: Waiting [2023-11-14T19:05:03.581Z] 5d3b04190fa2: Waiting [2023-11-14T19:05:03.581Z] 2f39f015ded8: Waiting [2023-11-14T19:05:03.581Z] 5c69ac0246d0: Download complete [2023-11-14T19:05:03.581Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T19:05:03.581Z] 3a2ae6a8a46f: Download complete [2023-11-14T19:05:03.581Z] ec43610c2a17: Verifying Checksum [2023-11-14T19:05:03.581Z] ec43610c2a17: Download complete [2023-11-14T19:05:03.581Z] 33b1e0a273af: Verifying Checksum [2023-11-14T19:05:03.581Z] 33b1e0a273af: Download complete [2023-11-14T19:05:03.581Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T19:05:03.581Z] 5d3b04190fa2: Download complete [2023-11-14T19:05:03.842Z] 5eb5b503b376: Download complete [2023-11-14T19:05:04.409Z] 2f39f015ded8: Download complete [2023-11-14T19:05:04.871Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17525 in /w/workspace/gexfoundry_device-snmp-go_PR-332 [Pipeline] { [Pipeline] ws [2023-11-14T19:05:04.927Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-11-14T19:05:05.013Z] Selected Git installation does not exist. Using Default [2023-11-14T19:05:05.013Z] The recommended git tool is: NONE [2023-11-14T19:05:05.355Z] 5eb5b503b376: Pull complete [2023-11-14T19:05:05.613Z] 5c69ac0246d0: Pull complete [2023-11-14T19:05:06.184Z] ec43610c2a17: Pull complete [2023-11-14T19:05:06.752Z] 3a2ae6a8a46f: Pull complete [2023-11-14T19:05:07.337Z] 33b1e0a273af: Pull complete [2023-11-14T19:05:07.904Z] 5d3b04190fa2: Pull complete [2023-11-14T19:05:11.262Z] using credential edgex-jenkins-ssh [2023-11-14T19:05:11.280Z] Cloning the remote Git repository [2023-11-14T19:05:11.340Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-11-14T19:05:11.470Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-11-14T19:05:11.670Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-11-14T19:05:11.672Z] > git --version # timeout=10 [2023-11-14T19:05:11.696Z] > git --version # 'git version 2.25.1' [2023-11-14T19:05:11.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T19:05:11.892Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T19:05:13.188Z] 2f39f015ded8: Pull complete [2023-11-14T19:05:13.188Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T19:05:13.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T19:05:13.188Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:05:13.412Z] prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container [2023-11-14T19:05:13.438Z] $ 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-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T19:05:13.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-11-14T19:05:13.104Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T19:05:14.961Z] Merging remotes/origin/main commit 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 into PR head commit bb93e68095a893700c264138aff939773827ddef [2023-11-14T19:05:14.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-11-14T19:05:14.236Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-11-14T19:05:14.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T19:05:14.258Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/332/head:refs/remotes/origin/PR-332 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T19:05:14.985Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T19:05:15.082Z] > git checkout -f bb93e68095a893700c264138aff939773827ddef # timeout=10 [2023-11-14T19:05:15.179Z] > git remote # timeout=10 [2023-11-14T19:05:15.203Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T19:05:15.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T19:05:15.302Z] Merge succeeded, producing bb93e68095a893700c264138aff939773827ddef [2023-11-14T19:05:15.302Z] Checking out Revision bb93e68095a893700c264138aff939773827ddef (PR-332) [2023-11-14T19:05:15.244Z] > git merge 7e94b9fbc9a6f42ac524c9c46ae680402909dfe2 # timeout=10 [2023-11-14T19:05:15.276Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T19:05:15.312Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T19:05:15.333Z] > git checkout -f bb93e68095a893700c264138aff939773827ddef # timeout=10 [2023-11-14T19:05:19.017Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T19:05:19.088Z] > git --version # timeout=10 [2023-11-14T19:05:19.100Z] > git --version # 'git version 2.25.1' [2023-11-14T19:05:19.122Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T19:05:19.517Z] [2023-11-14T19:05:19.517Z] GitHub has been notified of this commit’s build result [2023-11-14T19:05:19.517Z] [2023-11-14T19:05:24.393Z] $ docker top 505eb0cca1b9ac64e52fce72d1ac7ce0dcbd6ff24bc30c034b208a9320adc1d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T19:05:24.844Z] ---> job-cost.sh [2023-11-14T19:05:24.844Z] lf-activate-venv: SKIPPING [2023-11-14T19:05:24.844Z] INFO: No Stack... [2023-11-14T19:05:25.105Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T19:05:25.327Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T19:05:25.327Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T19:05:25.327Z] Dload Upload Total Spent Left Speed [2023-11-14T19:05:25.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 47498 0 --:--:-- --:--:-- --:--:-- 47676 [2023-11-14T19:05:25.674Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T19:05:25.991Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-332/archives/cost.csv [2023-11-14T19:05:25.991Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T19:05:26.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [2023-11-14T19:05:26.043Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] did not exist. Created. [2023-11-14T19:05:26.043Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2023-11-14T19:05:26.458Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T19:05:26.549Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T19:05:26.632Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T19:05:26.661Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T19:05:26.770Z] $ docker stop --time=1 505eb0cca1b9ac64e52fce72d1ac7ce0dcbd6ff24bc30c034b208a9320adc1d4 [2023-11-14T19:05:26.811Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T19:05:26.812Z] + sudo tee /etc/docker/daemon.new [2023-11-14T19:05:26.812Z] { [2023-11-14T19:05:26.812Z] "registry-mirrors": [ [2023-11-14T19:05:26.812Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T19:05:26.812Z] ], [2023-11-14T19:05:26.812Z] "bip": "10.250.0.254/24", [2023-11-14T19:05:26.812Z] "hosts": [ [2023-11-14T19:05:26.812Z] "tcp://0.0.0.0:5555", [2023-11-14T19:05:26.812Z] "unix:///var/run/docker.sock" [2023-11-14T19:05:26.812Z] ], [2023-11-14T19:05:26.812Z] "mtu": 1458, [2023-11-14T19:05:26.812Z] "selinux-enabled": true, [2023-11-14T19:05:26.812Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T19:05:26.812Z] } [2023-11-14T19:05:28.050Z] $ docker rm -f --volumes 505eb0cca1b9ac64e52fce72d1ac7ce0dcbd6ff24bc30c034b208a9320adc1d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T19:05:28.501Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T19:05:28.859Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T19:05:51.090Z] provisioning config files... [2023-11-14T19:05:51.118Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6924825680718905090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:05:51.516Z] ---> docker-login.sh [2023-11-14T19:05:51.516Z] nexus3.edgexfoundry.org:10001 [2023-11-14T19:05:52.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:05:52.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:05:52.767Z] Configure a credential helper to remove this warning. See [2023-11-14T19:05:52.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:05:52.767Z] [2023-11-14T19:05:52.767Z] Login Succeeded [2023-11-14T19:05:52.767Z] nexus3.edgexfoundry.org:10002 [2023-11-14T19:05:53.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:05:53.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:05:53.040Z] Configure a credential helper to remove this warning. See [2023-11-14T19:05:53.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:05:53.040Z] [2023-11-14T19:05:53.040Z] Login Succeeded [2023-11-14T19:05:53.040Z] nexus3.edgexfoundry.org:10003 [2023-11-14T19:05:53.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:05:53.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:05:53.583Z] Configure a credential helper to remove this warning. See [2023-11-14T19:05:53.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:05:53.583Z] [2023-11-14T19:05:53.583Z] Login Succeeded [2023-11-14T19:05:53.583Z] nexus3.edgexfoundry.org:10004 [2023-11-14T19:05:53.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:05:53.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:05:53.854Z] Configure a credential helper to remove this warning. See [2023-11-14T19:05:53.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:05:53.854Z] [2023-11-14T19:05:53.854Z] Login Succeeded [2023-11-14T19:05:53.854Z] docker.io [2023-11-14T19:05:54.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T19:05:54.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T19:05:54.397Z] Configure a credential helper to remove this warning. See [2023-11-14T19:05:54.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T19:05:54.397Z] [2023-11-14T19:05:54.397Z] Login Succeeded [2023-11-14T19:05:54.397Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T19:05:54.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T19:05:54.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T19:05:54.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T19:05:54.914Z] ========================================================= [2023-11-14T19:05:54.914Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T19:05:54.914Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:05:55.411Z] + 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-14T19:05:55.684Z] Sending build context to Docker daemon 2.966MB [2023-11-14T19:05:55.684Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T19:05:55.684Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T19:05:55.954Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T19:05:55.954Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T19:05:55.954Z] 5d54e960e981: Pulling fs layer [2023-11-14T19:05:55.954Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T19:05:55.954Z] f0e02332f6b5: Pulling fs layer [2023-11-14T19:05:55.954Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T19:05:55.954Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T19:05:55.954Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T19:05:55.954Z] f0e02332f6b5: Waiting [2023-11-14T19:05:55.954Z] 872ee5b61b7b: Waiting [2023-11-14T19:05:55.954Z] 0c6a40ed1a82: Waiting [2023-11-14T19:05:55.954Z] 94ae7d8d031c: Waiting [2023-11-14T19:05:55.954Z] 5d54e960e981: Verifying Checksum [2023-11-14T19:05:55.954Z] 5d54e960e981: Download complete [2023-11-14T19:05:55.954Z] f0e02332f6b5: Verifying Checksum [2023-11-14T19:05:55.954Z] f0e02332f6b5: Download complete [2023-11-14T19:05:55.954Z] 872ee5b61b7b: Verifying Checksum [2023-11-14T19:05:55.954Z] 872ee5b61b7b: Download complete [2023-11-14T19:05:55.954Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T19:05:55.954Z] 9fda8d8052c6: Download complete [2023-11-14T19:05:56.547Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T19:05:56.547Z] 94ae7d8d031c: Download complete [2023-11-14T19:05:57.152Z] 9fda8d8052c6: Pull complete [2023-11-14T19:05:58.118Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T19:05:58.118Z] c4a7e357bf2a: Download complete [2023-11-14T19:05:59.088Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T19:05:59.088Z] 0c6a40ed1a82: Download complete [2023-11-14T19:06:00.504Z] 5d54e960e981: Pull complete [2023-11-14T19:06:15.535Z] c4a7e357bf2a: Pull complete [2023-11-14T19:06:15.535Z] f0e02332f6b5: Pull complete [2023-11-14T19:06:15.535Z] 872ee5b61b7b: Pull complete [2023-11-14T19:06:23.775Z] 0c6a40ed1a82: Pull complete [2023-11-14T19:06:24.738Z] 94ae7d8d031c: Pull complete [2023-11-14T19:06:24.739Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T19:06:24.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T19:06:24.739Z] ---> 86de565de09d [2023-11-14T19:06:24.739Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T19:06:26.165Z] ---> Running in 529f67148e0d [2023-11-14T19:06:26.435Z] Removing intermediate container 529f67148e0d [2023-11-14T19:06:26.435Z] ---> cb3b6df696f9 [2023-11-14T19:06:26.435Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T19:06:26.435Z] ---> Running in 6c366917f95d [2023-11-14T19:06:27.022Z] Removing intermediate container 6c366917f95d [2023-11-14T19:06:27.022Z] ---> a908661593c7 [2023-11-14T19:06:27.022Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T19:06:27.022Z] ---> Running in 1a48cee5a5b0 [2023-11-14T19:06:27.292Z] Removing intermediate container 1a48cee5a5b0 [2023-11-14T19:06:27.292Z] ---> b01d2cc16e1d [2023-11-14T19:06:27.292Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T19:06:27.564Z] ---> Running in 607788edf722 [2023-11-14T19:06:27.836Z] Removing intermediate container 607788edf722 [2023-11-14T19:06:27.836Z] ---> 8c2ccbaf2602 [2023-11-14T19:06:27.836Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T19:06:27.836Z] ---> Running in 80fb1755e574 [2023-11-14T19:06:29.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:06:29.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:06:30.947Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T19:06:30.947Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T19:06:30.947Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T19:06:30.947Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T19:06:30.947Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T19:06:30.947Z] OK: 271 MiB in 56 packages [2023-11-14T19:06:32.359Z] Removing intermediate container 80fb1755e574 [2023-11-14T19:06:32.359Z] ---> 861402e718a9 [2023-11-14T19:06:32.359Z] Step 8/12 : WORKDIR /device-snmp-go [2023-11-14T19:06:32.359Z] ---> Running in f92c9dd09da4 [2023-11-14T19:06:32.629Z] Removing intermediate container f92c9dd09da4 [2023-11-14T19:06:32.629Z] ---> 9995bd9b1fe5 [2023-11-14T19:06:32.629Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T19:06:33.217Z] ---> 2a03b6548c83 [2023-11-14T19:06:33.217Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T19:06:33.217Z] ---> Running in 26184084a6ba [2023-11-14T19:07:54.892Z] Removing intermediate container 26184084a6ba [2023-11-14T19:07:54.892Z] ---> 111195d40762 [2023-11-14T19:07:54.892Z] Step 11/12 : COPY . . [2023-11-14T19:07:54.892Z] ---> 7865b5e6e049 [2023-11-14T19:07:54.892Z] Step 12/12 : RUN ${MAKE} [2023-11-14T19:07:54.892Z] ---> Running in 1c423e8ef924 [2023-11-14T19:07:54.892Z] noop [2023-11-14T19:07:54.892Z] Removing intermediate container 1c423e8ef924 [2023-11-14T19:07:54.892Z] ---> cf9fef10a2c6 [2023-11-14T19:07:54.892Z] Successfully built cf9fef10a2c6 [2023-11-14T19:07:54.892Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:07:55.386Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T19:07:55.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:07:55.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-17525 does not seem to be running inside a container [2023-11-14T19:07:55.778Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T19:07:57.127Z] $ docker top 32909e170c6cf64b1e0a324242e58e6d09ecd78b5513f91b0ffb620c6712f690 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:07:58.067Z] + go version [2023-11-14T19:07:58.067Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T19:07:58.102Z] $ docker stop --time=1 32909e170c6cf64b1e0a324242e58e6d09ecd78b5513f91b0ffb620c6712f690 [2023-11-14T19:07:59.757Z] $ docker rm -f --volumes 32909e170c6cf64b1e0a324242e58e6d09ecd78b5513f91b0ffb620c6712f690 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:08:00.677Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T19:08:00.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:08:01.028Z] prd-ubuntu20.04-docker-arm64-4c-16g-17525 does not seem to be running inside a container [2023-11-14T19:08:01.142Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T19:08:02.529Z] $ docker top 5afab75bd1150fc6b66b55f4be0760bafaf4c7c32aca4cb957f17f9c5e3374ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:08:03.481Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-14T19:08:04.209Z] + make test [2023-11-14T19:08:04.209Z] go test ./... -coverprofile=coverage.out [2023-11-14T19:08:08.484Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-11-14T19:10:00.203Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-11-14T19:10:00.203Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.090s coverage: 0.0% of statements [2023-11-14T19:10:00.203Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T19:10:00.203Z] go vet ./... [2023-11-14T19:10:22.329Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T19:10:22.329Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T19:10:22.329Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T19:10:22.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T19:10:22.403Z] $ docker stop --time=1 5afab75bd1150fc6b66b55f4be0760bafaf4c7c32aca4cb957f17f9c5e3374ef [2023-11-14T19:10:24.319Z] $ docker rm -f --volumes 5afab75bd1150fc6b66b55f4be0760bafaf4c7c32aca4cb957f17f9c5e3374ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T19:10:25.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T19:10:25.557Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T19:10:26.015Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T19:10:26.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T19:10:27.028Z] + ls -al . [2023-11-14T19:10:27.028Z] total 168 [2023-11-14T19:10:27.028Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 19:08 . [2023-11-14T19:10:27.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 19:05 .. [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 14 19:05 .dockerignore [2023-11-14T19:10:27.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 19:05 .git [2023-11-14T19:10:27.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:05 .github [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 263 Nov 14 19:05 .gitignore [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 19:05 .golangci.yml [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 10025 Nov 14 19:05 Attribution.txt [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 11809 Nov 14 19:05 CHANGELOG.md [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 1571 Nov 14 19:05 Dockerfile [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 19:05 GOVERNANCE.md [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 14 19:05 Jenkinsfile [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 19:05 LICENSE [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 2240 Nov 14 19:05 Makefile [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 19:05 OWNERS.md [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 10477 Nov 14 19:05 README.md [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 19:01 VERSION [2023-11-14T19:10:27.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 19:05 bin [2023-11-14T19:10:27.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:05 cmd [2023-11-14T19:10:27.028Z] -rw-r--r-- 1 jenkins jenkins 8837 Nov 14 19:09 coverage.out [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 3665 Nov 14 19:05 go.mod [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 34728 Nov 14 19:05 go.sum [2023-11-14T19:10:27.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 19:05 internal [2023-11-14T19:10:27.028Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 14 19:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:10:27.470Z] + 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=bb93e68095a893700c264138aff939773827ddef --label arch=arm64 --label version=0.0.0 . [2023-11-14T19:10:27.774Z] Sending build context to Docker daemon 2.976MB [2023-11-14T19:10:27.774Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T19:10:27.774Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-14T19:10:27.774Z] ---> cf9fef10a2c6 [2023-11-14T19:10:27.774Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-14T19:10:28.738Z] ---> Running in 91e6875d933a [2023-11-14T19:10:28.738Z] Removing intermediate container 91e6875d933a [2023-11-14T19:10:28.738Z] ---> b63b57a04646 [2023-11-14T19:10:28.738Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T19:10:29.012Z] ---> Running in 4bfbbec0e3dd [2023-11-14T19:10:29.298Z] Removing intermediate container 4bfbbec0e3dd [2023-11-14T19:10:29.298Z] ---> c5f7ee929647 [2023-11-14T19:10:29.298Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T19:10:29.298Z] ---> Running in 8de0ac98435b [2023-11-14T19:10:29.572Z] Removing intermediate container 8de0ac98435b [2023-11-14T19:10:29.572Z] ---> 4c7b3bd163c6 [2023-11-14T19:10:29.572Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T19:10:29.843Z] ---> Running in 9b4b04b5061c [2023-11-14T19:10:30.111Z] Removing intermediate container 9b4b04b5061c [2023-11-14T19:10:30.111Z] ---> d3edac2c9740 [2023-11-14T19:10:30.111Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T19:10:30.111Z] ---> Running in 4ec25224507a [2023-11-14T19:10:31.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:10:31.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:10:32.637Z] OK: 271 MiB in 56 packages [2023-11-14T19:10:33.598Z] Removing intermediate container 4ec25224507a [2023-11-14T19:10:33.598Z] ---> 98e3ed3e69d1 [2023-11-14T19:10:33.598Z] Step 8/25 : WORKDIR /device-snmp-go [2023-11-14T19:10:33.598Z] ---> Running in a5a60ed2defb [2023-11-14T19:10:33.864Z] Removing intermediate container a5a60ed2defb [2023-11-14T19:10:33.864Z] ---> b16dd4ec6fc0 [2023-11-14T19:10:33.864Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-14T19:10:34.450Z] ---> f2935cd7c2e6 [2023-11-14T19:10:34.450Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T19:10:34.450Z] ---> Running in bad045419ebc [2023-11-14T19:10:37.029Z] Removing intermediate container bad045419ebc [2023-11-14T19:10:37.029Z] ---> d2ca5be13318 [2023-11-14T19:10:37.029Z] Step 11/25 : COPY . . [2023-11-14T19:10:37.610Z] ---> a2f9476fc7c5 [2023-11-14T19:10:37.610Z] Step 12/25 : RUN ${MAKE} [2023-11-14T19:10:37.610Z] ---> Running in 46aa937bc3e4 [2023-11-14T19:10:38.572Z] 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-14T19:12:30.271Z] Removing intermediate container 46aa937bc3e4 [2023-11-14T19:12:30.271Z] ---> b329e1d91104 [2023-11-14T19:12:30.271Z] Step 13/25 : FROM alpine:3.18 [2023-11-14T19:12:30.271Z] 3.18: Pulling from library/alpine [2023-11-14T19:12:30.271Z] 579b34f0a95b: Pulling fs layer [2023-11-14T19:12:30.271Z] 579b34f0a95b: Verifying Checksum [2023-11-14T19:12:30.271Z] 579b34f0a95b: Download complete [2023-11-14T19:12:30.271Z] 579b34f0a95b: Pull complete [2023-11-14T19:12:30.271Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T19:12:30.271Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T19:12:30.271Z] ---> 3cc203321400 [2023-11-14T19:12:30.271Z] Step 14/25 : RUN apk add --update --no-cache dumb-init [2023-11-14T19:12:30.271Z] ---> Running in 086f629a9b3d [2023-11-14T19:12:30.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:12:31.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:12:32.078Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T19:12:32.078Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T19:12:32.078Z] OK: 8 MiB in 16 packages [2023-11-14T19:12:36.341Z] Removing intermediate container 086f629a9b3d [2023-11-14T19:12:36.341Z] ---> 04496fd25d19 [2023-11-14T19:12:36.341Z] Step 15/25 : RUN apk --no-cache upgrade [2023-11-14T19:12:36.341Z] ---> Running in 86e86fc9d283 [2023-11-14T19:12:36.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T19:12:37.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T19:12:38.599Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:12:38.599Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:12:38.599Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T19:12:38.599Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:12:38.599Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:12:38.599Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T19:12:38.599Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T19:12:38.599Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T19:12:38.599Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T19:12:38.599Z] OK: 8 MiB in 16 packages [2023-11-14T19:12:39.578Z] Removing intermediate container 86e86fc9d283 [2023-11-14T19:12:39.844Z] ---> 1282abf5d6f5 [2023-11-14T19:12:39.844Z] Step 16/25 : COPY --from=builder /device-snmp-go/cmd / [2023-11-14T19:12:41.250Z] ---> 955651a0e5e1 [2023-11-14T19:12:41.250Z] Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-11-14T19:12:41.838Z] ---> 7742ac850e33 [2023-11-14T19:12:41.838Z] Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / [2023-11-14T19:12:42.105Z] ---> b94f75ad6114 [2023-11-14T19:12:42.105Z] Step 19/25 : EXPOSE 59993 [2023-11-14T19:12:42.377Z] ---> Running in 664d1c58ce71 [2023-11-14T19:12:42.645Z] Removing intermediate container 664d1c58ce71 [2023-11-14T19:12:42.645Z] ---> 35906918d413 [2023-11-14T19:12:42.645Z] Step 20/25 : EXPOSE 161 [2023-11-14T19:12:42.645Z] ---> Running in aea7e9d49f2b [2023-11-14T19:12:42.918Z] Removing intermediate container aea7e9d49f2b [2023-11-14T19:12:42.918Z] ---> 8a73ca450e8c [2023-11-14T19:12:42.918Z] Step 21/25 : ENTRYPOINT ["/device-snmp"] [2023-11-14T19:12:42.918Z] ---> Running in 07fa9a2bf78d [2023-11-14T19:12:43.188Z] Removing intermediate container 07fa9a2bf78d [2023-11-14T19:12:43.188Z] ---> cfa4a7a9645e [2023-11-14T19:12:43.188Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T19:12:43.455Z] ---> Running in 4b43d122fd67 [2023-11-14T19:12:43.720Z] Removing intermediate container 4b43d122fd67 [2023-11-14T19:12:43.720Z] ---> c8f66abf1008 [2023-11-14T19:12:43.720Z] Step 23/25 : LABEL arch=arm64 [2023-11-14T19:12:43.720Z] ---> Running in 220614a1c593 [2023-11-14T19:12:43.987Z] Removing intermediate container 220614a1c593 [2023-11-14T19:12:43.987Z] ---> 63c75b1ce1ef [2023-11-14T19:12:43.987Z] Step 24/25 : LABEL git_sha=bb93e68095a893700c264138aff939773827ddef [2023-11-14T19:12:44.254Z] ---> Running in 0bd9ed35b00c [2023-11-14T19:12:44.520Z] Removing intermediate container 0bd9ed35b00c [2023-11-14T19:12:44.520Z] ---> c24d253d62cc [2023-11-14T19:12:44.520Z] Step 25/25 : LABEL version=0.0.0 [2023-11-14T19:12:44.520Z] ---> Running in 96adb8936168 [2023-11-14T19:12:44.785Z] Removing intermediate container 96adb8936168 [2023-11-14T19:12:44.785Z] ---> fc4bdb498e76 [2023-11-14T19:12:44.785Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T19:12:44.785Z] Successfully built fc4bdb498e76 [2023-11-14T19:12:44.785Z] 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-14T19:12:45.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:12:45.621Z] [2023-11-14T19:12:45.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:12:46.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:12:46.037Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T19:12:46.037Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T19:12:46.037Z] 04944245beec: Pulling fs layer [2023-11-14T19:12:46.037Z] 699f458cf7ca: Pulling fs layer [2023-11-14T19:12:46.037Z] 765212b225bb: Pulling fs layer [2023-11-14T19:12:46.037Z] f23df028b6ca: Pulling fs layer [2023-11-14T19:12:46.037Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T19:12:46.037Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T19:12:46.037Z] 765212b225bb: Waiting [2023-11-14T19:12:46.037Z] f23df028b6ca: Waiting [2023-11-14T19:12:46.037Z] d65c8cfc05b1: Waiting [2023-11-14T19:12:46.037Z] 2437ff75d9bd: Waiting [2023-11-14T19:12:46.304Z] 04944245beec: Verifying Checksum [2023-11-14T19:12:46.304Z] 04944245beec: Download complete [2023-11-14T19:12:46.304Z] 765212b225bb: Verifying Checksum [2023-11-14T19:12:46.304Z] 765212b225bb: Download complete [2023-11-14T19:12:46.304Z] f23df028b6ca: Verifying Checksum [2023-11-14T19:12:46.304Z] f23df028b6ca: Download complete [2023-11-14T19:12:46.304Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T19:12:46.304Z] d65c8cfc05b1: Download complete [2023-11-14T19:12:46.304Z] 699f458cf7ca: Verifying Checksum [2023-11-14T19:12:46.304Z] 699f458cf7ca: Download complete [2023-11-14T19:12:46.887Z] 8998bd30e6a1: Download complete [2023-11-14T19:12:49.465Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T19:12:49.465Z] 2437ff75d9bd: Download complete [2023-11-14T19:12:50.881Z] 8998bd30e6a1: Pull complete [2023-11-14T19:12:51.464Z] 04944245beec: Pull complete [2023-11-14T19:12:52.890Z] 699f458cf7ca: Pull complete [2023-11-14T19:12:53.158Z] 765212b225bb: Pull complete [2023-11-14T19:12:54.119Z] f23df028b6ca: Pull complete [2023-11-14T19:12:54.119Z] d65c8cfc05b1: Pull complete [2023-11-14T19:13:12.329Z] 2437ff75d9bd: Pull complete [2023-11-14T19:13:12.329Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T19:13:12.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T19:13:12.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:13:12.668Z] prd-ubuntu20.04-docker-arm64-4c-16g-17525 does not seem to be running inside a container [2023-11-14T19:13:12.751Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-14T19:13:15.463Z] $ docker top 638a9b7ba28be4b7bfe45bc17cb43939f197c0d64d4868893a8301dbdc96d915 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:13:16.352Z] ---> job-cost.sh [2023-11-14T19:13:16.352Z] lf-activate-venv: SKIPPING [2023-11-14T19:13:16.352Z] INFO: No Stack... [2023-11-14T19:13:16.617Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T19:13:17.569Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T19:13:18.223Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-11-14T19:13:18.223Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T19:13:18.300Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [2023-11-14T19:13:18.305Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] did not exist. Created. [2023-11-14T19:13:18.306Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T19:13:19.035Z] /w/workspace/device-snmp-go/1@tmp/durable-7c0cd1ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T19:13:19.703Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T19:13:19.741Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T19:13:19.787Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T19:13:19.803Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-332-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T19:13:19.891Z] $ docker stop --time=1 638a9b7ba28be4b7bfe45bc17cb43939f197c0d64d4868893a8301dbdc96d915 [2023-11-14T19:13:21.400Z] $ docker rm -f --volumes 638a9b7ba28be4b7bfe45bc17cb43939f197c0d64d4868893a8301dbdc96d915 [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-14T19:13:22.451Z] provisioning config files... [2023-11-14T19:13:22.458Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/config2909845404660132391tmp [Pipeline] { [Pipeline] sh [2023-11-14T19:13:22.803Z] + set +x [2023-11-14T19:13:22.803Z] + curl -s https://codecov.io/bash [2023-11-14T19:13:22.803Z] + bash -s -- [2023-11-14T19:13:22.803Z] [2023-11-14T19:13:22.803Z] _____ _ [2023-11-14T19:13:22.803Z] / ____| | | [2023-11-14T19:13:22.803Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T19:13:22.803Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T19:13:22.803Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T19:13:22.803Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T19:13:22.803Z] Bash-1.0.6 [2023-11-14T19:13:22.803Z] [2023-11-14T19:13:22.803Z] [2023-11-14T19:13:22.803Z] ==> git version 2.25.1 found [2023-11-14T19:13:22.803Z] ==> 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-14T19:13:22.803Z] Release-Date: 2020-01-08 [2023-11-14T19:13:22.803Z] 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-14T19:13:22.803Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T19:13:22.803Z] ==> Jenkins CI detected. [2023-11-14T19:13:22.803Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-332 [2023-11-14T19:13:22.803Z] project root: . [2023-11-14T19:13:22.803Z] --> token set from env [2023-11-14T19:13:22.803Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T19:13:22.803Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T19:13:22.803Z] ==> Python coveragepy not found [2023-11-14T19:13:22.803Z] ==> Searching for coverage reports in: [2023-11-14T19:13:22.803Z] + . [2023-11-14T19:13:22.803Z] -> Found 1 reports [2023-11-14T19:13:22.803Z] ==> Detecting git/mercurial file structure [2023-11-14T19:13:22.803Z] ==> Reading reports [2023-11-14T19:13:23.063Z] + ./coverage.out bytes=8837 [2023-11-14T19:13:23.063Z] ==> Appending adjustments [2023-11-14T19:13:23.063Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T19:13:23.063Z] + Found adjustments [2023-11-14T19:13:23.063Z] ==> Gzipping contents [2023-11-14T19:13:23.063Z] 4.0K /tmp/codecov.TFAITs.gz [2023-11-14T19:13:23.063Z] ==> Uploading reports [2023-11-14T19:13:23.063Z] url: https://codecov.io [2023-11-14T19:13:23.063Z] query: branch=PR-332&commit=bb93e68095a893700c264138aff939773827ddef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2023-11-14T19:13:23.063Z] -> Pinging Codecov [2023-11-14T19:13:23.063Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-332&commit=bb93e68095a893700c264138aff939773827ddef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-332%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=332&job=&cmd_args= [2023-11-14T19:13:55.169Z] -> Uploading to [2023-11-14T19:13:55.169Z] [2023-11-14T19:13:55.169Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T19:13:55.169Z] Dload Upload Total Spent Left Speed [2023-11-14T19:13:55.169Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: [2023-11-14T19:13:55.169Z] X> Failed to upload [2023-11-14T19:13:55.169Z] ==> Uploading to Codecov [2023-11-14T19:13:55.169Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T19:13:55.169Z] Dload Upload Total Spent Left Speed [2023-11-14T19:13:55.429Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1682 100 247 100 1435 1657 9630 --:--:-- --:--:-- --:--:-- 11213 100 1682 100 247 100 1435 1657 9630 --:--:-- --:--:-- --:--:-- 11213 [2023-11-14T19:13:55.429Z] Reports have been successfully queued for processing at {"message": "Coverage reports upload successfully", "uploaded": true, "queued": true, "id": "577d311a-92c2-4e88-abd4-f6018bdd085f", "url": "https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/bb93e68095a893700c264138aff939773827ddef"} [Pipeline] } [2023-11-14T19:13:55.462Z] 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-14T19:13:57.255Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-332/archives ] [2023-11-14T19:13:57.255Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-332/archives [2023-11-14T19:13:57.255Z] total 16 [2023-11-14T19:13:57.255Z] drwxr-xr-x 3 root root 4096 Nov 14 19:05 . [2023-11-14T19:13:57.255Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 19:05 .. [2023-11-14T19:13:57.255Z] drwxr-xr-x 2 root root 4096 Nov 14 19:05 cost [2023-11-14T19:13:57.255Z] -rw-r--r-- 1 root root 86 Nov 14 19:05 cost.csv [2023-11-14T19:13:57.255Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-332/archives [2023-11-14T19:13:57.255Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-332/archives [2023-11-14T19:13:57.255Z] total 16 [2023-11-14T19:13:57.255Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 19:05 . [2023-11-14T19:13:57.255Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 19:05 .. [2023-11-14T19:13:57.255Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 19:05 cost [2023-11-14T19:13:57.255Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 14 19:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:13:57.582Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:13:58.473Z] ---> package-listing.sh [2023-11-14T19:13:58.473Z] ++ facter osfamily [2023-11-14T19:13:58.473Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T19:13:58.732Z] + OS_FAMILY=debian [2023-11-14T19:13:58.732Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-332 [2023-11-14T19:13:58.732Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T19:13:58.732Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T19:13:58.732Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T19:13:58.732Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T19:13:58.732Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-332 ']' [2023-11-14T19:13:58.732Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T19:13:58.732Z] + case "${OS_FAMILY}" in [2023-11-14T19:13:58.732Z] + dpkg -l [2023-11-14T19:13:58.732Z] + grep '^ii' [2023-11-14T19:13:58.732Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T19:13:58.732Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T19:13:58.732Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T19:13:58.732Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-332 ']' [2023-11-14T19:13:58.732Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-332/archives/ [2023-11-14T19:13:58.732Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-332/archives/ [Pipeline] echo [2023-11-14T19:13:58.771Z] 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-332/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T19:13:59.063Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T19:13:59.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T19:13:59.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T19:13:59.823Z] prd-ubuntu20.04-docker-8c-8g-17523 does not seem to be running inside a container [2023-11-14T19:13:59.850Z] $ 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-332/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-332 -v /w/workspace/gexfoundry_device-snmp-go_PR-332:/w/workspace/gexfoundry_device-snmp-go_PR-332:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-332@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-332@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T19:14:00.045Z] $ docker top a9d8fe83c1e9caf174fda9375244d756133d2d7b5b88820751c983c493b66ca4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T19:14:00.448Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T19:14:00.767Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T19:14:01.081Z] + ls /var/log/sa-host [2023-11-14T19:14:01.081Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T19:14:01.229Z] provisioning config files... [2023-11-14T19:14:01.238Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-332@tmp/config11679944041727601978tmp [Pipeline] { [Pipeline] echo [2023-11-14T19:14:01.295Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:14:01.614Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T19:14:01.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:14:02.057Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T19:14:02.089Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:14:02.403Z] ---> sudo-logs.sh [2023-11-14T19:14:02.403Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T19:14:02.487Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:14:02.812Z] ---> job-cost.sh [2023-11-14T19:14:02.812Z] lf-activate-venv: SKIPPING [2023-11-14T19:14:02.812Z] DEBUG: total: 0.2199999988079071 [2023-11-14T19:14:02.812Z] INFO: Retrieving Stack Cost... [2023-11-14T19:14:03.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T19:14:03.643Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T19:14:03.678Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T19:14:03.990Z] ---> logs-deploy.sh [2023-11-14T19:14:03.990Z] lf-activate-venv: SKIPPING [2023-11-14T19:14:03.990Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-332/1 [2023-11-14T19:14:03.990Z] INFO: archiving workspace using pattern(s): [2023-11-14T19:14:04.929Z] Archives upload complete. [2023-11-14T19:14:04.929Z] INFO: archiving logs to Nexus