Pull request #235 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ecd9d3a31f04bd701de006a7cc6ec747a403c223+2bd6e5dae59222faf073cfb9822f90f2048c0bba (5fdf496b67065653b27ef7ff7e6453cb91665f05) 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-ssh16609873310882023624.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8096160232960238333.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-235/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-235/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11394744243451742921.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-235/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11171363257059609821.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9360125981481789122.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-235/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-235/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13418380311700672244.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6260 in /w/workspace/gexfoundry_device-snmp-go_PR-235 [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-235 # 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/235/head:refs/remotes/origin/PR-235 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit ecd9d3a31f04bd701de006a7cc6ec747a403c223 Merge succeeded, producing ecd9d3a31f04bd701de006a7cc6ec747a403c223 Checking out Revision ecd9d3a31f04bd701de006a7cc6ec747a403c223 (PR-235) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-16T05:58:45.592Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-16T05:58:45.758Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-16T05:58:45.845Z] ========================================================= [2023-02-16T05:58:45.845Z] EdgeX Global Pipelines Version Info [2023-02-16T05:58:45.845Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ecd9d3a31f04bd701de006a7cc6ec747a403c223 # 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 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ecd9d3a31f04bd701de006a7cc6ec747a403c223 # timeout=10 [2023-02-16T05:58:46.573Z] ------------------- [2023-02-16T05:58:46.573Z] stable info: [2023-02-16T05:58:46.573Z] ------------------- [2023-02-16T05:58:46.573Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-16T05:58:46.573Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T05:58:46.573Z] Message: update stable to v1.0.244 [2023-02-16T05:58:47.142Z] ------------------- [2023-02-16T05:58:47.142Z] experimental info: [2023-02-16T05:58:47.142Z] ------------------- [2023-02-16T05:58:47.142Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-16T05:58:47.142Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T05:58:47.142Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-16T05:58:47.444Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-16T05:58:47.483Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-16T05:58:47.520Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-16T05:58:47.560Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-16T05:58:47.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-16T05:58:47.630Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-16T05:58:47.664Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-16T05:58:47.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-16T05:58:47.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-16T05:58:47.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-16T05:58:47.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-16T05:58:47.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-16T05:58:47.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-16T05:58:47.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-16T05:58:47.960Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T05:58:47.995Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T05:58:48.042Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T05:58:48.085Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T05:58:48.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-16T05:58:48.182Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-16T05:58:48.218Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-16T05:58:48.254Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-16T05:58:48.290Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-16T05:58:48.327Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-16T05:58:48.363Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-16T05:58:48.400Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-16T05:58:48.434Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-16T05:58:48.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-235 [Pipeline] echo [2023-02-16T05:58:48.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-235 [Pipeline] echo [2023-02-16T05:58:48.541Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-235 [Pipeline] echo [2023-02-16T05:58:48.576Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ecd9d3a31f04bd701de006a7cc6ec747a403c223 [Pipeline] echo [2023-02-16T05:58:48.611Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ecd9d3a [Pipeline] echo [2023-02-16T05:58:48.647Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T05:58:48.762Z] provisioning config files... [2023-02-16T05:58:48.774Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-235@tmp/config1750198905263774359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T05:58:49.114Z] ---> docker-login.sh [2023-02-16T05:58:49.114Z] nexus3.edgexfoundry.org:10001 [2023-02-16T05:58:49.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:58:49.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:58:49.662Z] Configure a credential helper to remove this warning. See [2023-02-16T05:58:49.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:58:49.662Z] [2023-02-16T05:58:49.662Z] Login Succeeded [2023-02-16T05:58:49.662Z] nexus3.edgexfoundry.org:10002 [2023-02-16T05:58:49.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:58:49.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:58:49.662Z] Configure a credential helper to remove this warning. See [2023-02-16T05:58:49.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:58:49.662Z] [2023-02-16T05:58:49.662Z] Login Succeeded [2023-02-16T05:58:49.662Z] nexus3.edgexfoundry.org:10003 [2023-02-16T05:58:49.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:58:49.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:58:49.923Z] Configure a credential helper to remove this warning. See [2023-02-16T05:58:49.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:58:49.923Z] [2023-02-16T05:58:49.923Z] Login Succeeded [2023-02-16T05:58:49.923Z] nexus3.edgexfoundry.org:10004 [2023-02-16T05:58:49.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:58:49.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:58:49.923Z] Configure a credential helper to remove this warning. See [2023-02-16T05:58:49.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:58:49.923Z] [2023-02-16T05:58:49.923Z] Login Succeeded [2023-02-16T05:58:49.923Z] docker.io [2023-02-16T05:58:49.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:58:50.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:58:50.183Z] Configure a credential helper to remove this warning. See [2023-02-16T05:58:50.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:58:50.183Z] [2023-02-16T05:58:50.183Z] Login Succeeded [2023-02-16T05:58:50.183Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T05:58:50.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-16T05:58:50.811Z] + git rev-list -1 --merges ecd9d3a31f04bd701de006a7cc6ec747a403c223~1..ecd9d3a31f04bd701de006a7cc6ec747a403c223 [Pipeline] echo [2023-02-16T05:58:50.889Z] -----------> git rev-list -1 --merges ecd9d3a31f04bd701de006a7cc6ec747a403c223~1..ecd9d3a31f04bd701de006a7cc6ec747a403c223 ecd9d3a31f04bd701de006a7cc6ec747a403c223 [false] [Pipeline] sh [2023-02-16T05:58:51.368Z] + git log --format=format:%s -1 ecd9d3a31f04bd701de006a7cc6ec747a403c223 [Pipeline] echo [2023-02-16T05:58:51.405Z] ========================================================= [2023-02-16T05:58:51.405Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-16T05:58:51.405Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T05:58:51.852Z] + git log --format=format:%s -1 ecd9d3a31f04bd701de006a7cc6ec747a403c223 [Pipeline] echo [2023-02-16T05:58:51.884Z] [semverPrep] GIT_COMMIT: ecd9d3a31f04bd701de006a7cc6ec747a403c223, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-16T05:58:51.911Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-16T05:58:52.296Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T05:58:52.296Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-16T05:58:52.296Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-16T05:58:52.296Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-16T05:58:52.296Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-16T05:58:52.296Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-16T05:58:52.296Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T05:58:52.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T05:58:52.794Z] [2023-02-16T05:58:52.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T05:58:53.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T05:58:53.176Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-16T05:58:53.176Z] b85a868b505f: Pulling fs layer [2023-02-16T05:58:53.176Z] e2be974225ed: Pulling fs layer [2023-02-16T05:58:53.176Z] 339a4e72a1f5: Pulling fs layer [2023-02-16T05:58:53.176Z] 988bab9f4d93: Pulling fs layer [2023-02-16T05:58:53.176Z] 1469e6f7b9e6: Pulling fs layer [2023-02-16T05:58:53.176Z] eaf3925da568: Pulling fs layer [2023-02-16T05:58:53.176Z] bab4dde63d76: Pulling fs layer [2023-02-16T05:58:53.176Z] bde34c3a00c8: Pulling fs layer [2023-02-16T05:58:53.176Z] b352a97aabf1: Pulling fs layer [2023-02-16T05:58:53.176Z] 4872d77fe225: Pulling fs layer [2023-02-16T05:58:53.176Z] 5851b861e8e6: Pulling fs layer [2023-02-16T05:58:53.176Z] 1469e6f7b9e6: Waiting [2023-02-16T05:58:53.176Z] 988bab9f4d93: Waiting [2023-02-16T05:58:53.176Z] eaf3925da568: Waiting [2023-02-16T05:58:53.176Z] 4872d77fe225: Waiting [2023-02-16T05:58:53.176Z] bab4dde63d76: Waiting [2023-02-16T05:58:53.176Z] 5851b861e8e6: Waiting [2023-02-16T05:58:53.176Z] b352a97aabf1: Waiting [2023-02-16T05:58:53.176Z] bde34c3a00c8: Waiting [2023-02-16T05:58:53.444Z] e2be974225ed: Verifying Checksum [2023-02-16T05:58:53.444Z] e2be974225ed: Download complete [2023-02-16T05:58:53.444Z] 988bab9f4d93: Download complete [2023-02-16T05:58:53.706Z] 339a4e72a1f5: Verifying Checksum [2023-02-16T05:58:53.706Z] 339a4e72a1f5: Download complete [2023-02-16T05:58:53.706Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-02-16T05:58:53.706Z] eaf3925da568: Verifying Checksum [2023-02-16T05:58:53.706Z] eaf3925da568: Download complete [2023-02-16T05:58:53.706Z] b85a868b505f: Verifying Checksum [2023-02-16T05:58:53.706Z] b85a868b505f: Download complete [2023-02-16T05:58:53.706Z] bde34c3a00c8: Download complete [2023-02-16T05:58:53.965Z] b352a97aabf1: Verifying Checksum [2023-02-16T05:58:53.965Z] b352a97aabf1: Download complete [2023-02-16T05:58:53.965Z] 4872d77fe225: Verifying Checksum [2023-02-16T05:58:53.965Z] 4872d77fe225: Download complete [2023-02-16T05:58:53.965Z] 5851b861e8e6: Verifying Checksum [2023-02-16T05:58:53.965Z] 5851b861e8e6: Download complete [2023-02-16T05:58:54.223Z] bab4dde63d76: Verifying Checksum [2023-02-16T05:58:54.223Z] bab4dde63d76: Download complete [2023-02-16T05:58:54.790Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-02-16T05:58:55.049Z] b85a868b505f: Pull complete [2023-02-16T05:58:55.309Z] e2be974225ed: Pull complete [2023-02-16T05:58:55.570Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-02-16T05:58:55.570Z] 339a4e72a1f5: Pull complete [2023-02-16T05:58:55.829Z] 988bab9f4d93: Pull complete [2023-02-16T05:58:56.767Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-02-16T05:58:57.705Z] 1469e6f7b9e6: Retrying in 1 second [2023-02-16T05:58:58.647Z] 1469e6f7b9e6: Retrying in 10 seconds [2023-02-16T05:58:59.588Z] 1469e6f7b9e6: Retrying in 9 seconds [2023-02-16T05:59:00.968Z] 1469e6f7b9e6: Retrying in 8 seconds [2023-02-16T05:59:01.537Z] 1469e6f7b9e6: Retrying in 7 seconds [2023-02-16T05:59:02.916Z] 1469e6f7b9e6: Retrying in 6 seconds [2023-02-16T05:59:03.858Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-02-16T05:59:04.796Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-02-16T05:59:05.742Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-02-16T05:59:06.680Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-02-16T05:59:07.617Z] 1469e6f7b9e6: Retrying in 1 second [2023-02-16T05:59:08.998Z] 1469e6f7b9e6: Verifying Checksum [2023-02-16T05:59:08.998Z] 1469e6f7b9e6: Download complete [2023-02-16T05:59:08.998Z] 1469e6f7b9e6: Pull complete [2023-02-16T05:59:08.998Z] eaf3925da568: Pull complete [2023-02-16T05:59:10.904Z] bab4dde63d76: Pull complete [2023-02-16T05:59:10.904Z] bde34c3a00c8: Pull complete [2023-02-16T05:59:11.163Z] b352a97aabf1: Pull complete [2023-02-16T05:59:11.163Z] 4872d77fe225: Pull complete [2023-02-16T05:59:11.163Z] 5851b861e8e6: Pull complete [2023-02-16T05:59:11.423Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-16T05:59:11.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T05:59:11.423Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T05:59:11.730Z] prd-ubuntu20.04-docker-8c-8g-6260 does not seem to be running inside a container [2023-02-16T05:59:11.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-235 -v /w/workspace/gexfoundry_device-snmp-go_PR-235:/w/workspace/gexfoundry_device-snmp-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-235@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-235@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-16T05:59:14.728Z] $ docker top 4c180e2c3bb1cfdbda53887a372a6e36b2095e3ef15c2328019e014771852a4e -eo pid,comm [2023-02-16T05:59:14.779Z] 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-02-16T05:59:14.779Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T05:59:14.903Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T05:59:14.903Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T05:59:15.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T05:59:15.021Z] $ docker exec 4c180e2c3bb1cfdbda53887a372a6e36b2095e3ef15c2328019e014771852a4e ssh-agent [2023-02-16T05:59:15.131Z] SSH_AUTH_SOCK=/tmp/ssh-dlqWHCbLt31Y/agent.32 [2023-02-16T05:59:15.131Z] SSH_AGENT_PID=38 [2023-02-16T05:59:15.137Z] Running ssh-add (command line suppressed) [2023-02-16T05:59:15.247Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-235@tmp/private_key_2298773855350070182.key (/w/workspace/gexfoundry_device-snmp-go_PR-235@tmp/private_key_2298773855350070182.key) [2023-02-16T05:59:15.258Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T05:59:15.590Z] + git tag --points-at HEAD [Pipeline] } [2023-02-16T05:59:15.615Z] $ docker exec --env ******** --env ******** 4c180e2c3bb1cfdbda53887a372a6e36b2095e3ef15c2328019e014771852a4e ssh-agent -k [2023-02-16T05:59:15.707Z] unset SSH_AUTH_SOCK; [2023-02-16T05:59:15.707Z] unset SSH_AGENT_PID; [2023-02-16T05:59:15.707Z] echo Agent pid 38 killed; [2023-02-16T05:59:15.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-16T05:59:15.805Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T05:59:15.805Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T05:59:15.915Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T05:59:15.920Z] $ docker exec 4c180e2c3bb1cfdbda53887a372a6e36b2095e3ef15c2328019e014771852a4e ssh-agent [2023-02-16T05:59:16.033Z] SSH_AUTH_SOCK=/tmp/ssh-frRToKYmvuRi/agent.70 [2023-02-16T05:59:16.033Z] SSH_AGENT_PID=76 [2023-02-16T05:59:16.038Z] Running ssh-add (command line suppressed) [2023-02-16T05:59:16.134Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-235@tmp/private_key_12522851662942090238.key (/w/workspace/gexfoundry_device-snmp-go_PR-235@tmp/private_key_12522851662942090238.key) [2023-02-16T05:59:16.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T05:59:16.472Z] + git semver init [2023-02-16T05:59:16.731Z] 2023-02-16 05:59:16,654 [run_init] DEBUG init version:0.0.0 force:False [2023-02-16T05:59:16.731Z] 2023-02-16 05:59:16,655 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-235/.semver [2023-02-16T05:59:16.731Z] 2023-02-16 05:59:16,655 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-235/.semver [2023-02-16T05:59:16.731Z] 2023-02-16 05:59:16,656 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-235/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-235, universal_newlines=False, shell=None, istream=None) [2023-02-16T05:59:17.677Z] 2023-02-16 05:59:17,541 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-235/.git/info/exclude [2023-02-16T05:59:17.677Z] 2023-02-16 05:59:17,542 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-235/.semver/PR-235 with force:False [2023-02-16T05:59:17.677Z] 2023-02-16 05:59:17,542 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-235/.semver/PR-235 [2023-02-16T05:59:17.677Z] 2023-02-16 05:59:17,546 [execute] INFO git cat-file --batch-check [2023-02-16T05:59:17.677Z] 2023-02-16 05:59:17,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-235/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T05:59:17.677Z] 2023-02-16 05:59:17,552 [execute] INFO git cat-file --batch [2023-02-16T05:59:17.677Z] 2023-02-16 05:59:17,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-235/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T05:59:17.677Z] 2023-02-16 05:59:17,558 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-235/.semver/PR-235 [2023-02-16T05:59:17.677Z] 0.0.0 [Pipeline] } [2023-02-16T05:59:17.704Z] $ docker exec --env ******** --env ******** 4c180e2c3bb1cfdbda53887a372a6e36b2095e3ef15c2328019e014771852a4e ssh-agent -k [2023-02-16T05:59:17.813Z] unset SSH_AUTH_SOCK; [2023-02-16T05:59:17.813Z] unset SSH_AGENT_PID; [2023-02-16T05:59:17.814Z] echo Agent pid 76 killed; [2023-02-16T05:59:17.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T05:59:18.247Z] + git semver [Pipeline] } [2023-02-16T05:59:18.533Z] $ docker stop --time=1 4c180e2c3bb1cfdbda53887a372a6e36b2095e3ef15c2328019e014771852a4e [2023-02-16T05:59:20.063Z] $ docker rm -f --volumes 4c180e2c3bb1cfdbda53887a372a6e36b2095e3ef15c2328019e014771852a4e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T05:59:20.494Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-16T05:59:20.765Z] Stashed 1 file(s) [Pipeline] echo [2023-02-16T05:59:20.782Z] [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-02-16T05:59:21.361Z] provisioning config files... [2023-02-16T05:59:21.370Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-235@tmp/config11123430459256671059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T05:59:21.713Z] ---> docker-login.sh [2023-02-16T05:59:21.713Z] nexus3.edgexfoundry.org:10001 [2023-02-16T05:59:21.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:59:21.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:59:21.713Z] Configure a credential helper to remove this warning. See [2023-02-16T05:59:21.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:59:21.713Z] [2023-02-16T05:59:21.713Z] Login Succeeded [2023-02-16T05:59:21.713Z] nexus3.edgexfoundry.org:10002 [2023-02-16T05:59:21.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:59:21.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:59:21.714Z] Configure a credential helper to remove this warning. See [2023-02-16T05:59:21.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:59:21.714Z] [2023-02-16T05:59:21.714Z] Login Succeeded [2023-02-16T05:59:21.714Z] nexus3.edgexfoundry.org:10003 [2023-02-16T05:59:21.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:59:21.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:59:21.973Z] Configure a credential helper to remove this warning. See [2023-02-16T05:59:21.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:59:21.973Z] [2023-02-16T05:59:21.973Z] Login Succeeded [2023-02-16T05:59:21.973Z] nexus3.edgexfoundry.org:10004 [2023-02-16T05:59:21.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:59:21.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:59:21.973Z] Configure a credential helper to remove this warning. See [2023-02-16T05:59:21.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:59:21.973Z] [2023-02-16T05:59:21.973Z] Login Succeeded [2023-02-16T05:59:21.973Z] docker.io [2023-02-16T05:59:22.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T05:59:22.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T05:59:22.489Z] Configure a credential helper to remove this warning. See [2023-02-16T05:59:22.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T05:59:22.489Z] [2023-02-16T05:59:22.489Z] Login Succeeded [2023-02-16T05:59:22.489Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T05:59:22.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T05:59:22.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T05:59:22.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T05:59:22.762Z] ========================================================= [2023-02-16T05:59:22.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-16T05:59:22.762Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T05:59:23.232Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-16T05:59:23.232Z] Sending build context to Docker daemon 5.68MB [2023-02-16T05:59:23.232Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T05:59:23.232Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-16T05:59:23.232Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-16T05:59:23.232Z] 213ec9aee27d: Pulling fs layer [2023-02-16T05:59:23.232Z] 4583459ba037: Pulling fs layer [2023-02-16T05:59:23.232Z] 93c1e223e6f2: Pulling fs layer [2023-02-16T05:59:23.232Z] 53926ce57604: Pulling fs layer [2023-02-16T05:59:23.232Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-16T05:59:23.232Z] 22ff95d597cd: Pulling fs layer [2023-02-16T05:59:23.232Z] 12d6caf4c0d1: Pulling fs layer [2023-02-16T05:59:23.232Z] 96b7cbca73a9: Pulling fs layer [2023-02-16T05:59:23.232Z] a7acece74701: Pulling fs layer [2023-02-16T05:59:23.232Z] 12d6caf4c0d1: Waiting [2023-02-16T05:59:23.232Z] 96b7cbca73a9: Waiting [2023-02-16T05:59:23.232Z] a7acece74701: Waiting [2023-02-16T05:59:23.232Z] 53926ce57604: Waiting [2023-02-16T05:59:23.232Z] 21b2b0c7a3f4: Waiting [2023-02-16T05:59:23.232Z] 22ff95d597cd: Waiting [2023-02-16T05:59:23.232Z] 93c1e223e6f2: Verifying Checksum [2023-02-16T05:59:23.232Z] 93c1e223e6f2: Download complete [2023-02-16T05:59:23.232Z] 4583459ba037: Verifying Checksum [2023-02-16T05:59:23.232Z] 4583459ba037: Download complete [2023-02-16T05:59:23.232Z] 21b2b0c7a3f4: Download complete [2023-02-16T05:59:23.501Z] 22ff95d597cd: Verifying Checksum [2023-02-16T05:59:23.501Z] 22ff95d597cd: Download complete [2023-02-16T05:59:23.501Z] 213ec9aee27d: Download complete [2023-02-16T05:59:23.501Z] 12d6caf4c0d1: Download complete [2023-02-16T05:59:23.501Z] 213ec9aee27d: Pull complete [2023-02-16T05:59:23.779Z] 4583459ba037: Pull complete [2023-02-16T05:59:24.060Z] 93c1e223e6f2: Pull complete [2023-02-16T05:59:24.718Z] a7acece74701: Verifying Checksum [2023-02-16T05:59:24.718Z] a7acece74701: Download complete [2023-02-16T05:59:24.993Z] 53926ce57604: Verifying Checksum [2023-02-16T05:59:24.993Z] 53926ce57604: Download complete [2023-02-16T05:59:24.993Z] 96b7cbca73a9: Verifying Checksum [2023-02-16T05:59:24.993Z] 96b7cbca73a9: Download complete [2023-02-16T05:59:29.176Z] 53926ce57604: Pull complete [2023-02-16T05:59:29.176Z] 21b2b0c7a3f4: Pull complete [2023-02-16T05:59:29.176Z] 22ff95d597cd: Pull complete [2023-02-16T05:59:29.176Z] 12d6caf4c0d1: Pull complete [2023-02-16T05:59:31.082Z] 96b7cbca73a9: Pull complete [2023-02-16T05:59:31.648Z] a7acece74701: Pull complete [2023-02-16T05:59:31.648Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-16T05:59:31.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T05:59:31.648Z] ---> db6d94c90886 [2023-02-16T05:59:31.648Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-16T05:59:36.184Z] Still waiting to schedule task [2023-02-16T05:59:36.185Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-16T05:59:38.220Z] ---> Running in c9da2f5616dd [2023-02-16T05:59:38.220Z] Removing intermediate container c9da2f5616dd [2023-02-16T05:59:38.220Z] ---> 1023ccd52a89 [2023-02-16T05:59:38.220Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T05:59:38.220Z] ---> Running in 7df92890c93e [2023-02-16T05:59:38.220Z] Removing intermediate container 7df92890c93e [2023-02-16T05:59:38.220Z] ---> 41e976979cd6 [2023-02-16T05:59:38.220Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-16T05:59:38.220Z] ---> Running in f173561240af [2023-02-16T05:59:38.220Z] Removing intermediate container f173561240af [2023-02-16T05:59:38.220Z] ---> 54687c8074bb [2023-02-16T05:59:38.220Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T05:59:38.220Z] ---> Running in 415d322af92e [2023-02-16T05:59:38.220Z] Removing intermediate container 415d322af92e [2023-02-16T05:59:38.220Z] ---> 7c542dda2071 [2023-02-16T05:59:38.220Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T05:59:38.220Z] ---> Running in f90b738d6ad6 [2023-02-16T05:59:38.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T05:59:38.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T05:59:38.997Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-16T05:59:38.997Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-16T05:59:38.997Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-16T05:59:38.997Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-16T05:59:38.997Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T05:59:38.997Z] OK: 216 MiB in 55 packages [2023-02-16T05:59:39.563Z] Removing intermediate container f90b738d6ad6 [2023-02-16T05:59:39.563Z] ---> 5e14641d187d [2023-02-16T05:59:39.563Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-16T05:59:39.563Z] ---> Running in a37d70d2bb92 [2023-02-16T05:59:39.563Z] Removing intermediate container a37d70d2bb92 [2023-02-16T05:59:39.563Z] ---> 65a9cbae62d4 [2023-02-16T05:59:39.563Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-16T05:59:39.563Z] ---> 60d54041e0a6 [2023-02-16T05:59:39.563Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T05:59:39.563Z] ---> Running in 1547eddb184b [2023-02-16T06:00:11.649Z] Removing intermediate container 1547eddb184b [2023-02-16T06:00:11.649Z] ---> 5b4e92e16d3a [2023-02-16T06:00:11.649Z] Step 11/12 : COPY . . [2023-02-16T06:00:11.907Z] ---> e8a82559d9c8 [2023-02-16T06:00:11.907Z] Step 12/12 : RUN ${MAKE} [2023-02-16T06:00:11.907Z] ---> Running in 991ffed41acc [2023-02-16T06:00:12.166Z] noop [2023-02-16T06:00:12.732Z] Removing intermediate container 991ffed41acc [2023-02-16T06:00:12.732Z] ---> 1989d89b0b8e [2023-02-16T06:00:12.732Z] Successfully built 1989d89b0b8e [2023-02-16T06:00:12.732Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:00:13.181Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T06:00:13.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T06:00:13.327Z] prd-ubuntu20.04-docker-8c-8g-6260 does not seem to be running inside a container [2023-02-16T06:00:13.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-235 -v /w/workspace/gexfoundry_device-snmp-go_PR-235:/w/workspace/gexfoundry_device-snmp-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-235@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T06:00:13.699Z] $ docker top 3ab48935b4e23532575fe12df11aacd23a2400efa4cae6fb44b934807087c32e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T06:00:14.245Z] + go version [2023-02-16T06:00:14.245Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-16T06:00:14.278Z] $ docker stop --time=1 3ab48935b4e23532575fe12df11aacd23a2400efa4cae6fb44b934807087c32e [2023-02-16T06:00:15.617Z] $ docker rm -f --volumes 3ab48935b4e23532575fe12df11aacd23a2400efa4cae6fb44b934807087c32e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:00:16.319Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T06:00:16.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T06:00:16.462Z] prd-ubuntu20.04-docker-8c-8g-6260 does not seem to be running inside a container [2023-02-16T06:00:16.495Z] $ 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-235 -v /w/workspace/gexfoundry_device-snmp-go_PR-235:/w/workspace/gexfoundry_device-snmp-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-235@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T06:00:16.849Z] $ docker top d193d6394911b436b376cc089474417d8b965325f94ee0aab239cbb878a1d780 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T06:00:17.238Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-235 [Pipeline] fileExists [Pipeline] sh [2023-02-16T06:00:17.599Z] + make test [2023-02-16T06:00:17.599Z] go test ./... -coverprofile=coverage.out [2023-02-16T06:00:17.857Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-16T06:00:27.821Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-16T06:00:27.821Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2023-02-16T06:00:33.103Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-16T06:00:33.103Z] go vet ./... [2023-02-16T06:00:35.629Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T06:00:35.629Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T06:00:35.629Z] ./bin/test-attribution-txt.sh [2023-02-16T06:00:35.629Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-16T06:00:35.629Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-16T06:00:35.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T06:00:35.721Z] $ docker stop --time=1 d193d6394911b436b376cc089474417d8b965325f94ee0aab239cbb878a1d780 [2023-02-16T06:00:38.087Z] $ docker rm -f --volumes d193d6394911b436b376cc089474417d8b965325f94ee0aab239cbb878a1d780 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T06:00:38.682Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T06:00:38.746Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-16T06:00:39.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T06:00:39.778Z] + ls -al . [2023-02-16T06:00:39.778Z] total 172 [2023-02-16T06:00:39.778Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 06:00 . [2023-02-16T06:00:39.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 05:58 .. [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 16 05:58 .dockerignore [2023-02-16T06:00:39.778Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 06:00 .git [2023-02-16T06:00:39.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 05:58 .github [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 16 05:58 .gitignore [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 05:58 .golangci.yml [2023-02-16T06:00:39.778Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 05:59 .semver [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 16 05:58 Attribution.txt [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 16 05:58 CHANGELOG.md [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 16 05:58 Dockerfile [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 05:58 GOVERNANCE.md [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 16 05:58 Jenkinsfile [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 05:58 LICENSE [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 16 05:58 Makefile [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 16 05:58 OWNERS.md [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 16 05:58 README.md [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 05:59 VERSION [2023-02-16T06:00:39.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 05:58 bin [2023-02-16T06:00:39.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 05:58 cmd [2023-02-16T06:00:39.778Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 16 06:00 coverage.out [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 3326 Feb 16 05:58 go.mod [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 32920 Feb 16 05:58 go.sum [2023-02-16T06:00:39.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 05:58 internal [2023-02-16T06:00:39.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 05:58 snap [2023-02-16T06:00:39.778Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 16 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:00:40.166Z] + 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=ecd9d3a31f04bd701de006a7cc6ec747a403c223 --label arch=amd64 --label version=0.0.0 . [2023-02-16T06:00:40.166Z] Sending build context to Docker daemon 5.688MB [2023-02-16T06:00:40.166Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T06:00:40.166Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-16T06:00:40.166Z] ---> 1989d89b0b8e [2023-02-16T06:00:40.166Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-16T06:00:40.166Z] ---> Running in 2f648483bff2 [2023-02-16T06:00:40.426Z] Removing intermediate container 2f648483bff2 [2023-02-16T06:00:40.426Z] ---> 1d6ab0d3bc34 [2023-02-16T06:00:40.426Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T06:00:40.426Z] ---> Running in 60d39e38ec15 [2023-02-16T06:00:40.426Z] Removing intermediate container 60d39e38ec15 [2023-02-16T06:00:40.426Z] ---> 861c76a0b257 [2023-02-16T06:00:40.426Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-16T06:00:40.426Z] ---> Running in 2628400dad4a [2023-02-16T06:00:40.686Z] Removing intermediate container 2628400dad4a [2023-02-16T06:00:40.686Z] ---> e9371e459ace [2023-02-16T06:00:40.686Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T06:00:40.686Z] ---> Running in 979ead1c54df [2023-02-16T06:00:40.686Z] Removing intermediate container 979ead1c54df [2023-02-16T06:00:40.686Z] ---> c158aa86f0f0 [2023-02-16T06:00:40.686Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T06:00:40.686Z] ---> Running in e9c2b28db0d6 [2023-02-16T06:00:40.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T06:00:41.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T06:00:41.204Z] OK: 216 MiB in 55 packages [2023-02-16T06:00:41.462Z] Removing intermediate container e9c2b28db0d6 [2023-02-16T06:00:41.462Z] ---> 0fbc1b0a4ae6 [2023-02-16T06:00:41.462Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-16T06:00:41.720Z] ---> Running in ba6c006f153a [2023-02-16T06:00:41.720Z] Removing intermediate container ba6c006f153a [2023-02-16T06:00:41.720Z] ---> 976e9ac1d42b [2023-02-16T06:00:41.720Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-16T06:00:41.720Z] ---> f27ad7bad301 [2023-02-16T06:00:41.720Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T06:00:41.720Z] ---> Running in e32313d09a91 [2023-02-16T06:00:42.656Z] Removing intermediate container e32313d09a91 [2023-02-16T06:00:42.656Z] ---> 7e8a7706101c [2023-02-16T06:00:42.656Z] Step 11/24 : COPY . . [2023-02-16T06:00:42.915Z] ---> c729642cdc45 [2023-02-16T06:00:42.915Z] Step 12/24 : RUN ${MAKE} [2023-02-16T06:00:42.915Z] ---> Running in b53bf35e98a9 [2023-02-16T06:00:43.173Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-16T06:01:05.090Z] Removing intermediate container b53bf35e98a9 [2023-02-16T06:01:05.090Z] ---> 6d116900c705 [2023-02-16T06:01:05.090Z] Step 13/24 : FROM alpine:3.16 [2023-02-16T06:01:05.090Z] 3.16: Pulling from library/alpine [2023-02-16T06:01:05.090Z] ef5531b6e74e: Pulling fs layer [2023-02-16T06:01:05.090Z] ef5531b6e74e: Verifying Checksum [2023-02-16T06:01:05.090Z] ef5531b6e74e: Download complete [2023-02-16T06:01:05.090Z] ef5531b6e74e: Pull complete [2023-02-16T06:01:05.090Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T06:01:05.090Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T06:01:05.090Z] ---> dfd21b5a31f5 [2023-02-16T06:01:05.090Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-16T06:01:05.090Z] ---> Running in 7fa362860eba [2023-02-16T06:01:05.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T06:01:05.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T06:01:05.090Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-16T06:01:05.090Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T06:01:05.090Z] OK: 6 MiB in 15 packages [2023-02-16T06:01:05.090Z] Removing intermediate container 7fa362860eba [2023-02-16T06:01:05.090Z] ---> cb93200fa6c6 [2023-02-16T06:01:05.090Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-16T06:01:05.090Z] ---> 73b8d1ee7bf7 [2023-02-16T06:01:05.090Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-16T06:01:05.090Z] ---> 9833745b65a9 [2023-02-16T06:01:05.090Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-16T06:01:05.090Z] ---> 4dc4d404719a [2023-02-16T06:01:05.090Z] Step 18/24 : EXPOSE 59993 [2023-02-16T06:01:05.090Z] ---> Running in 0e0bde23119f [2023-02-16T06:01:05.090Z] Removing intermediate container 0e0bde23119f [2023-02-16T06:01:05.090Z] ---> c02f01d2f886 [2023-02-16T06:01:05.090Z] Step 19/24 : EXPOSE 161 [2023-02-16T06:01:05.090Z] ---> Running in 33b05ef50715 [2023-02-16T06:01:05.090Z] Removing intermediate container 33b05ef50715 [2023-02-16T06:01:05.090Z] ---> 33a4ebec19ca [2023-02-16T06:01:05.090Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-16T06:01:05.090Z] ---> Running in 2ed46d35182c [2023-02-16T06:01:05.090Z] Removing intermediate container 2ed46d35182c [2023-02-16T06:01:05.090Z] ---> 182f1815e704 [2023-02-16T06:01:05.090Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T06:01:05.090Z] ---> Running in 093beb2cedd9 [2023-02-16T06:01:05.090Z] Removing intermediate container 093beb2cedd9 [2023-02-16T06:01:05.090Z] ---> eefbcf595f00 [2023-02-16T06:01:05.090Z] Step 22/24 : LABEL arch=amd64 [2023-02-16T06:01:05.090Z] ---> Running in 90745b619443 [2023-02-16T06:01:05.348Z] Removing intermediate container 90745b619443 [2023-02-16T06:01:05.348Z] ---> 6b44681d362b [2023-02-16T06:01:05.348Z] Step 23/24 : LABEL git_sha=ecd9d3a31f04bd701de006a7cc6ec747a403c223 [2023-02-16T06:01:05.348Z] ---> Running in 67591be689e0 [2023-02-16T06:01:05.348Z] Removing intermediate container 67591be689e0 [2023-02-16T06:01:05.348Z] ---> 5a614434bc18 [2023-02-16T06:01:05.348Z] Step 24/24 : LABEL version=0.0.0 [2023-02-16T06:01:05.348Z] ---> Running in 8b079cb03f04 [2023-02-16T06:01:05.348Z] Removing intermediate container 8b079cb03f04 [2023-02-16T06:01:05.349Z] ---> 13ff13b06693 [2023-02-16T06:01:05.349Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T06:01:05.349Z] Successfully built 13ff13b06693 [2023-02-16T06:01:05.349Z] 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-02-16T06:01:06.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T06:01:06.423Z] [2023-02-16T06:01:06.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:01:06.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T06:01:06.789Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-16T06:01:06.789Z] 5eb5b503b376: Pulling fs layer [2023-02-16T06:01:06.789Z] 5c69ac0246d0: Pulling fs layer [2023-02-16T06:01:06.789Z] ec43610c2a17: Pulling fs layer [2023-02-16T06:01:06.789Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-16T06:01:06.789Z] 33b1e0a273af: Pulling fs layer [2023-02-16T06:01:06.789Z] 5d3b04190fa2: Pulling fs layer [2023-02-16T06:01:06.789Z] 2f39f015ded8: Pulling fs layer [2023-02-16T06:01:06.789Z] 3a2ae6a8a46f: Waiting [2023-02-16T06:01:06.789Z] 33b1e0a273af: Waiting [2023-02-16T06:01:06.789Z] 5d3b04190fa2: Waiting [2023-02-16T06:01:06.789Z] 2f39f015ded8: Waiting [2023-02-16T06:01:06.789Z] 5c69ac0246d0: Verifying Checksum [2023-02-16T06:01:06.789Z] 5c69ac0246d0: Download complete [2023-02-16T06:01:06.789Z] 3a2ae6a8a46f: Download complete [2023-02-16T06:01:07.051Z] 33b1e0a273af: Verifying Checksum [2023-02-16T06:01:07.051Z] 33b1e0a273af: Download complete [2023-02-16T06:01:07.051Z] 5d3b04190fa2: Verifying Checksum [2023-02-16T06:01:07.051Z] 5d3b04190fa2: Download complete [2023-02-16T06:01:07.051Z] ec43610c2a17: Verifying Checksum [2023-02-16T06:01:07.051Z] ec43610c2a17: Download complete [2023-02-16T06:01:07.310Z] 5eb5b503b376: Verifying Checksum [2023-02-16T06:01:07.310Z] 5eb5b503b376: Download complete [2023-02-16T06:01:07.877Z] 2f39f015ded8: Verifying Checksum [2023-02-16T06:01:07.877Z] 2f39f015ded8: Download complete [2023-02-16T06:01:08.135Z] 5eb5b503b376: Pull complete [2023-02-16T06:01:08.393Z] 5c69ac0246d0: Pull complete [2023-02-16T06:01:08.959Z] ec43610c2a17: Pull complete [2023-02-16T06:01:08.959Z] 3a2ae6a8a46f: Pull complete [2023-02-16T06:01:08.959Z] 33b1e0a273af: Pull complete [2023-02-16T06:01:09.216Z] 5d3b04190fa2: Pull complete [2023-02-16T06:01:12.881Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6261 in /w/workspace/gexfoundry_device-snmp-go_PR-235 [Pipeline] { [Pipeline] ws [2023-02-16T06:01:13.035Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-16T06:01:13.115Z] Selected Git installation does not exist. Using Default [2023-02-16T06:01:13.115Z] The recommended git tool is: NONE [2023-02-16T06:01:13.394Z] 2f39f015ded8: Pull complete [2023-02-16T06:01:13.394Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-16T06:01:13.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T06:01:13.394Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T06:01:13.615Z] prd-ubuntu20.04-docker-8c-8g-6260 does not seem to be running inside a container [2023-02-16T06:01:13.648Z] $ 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-235 -v /w/workspace/gexfoundry_device-snmp-go_PR-235:/w/workspace/gexfoundry_device-snmp-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-235@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T06:01:17.370Z] $ docker top 552aa912c520344be91759ab2abe156850e7a2c817a8f1cb0ca97ae1e8c4a8d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:01:17.833Z] ---> job-cost.sh [2023-02-16T06:01:17.833Z] lf-activate-venv: SKIPPING [2023-02-16T06:01:17.833Z] INFO: No Stack... [2023-02-16T06:01:18.092Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T06:01:18.354Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T06:01:18.581Z] using credential edgex-jenkins-ssh [2023-02-16T06:01:18.600Z] Cloning the remote Git repository [2023-02-16T06:01:18.679Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-235/archives/cost.csv [2023-02-16T06:01:18.679Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T06:01:18.720Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-235-1-stack-cost] [2023-02-16T06:01:18.725Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-235-1-stack-cost] did not exist. Created. [2023-02-16T06:01:18.725Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-235-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T06:01:19.121Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-16T06:01:19.173Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T06:01:19.200Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-235-1-stack-cost] [2023-02-16T06:01:18.638Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-16T06:01:18.711Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-16T06:01:18.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-16T06:01:18.860Z] > git --version # timeout=10 [2023-02-16T06:01:18.878Z] > git --version # 'git version 2.25.1' [2023-02-16T06:01:18.880Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T06:01:18.932Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // lock [Pipeline] } [2023-02-16T06:01:19.276Z] $ docker stop --time=1 552aa912c520344be91759ab2abe156850e7a2c817a8f1cb0ca97ae1e8c4a8d4 [2023-02-16T06:01:20.417Z] $ docker rm -f --volumes 552aa912c520344be91759ab2abe156850e7a2c817a8f1cb0ca97ae1e8c4a8d4 [Pipeline] // withDockerContainer [2023-02-16T06:01:20.004Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-16T06:01:20.034Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-16T06:01:21.502Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit ecd9d3a31f04bd701de006a7cc6ec747a403c223 [2023-02-16T06:01:21.707Z] Merge succeeded, producing ecd9d3a31f04bd701de006a7cc6ec747a403c223 [2023-02-16T06:01:21.707Z] Checking out Revision ecd9d3a31f04bd701de006a7cc6ec747a403c223 (PR-235) [2023-02-16T06:01:20.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-16T06:01:20.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-16T06:01:20.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T06:01:20.941Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/235/head:refs/remotes/origin/PR-235 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-16T06:01:21.515Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T06:01:21.530Z] > git checkout -f ecd9d3a31f04bd701de006a7cc6ec747a403c223 # timeout=10 [2023-02-16T06:01:21.611Z] > git remote # timeout=10 [2023-02-16T06:01:21.628Z] > git config --get remote.origin.url # timeout=10 [2023-02-16T06:01:21.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T06:01:21.659Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-16T06:01:21.685Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-16T06:01:21.708Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T06:01:21.728Z] > git checkout -f ecd9d3a31f04bd701de006a7cc6ec747a403c223 # timeout=10 [2023-02-16T06:01:22.153Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-16T06:01:22.195Z] > git --version # timeout=10 [2023-02-16T06:01:22.205Z] > git --version # 'git version 2.25.1' [2023-02-16T06:01:22.219Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T06:01:23.342Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-16T06:01:23.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T06:01:23.343Z] Dload Upload Total Spent Left Speed [2023-02-16T06:01:23.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-02-16T06:01:23.968Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-16T06:01:24.323Z] + sudo tee /etc/docker/daemon.new [2023-02-16T06:01:24.323Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-16T06:01:24.323Z] { [2023-02-16T06:01:24.323Z] "registry-mirrors": [ [2023-02-16T06:01:24.323Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-16T06:01:24.323Z] ], [2023-02-16T06:01:24.323Z] "bip": "10.250.0.254/24", [2023-02-16T06:01:24.323Z] "hosts": [ [2023-02-16T06:01:24.323Z] "tcp://0.0.0.0:5555", [2023-02-16T06:01:24.323Z] "unix:///var/run/docker.sock" [2023-02-16T06:01:24.323Z] ], [2023-02-16T06:01:24.323Z] "mtu": 1458, [2023-02-16T06:01:24.323Z] "selinux-enabled": true, [2023-02-16T06:01:24.323Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-16T06:01:24.323Z] } [Pipeline] sh [2023-02-16T06:01:24.680Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-16T06:01:25.030Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T06:01:43.328Z] provisioning config files... [2023-02-16T06:01:43.353Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config11359920919639611510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:01:43.732Z] ---> docker-login.sh [2023-02-16T06:01:43.733Z] nexus3.edgexfoundry.org:10001 [2023-02-16T06:01:44.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T06:01:44.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T06:01:44.271Z] Configure a credential helper to remove this warning. See [2023-02-16T06:01:44.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T06:01:44.271Z] [2023-02-16T06:01:44.271Z] Login Succeeded [2023-02-16T06:01:44.271Z] nexus3.edgexfoundry.org:10002 [2023-02-16T06:01:44.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T06:01:44.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T06:01:44.542Z] Configure a credential helper to remove this warning. See [2023-02-16T06:01:44.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T06:01:44.542Z] [2023-02-16T06:01:44.542Z] Login Succeeded [2023-02-16T06:01:44.812Z] nexus3.edgexfoundry.org:10003 [2023-02-16T06:01:44.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T06:01:45.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T06:01:45.082Z] Configure a credential helper to remove this warning. See [2023-02-16T06:01:45.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T06:01:45.082Z] [2023-02-16T06:01:45.082Z] Login Succeeded [2023-02-16T06:01:45.082Z] nexus3.edgexfoundry.org:10004 [2023-02-16T06:01:45.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T06:01:45.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T06:01:45.352Z] Configure a credential helper to remove this warning. See [2023-02-16T06:01:45.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T06:01:45.352Z] [2023-02-16T06:01:45.352Z] Login Succeeded [2023-02-16T06:01:45.352Z] docker.io [2023-02-16T06:01:45.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T06:01:45.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T06:01:45.886Z] Configure a credential helper to remove this warning. See [2023-02-16T06:01:45.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T06:01:45.886Z] [2023-02-16T06:01:45.886Z] Login Succeeded [2023-02-16T06:01:45.886Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T06:01:45.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T06:01:46.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T06:01:46.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T06:01:46.345Z] ========================================================= [2023-02-16T06:01:46.345Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-16T06:01:46.345Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:01:46.915Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-16T06:01:47.183Z] Sending build context to Docker daemon 2.939MB [2023-02-16T06:01:47.183Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T06:01:47.183Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-16T06:01:47.449Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-16T06:01:47.449Z] 9b18e9b68314: Pulling fs layer [2023-02-16T06:01:47.449Z] 35d82f9e3411: Pulling fs layer [2023-02-16T06:01:47.449Z] e16973657156: Pulling fs layer [2023-02-16T06:01:47.449Z] fc693d55d65f: Pulling fs layer [2023-02-16T06:01:47.449Z] 7e9fc2657dce: Pulling fs layer [2023-02-16T06:01:47.449Z] dda99020689f: Pulling fs layer [2023-02-16T06:01:47.449Z] db1c61fa0a46: Pulling fs layer [2023-02-16T06:01:47.449Z] 891c053d2c06: Pulling fs layer [2023-02-16T06:01:47.449Z] fc693d55d65f: Waiting [2023-02-16T06:01:47.449Z] dda99020689f: Waiting [2023-02-16T06:01:47.449Z] db1c61fa0a46: Waiting [2023-02-16T06:01:47.449Z] 7e9fc2657dce: Waiting [2023-02-16T06:01:47.449Z] 891c053d2c06: Waiting [2023-02-16T06:01:47.449Z] e16973657156: Verifying Checksum [2023-02-16T06:01:47.449Z] e16973657156: Download complete [2023-02-16T06:01:47.449Z] 35d82f9e3411: Verifying Checksum [2023-02-16T06:01:47.449Z] 35d82f9e3411: Download complete [2023-02-16T06:01:47.449Z] 7e9fc2657dce: Verifying Checksum [2023-02-16T06:01:47.449Z] 7e9fc2657dce: Download complete [2023-02-16T06:01:47.449Z] dda99020689f: Verifying Checksum [2023-02-16T06:01:47.449Z] dda99020689f: Download complete [2023-02-16T06:01:47.449Z] 9b18e9b68314: Verifying Checksum [2023-02-16T06:01:47.449Z] 9b18e9b68314: Download complete [2023-02-16T06:01:48.421Z] 9b18e9b68314: Pull complete [2023-02-16T06:01:48.421Z] 891c053d2c06: Verifying Checksum [2023-02-16T06:01:48.421Z] 891c053d2c06: Download complete [2023-02-16T06:01:48.692Z] 35d82f9e3411: Pull complete [2023-02-16T06:01:48.964Z] e16973657156: Pull complete [2023-02-16T06:01:49.556Z] db1c61fa0a46: Verifying Checksum [2023-02-16T06:01:49.556Z] db1c61fa0a46: Download complete [2023-02-16T06:01:50.143Z] fc693d55d65f: Verifying Checksum [2023-02-16T06:01:50.143Z] fc693d55d65f: Download complete [2023-02-16T06:02:00.206Z] fc693d55d65f: Pull complete [2023-02-16T06:02:00.479Z] 7e9fc2657dce: Pull complete [2023-02-16T06:02:00.479Z] dda99020689f: Pull complete [2023-02-16T06:02:05.830Z] db1c61fa0a46: Pull complete [2023-02-16T06:02:07.850Z] 891c053d2c06: Pull complete [2023-02-16T06:02:07.850Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-16T06:02:07.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T06:02:07.850Z] ---> f96f9c87975a [2023-02-16T06:02:07.850Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-16T06:02:09.297Z] ---> Running in 85067f6898da [2023-02-16T06:02:09.567Z] Removing intermediate container 85067f6898da [2023-02-16T06:02:09.567Z] ---> e9ea507a7142 [2023-02-16T06:02:09.567Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T06:02:09.567Z] ---> Running in 11f9956f5d90 [2023-02-16T06:02:09.832Z] Removing intermediate container 11f9956f5d90 [2023-02-16T06:02:09.832Z] ---> f8e84a8100eb [2023-02-16T06:02:09.832Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-16T06:02:10.101Z] ---> Running in a9a98ecf0366 [2023-02-16T06:02:10.367Z] Removing intermediate container a9a98ecf0366 [2023-02-16T06:02:10.367Z] ---> 5cd3a8ab57c7 [2023-02-16T06:02:10.367Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T06:02:10.367Z] ---> Running in de5957798cf5 [2023-02-16T06:02:10.636Z] Removing intermediate container de5957798cf5 [2023-02-16T06:02:10.636Z] ---> 83d0b6d7a0ac [2023-02-16T06:02:10.636Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T06:02:10.636Z] ---> Running in 668e5a6b39ce [2023-02-16T06:02:11.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T06:02:12.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T06:02:13.146Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-16T06:02:13.146Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-16T06:02:13.146Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-16T06:02:13.146Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-16T06:02:13.146Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T06:02:13.146Z] OK: 226 MiB in 55 packages [2023-02-16T06:02:14.115Z] Removing intermediate container 668e5a6b39ce [2023-02-16T06:02:14.115Z] ---> 0e74d39b611b [2023-02-16T06:02:14.115Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-16T06:02:14.115Z] ---> Running in 2f9514105870 [2023-02-16T06:02:14.384Z] Removing intermediate container 2f9514105870 [2023-02-16T06:02:14.384Z] ---> d7a7ff906282 [2023-02-16T06:02:14.384Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-16T06:02:14.970Z] ---> 3a446a580c4c [2023-02-16T06:02:14.970Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T06:02:14.970Z] ---> Running in 619a37131f45 [2023-02-16T06:03:22.835Z] Removing intermediate container 619a37131f45 [2023-02-16T06:03:22.835Z] ---> 63b1beb4f502 [2023-02-16T06:03:22.835Z] Step 11/12 : COPY . . [2023-02-16T06:03:22.835Z] ---> 0a6a51eb3f40 [2023-02-16T06:03:22.835Z] Step 12/12 : RUN ${MAKE} [2023-02-16T06:03:22.835Z] ---> Running in b93f7c2709f0 [2023-02-16T06:03:22.835Z] noop [2023-02-16T06:03:22.835Z] Removing intermediate container b93f7c2709f0 [2023-02-16T06:03:22.835Z] ---> 3b437736938f [2023-02-16T06:03:22.835Z] Successfully built 3b437736938f [2023-02-16T06:03:22.835Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:03:23.307Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T06:03:23.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T06:03:23.560Z] prd-ubuntu20.04-docker-arm64-4c-16g-6261 does not seem to be running inside a container [2023-02-16T06:03:23.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T06:03:24.791Z] $ docker top ff88d99c48511dc3b7b2c7dc22f6a934d3fcfe22b123217bcfdbfe998d4abd5a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T06:03:25.657Z] + go version [2023-02-16T06:03:25.657Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-16T06:03:25.698Z] $ docker stop --time=1 ff88d99c48511dc3b7b2c7dc22f6a934d3fcfe22b123217bcfdbfe998d4abd5a [2023-02-16T06:03:27.276Z] $ docker rm -f --volumes ff88d99c48511dc3b7b2c7dc22f6a934d3fcfe22b123217bcfdbfe998d4abd5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:03:28.116Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T06:03:28.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T06:03:28.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-6261 does not seem to be running inside a container [2023-02-16T06:03:28.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T06:03:29.592Z] $ docker top 3f0cc31b5486ce6597855f8b99e259eee8b077ada2b229b9969d7ad589f03ffe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T06:03:30.458Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-16T06:03:31.151Z] + make test [2023-02-16T06:03:31.152Z] go test ./... -coverprofile=coverage.out [2023-02-16T06:03:32.562Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-16T06:04:54.201Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-16T06:04:54.201Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2023-02-16T06:04:54.201Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-16T06:04:54.201Z] go vet ./... [2023-02-16T06:05:12.447Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T06:05:12.447Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T06:05:12.447Z] ./bin/test-attribution-txt.sh [2023-02-16T06:05:12.447Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-16T06:05:12.447Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-16T06:05:12.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T06:05:12.527Z] $ docker stop --time=1 3f0cc31b5486ce6597855f8b99e259eee8b077ada2b229b9969d7ad589f03ffe [2023-02-16T06:05:14.206Z] $ docker rm -f --volumes 3f0cc31b5486ce6597855f8b99e259eee8b077ada2b229b9969d7ad589f03ffe [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T06:05:15.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T06:05:15.164Z] Warning: overwriting stash ‘coverage-report’ [2023-02-16T06:05:15.541Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T06:05:16.115Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T06:05:16.447Z] + ls -al . [2023-02-16T06:05:16.447Z] total 168 [2023-02-16T06:05:16.447Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 06:03 . [2023-02-16T06:05:16.447Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 06:01 .. [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 16 06:01 .dockerignore [2023-02-16T06:05:16.447Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 06:01 .git [2023-02-16T06:05:16.447Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 06:01 .github [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 16 06:01 .gitignore [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 06:01 .golangci.yml [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 16 06:01 Attribution.txt [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 16 06:01 CHANGELOG.md [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 16 06:01 Dockerfile [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 06:01 GOVERNANCE.md [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 16 06:01 Jenkinsfile [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 06:01 LICENSE [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 16 06:01 Makefile [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 16 06:01 OWNERS.md [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 16 06:01 README.md [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 05:59 VERSION [2023-02-16T06:05:16.447Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 06:01 bin [2023-02-16T06:05:16.447Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 06:01 cmd [2023-02-16T06:05:16.447Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 16 06:04 coverage.out [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 3326 Feb 16 06:01 go.mod [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 32920 Feb 16 06:01 go.sum [2023-02-16T06:05:16.447Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 06:01 internal [2023-02-16T06:05:16.447Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 06:01 snap [2023-02-16T06:05:16.447Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 16 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:05:16.857Z] + 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=ecd9d3a31f04bd701de006a7cc6ec747a403c223 --label arch=arm64 --label version=0.0.0 . [2023-02-16T06:05:17.129Z] Sending build context to Docker daemon 2.947MB [2023-02-16T06:05:17.129Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T06:05:17.129Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-16T06:05:17.129Z] ---> 3b437736938f [2023-02-16T06:05:17.129Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-16T06:05:17.129Z] ---> Running in afccea58896e [2023-02-16T06:05:17.396Z] Removing intermediate container afccea58896e [2023-02-16T06:05:17.396Z] ---> 51076d62d48c [2023-02-16T06:05:17.396Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T06:05:17.665Z] ---> Running in 9c92fa48a17a [2023-02-16T06:05:17.934Z] Removing intermediate container 9c92fa48a17a [2023-02-16T06:05:17.934Z] ---> cb6bf3634af5 [2023-02-16T06:05:17.934Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-16T06:05:17.934Z] ---> Running in fd0698c2d5c9 [2023-02-16T06:05:18.202Z] Removing intermediate container fd0698c2d5c9 [2023-02-16T06:05:18.202Z] ---> 5b711afe64ad [2023-02-16T06:05:18.202Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T06:05:18.202Z] ---> Running in 27d0d6e0ef45 [2023-02-16T06:05:18.470Z] Removing intermediate container 27d0d6e0ef45 [2023-02-16T06:05:18.470Z] ---> cfe36a094b1d [2023-02-16T06:05:18.470Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T06:05:18.470Z] ---> Running in d481c7b439dc [2023-02-16T06:05:19.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T06:05:19.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T06:05:20.651Z] OK: 226 MiB in 55 packages [2023-02-16T06:05:21.611Z] Removing intermediate container d481c7b439dc [2023-02-16T06:05:21.611Z] ---> 30fe13e90b8d [2023-02-16T06:05:21.611Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-16T06:05:21.611Z] ---> Running in 48e6bdb46cff [2023-02-16T06:05:21.878Z] Removing intermediate container 48e6bdb46cff [2023-02-16T06:05:21.878Z] ---> 3e66a1d5b1f3 [2023-02-16T06:05:21.878Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-16T06:05:22.159Z] ---> 93f2cc39128f [2023-02-16T06:05:22.159Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T06:05:22.159Z] ---> Running in 93b65d10e82d [2023-02-16T06:05:24.734Z] Removing intermediate container 93b65d10e82d [2023-02-16T06:05:24.735Z] ---> 4af6dd5d7c8d [2023-02-16T06:05:24.735Z] Step 11/24 : COPY . . [2023-02-16T06:05:25.314Z] ---> 088daf8c8284 [2023-02-16T06:05:25.314Z] Step 12/24 : RUN ${MAKE} [2023-02-16T06:05:25.314Z] ---> Running in 0e43a5963bb7 [2023-02-16T06:05:26.272Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-16T06:07:47.968Z] Removing intermediate container 0e43a5963bb7 [2023-02-16T06:07:47.968Z] ---> af2974c6ee88 [2023-02-16T06:07:47.968Z] Step 13/24 : FROM alpine:3.16 [2023-02-16T06:07:47.968Z] 3.16: Pulling from library/alpine [2023-02-16T06:07:47.968Z] 3760b48202b3: Pulling fs layer [2023-02-16T06:07:47.968Z] 3760b48202b3: Download complete [2023-02-16T06:07:47.968Z] 3760b48202b3: Pull complete [2023-02-16T06:07:47.968Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T06:07:47.968Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T06:07:47.968Z] ---> 4c81e5bf8899 [2023-02-16T06:07:47.968Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-16T06:07:47.968Z] ---> Running in ef8812cc7f4c [2023-02-16T06:07:47.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T06:07:47.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T06:07:47.968Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-16T06:07:47.968Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T06:07:47.968Z] OK: 5 MiB in 15 packages [2023-02-16T06:07:47.968Z] Removing intermediate container ef8812cc7f4c [2023-02-16T06:07:47.968Z] ---> 4c79fa692a53 [2023-02-16T06:07:47.968Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-16T06:07:47.968Z] ---> 9f1906a0416f [2023-02-16T06:07:47.968Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-16T06:07:47.968Z] ---> 5df06a997747 [2023-02-16T06:07:47.968Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-16T06:07:47.968Z] ---> a1f15e30496d [2023-02-16T06:07:47.968Z] Step 18/24 : EXPOSE 59993 [2023-02-16T06:07:47.968Z] ---> Running in 3ea5993f7fb0 [2023-02-16T06:07:47.968Z] Removing intermediate container 3ea5993f7fb0 [2023-02-16T06:07:47.968Z] ---> ddb5aa3b394d [2023-02-16T06:07:47.968Z] Step 19/24 : EXPOSE 161 [2023-02-16T06:07:47.968Z] ---> Running in fac515cb9a05 [2023-02-16T06:07:47.968Z] Removing intermediate container fac515cb9a05 [2023-02-16T06:07:47.968Z] ---> b0c178320d50 [2023-02-16T06:07:47.968Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-16T06:07:47.968Z] ---> Running in d9fa89d77626 [2023-02-16T06:07:47.968Z] Removing intermediate container d9fa89d77626 [2023-02-16T06:07:47.968Z] ---> 3f725215b406 [2023-02-16T06:07:47.968Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T06:07:47.968Z] ---> Running in b565024e6e6d [2023-02-16T06:07:47.968Z] Removing intermediate container b565024e6e6d [2023-02-16T06:07:47.968Z] ---> c4f78988edb8 [2023-02-16T06:07:47.968Z] Step 22/24 : LABEL arch=arm64 [2023-02-16T06:07:47.968Z] ---> Running in ecd79619b81a [2023-02-16T06:07:47.968Z] Removing intermediate container ecd79619b81a [2023-02-16T06:07:47.968Z] ---> 9dc59bd4734c [2023-02-16T06:07:47.968Z] Step 23/24 : LABEL git_sha=ecd9d3a31f04bd701de006a7cc6ec747a403c223 [2023-02-16T06:07:47.968Z] ---> Running in c025985b86d9 [2023-02-16T06:07:47.968Z] Removing intermediate container c025985b86d9 [2023-02-16T06:07:47.968Z] ---> 2e13543f2579 [2023-02-16T06:07:47.968Z] Step 24/24 : LABEL version=0.0.0 [2023-02-16T06:07:48.240Z] ---> Running in 07127d830471 [2023-02-16T06:07:48.508Z] Removing intermediate container 07127d830471 [2023-02-16T06:07:48.508Z] ---> aa26157fe6c6 [2023-02-16T06:07:48.508Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T06:07:48.508Z] Successfully built aa26157fe6c6 [2023-02-16T06:07:48.508Z] 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-02-16T06:07:49.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T06:07:49.459Z] [2023-02-16T06:07:49.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:07:49.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T06:07:50.818Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-16T06:07:51.085Z] 8998bd30e6a1: Pulling fs layer [2023-02-16T06:07:51.086Z] 04944245beec: Pulling fs layer [2023-02-16T06:07:51.086Z] 699f458cf7ca: Pulling fs layer [2023-02-16T06:07:51.086Z] 765212b225bb: Pulling fs layer [2023-02-16T06:07:51.086Z] f23df028b6ca: Pulling fs layer [2023-02-16T06:07:51.086Z] d65c8cfc05b1: Pulling fs layer [2023-02-16T06:07:51.086Z] 2437ff75d9bd: Pulling fs layer [2023-02-16T06:07:51.086Z] d65c8cfc05b1: Waiting [2023-02-16T06:07:51.086Z] 765212b225bb: Waiting [2023-02-16T06:07:51.086Z] f23df028b6ca: Waiting [2023-02-16T06:07:51.086Z] 2437ff75d9bd: Waiting [2023-02-16T06:07:51.086Z] 04944245beec: Verifying Checksum [2023-02-16T06:07:51.086Z] 04944245beec: Download complete [2023-02-16T06:07:51.086Z] 765212b225bb: Verifying Checksum [2023-02-16T06:07:51.086Z] 765212b225bb: Download complete [2023-02-16T06:07:51.355Z] f23df028b6ca: Download complete [2023-02-16T06:07:51.355Z] d65c8cfc05b1: Verifying Checksum [2023-02-16T06:07:51.355Z] d65c8cfc05b1: Download complete [2023-02-16T06:07:51.355Z] 699f458cf7ca: Verifying Checksum [2023-02-16T06:07:51.355Z] 699f458cf7ca: Download complete [2023-02-16T06:07:51.940Z] 8998bd30e6a1: Verifying Checksum [2023-02-16T06:07:51.940Z] 8998bd30e6a1: Download complete [2023-02-16T06:07:53.884Z] 2437ff75d9bd: Verifying Checksum [2023-02-16T06:07:53.884Z] 2437ff75d9bd: Download complete [2023-02-16T06:07:55.850Z] 8998bd30e6a1: Pull complete [2023-02-16T06:07:56.119Z] 04944245beec: Pull complete [2023-02-16T06:07:57.532Z] 699f458cf7ca: Pull complete [2023-02-16T06:07:57.800Z] 765212b225bb: Pull complete [2023-02-16T06:07:58.385Z] f23df028b6ca: Pull complete [2023-02-16T06:07:58.653Z] d65c8cfc05b1: Pull complete [2023-02-16T06:08:13.661Z] 2437ff75d9bd: Pull complete [2023-02-16T06:08:13.661Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-16T06:08:13.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T06:08:13.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T06:08:13.965Z] prd-ubuntu20.04-docker-arm64-4c-16g-6261 does not seem to be running inside a container [2023-02-16T06:08:14.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-16T06:08:16.483Z] $ docker top 652b45d4a04540c43f644e17354c0abe535fe98c80e58ddeb890992ea9bfa70f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:08:17.029Z] ---> job-cost.sh [2023-02-16T06:08:17.294Z] lf-activate-venv: SKIPPING [2023-02-16T06:08:17.294Z] INFO: No Stack... [2023-02-16T06:08:17.559Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-16T06:08:18.537Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T06:08:18.881Z] + cut -d, -f6 [2023-02-16T06:08:18.881Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2023-02-16T06:08:19.298Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-235-1-stack-cost] [2023-02-16T06:08:19.303Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-235-1-stack-cost] did not exist. Created. [2023-02-16T06:08:19.303Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-235-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T06:08:19.728Z] /w/workspace/device-snmp-go/1@tmp/durable-270b87f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-16T06:08:20.124Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-16T06:08:20.161Z] Warning: overwriting stash ‘stack-cost’ [2023-02-16T06:08:20.207Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T06:08:20.222Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-235-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T06:08:20.301Z] $ docker stop --time=1 652b45d4a04540c43f644e17354c0abe535fe98c80e58ddeb890992ea9bfa70f [2023-02-16T06:08:21.757Z] $ docker rm -f --volumes 652b45d4a04540c43f644e17354c0abe535fe98c80e58ddeb890992ea9bfa70f [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-02-16T06:08:22.950Z] provisioning config files... [2023-02-16T06:08:22.957Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-235@tmp/config16660853558448529834tmp [Pipeline] { [Pipeline] sh [2023-02-16T06:08:23.292Z] + set +x [2023-02-16T06:08:23.292Z] + curl -s https://codecov.io/bash [2023-02-16T06:08:23.292Z] + bash -s -- [2023-02-16T06:08:23.292Z] [2023-02-16T06:08:23.292Z] _____ _ [2023-02-16T06:08:23.292Z] / ____| | | [2023-02-16T06:08:23.292Z] | | ___ __| | ___ ___ _____ __ [2023-02-16T06:08:23.292Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-16T06:08:23.292Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-16T06:08:23.292Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-16T06:08:23.292Z] Bash-1.0.6 [2023-02-16T06:08:23.292Z] [2023-02-16T06:08:23.292Z] [2023-02-16T06:08:23.292Z] ==> git version 2.25.1 found [2023-02-16T06:08:23.292Z] ==> 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-02-16T06:08:23.292Z] Release-Date: 2020-01-08 [2023-02-16T06:08:23.292Z] 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-02-16T06:08:23.292Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-16T06:08:23.292Z] ==> Jenkins CI detected. [2023-02-16T06:08:23.292Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-235 [2023-02-16T06:08:23.292Z] project root: . [2023-02-16T06:08:23.292Z] --> token set from env [2023-02-16T06:08:23.292Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-16T06:08:23.292Z] ==> Running gcov in . (disable via -X gcov) [2023-02-16T06:08:23.292Z] ==> Python coveragepy not found [2023-02-16T06:08:23.292Z] ==> Searching for coverage reports in: [2023-02-16T06:08:23.292Z] + . [2023-02-16T06:08:23.553Z] -> Found 1 reports [2023-02-16T06:08:23.553Z] ==> Detecting git/mercurial file structure [2023-02-16T06:08:23.553Z] ==> Reading reports [2023-02-16T06:08:23.553Z] + ./coverage.out bytes=7631 [2023-02-16T06:08:23.553Z] ==> Appending adjustments [2023-02-16T06:08:23.553Z] https://docs.codecov.io/docs/fixing-reports [2023-02-16T06:08:23.553Z] + Found adjustments [2023-02-16T06:08:23.553Z] ==> Gzipping contents [2023-02-16T06:08:23.553Z] 4.0K /tmp/codecov.GZh209.gz [2023-02-16T06:08:23.553Z] ==> Uploading reports [2023-02-16T06:08:23.553Z] url: https://codecov.io [2023-02-16T06:08:23.553Z] query: branch=PR-235&commit=ecd9d3a31f04bd701de006a7cc6ec747a403c223&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-235%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=235&job=&cmd_args= [2023-02-16T06:08:23.553Z] -> Pinging Codecov [2023-02-16T06:08:23.553Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-235&commit=ecd9d3a31f04bd701de006a7cc6ec747a403c223&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-235%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=235&job=&cmd_args= [2023-02-16T06:08:23.815Z] -> Uploading to [2023-02-16T06:08:23.815Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-16/6C56EA5C29638FB4528AC87E60AF5AE0/ecd9d3a31f04bd701de006a7cc6ec747a403c223/b42750b3-dc89-4fb6-a860-dfddd16d0b14.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T060823Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ce54a54037661294cea121da74d1d67c8a4cf5d48c07ef3aff5cc9e32ef6f46 [2023-02-16T06:08:23.815Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T06:08:23.815Z] Dload Upload Total Spent Left Speed [2023-02-16T06:08:24.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 5284 --:--:-- --:--:-- --:--:-- 5284 [2023-02-16T06:08:24.073Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/ecd9d3a31f04bd701de006a7cc6ec747a403c223 [Pipeline] } [2023-02-16T06:08:24.134Z] 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-02-16T06:08:26.105Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-235/archives ] [2023-02-16T06:08:26.105Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-235/archives [2023-02-16T06:08:26.105Z] total 16 [2023-02-16T06:08:26.105Z] drwxr-xr-x 3 root root 4096 Feb 16 06:01 . [2023-02-16T06:08:26.105Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 06:01 .. [2023-02-16T06:08:26.105Z] drwxr-xr-x 2 root root 4096 Feb 16 06:01 cost [2023-02-16T06:08:26.105Z] -rw-r--r-- 1 root root 86 Feb 16 06:01 cost.csv [2023-02-16T06:08:26.105Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-235/archives [2023-02-16T06:08:26.105Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-235/archives [2023-02-16T06:08:26.105Z] total 16 [2023-02-16T06:08:26.105Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 06:01 . [2023-02-16T06:08:26.105Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 06:01 .. [2023-02-16T06:08:26.105Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 06:01 cost [2023-02-16T06:08:26.105Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 16 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:08:26.434Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:08:27.349Z] ---> package-listing.sh [2023-02-16T06:08:27.349Z] ++ facter osfamily [2023-02-16T06:08:27.349Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-16T06:08:27.608Z] + OS_FAMILY=debian [2023-02-16T06:08:27.608Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-235 [2023-02-16T06:08:27.608Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-16T06:08:27.608Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-16T06:08:27.608Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-16T06:08:27.608Z] + PACKAGES=/tmp/packages_start.txt [2023-02-16T06:08:27.608Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-235 ']' [2023-02-16T06:08:27.608Z] + PACKAGES=/tmp/packages_end.txt [2023-02-16T06:08:27.608Z] + case "${OS_FAMILY}" in [2023-02-16T06:08:27.608Z] + dpkg -l [2023-02-16T06:08:27.608Z] + grep '^ii' [2023-02-16T06:08:27.608Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-16T06:08:27.608Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-16T06:08:27.608Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-16T06:08:27.608Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-235 ']' [2023-02-16T06:08:27.608Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-235/archives/ [2023-02-16T06:08:27.608Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-235/archives/ [Pipeline] echo [2023-02-16T06:08:27.652Z] 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-235/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-16T06:08:27.944Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T06:08:28.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T06:08:28.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T06:08:28.726Z] prd-ubuntu20.04-docker-8c-8g-6260 does not seem to be running inside a container [2023-02-16T06:08:28.758Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-235/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-235 -v /w/workspace/gexfoundry_device-snmp-go_PR-235:/w/workspace/gexfoundry_device-snmp-go_PR-235:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-235@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-235@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T06:08:29.035Z] $ docker top a19cc907c287376071fd22243b6a4273f826c380c219a621c0e35daacb7d9451 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T06:08:29.422Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-16T06:08:29.730Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-16T06:08:30.035Z] + ls /var/log/sa-host [2023-02-16T06:08:30.035Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T06:08:30.309Z] provisioning config files... [2023-02-16T06:08:30.319Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-235@tmp/config11571126179694652612tmp [Pipeline] { [Pipeline] echo [2023-02-16T06:08:30.365Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:08:30.675Z] ---> create-netrc.sh [Pipeline] } [2023-02-16T06:08:30.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:08:31.222Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-16T06:08:31.252Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:08:31.557Z] ---> sudo-logs.sh [2023-02-16T06:08:31.557Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-16T06:08:31.645Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:08:31.953Z] ---> job-cost.sh [2023-02-16T06:08:31.953Z] lf-activate-venv: SKIPPING [2023-02-16T06:08:31.953Z] DEBUG: total: 0.2199999988079071 [2023-02-16T06:08:31.953Z] INFO: Retrieving Stack Cost... [2023-02-16T06:08:32.531Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T06:08:32.790Z] INFO: Archiving Costs [Pipeline] echo [2023-02-16T06:08:32.824Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T06:08:33.132Z] ---> logs-deploy.sh [2023-02-16T06:08:33.132Z] lf-activate-venv: SKIPPING [2023-02-16T06:08:33.132Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-235/1 [2023-02-16T06:08:33.132Z] INFO: archiving workspace using pattern(s): [2023-02-16T06:08:34.069Z] Archives upload complete. [2023-02-16T06:08:34.069Z] INFO: archiving logs to Nexus