Pull request #202 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c58b7341f509cbddffe81d7970e552277f2ed571+cc201530981e513eba2542fa850395c651a4a8aa (aeb502597b386bf88c02991f84e8967b0455615f) 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-ssh9906338577979911698.key Verifying host key using known hosts file > 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-ssh662361910165917631.key Verifying host key using known hosts file > 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-202/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-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18198517921721491059.key Verifying host key using known hosts file > 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-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13465235177453510003.key Verifying host key using known hosts file > 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-ssh10515628864686823420.key Verifying host key using known hosts file > 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-202/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-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6829077931888379211.key Verifying host key using known hosts file > 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118380’ Running on prd-ubuntu20.04-docker-8c-8g-118388 in /w/workspace/gexfoundry_device-snmp-go_PR-202 [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-202 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cc201530981e513eba2542fa850395c651a4a8aa into PR head commit c58b7341f509cbddffe81d7970e552277f2ed571 Merge succeeded, producing c58b7341f509cbddffe81d7970e552277f2ed571 Checking out Revision c58b7341f509cbddffe81d7970e552277f2ed571 (PR-202) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 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 [2022-11-07T05:06:49.478Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f c58b7341f509cbddffe81d7970e552277f2ed571 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c58b7341f509cbddffe81d7970e552277f2ed571 # timeout=10 [Pipeline] withCredentials [2022-11-07T05:06:49.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T05:06:49.816Z] ========================================================= [2022-11-07T05:06:49.816Z] EdgeX Global Pipelines Version Info [2022-11-07T05:06:49.816Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:06:50.557Z] ------------------- [2022-11-07T05:06:50.557Z] stable info: [2022-11-07T05:06:50.557Z] ------------------- [2022-11-07T05:06:50.557Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T05:06:50.557Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T05:06:50.557Z] Message: update stable to v1.0.244 [2022-11-07T05:06:51.128Z] ------------------- [2022-11-07T05:06:51.128Z] experimental info: [2022-11-07T05:06:51.128Z] ------------------- [2022-11-07T05:06:51.128Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T05:06:51.128Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T05:06:51.128Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T05:06:51.431Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-11-07T05:06:51.483Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-11-07T05:06:51.525Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T05:06:51.572Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T05:06:51.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T05:06:51.655Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T05:06:51.702Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T05:06:51.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T05:06:51.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T05:06:51.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T05:06:51.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T05:06:51.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-11-07T05:06:51.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T05:06:52.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T05:06:52.091Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T05:06:52.132Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T05:06:52.187Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T05:06:52.239Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T05:06:52.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T05:06:52.327Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T05:06:52.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T05:06:52.419Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T05:06:52.470Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T05:06:52.519Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T05:06:52.564Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T05:06:52.613Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T05:06:52.663Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T05:06:52.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2022-11-07T05:06:52.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2022-11-07T05:06:52.792Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2022-11-07T05:06:52.839Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c58b7341f509cbddffe81d7970e552277f2ed571 [Pipeline] echo [2022-11-07T05:06:52.883Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c58b734 [Pipeline] echo [2022-11-07T05:06:52.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T05:06:53.053Z] provisioning config files... [2022-11-07T05:06:53.067Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-202@tmp/config931130721130819101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:06:53.413Z] ---> docker-login.sh [2022-11-07T05:06:53.413Z] nexus3.edgexfoundry.org:10001 [2022-11-07T05:06:53.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:06:53.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:06:53.933Z] Configure a credential helper to remove this warning. See [2022-11-07T05:06:53.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:06:53.933Z] [2022-11-07T05:06:53.933Z] Login Succeeded [2022-11-07T05:06:53.933Z] nexus3.edgexfoundry.org:10002 [2022-11-07T05:06:53.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:06:53.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:06:53.933Z] Configure a credential helper to remove this warning. See [2022-11-07T05:06:53.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:06:53.933Z] [2022-11-07T05:06:53.933Z] Login Succeeded [2022-11-07T05:06:53.933Z] nexus3.edgexfoundry.org:10003 [2022-11-07T05:06:53.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:06:54.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:06:54.198Z] Configure a credential helper to remove this warning. See [2022-11-07T05:06:54.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:06:54.198Z] [2022-11-07T05:06:54.198Z] Login Succeeded [2022-11-07T05:06:54.198Z] nexus3.edgexfoundry.org:10004 [2022-11-07T05:06:54.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:06:54.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:06:54.198Z] Configure a credential helper to remove this warning. See [2022-11-07T05:06:54.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:06:54.198Z] [2022-11-07T05:06:54.198Z] Login Succeeded [2022-11-07T05:06:54.198Z] docker.io [2022-11-07T05:06:54.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:06:54.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:06:54.770Z] Configure a credential helper to remove this warning. See [2022-11-07T05:06:54.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:06:54.770Z] [2022-11-07T05:06:54.770Z] Login Succeeded [2022-11-07T05:06:54.770Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T05:06:54.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T05:06:55.436Z] + git rev-list -1 --merges c58b7341f509cbddffe81d7970e552277f2ed571~1..c58b7341f509cbddffe81d7970e552277f2ed571 [Pipeline] echo [2022-11-07T05:06:55.483Z] -----------> git rev-list -1 --merges c58b7341f509cbddffe81d7970e552277f2ed571~1..c58b7341f509cbddffe81d7970e552277f2ed571 c58b7341f509cbddffe81d7970e552277f2ed571 [false] [Pipeline] sh [2022-11-07T05:06:55.796Z] + git log --format=format:%s -1 c58b7341f509cbddffe81d7970e552277f2ed571 [Pipeline] echo [2022-11-07T05:06:55.834Z] ========================================================= [2022-11-07T05:06:55.834Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T05:06:55.834Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T05:06:56.359Z] + git log --format=format:%s -1 c58b7341f509cbddffe81d7970e552277f2ed571 [Pipeline] echo [2022-11-07T05:06:56.393Z] [semverPrep] GIT_COMMIT: c58b7341f509cbddffe81d7970e552277f2ed571, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-11-07T05:06:56.420Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T05:06:56.796Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T05:06:56.796Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T05:06:56.796Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T05:06:56.796Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T05:06:56.796Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-11-07T05:06:56.796Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T05:06:56.796Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:06:57.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T05:06:57.217Z] [2022-11-07T05:06:57.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:06:57.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T05:06:57.608Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T05:06:57.608Z] b85a868b505f: Pulling fs layer [2022-11-07T05:06:57.608Z] e2be974225ed: Pulling fs layer [2022-11-07T05:06:57.608Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T05:06:57.608Z] 988bab9f4d93: Pulling fs layer [2022-11-07T05:06:57.608Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T05:06:57.608Z] eaf3925da568: Pulling fs layer [2022-11-07T05:06:57.608Z] bab4dde63d76: Pulling fs layer [2022-11-07T05:06:57.608Z] bde34c3a00c8: Pulling fs layer [2022-11-07T05:06:57.608Z] b352a97aabf1: Pulling fs layer [2022-11-07T05:06:57.608Z] 4872d77fe225: Pulling fs layer [2022-11-07T05:06:57.608Z] 5851b861e8e6: Pulling fs layer [2022-11-07T05:06:57.608Z] bab4dde63d76: Waiting [2022-11-07T05:06:57.608Z] bde34c3a00c8: Waiting [2022-11-07T05:06:57.608Z] b352a97aabf1: Waiting [2022-11-07T05:06:57.608Z] 4872d77fe225: Waiting [2022-11-07T05:06:57.608Z] 988bab9f4d93: Waiting [2022-11-07T05:06:57.608Z] 5851b861e8e6: Waiting [2022-11-07T05:06:57.608Z] eaf3925da568: Waiting [2022-11-07T05:06:57.608Z] 1469e6f7b9e6: Waiting [2022-11-07T05:06:57.608Z] e2be974225ed: Download complete [2022-11-07T05:06:57.608Z] 988bab9f4d93: Verifying Checksum [2022-11-07T05:06:57.608Z] 988bab9f4d93: Download complete [2022-11-07T05:06:57.878Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T05:06:57.878Z] 1469e6f7b9e6: Download complete [2022-11-07T05:06:57.878Z] eaf3925da568: Verifying Checksum [2022-11-07T05:06:57.878Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T05:06:57.878Z] 339a4e72a1f5: Download complete [2022-11-07T05:06:57.878Z] bde34c3a00c8: Verifying Checksum [2022-11-07T05:06:57.878Z] bde34c3a00c8: Download complete [2022-11-07T05:06:57.878Z] b352a97aabf1: Download complete [2022-11-07T05:06:57.878Z] 4872d77fe225: Verifying Checksum [2022-11-07T05:06:57.878Z] 4872d77fe225: Download complete [2022-11-07T05:06:58.140Z] 5851b861e8e6: Verifying Checksum [2022-11-07T05:06:58.140Z] 5851b861e8e6: Download complete [2022-11-07T05:06:58.140Z] b85a868b505f: Download complete [2022-11-07T05:06:58.399Z] bab4dde63d76: Verifying Checksum [2022-11-07T05:06:58.399Z] bab4dde63d76: Download complete [2022-11-07T05:06:59.334Z] b85a868b505f: Pull complete [2022-11-07T05:06:59.334Z] e2be974225ed: Pull complete [2022-11-07T05:06:59.902Z] 339a4e72a1f5: Pull complete [2022-11-07T05:06:59.902Z] 988bab9f4d93: Pull complete [2022-11-07T05:07:00.161Z] 1469e6f7b9e6: Pull complete [2022-11-07T05:07:00.419Z] eaf3925da568: Pull complete [2022-11-07T05:07:02.337Z] bab4dde63d76: Pull complete [2022-11-07T05:07:02.337Z] bde34c3a00c8: Pull complete [2022-11-07T05:07:02.337Z] b352a97aabf1: Pull complete [2022-11-07T05:07:02.337Z] 4872d77fe225: Pull complete [2022-11-07T05:07:02.337Z] 5851b861e8e6: Pull complete [2022-11-07T05:07:02.337Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T05:07:02.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T05:07:02.337Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:07:02.555Z] prd-ubuntu20.04-docker-8c-8g-118388 does not seem to be running inside a container [2022-11-07T05:07:02.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-202 -v /w/workspace/gexfoundry_device-snmp-go_PR-202:/w/workspace/gexfoundry_device-snmp-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-202@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-202@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 [2022-11-07T05:07:04.390Z] $ docker top cc8a04895c366cbe98d6699e9e610d5cd7aa78c48671f1856f04c33a743b14db -eo pid,comm [2022-11-07T05:07:04.444Z] 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). [2022-11-07T05:07:04.444Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T05:07:04.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T05:07:04.576Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T05:07:04.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T05:07:04.708Z] $ docker exec cc8a04895c366cbe98d6699e9e610d5cd7aa78c48671f1856f04c33a743b14db ssh-agent [2022-11-07T05:07:04.835Z] SSH_AUTH_SOCK=/tmp/ssh-77c3v435epwl/agent.32 [2022-11-07T05:07:04.835Z] SSH_AGENT_PID=38 [2022-11-07T05:07:04.843Z] Running ssh-add (command line suppressed) [2022-11-07T05:07:04.960Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-202@tmp/private_key_13240311379032743842.key (/w/workspace/gexfoundry_device-snmp-go_PR-202@tmp/private_key_13240311379032743842.key) [2022-11-07T05:07:04.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T05:07:05.306Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T05:07:05.326Z] $ docker exec --env ******** --env ******** cc8a04895c366cbe98d6699e9e610d5cd7aa78c48671f1856f04c33a743b14db ssh-agent -k [2022-11-07T05:07:05.429Z] unset SSH_AUTH_SOCK; [2022-11-07T05:07:05.429Z] unset SSH_AGENT_PID; [2022-11-07T05:07:05.429Z] echo Agent pid 38 killed; [2022-11-07T05:07:05.445Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T05:07:05.526Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T05:07:05.526Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T05:07:05.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T05:07:05.640Z] $ docker exec cc8a04895c366cbe98d6699e9e610d5cd7aa78c48671f1856f04c33a743b14db ssh-agent [2022-11-07T05:07:05.758Z] SSH_AUTH_SOCK=/tmp/ssh-QaUdS7XhKTXB/agent.70 [2022-11-07T05:07:05.758Z] SSH_AGENT_PID=76 [2022-11-07T05:07:05.762Z] Running ssh-add (command line suppressed) [2022-11-07T05:07:05.872Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-202@tmp/private_key_13072267766368684092.key (/w/workspace/gexfoundry_device-snmp-go_PR-202@tmp/private_key_13072267766368684092.key) [2022-11-07T05:07:05.889Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T05:07:06.221Z] + git semver init [2022-11-07T05:07:06.484Z] 2022-11-07 05:07:06,459 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T05:07:06.484Z] 2022-11-07 05:07:06,459 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-202/.semver [2022-11-07T05:07:06.484Z] 2022-11-07 05:07:06,460 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-202/.semver [2022-11-07T05:07:06.484Z] 2022-11-07 05:07:06,460 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-202/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-202, universal_newlines=False, shell=None, istream=None) [2022-11-07T05:07:07.471Z] 2022-11-07 05:07:07,383 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-202/.git/info/exclude [2022-11-07T05:07:07.471Z] 2022-11-07 05:07:07,384 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-202/.semver/PR-202 with force:False [2022-11-07T05:07:07.471Z] 2022-11-07 05:07:07,384 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-202/.semver/PR-202 [2022-11-07T05:07:07.471Z] 2022-11-07 05:07:07,388 [execute] INFO git cat-file --batch-check [2022-11-07T05:07:07.471Z] 2022-11-07 05:07:07,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T05:07:07.471Z] 2022-11-07 05:07:07,395 [execute] INFO git cat-file --batch [2022-11-07T05:07:07.471Z] 2022-11-07 05:07:07,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T05:07:07.471Z] 2022-11-07 05:07:07,400 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-202/.semver/PR-202 [2022-11-07T05:07:07.471Z] 0.0.0 [Pipeline] } [2022-11-07T05:07:07.510Z] $ docker exec --env ******** --env ******** cc8a04895c366cbe98d6699e9e610d5cd7aa78c48671f1856f04c33a743b14db ssh-agent -k [2022-11-07T05:07:07.609Z] unset SSH_AUTH_SOCK; [2022-11-07T05:07:07.609Z] unset SSH_AGENT_PID; [2022-11-07T05:07:07.609Z] echo Agent pid 76 killed; [2022-11-07T05:07:07.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T05:07:08.043Z] + git semver [Pipeline] } [2022-11-07T05:07:08.326Z] $ docker stop --time=1 cc8a04895c366cbe98d6699e9e610d5cd7aa78c48671f1856f04c33a743b14db [2022-11-07T05:07:09.665Z] $ docker rm -f cc8a04895c366cbe98d6699e9e610d5cd7aa78c48671f1856f04c33a743b14db [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T05:07:10.084Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T05:07:10.331Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T05:07:10.349Z] [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 [2022-11-07T05:07:10.957Z] provisioning config files... [2022-11-07T05:07:10.966Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-202@tmp/config10391918861273647747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:07:11.312Z] ---> docker-login.sh [2022-11-07T05:07:11.312Z] nexus3.edgexfoundry.org:10001 [2022-11-07T05:07:11.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:11.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:11.312Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:11.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:11.312Z] [2022-11-07T05:07:11.312Z] Login Succeeded [2022-11-07T05:07:11.312Z] nexus3.edgexfoundry.org:10002 [2022-11-07T05:07:11.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:11.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:11.312Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:11.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:11.312Z] [2022-11-07T05:07:11.312Z] Login Succeeded [2022-11-07T05:07:11.574Z] nexus3.edgexfoundry.org:10003 [2022-11-07T05:07:11.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:11.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:11.574Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:11.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:11.574Z] [2022-11-07T05:07:11.574Z] Login Succeeded [2022-11-07T05:07:11.574Z] nexus3.edgexfoundry.org:10004 [2022-11-07T05:07:11.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:11.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:11.574Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:11.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:11.574Z] [2022-11-07T05:07:11.574Z] Login Succeeded [2022-11-07T05:07:11.574Z] docker.io [2022-11-07T05:07:11.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:07:12.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:07:12.092Z] Configure a credential helper to remove this warning. See [2022-11-07T05:07:12.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:07:12.092Z] [2022-11-07T05:07:12.092Z] Login Succeeded [2022-11-07T05:07:12.092Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T05:07:12.119Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T05:07:12.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:07:12.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:07:12.392Z] ========================================================= [2022-11-07T05:07:12.392Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T05:07:12.392Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:07:12.881Z] + 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 . [2022-11-07T05:07:12.881Z] Sending build context to Docker daemon 5.581MB [2022-11-07T05:07:12.881Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:07:12.881Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T05:07:12.881Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T05:07:12.881Z] 213ec9aee27d: Pulling fs layer [2022-11-07T05:07:12.881Z] 4583459ba037: Pulling fs layer [2022-11-07T05:07:12.881Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T05:07:12.881Z] 53926ce57604: Pulling fs layer [2022-11-07T05:07:12.881Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T05:07:12.881Z] 22ff95d597cd: Pulling fs layer [2022-11-07T05:07:12.881Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T05:07:12.881Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T05:07:12.881Z] a7acece74701: Pulling fs layer [2022-11-07T05:07:12.881Z] 22ff95d597cd: Waiting [2022-11-07T05:07:12.881Z] 12d6caf4c0d1: Waiting [2022-11-07T05:07:12.881Z] 21b2b0c7a3f4: Waiting [2022-11-07T05:07:12.881Z] 96b7cbca73a9: Waiting [2022-11-07T05:07:12.881Z] a7acece74701: Waiting [2022-11-07T05:07:12.881Z] 53926ce57604: Waiting [2022-11-07T05:07:12.881Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T05:07:12.881Z] 93c1e223e6f2: Download complete [2022-11-07T05:07:13.151Z] 4583459ba037: Verifying Checksum [2022-11-07T05:07:13.151Z] 4583459ba037: Download complete [2022-11-07T05:07:13.151Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T05:07:13.151Z] 21b2b0c7a3f4: Download complete [2022-11-07T05:07:13.151Z] 22ff95d597cd: Verifying Checksum [2022-11-07T05:07:13.151Z] 22ff95d597cd: Download complete [2022-11-07T05:07:13.151Z] 213ec9aee27d: Verifying Checksum [2022-11-07T05:07:13.151Z] 213ec9aee27d: Download complete [2022-11-07T05:07:13.151Z] 213ec9aee27d: Pull complete [2022-11-07T05:07:13.414Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T05:07:13.414Z] 12d6caf4c0d1: Download complete [2022-11-07T05:07:13.414Z] 4583459ba037: Pull complete [2022-11-07T05:07:13.414Z] 93c1e223e6f2: Pull complete [2022-11-07T05:07:13.673Z] a7acece74701: Verifying Checksum [2022-11-07T05:07:13.673Z] a7acece74701: Download complete [2022-11-07T05:07:13.932Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T05:07:13.932Z] 96b7cbca73a9: Download complete [2022-11-07T05:07:14.190Z] 53926ce57604: Verifying Checksum [2022-11-07T05:07:14.190Z] 53926ce57604: Download complete [2022-11-07T05:07:18.377Z] 53926ce57604: Pull complete [2022-11-07T05:07:18.377Z] 21b2b0c7a3f4: Pull complete [2022-11-07T05:07:18.377Z] 22ff95d597cd: Pull complete [2022-11-07T05:07:18.377Z] 12d6caf4c0d1: Pull complete [2022-11-07T05:07:20.277Z] 96b7cbca73a9: Pull complete [2022-11-07T05:07:20.845Z] a7acece74701: Pull complete [2022-11-07T05:07:20.846Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T05:07:21.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T05:07:21.105Z] ---> db6d94c90886 [2022-11-07T05:07:21.105Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:07:23.015Z] ---> Running in e9a807d0713a [2022-11-07T05:07:23.015Z] Removing intermediate container e9a807d0713a [2022-11-07T05:07:23.015Z] ---> 4fa134c8f910 [2022-11-07T05:07:23.015Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:07:23.015Z] ---> Running in e730574c66e0 [2022-11-07T05:07:23.015Z] Removing intermediate container e730574c66e0 [2022-11-07T05:07:23.015Z] ---> fadd154663e8 [2022-11-07T05:07:23.015Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T05:07:23.274Z] ---> Running in 5cccfbb73a09 [2022-11-07T05:07:23.274Z] Removing intermediate container 5cccfbb73a09 [2022-11-07T05:07:23.274Z] ---> a1ea607e8b6b [2022-11-07T05:07:23.274Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T05:07:23.274Z] ---> Running in c8ec96da0f6c [2022-11-07T05:07:23.533Z] Removing intermediate container c8ec96da0f6c [2022-11-07T05:07:23.533Z] ---> ebaafea7455b [2022-11-07T05:07:23.533Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T05:07:23.533Z] ---> Running in b34c80dee4a9 [2022-11-07T05:07:23.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T05:07:23.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T05:07:24.053Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T05:07:24.053Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T05:07:24.053Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T05:07:24.053Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T05:07:24.053Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:07:24.053Z] OK: 216 MiB in 55 packages [2022-11-07T05:07:24.628Z] Removing intermediate container b34c80dee4a9 [2022-11-07T05:07:24.628Z] ---> 56240dc383ab [2022-11-07T05:07:24.628Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-07T05:07:24.628Z] ---> Running in cdcb9a44f702 [2022-11-07T05:07:24.628Z] Removing intermediate container cdcb9a44f702 [2022-11-07T05:07:24.628Z] ---> 232b2ddab5a8 [2022-11-07T05:07:24.628Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T05:07:24.890Z] ---> f3a0dc1ea60b [2022-11-07T05:07:24.890Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:07:24.890Z] ---> Running in d31888fca6ef [2022-11-07T05:07:25.790Z] Still waiting to schedule task [2022-11-07T05:07:25.790Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118385’ [2022-11-07T05:07:42.985Z] Removing intermediate container d31888fca6ef [2022-11-07T05:07:42.985Z] ---> 6c0c4dbe9f56 [2022-11-07T05:07:42.985Z] Step 11/12 : COPY . . [2022-11-07T05:07:42.985Z] ---> 9822a1cd3dff [2022-11-07T05:07:42.985Z] Step 12/12 : RUN ${MAKE} [2022-11-07T05:07:42.985Z] ---> Running in e83f5c7cc277 [2022-11-07T05:07:42.985Z] noop [2022-11-07T05:07:42.985Z] Removing intermediate container e83f5c7cc277 [2022-11-07T05:07:42.985Z] ---> e05f9e3b8164 [2022-11-07T05:07:42.985Z] Successfully built e05f9e3b8164 [2022-11-07T05:07:42.985Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:07:43.445Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T05:07:43.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:07:43.586Z] prd-ubuntu20.04-docker-8c-8g-118388 does not seem to be running inside a container [2022-11-07T05:07:43.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-202 -v /w/workspace/gexfoundry_device-snmp-go_PR-202:/w/workspace/gexfoundry_device-snmp-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-202@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-202@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 [2022-11-07T05:07:43.965Z] $ docker top c346af1227ae181f01cf9e0a3bd23c2ad7fce35073240f7f11bd56e5a6cfd768 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:07:44.379Z] + go version [2022-11-07T05:07:44.379Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T05:07:44.416Z] $ docker stop --time=1 c346af1227ae181f01cf9e0a3bd23c2ad7fce35073240f7f11bd56e5a6cfd768 [2022-11-07T05:07:45.685Z] $ docker rm -f c346af1227ae181f01cf9e0a3bd23c2ad7fce35073240f7f11bd56e5a6cfd768 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:07:46.413Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T05:07:46.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:07:46.558Z] prd-ubuntu20.04-docker-8c-8g-118388 does not seem to be running inside a container [2022-11-07T05:07:46.593Z] $ 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-202 -v /w/workspace/gexfoundry_device-snmp-go_PR-202:/w/workspace/gexfoundry_device-snmp-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-202@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-202@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 [2022-11-07T05:07:46.945Z] $ docker top 0adc1730530e43cb934047d3050f0a143dc9190942f1a1338f5932c5bd322657 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:07:47.344Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-202 [Pipeline] fileExists [Pipeline] sh [2022-11-07T05:07:47.704Z] + make test [2022-11-07T05:07:47.704Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T05:07:47.961Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-07T05:07:57.931Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-07T05:07:57.931Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2022-11-07T05:08:02.109Z] 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." [2022-11-07T05:08:02.109Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T05:08:05.387Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T05:08:05.387Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T05:08:05.387Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T05:08:05.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T05:08:05.462Z] $ docker stop --time=1 0adc1730530e43cb934047d3050f0a143dc9190942f1a1338f5932c5bd322657 [2022-11-07T05:08:07.410Z] $ docker rm -f 0adc1730530e43cb934047d3050f0a143dc9190942f1a1338f5932c5bd322657 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T05:08:07.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T05:08:08.016Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T05:08:08.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T05:08:08.911Z] + ls -al . [2022-11-07T05:08:08.911Z] total 180 [2022-11-07T05:08:08.911Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 05:07 . [2022-11-07T05:08:08.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:06 .. [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 05:06 .dockerignore [2022-11-07T05:08:08.911Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:07 .git [2022-11-07T05:08:08.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:06 .github [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 7 05:06 .gitignore [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:06 .golangci.yml [2022-11-07T05:08:08.911Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:07 .semver [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 7 05:06 Attribution.txt [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 7 05:06 CHANGELOG.md [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 7 05:06 Dockerfile [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:06 GOVERNANCE.md [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 05:06 Jenkinsfile [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:06 LICENSE [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 7 05:06 Makefile [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 05:06 OWNERS.md [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 7 05:06 README.md [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION [2022-11-07T05:08:08.911Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:06 bin [2022-11-07T05:08:08.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:06 cmd [2022-11-07T05:08:08.911Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 7 05:07 coverage.out [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 3455 Nov 7 05:06 go.mod [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 45055 Nov 7 05:06 go.sum [2022-11-07T05:08:08.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:06 internal [2022-11-07T05:08:08.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:06 snap [2022-11-07T05:08:08.911Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:08:09.307Z] + 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=c58b7341f509cbddffe81d7970e552277f2ed571 --label arch=amd64 --label version=0.0.0 . [2022-11-07T05:08:09.307Z] Sending build context to Docker daemon 5.589MB [2022-11-07T05:08:09.307Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:08:09.307Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T05:08:09.307Z] ---> e05f9e3b8164 [2022-11-07T05:08:09.307Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:08:09.307Z] ---> Running in 062502deccbf [2022-11-07T05:08:09.567Z] Removing intermediate container 062502deccbf [2022-11-07T05:08:09.567Z] ---> 247a63765f4e [2022-11-07T05:08:09.567Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:08:09.567Z] ---> Running in d0eaaf241b3b [2022-11-07T05:08:09.567Z] Removing intermediate container d0eaaf241b3b [2022-11-07T05:08:09.567Z] ---> 62bc3e2173c3 [2022-11-07T05:08:09.567Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T05:08:09.567Z] ---> Running in 9284850e3aa6 [2022-11-07T05:08:09.828Z] Removing intermediate container 9284850e3aa6 [2022-11-07T05:08:09.828Z] ---> 58abaec086fd [2022-11-07T05:08:09.828Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T05:08:09.828Z] ---> Running in 195113d7d41c [2022-11-07T05:08:09.828Z] Removing intermediate container 195113d7d41c [2022-11-07T05:08:09.828Z] ---> ac34c0717d40 [2022-11-07T05:08:09.828Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T05:08:09.828Z] ---> Running in 1a0ab7e9b8c6 [2022-11-07T05:08:10.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T05:08:10.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T05:08:10.343Z] OK: 216 MiB in 55 packages [2022-11-07T05:08:10.602Z] Removing intermediate container 1a0ab7e9b8c6 [2022-11-07T05:08:10.602Z] ---> 49f4cd541d02 [2022-11-07T05:08:10.602Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-07T05:08:10.861Z] ---> Running in 2053dd6d3bea [2022-11-07T05:08:10.861Z] Removing intermediate container 2053dd6d3bea [2022-11-07T05:08:10.861Z] ---> b581574c15b2 [2022-11-07T05:08:10.861Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T05:08:11.120Z] ---> ebfaf43bf313 [2022-11-07T05:08:11.120Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:08:11.120Z] ---> Running in a9bc0d4ebf60 [2022-11-07T05:08:11.688Z] Removing intermediate container a9bc0d4ebf60 [2022-11-07T05:08:11.688Z] ---> 483240cf5f09 [2022-11-07T05:08:11.688Z] Step 11/24 : COPY . . [2022-11-07T05:08:11.946Z] ---> e4180ae22d98 [2022-11-07T05:08:11.946Z] Step 12/24 : RUN ${MAKE} [2022-11-07T05:08:11.946Z] ---> Running in 3bf9aba5c00d [2022-11-07T05:08:12.205Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-07T05:08:34.131Z] Removing intermediate container 3bf9aba5c00d [2022-11-07T05:08:34.131Z] ---> 0c92036a774f [2022-11-07T05:08:34.131Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T05:08:34.131Z] 3.16: Pulling from library/alpine [2022-11-07T05:08:34.131Z] 213ec9aee27d: Already exists [2022-11-07T05:08:34.131Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T05:08:34.131Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T05:08:34.131Z] ---> 9c6f07244728 [2022-11-07T05:08:34.131Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T05:08:34.131Z] ---> Running in 8dbe2e13eb68 [2022-11-07T05:08:34.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T05:08:34.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T05:08:34.131Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T05:08:34.131Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T05:08:34.131Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T05:08:34.131Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T05:08:34.131Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T05:08:34.131Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T05:08:34.131Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:08:34.131Z] OK: 8 MiB in 20 packages [2022-11-07T05:08:34.131Z] Removing intermediate container 8dbe2e13eb68 [2022-11-07T05:08:34.131Z] ---> 8b8d8e55b72a [2022-11-07T05:08:34.131Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-07T05:08:34.131Z] ---> 888d02ba9ad7 [2022-11-07T05:08:34.131Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-07T05:08:34.131Z] ---> a0204bc24ee9 [2022-11-07T05:08:34.131Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-07T05:08:34.131Z] ---> 38dd236d1a3f [2022-11-07T05:08:34.131Z] Step 18/24 : EXPOSE 59993 [2022-11-07T05:08:34.131Z] ---> Running in 82c365d5a8fe [2022-11-07T05:08:34.131Z] Removing intermediate container 82c365d5a8fe [2022-11-07T05:08:34.131Z] ---> 097f869cc022 [2022-11-07T05:08:34.131Z] Step 19/24 : EXPOSE 161 [2022-11-07T05:08:34.131Z] ---> Running in 7d21e5fa1e47 [2022-11-07T05:08:34.131Z] Removing intermediate container 7d21e5fa1e47 [2022-11-07T05:08:34.131Z] ---> 4204fe7826ef [2022-11-07T05:08:34.131Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-07T05:08:34.131Z] ---> Running in 957be308e480 [2022-11-07T05:08:34.131Z] Removing intermediate container 957be308e480 [2022-11-07T05:08:34.131Z] ---> 8b244baadb1c [2022-11-07T05:08:34.131Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-07T05:08:34.131Z] ---> Running in 040e28779987 [2022-11-07T05:08:34.131Z] Removing intermediate container 040e28779987 [2022-11-07T05:08:34.131Z] ---> 4b56d69889f6 [2022-11-07T05:08:34.131Z] Step 22/24 : LABEL arch=amd64 [2022-11-07T05:08:34.391Z] ---> Running in 264cd4ce6e3a [2022-11-07T05:08:34.391Z] Removing intermediate container 264cd4ce6e3a [2022-11-07T05:08:34.391Z] ---> aff7b34e9e6b [2022-11-07T05:08:34.391Z] Step 23/24 : LABEL git_sha=c58b7341f509cbddffe81d7970e552277f2ed571 [2022-11-07T05:08:34.391Z] ---> Running in a9a86c4b50c1 [2022-11-07T05:08:34.391Z] Removing intermediate container a9a86c4b50c1 [2022-11-07T05:08:34.391Z] ---> f0bf8c7e0fa6 [2022-11-07T05:08:34.391Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T05:08:34.650Z] ---> Running in e4701850e96d [2022-11-07T05:08:34.650Z] Removing intermediate container e4701850e96d [2022-11-07T05:08:34.650Z] ---> 6fa08a2e4796 [2022-11-07T05:08:34.650Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T05:08:34.650Z] Successfully built 6fa08a2e4796 [2022-11-07T05:08:34.650Z] 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 [2022-11-07T05:08:35.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:08:35.648Z] [2022-11-07T05:08:35.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:08:36.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:08:36.022Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T05:08:36.022Z] 5eb5b503b376: Pulling fs layer [2022-11-07T05:08:36.022Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T05:08:36.022Z] ec43610c2a17: Pulling fs layer [2022-11-07T05:08:36.022Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T05:08:36.022Z] 33b1e0a273af: Pulling fs layer [2022-11-07T05:08:36.022Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T05:08:36.022Z] 2f39f015ded8: Pulling fs layer [2022-11-07T05:08:36.022Z] 33b1e0a273af: Waiting [2022-11-07T05:08:36.022Z] 5d3b04190fa2: Waiting [2022-11-07T05:08:36.022Z] 2f39f015ded8: Waiting [2022-11-07T05:08:36.022Z] 3a2ae6a8a46f: Waiting [2022-11-07T05:08:36.022Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T05:08:36.022Z] 5c69ac0246d0: Download complete [2022-11-07T05:08:36.022Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T05:08:36.022Z] 3a2ae6a8a46f: Download complete [2022-11-07T05:08:36.285Z] 33b1e0a273af: Verifying Checksum [2022-11-07T05:08:36.285Z] 33b1e0a273af: Download complete [2022-11-07T05:08:36.285Z] ec43610c2a17: Verifying Checksum [2022-11-07T05:08:36.285Z] ec43610c2a17: Download complete [2022-11-07T05:08:36.285Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T05:08:36.285Z] 5d3b04190fa2: Download complete [2022-11-07T05:08:36.285Z] 5eb5b503b376: Verifying Checksum [2022-11-07T05:08:36.285Z] 5eb5b503b376: Download complete [2022-11-07T05:08:37.251Z] 2f39f015ded8: Download complete [2022-11-07T05:08:37.511Z] 5eb5b503b376: Pull complete [2022-11-07T05:08:37.511Z] 5c69ac0246d0: Pull complete [2022-11-07T05:08:38.077Z] ec43610c2a17: Pull complete [2022-11-07T05:08:38.077Z] 3a2ae6a8a46f: Pull complete [2022-11-07T05:08:38.077Z] 33b1e0a273af: Pull complete [2022-11-07T05:08:38.335Z] 5d3b04190fa2: Pull complete [2022-11-07T05:08:42.518Z] 2f39f015ded8: Pull complete [2022-11-07T05:08:42.518Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T05:08:42.518Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:08:42.518Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:08:42.752Z] prd-ubuntu20.04-docker-8c-8g-118388 does not seem to be running inside a container [2022-11-07T05:08:42.778Z] $ 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-202 -v /w/workspace/gexfoundry_device-snmp-go_PR-202:/w/workspace/gexfoundry_device-snmp-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-202@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-202@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 [2022-11-07T05:08:44.974Z] $ docker top 881c10087e30ed51749a0553e28455c88225bd6b0d79e89610b0ca7609bef45e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:08:45.416Z] ---> job-cost.sh [2022-11-07T05:08:45.416Z] lf-activate-venv: SKIPPING [2022-11-07T05:08:45.416Z] INFO: No Stack... [2022-11-07T05:08:45.675Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T05:08:45.935Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T05:08:46.248Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-202/archives/cost.csv [2022-11-07T05:08:46.248Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T05:08:46.290Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-202-1-stack-cost] [2022-11-07T05:08:46.296Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-202-1-stack-cost] did not exist. Created. [2022-11-07T05:08:46.296Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T05:08:46.701Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T05:08:46.752Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T05:08:46.777Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T05:08:46.856Z] $ docker stop --time=1 881c10087e30ed51749a0553e28455c88225bd6b0d79e89610b0ca7609bef45e [2022-11-07T05:08:48.013Z] $ docker rm -f 881c10087e30ed51749a0553e28455c88225bd6b0d79e89610b0ca7609bef45e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T05:10:11.660Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118393 in /w/workspace/gexfoundry_device-snmp-go_PR-202 [Pipeline] { [Pipeline] ws [2022-11-07T05:10:11.704Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-11-07T05:10:11.781Z] Selected Git installation does not exist. Using Default [2022-11-07T05:10:11.781Z] The recommended git tool is: NONE [2022-11-07T05:10:17.857Z] using credential edgex-jenkins-ssh [2022-11-07T05:10:17.875Z] Cloning the remote Git repository [2022-11-07T05:10:17.922Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-11-07T05:10:18.004Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-11-07T05:10:18.166Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-07T05:10:18.167Z] > git --version # timeout=10 [2022-11-07T05:10:18.189Z] > git --version # 'git version 2.25.1' [2022-11-07T05:10:18.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T05:10:18.243Z] Verifying host key using known hosts file [2022-11-07T05:10:18.462Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T05:10:18.487Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T05:10:19.685Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-07T05:10:19.710Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T05:10:21.483Z] Merging remotes/origin/main commit cc201530981e513eba2542fa850395c651a4a8aa into PR head commit c58b7341f509cbddffe81d7970e552277f2ed571 [2022-11-07T05:10:21.741Z] Merge succeeded, producing c58b7341f509cbddffe81d7970e552277f2ed571 [2022-11-07T05:10:21.741Z] Checking out Revision c58b7341f509cbddffe81d7970e552277f2ed571 (PR-202) [2022-11-07T05:10:20.812Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-11-07T05:10:20.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-11-07T05:10:20.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T05:10:20.872Z] Verifying host key using known hosts file [2022-11-07T05:10:20.880Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T05:10:20.896Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T05:10:21.503Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T05:10:21.524Z] > git checkout -f c58b7341f509cbddffe81d7970e552277f2ed571 # timeout=10 [2022-11-07T05:10:21.625Z] > git remote # timeout=10 [2022-11-07T05:10:21.646Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T05:10:21.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T05:10:21.669Z] Verifying host key using known hosts file [2022-11-07T05:10:21.674Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T05:10:21.687Z] > git merge cc201530981e513eba2542fa850395c651a4a8aa # timeout=10 [2022-11-07T05:10:21.718Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T05:10:21.745Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T05:10:21.767Z] > git checkout -f c58b7341f509cbddffe81d7970e552277f2ed571 # timeout=10 [2022-11-07T05:10:22.301Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-11-07T05:10:22.355Z] > git --version # timeout=10 [2022-11-07T05:10:22.369Z] > git --version # 'git version 2.25.1' [2022-11-07T05:10:22.393Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T05:10:23.463Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T05:10:23.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T05:10:23.463Z] Dload Upload Total Spent Left Speed [2022-11-07T05:10:23.463Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-11-07T05:10:24.060Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T05:10:24.410Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T05:10:24.410Z] + sudo tee /etc/docker/daemon.new [2022-11-07T05:10:24.410Z] { [2022-11-07T05:10:24.410Z] "registry-mirrors": [ [2022-11-07T05:10:24.410Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T05:10:24.410Z] ], [2022-11-07T05:10:24.410Z] "bip": "10.250.0.254/24", [2022-11-07T05:10:24.410Z] "hosts": [ [2022-11-07T05:10:24.410Z] "tcp://0.0.0.0:5555", [2022-11-07T05:10:24.410Z] "unix:///var/run/docker.sock" [2022-11-07T05:10:24.410Z] ], [2022-11-07T05:10:24.410Z] "mtu": 1458, [2022-11-07T05:10:24.410Z] "selinux-enabled": true, [2022-11-07T05:10:24.410Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T05:10:24.410Z] } [Pipeline] sh [2022-11-07T05:10:24.757Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T05:10:25.099Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T05:10:43.625Z] provisioning config files... [2022-11-07T05:10:43.660Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2606989583665199731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:10:44.063Z] ---> docker-login.sh [2022-11-07T05:10:44.063Z] nexus3.edgexfoundry.org:10001 [2022-11-07T05:10:44.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:10:44.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:10:44.655Z] Configure a credential helper to remove this warning. See [2022-11-07T05:10:44.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:10:44.655Z] [2022-11-07T05:10:44.655Z] Login Succeeded [2022-11-07T05:10:44.655Z] nexus3.edgexfoundry.org:10002 [2022-11-07T05:10:44.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:10:45.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:10:45.194Z] Configure a credential helper to remove this warning. See [2022-11-07T05:10:45.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:10:45.194Z] [2022-11-07T05:10:45.194Z] Login Succeeded [2022-11-07T05:10:45.194Z] nexus3.edgexfoundry.org:10003 [2022-11-07T05:10:45.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:10:45.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:10:45.464Z] Configure a credential helper to remove this warning. See [2022-11-07T05:10:45.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:10:45.464Z] [2022-11-07T05:10:45.464Z] Login Succeeded [2022-11-07T05:10:45.464Z] nexus3.edgexfoundry.org:10004 [2022-11-07T05:10:45.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:10:45.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:10:45.745Z] Configure a credential helper to remove this warning. See [2022-11-07T05:10:45.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:10:45.745Z] [2022-11-07T05:10:45.745Z] Login Succeeded [2022-11-07T05:10:45.745Z] docker.io [2022-11-07T05:10:46.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T05:10:46.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T05:10:46.605Z] Configure a credential helper to remove this warning. See [2022-11-07T05:10:46.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T05:10:46.605Z] [2022-11-07T05:10:46.605Z] Login Succeeded [2022-11-07T05:10:46.605Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T05:10:46.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T05:10:46.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:10:46.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T05:10:46.994Z] ========================================================= [2022-11-07T05:10:46.994Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T05:10:46.994Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:10:47.495Z] + 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 . [2022-11-07T05:10:47.765Z] Sending build context to Docker daemon 2.886MB [2022-11-07T05:10:47.765Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:10:47.765Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T05:10:48.037Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T05:10:48.037Z] 9b18e9b68314: Pulling fs layer [2022-11-07T05:10:48.037Z] 35d82f9e3411: Pulling fs layer [2022-11-07T05:10:48.037Z] e16973657156: Pulling fs layer [2022-11-07T05:10:48.037Z] fc693d55d65f: Pulling fs layer [2022-11-07T05:10:48.037Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T05:10:48.037Z] dda99020689f: Pulling fs layer [2022-11-07T05:10:48.037Z] fc693d55d65f: Waiting [2022-11-07T05:10:48.037Z] 7e9fc2657dce: Waiting [2022-11-07T05:10:48.037Z] dda99020689f: Waiting [2022-11-07T05:10:48.037Z] db1c61fa0a46: Pulling fs layer [2022-11-07T05:10:48.037Z] 891c053d2c06: Pulling fs layer [2022-11-07T05:10:48.037Z] db1c61fa0a46: Waiting [2022-11-07T05:10:48.037Z] 891c053d2c06: Waiting [2022-11-07T05:10:48.037Z] e16973657156: Verifying Checksum [2022-11-07T05:10:48.037Z] e16973657156: Download complete [2022-11-07T05:10:48.037Z] 35d82f9e3411: Verifying Checksum [2022-11-07T05:10:48.037Z] 35d82f9e3411: Download complete [2022-11-07T05:10:48.037Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T05:10:48.037Z] 7e9fc2657dce: Download complete [2022-11-07T05:10:48.037Z] dda99020689f: Verifying Checksum [2022-11-07T05:10:48.037Z] dda99020689f: Download complete [2022-11-07T05:10:48.037Z] 9b18e9b68314: Verifying Checksum [2022-11-07T05:10:48.037Z] 9b18e9b68314: Download complete [2022-11-07T05:10:49.184Z] 9b18e9b68314: Pull complete [2022-11-07T05:10:49.184Z] 891c053d2c06: Verifying Checksum [2022-11-07T05:10:49.184Z] 891c053d2c06: Download complete [2022-11-07T05:10:49.924Z] 35d82f9e3411: Pull complete [2022-11-07T05:10:50.327Z] e16973657156: Pull complete [2022-11-07T05:10:50.935Z] db1c61fa0a46: Verifying Checksum [2022-11-07T05:10:50.935Z] db1c61fa0a46: Download complete [2022-11-07T05:10:51.533Z] fc693d55d65f: Verifying Checksum [2022-11-07T05:10:51.533Z] fc693d55d65f: Download complete [2022-11-07T05:11:03.880Z] fc693d55d65f: Pull complete [2022-11-07T05:11:04.154Z] 7e9fc2657dce: Pull complete [2022-11-07T05:11:04.430Z] dda99020689f: Pull complete [2022-11-07T05:11:11.124Z] db1c61fa0a46: Pull complete [2022-11-07T05:11:13.078Z] 891c053d2c06: Pull complete [2022-11-07T05:11:13.078Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T05:11:13.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T05:11:13.078Z] ---> f96f9c87975a [2022-11-07T05:11:13.078Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:11:15.669Z] ---> Running in 5a7b957c0532 [2022-11-07T05:11:15.669Z] Removing intermediate container 5a7b957c0532 [2022-11-07T05:11:15.669Z] ---> 45fb9c0d35d5 [2022-11-07T05:11:15.669Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:11:15.669Z] ---> Running in 2dc56816c3b7 [2022-11-07T05:11:15.939Z] Removing intermediate container 2dc56816c3b7 [2022-11-07T05:11:15.939Z] ---> af78b032a77f [2022-11-07T05:11:15.939Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T05:11:16.211Z] ---> Running in 8e3c89d01ea1 [2022-11-07T05:11:16.485Z] Removing intermediate container 8e3c89d01ea1 [2022-11-07T05:11:16.485Z] ---> 27177fdc31c4 [2022-11-07T05:11:16.485Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T05:11:16.485Z] ---> Running in e89430c02aa0 [2022-11-07T05:11:17.074Z] Removing intermediate container e89430c02aa0 [2022-11-07T05:11:17.074Z] ---> b1a29e26aac8 [2022-11-07T05:11:17.074Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T05:11:17.074Z] ---> Running in aaf2dfbf3f51 [2022-11-07T05:11:18.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T05:11:18.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T05:11:19.733Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T05:11:19.733Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T05:11:19.733Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T05:11:20.003Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T05:11:20.003Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:11:20.003Z] OK: 226 MiB in 55 packages [2022-11-07T05:11:20.971Z] Removing intermediate container aaf2dfbf3f51 [2022-11-07T05:11:20.971Z] ---> 6825b31a43b4 [2022-11-07T05:11:20.971Z] Step 8/12 : WORKDIR /device-snmp-go [2022-11-07T05:11:21.239Z] ---> Running in 7692a19b0f14 [2022-11-07T05:11:21.510Z] Removing intermediate container 7692a19b0f14 [2022-11-07T05:11:21.510Z] ---> 2c177c7a9c4e [2022-11-07T05:11:21.510Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T05:11:22.101Z] ---> e8bad5e815e0 [2022-11-07T05:11:22.102Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:11:22.102Z] ---> Running in b3ee89d8bddb [2022-11-07T05:12:18.547Z] Removing intermediate container b3ee89d8bddb [2022-11-07T05:12:18.547Z] ---> 89f039631f94 [2022-11-07T05:12:18.547Z] Step 11/12 : COPY . . [2022-11-07T05:12:18.547Z] ---> 13c6b56befb1 [2022-11-07T05:12:18.547Z] Step 12/12 : RUN ${MAKE} [2022-11-07T05:12:18.547Z] ---> Running in 49eb151cbe33 [2022-11-07T05:12:18.547Z] noop [2022-11-07T05:12:18.813Z] Removing intermediate container 49eb151cbe33 [2022-11-07T05:12:18.813Z] ---> 817a87884efd [2022-11-07T05:12:18.813Z] Successfully built 817a87884efd [2022-11-07T05:12:18.813Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:12:19.272Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T05:12:19.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:12:19.538Z] prd-ubuntu20.04-docker-arm64-4c-16g-118393 does not seem to be running inside a container [2022-11-07T05:12:19.604Z] $ 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 [2022-11-07T05:12:20.801Z] $ docker top 929055b44d81ac1f2bb10030e59790b2244a11e6cf33b4e9fdd69bb21c002220 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:12:21.681Z] + go version [2022-11-07T05:12:21.681Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T05:12:21.713Z] $ docker stop --time=1 929055b44d81ac1f2bb10030e59790b2244a11e6cf33b4e9fdd69bb21c002220 [2022-11-07T05:12:23.341Z] $ docker rm -f 929055b44d81ac1f2bb10030e59790b2244a11e6cf33b4e9fdd69bb21c002220 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:12:24.191Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T05:12:24.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:12:24.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-118393 does not seem to be running inside a container [2022-11-07T05:12:24.519Z] $ 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 [2022-11-07T05:12:25.697Z] $ docker top 1034bb41d78e96f68cb9ae78e91d1349e4a2f49f94e45055e7e3526e8b4c35ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:12:26.584Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T05:12:26.965Z] + make test [2022-11-07T05:12:26.965Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T05:12:29.554Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-11-07T05:14:06.224Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-11-07T05:14:06.224Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2022-11-07T05:14:06.224Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T05:14:06.224Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T05:14:16.311Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T05:14:16.311Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T05:14:16.311Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T05:14:16.931Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T05:14:16.962Z] $ docker stop --time=1 1034bb41d78e96f68cb9ae78e91d1349e4a2f49f94e45055e7e3526e8b4c35ff [2022-11-07T05:14:18.735Z] $ docker rm -f 1034bb41d78e96f68cb9ae78e91d1349e4a2f49f94e45055e7e3526e8b4c35ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T05:14:19.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T05:14:19.809Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T05:14:20.232Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T05:14:20.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T05:14:21.147Z] + ls -al . [2022-11-07T05:14:21.147Z] total 176 [2022-11-07T05:14:21.147Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:12 . [2022-11-07T05:14:21.147Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:10 .. [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 7 05:10 .dockerignore [2022-11-07T05:14:21.147Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:10 .git [2022-11-07T05:14:21.147Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 .github [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 328 Nov 7 05:10 .gitignore [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:10 .golangci.yml [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 8932 Nov 7 05:10 Attribution.txt [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 8355 Nov 7 05:10 CHANGELOG.md [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 1486 Nov 7 05:10 Dockerfile [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:10 GOVERNANCE.md [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 7 05:10 Jenkinsfile [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:10 LICENSE [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 2543 Nov 7 05:10 Makefile [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 05:10 OWNERS.md [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 10054 Nov 7 05:10 README.md [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:07 VERSION [2022-11-07T05:14:21.147Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:10 bin [2022-11-07T05:14:21.147Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 cmd [2022-11-07T05:14:21.147Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 7 05:13 coverage.out [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 3455 Nov 7 05:10 go.mod [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 45055 Nov 7 05:10 go.sum [2022-11-07T05:14:21.147Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 internal [2022-11-07T05:14:21.147Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:10 snap [2022-11-07T05:14:21.147Z] -rw-rw-r-- 1 jenkins jenkins 228 Nov 7 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:14:21.550Z] + 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=c58b7341f509cbddffe81d7970e552277f2ed571 --label arch=arm64 --label version=0.0.0 . [2022-11-07T05:14:21.817Z] Sending build context to Docker daemon 2.894MB [2022-11-07T05:14:21.817Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T05:14:21.817Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T05:14:21.817Z] ---> 817a87884efd [2022-11-07T05:14:21.817Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T05:14:21.817Z] ---> Running in acc3029400ab [2022-11-07T05:14:22.093Z] Removing intermediate container acc3029400ab [2022-11-07T05:14:22.093Z] ---> 8c8bb547e857 [2022-11-07T05:14:22.093Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T05:14:22.361Z] ---> Running in f9447335ade8 [2022-11-07T05:14:22.628Z] Removing intermediate container f9447335ade8 [2022-11-07T05:14:22.628Z] ---> cbabcd5e8542 [2022-11-07T05:14:22.628Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T05:14:22.628Z] ---> Running in 822263bb4ffa [2022-11-07T05:14:22.896Z] Removing intermediate container 822263bb4ffa [2022-11-07T05:14:22.896Z] ---> f3a12fe4e88a [2022-11-07T05:14:22.896Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T05:14:22.896Z] ---> Running in ec4e8804e63c [2022-11-07T05:14:23.166Z] Removing intermediate container ec4e8804e63c [2022-11-07T05:14:23.166Z] ---> 80e94849a81e [2022-11-07T05:14:23.166Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T05:14:23.435Z] ---> Running in 80c5bca38019 [2022-11-07T05:14:24.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T05:14:24.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T05:14:26.090Z] OK: 226 MiB in 55 packages [2022-11-07T05:14:27.059Z] Removing intermediate container 80c5bca38019 [2022-11-07T05:14:27.059Z] ---> 6ee937ee87d5 [2022-11-07T05:14:27.059Z] Step 8/24 : WORKDIR /device-snmp-go [2022-11-07T05:14:27.059Z] ---> Running in d4e76a8b10e5 [2022-11-07T05:14:27.328Z] Removing intermediate container d4e76a8b10e5 [2022-11-07T05:14:27.328Z] ---> d3bed3d85510 [2022-11-07T05:14:27.329Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T05:14:28.304Z] ---> 06f808baf347 [2022-11-07T05:14:28.304Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T05:14:28.304Z] ---> Running in ce370d201be8 [2022-11-07T05:14:30.898Z] Removing intermediate container ce370d201be8 [2022-11-07T05:14:30.898Z] ---> 7628cb2fa6b5 [2022-11-07T05:14:30.898Z] Step 11/24 : COPY . . [2022-11-07T05:14:31.863Z] ---> 73a2a41811b2 [2022-11-07T05:14:31.863Z] Step 12/24 : RUN ${MAKE} [2022-11-07T05:14:32.132Z] ---> Running in f96ec9f26313 [2022-11-07T05:14:34.721Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-11-07T05:17:26.524Z] Removing intermediate container f96ec9f26313 [2022-11-07T05:17:26.524Z] ---> 0001a56d9fcb [2022-11-07T05:17:26.524Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T05:17:26.524Z] 3.16: Pulling from library/alpine [2022-11-07T05:17:26.524Z] 9b18e9b68314: Already exists [2022-11-07T05:17:26.524Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T05:17:26.524Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T05:17:26.524Z] ---> a6215f271958 [2022-11-07T05:17:26.524Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T05:17:26.524Z] ---> Running in 836c908d106c [2022-11-07T05:17:26.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T05:17:26.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T05:17:26.524Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T05:17:26.524Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T05:17:26.524Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T05:17:26.524Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T05:17:26.524Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T05:17:26.524Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T05:17:26.524Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T05:17:26.524Z] OK: 8 MiB in 20 packages [2022-11-07T05:17:26.524Z] Removing intermediate container 836c908d106c [2022-11-07T05:17:26.524Z] ---> f8dbb10298a1 [2022-11-07T05:17:26.524Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-11-07T05:17:26.524Z] ---> eaddda063478 [2022-11-07T05:17:26.524Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-11-07T05:17:26.524Z] ---> 0438286e6891 [2022-11-07T05:17:26.524Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-11-07T05:17:26.524Z] ---> bacadd1e7e31 [2022-11-07T05:17:26.524Z] Step 18/24 : EXPOSE 59993 [2022-11-07T05:17:26.524Z] ---> Running in 370a5de52890 [2022-11-07T05:17:26.524Z] Removing intermediate container 370a5de52890 [2022-11-07T05:17:26.524Z] ---> bcb67b6d6b22 [2022-11-07T05:17:26.524Z] Step 19/24 : EXPOSE 161 [2022-11-07T05:17:26.524Z] ---> Running in a1e107d0b909 [2022-11-07T05:17:26.524Z] Removing intermediate container a1e107d0b909 [2022-11-07T05:17:26.524Z] ---> 2e3038623f10 [2022-11-07T05:17:26.524Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-11-07T05:17:26.524Z] ---> Running in 751dfd7750e6 [2022-11-07T05:17:26.524Z] Removing intermediate container 751dfd7750e6 [2022-11-07T05:17:26.524Z] ---> 49a280ef9768 [2022-11-07T05:17:26.524Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-07T05:17:26.524Z] ---> Running in 862ed5823a60 [2022-11-07T05:17:26.524Z] Removing intermediate container 862ed5823a60 [2022-11-07T05:17:26.524Z] ---> 99d75912590e [2022-11-07T05:17:26.524Z] Step 22/24 : LABEL arch=arm64 [2022-11-07T05:17:26.524Z] ---> Running in bdf6e7d747c5 [2022-11-07T05:17:26.524Z] Removing intermediate container bdf6e7d747c5 [2022-11-07T05:17:26.524Z] ---> 00dad00bf6d7 [2022-11-07T05:17:26.524Z] Step 23/24 : LABEL git_sha=c58b7341f509cbddffe81d7970e552277f2ed571 [2022-11-07T05:17:26.524Z] ---> Running in b8cfe22f077d [2022-11-07T05:17:26.524Z] Removing intermediate container b8cfe22f077d [2022-11-07T05:17:26.524Z] ---> 0230a307720c [2022-11-07T05:17:26.524Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T05:17:26.524Z] ---> Running in 6475c6c269fc [2022-11-07T05:17:26.524Z] Removing intermediate container 6475c6c269fc [2022-11-07T05:17:26.524Z] ---> 21d561e68b8d [2022-11-07T05:17:26.524Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T05:17:26.524Z] Successfully built 21d561e68b8d [2022-11-07T05:17:26.524Z] 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 [2022-11-07T05:17:27.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T05:17:27.334Z] [2022-11-07T05:17:27.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:17:27.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T05:17:27.730Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T05:17:27.730Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T05:17:27.730Z] 04944245beec: Pulling fs layer [2022-11-07T05:17:27.730Z] 699f458cf7ca: Pulling fs layer [2022-11-07T05:17:27.730Z] 765212b225bb: Pulling fs layer [2022-11-07T05:17:27.730Z] f23df028b6ca: Pulling fs layer [2022-11-07T05:17:27.730Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T05:17:27.730Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T05:17:27.730Z] f23df028b6ca: Waiting [2022-11-07T05:17:27.730Z] d65c8cfc05b1: Waiting [2022-11-07T05:17:27.730Z] 2437ff75d9bd: Waiting [2022-11-07T05:17:27.730Z] 765212b225bb: Waiting [2022-11-07T05:17:27.998Z] 04944245beec: Verifying Checksum [2022-11-07T05:17:27.998Z] 04944245beec: Download complete [2022-11-07T05:17:27.998Z] 765212b225bb: Verifying Checksum [2022-11-07T05:17:27.998Z] 765212b225bb: Download complete [2022-11-07T05:17:27.998Z] f23df028b6ca: Verifying Checksum [2022-11-07T05:17:27.998Z] f23df028b6ca: Download complete [2022-11-07T05:17:27.998Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T05:17:27.998Z] d65c8cfc05b1: Download complete [2022-11-07T05:17:27.998Z] 699f458cf7ca: Verifying Checksum [2022-11-07T05:17:27.998Z] 699f458cf7ca: Download complete [2022-11-07T05:17:28.577Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T05:17:28.578Z] 8998bd30e6a1: Download complete [2022-11-07T05:17:30.534Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T05:17:30.534Z] 2437ff75d9bd: Download complete [2022-11-07T05:17:31.942Z] 8998bd30e6a1: Pull complete [2022-11-07T05:17:32.522Z] 04944245beec: Pull complete [2022-11-07T05:17:33.478Z] 699f458cf7ca: Pull complete [2022-11-07T05:17:33.747Z] 765212b225bb: Pull complete [2022-11-07T05:17:34.329Z] f23df028b6ca: Pull complete [2022-11-07T05:17:34.596Z] d65c8cfc05b1: Pull complete [2022-11-07T05:17:46.907Z] 2437ff75d9bd: Pull complete [2022-11-07T05:17:46.907Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T05:17:46.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T05:17:46.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:17:47.226Z] prd-ubuntu20.04-docker-arm64-4c-16g-118393 does not seem to be running inside a container [2022-11-07T05:17:47.288Z] $ 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 [2022-11-07T05:17:49.858Z] $ docker top 3e2c6d5cad79989b716396552f03f86be0455a2641ecb8ba2b34005b7b4484e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:17:50.787Z] ---> job-cost.sh [2022-11-07T05:17:50.787Z] lf-activate-venv: SKIPPING [2022-11-07T05:17:50.787Z] INFO: No Stack... [2022-11-07T05:17:51.054Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T05:17:52.019Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T05:17:52.367Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-11-07T05:17:52.638Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T05:17:52.729Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-202-1-stack-cost] [2022-11-07T05:17:52.734Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-202-1-stack-cost] did not exist. Created. [2022-11-07T05:17:52.734Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T05:17:53.143Z] /w/workspace/device-snmp-go/1@tmp/durable-541d1728/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T05:17:53.491Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T05:17:53.789Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T05:17:53.834Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T05:17:53.848Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T05:17:53.934Z] $ docker stop --time=1 3e2c6d5cad79989b716396552f03f86be0455a2641ecb8ba2b34005b7b4484e5 [2022-11-07T05:17:55.424Z] $ docker rm -f 3e2c6d5cad79989b716396552f03f86be0455a2641ecb8ba2b34005b7b4484e5 [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 [2022-11-07T05:17:56.443Z] provisioning config files... [2022-11-07T05:17:56.450Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-202@tmp/config4476871892373025163tmp [Pipeline] { [Pipeline] sh [2022-11-07T05:17:56.786Z] + set +x [2022-11-07T05:17:56.786Z] + bash -s -- [2022-11-07T05:17:56.786Z] + curl -s https://codecov.io/bash [2022-11-07T05:17:56.786Z] [2022-11-07T05:17:56.786Z] _____ _ [2022-11-07T05:17:56.786Z] / ____| | | [2022-11-07T05:17:56.786Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T05:17:56.786Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T05:17:56.786Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T05:17:56.786Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T05:17:56.786Z] Bash-1.0.6 [2022-11-07T05:17:56.786Z] [2022-11-07T05:17:56.786Z] [2022-11-07T05:17:56.786Z] ==> git version 2.25.1 found [2022-11-07T05:17:56.786Z] ==> 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 [2022-11-07T05:17:56.786Z] Release-Date: 2020-01-08 [2022-11-07T05:17:56.786Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-07T05:17:56.786Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T05:17:56.786Z] ==> Jenkins CI detected. [2022-11-07T05:17:56.786Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-202 [2022-11-07T05:17:56.786Z] project root: . [2022-11-07T05:17:56.786Z] --> token set from env [2022-11-07T05:17:56.786Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T05:17:56.786Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T05:17:56.786Z] ==> Python coveragepy not found [2022-11-07T05:17:56.786Z] ==> Searching for coverage reports in: [2022-11-07T05:17:56.786Z] + . [2022-11-07T05:17:56.786Z] -> Found 1 reports [2022-11-07T05:17:56.786Z] ==> Detecting git/mercurial file structure [2022-11-07T05:17:56.786Z] ==> Reading reports [2022-11-07T05:17:56.786Z] + ./coverage.out bytes=7631 [2022-11-07T05:17:56.786Z] ==> Appending adjustments [2022-11-07T05:17:56.786Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T05:17:56.786Z] + Found adjustments [2022-11-07T05:17:57.045Z] ==> Gzipping contents [2022-11-07T05:17:57.045Z] 4.0K /tmp/codecov.oOuS2X.gz [2022-11-07T05:17:57.045Z] ==> Uploading reports [2022-11-07T05:17:57.045Z] url: https://codecov.io [2022-11-07T05:17:57.045Z] query: branch=PR-202&commit=c58b7341f509cbddffe81d7970e552277f2ed571&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-11-07T05:17:57.045Z] -> Pinging Codecov [2022-11-07T05:17:57.046Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-202&commit=c58b7341f509cbddffe81d7970e552277f2ed571&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-202%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-11-07T05:17:57.305Z] -> Uploading to [2022-11-07T05:17:57.305Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/6C56EA5C29638FB4528AC87E60AF5AE0/c58b7341f509cbddffe81d7970e552277f2ed571/a9b07fda-fda2-4fa4-8cbe-e8d0d61441f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T051757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc0e3030da8adfb0fba2ba0b80bc696ee8d7880c91cd9285b2f55d222ad47ee5 [2022-11-07T05:17:57.305Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T05:17:57.305Z] Dload Upload Total Spent Left Speed [2022-11-07T05:17:57.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6679 --:--:-- --:--:-- --:--:-- 6679 [2022-11-07T05:17:57.566Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c58b7341f509cbddffe81d7970e552277f2ed571 [Pipeline] } [2022-11-07T05:17:57.593Z] 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 [2022-11-07T05:17:59.375Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-202/archives ] [2022-11-07T05:17:59.375Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-202/archives [2022-11-07T05:17:59.375Z] total 16 [2022-11-07T05:17:59.375Z] drwxr-xr-x 3 root root 4096 Nov 7 05:08 . [2022-11-07T05:17:59.375Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:08 .. [2022-11-07T05:17:59.375Z] drwxr-xr-x 2 root root 4096 Nov 7 05:08 cost [2022-11-07T05:17:59.375Z] -rw-r--r-- 1 root root 86 Nov 7 05:08 cost.csv [2022-11-07T05:17:59.375Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-202/archives [2022-11-07T05:17:59.375Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-202/archives [2022-11-07T05:17:59.375Z] total 16 [2022-11-07T05:17:59.375Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:08 . [2022-11-07T05:17:59.375Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:08 .. [2022-11-07T05:17:59.375Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 05:08 cost [2022-11-07T05:17:59.375Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:17:59.699Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:00.589Z] ---> package-listing.sh [2022-11-07T05:18:00.589Z] ++ facter osfamily [2022-11-07T05:18:00.589Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T05:18:00.849Z] + OS_FAMILY=debian [2022-11-07T05:18:00.849Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-202 [2022-11-07T05:18:00.849Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T05:18:00.849Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T05:18:00.849Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T05:18:00.849Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T05:18:00.849Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-202 ']' [2022-11-07T05:18:00.849Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T05:18:00.849Z] + case "${OS_FAMILY}" in [2022-11-07T05:18:00.849Z] + dpkg -l [2022-11-07T05:18:00.849Z] + grep '^ii' [2022-11-07T05:18:00.849Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T05:18:00.849Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T05:18:00.849Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T05:18:00.849Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-202 ']' [2022-11-07T05:18:00.849Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-202/archives/ [2022-11-07T05:18:00.849Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-202/archives/ [Pipeline] echo [2022-11-07T05:18:00.883Z] 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-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T05:18:01.182Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T05:18:01.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T05:18:01.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T05:18:01.951Z] prd-ubuntu20.04-docker-8c-8g-118388 does not seem to be running inside a container [2022-11-07T05:18:01.980Z] $ 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-202/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-202 -v /w/workspace/gexfoundry_device-snmp-go_PR-202:/w/workspace/gexfoundry_device-snmp-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-202@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-202@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 [2022-11-07T05:18:02.248Z] $ docker top 857bebd10ea382af36dd8db05c2155dedc6acdd1bc18c17b50fe49961c5cabe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T05:18:02.628Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T05:18:02.935Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T05:18:03.249Z] + ls /var/log/sa-host [2022-11-07T05:18:03.249Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T05:18:03.382Z] provisioning config files... [2022-11-07T05:18:03.393Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-202@tmp/config13701373170070575806tmp [Pipeline] { [Pipeline] echo [2022-11-07T05:18:03.439Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:03.753Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T05:18:03.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:04.171Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T05:18:04.206Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:04.524Z] ---> sudo-logs.sh [2022-11-07T05:18:04.524Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T05:18:04.602Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:04.908Z] ---> job-cost.sh [2022-11-07T05:18:04.908Z] lf-activate-venv: SKIPPING [2022-11-07T05:18:04.908Z] DEBUG: total: 0.2199999988079071 [2022-11-07T05:18:04.908Z] INFO: Retrieving Stack Cost... [2022-11-07T05:18:05.479Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T05:18:05.739Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T05:18:05.773Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T05:18:06.085Z] ---> logs-deploy.sh [2022-11-07T05:18:06.085Z] lf-activate-venv: SKIPPING [2022-11-07T05:18:06.085Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-202/1 [2022-11-07T05:18:06.085Z] INFO: archiving workspace using pattern(s): [2022-11-07T05:18:07.022Z] Archives upload complete. [2022-11-07T05:18:07.022Z] INFO: archiving logs to Nexus