Pull request #217 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-snmp-go Obtained Jenkinsfile from c9691b8caf86c6d2cce680db4a24e097b68dcd6b+2bd6e5dae59222faf073cfb9822f90f2048c0bba (98a57ca337fd5227b7644cd7b5962344900aadd7) 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-ssh3431159066478797946.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3869924763651643732.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-217/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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15080642427117691477.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11072694456940289860.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18026040285236653948.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-217/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-217/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17131036314819774041.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3060 in /w/workspace/gexfoundry_device-snmp-go_PR-217 [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-217 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit c9691b8caf86c6d2cce680db4a24e097b68dcd6b Merge succeeded, producing c9691b8caf86c6d2cce680db4a24e097b68dcd6b Checking out Revision c9691b8caf86c6d2cce680db4a24e097b68dcd6b (PR-217) > git config core.sparsecheckout # timeout=10 > git checkout -f c9691b8caf86c6d2cce680db4a24e097b68dcd6b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9691b8caf86c6d2cce680db4a24e097b68dcd6b # timeout=10 Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-19T02:49:42.964Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-19T02:49:43.125Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-19T02:49:43.226Z] ========================================================= [2023-01-19T02:49:43.226Z] EdgeX Global Pipelines Version Info [2023-01-19T02:49:43.226Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:49:43.949Z] ------------------- [2023-01-19T02:49:43.949Z] stable info: [2023-01-19T02:49:43.949Z] ------------------- [2023-01-19T02:49:43.949Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-19T02:49:43.949Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:49:43.949Z] Message: update stable to v1.0.244 [2023-01-19T02:49:44.520Z] ------------------- [2023-01-19T02:49:44.520Z] experimental info: [2023-01-19T02:49:44.520Z] ------------------- [2023-01-19T02:49:44.520Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-19T02:49:44.520Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T02:49:44.520Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-19T02:49:44.829Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-01-19T02:49:44.871Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-01-19T02:49:44.908Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-19T02:49:44.946Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-19T02:49:44.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-19T02:49:45.030Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-19T02:49:45.066Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-19T02:49:45.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-19T02:49:45.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-19T02:49:45.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-19T02:49:45.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-19T02:49:45.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-01-19T02:49:45.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-19T02:49:45.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-19T02:49:45.382Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:49:45.424Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T02:49:45.465Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:49:45.502Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T02:49:45.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-19T02:49:45.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-19T02:49:45.616Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-19T02:49:45.657Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-19T02:49:45.697Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-19T02:49:45.738Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-19T02:49:45.775Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-19T02:49:45.817Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-19T02:49:45.856Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-19T02:49:45.905Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo [2023-01-19T02:49:45.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo [2023-01-19T02:49:45.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo [2023-01-19T02:49:46.032Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9691b8caf86c6d2cce680db4a24e097b68dcd6b [Pipeline] echo [2023-01-19T02:49:46.073Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9691b8 [Pipeline] echo [2023-01-19T02:49:46.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:49:46.227Z] provisioning config files... [2023-01-19T02:49:46.241Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp/config14612134358683095371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:49:46.588Z] ---> docker-login.sh [2023-01-19T02:49:46.588Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:49:46.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:49:46.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:49:46.848Z] Configure a credential helper to remove this warning. See [2023-01-19T02:49:46.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:49:46.848Z] [2023-01-19T02:49:46.848Z] Login Succeeded [2023-01-19T02:49:46.848Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:49:46.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:49:47.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:49:47.108Z] Configure a credential helper to remove this warning. See [2023-01-19T02:49:47.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:49:47.108Z] [2023-01-19T02:49:47.108Z] Login Succeeded [2023-01-19T02:49:47.108Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:49:47.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:49:47.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:49:47.108Z] Configure a credential helper to remove this warning. See [2023-01-19T02:49:47.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:49:47.108Z] [2023-01-19T02:49:47.108Z] Login Succeeded [2023-01-19T02:49:47.108Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:49:47.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:49:47.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:49:47.108Z] Configure a credential helper to remove this warning. See [2023-01-19T02:49:47.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:49:47.108Z] [2023-01-19T02:49:47.108Z] Login Succeeded [2023-01-19T02:49:47.108Z] docker.io [2023-01-19T02:49:47.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:49:47.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:49:47.367Z] Configure a credential helper to remove this warning. See [2023-01-19T02:49:47.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:49:47.367Z] [2023-01-19T02:49:47.367Z] Login Succeeded [2023-01-19T02:49:47.367Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:49:47.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-19T02:49:47.977Z] + git rev-list -1 --merges c9691b8caf86c6d2cce680db4a24e097b68dcd6b~1..c9691b8caf86c6d2cce680db4a24e097b68dcd6b [Pipeline] echo [2023-01-19T02:49:48.011Z] -----------> git rev-list -1 --merges c9691b8caf86c6d2cce680db4a24e097b68dcd6b~1..c9691b8caf86c6d2cce680db4a24e097b68dcd6b c9691b8caf86c6d2cce680db4a24e097b68dcd6b [false] [Pipeline] sh [2023-01-19T02:49:48.314Z] + git log --format=format:%s -1 c9691b8caf86c6d2cce680db4a24e097b68dcd6b [Pipeline] echo [2023-01-19T02:49:48.348Z] ========================================================= [2023-01-19T02:49:48.348Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-19T02:49:48.348Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:49:48.774Z] + git log --format=format:%s -1 c9691b8caf86c6d2cce680db4a24e097b68dcd6b [Pipeline] echo [2023-01-19T02:49:48.807Z] [semverPrep] GIT_COMMIT: c9691b8caf86c6d2cce680db4a24e097b68dcd6b, Commit Message: build(deps): bump device-sdk-go and go-mod dependencies [Pipeline] echo [2023-01-19T02:49:48.837Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-19T02:49:49.233Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-19T02:49:49.233Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-19T02:49:49.233Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-19T02:49:49.233Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-19T02:49:49.233Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-19T02:49:49.233Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-19T02:49:49.233Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:49:49.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:49:49.657Z] [2023-01-19T02:49:49.657Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:49:50.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:49:50.032Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-19T02:49:50.032Z] b85a868b505f: Pulling fs layer [2023-01-19T02:49:50.032Z] e2be974225ed: Pulling fs layer [2023-01-19T02:49:50.032Z] 339a4e72a1f5: Pulling fs layer [2023-01-19T02:49:50.032Z] 988bab9f4d93: Pulling fs layer [2023-01-19T02:49:50.032Z] 1469e6f7b9e6: Pulling fs layer [2023-01-19T02:49:50.032Z] eaf3925da568: Pulling fs layer [2023-01-19T02:49:50.032Z] bab4dde63d76: Pulling fs layer [2023-01-19T02:49:50.032Z] bde34c3a00c8: Pulling fs layer [2023-01-19T02:49:50.032Z] b352a97aabf1: Pulling fs layer [2023-01-19T02:49:50.032Z] 4872d77fe225: Pulling fs layer [2023-01-19T02:49:50.032Z] 5851b861e8e6: Pulling fs layer [2023-01-19T02:49:50.032Z] 1469e6f7b9e6: Waiting [2023-01-19T02:49:50.032Z] eaf3925da568: Waiting [2023-01-19T02:49:50.032Z] bab4dde63d76: Waiting [2023-01-19T02:49:50.032Z] bde34c3a00c8: Waiting [2023-01-19T02:49:50.032Z] b352a97aabf1: Waiting [2023-01-19T02:49:50.032Z] 4872d77fe225: Waiting [2023-01-19T02:49:50.032Z] 988bab9f4d93: Waiting [2023-01-19T02:49:50.032Z] 5851b861e8e6: Waiting [2023-01-19T02:49:50.032Z] e2be974225ed: Verifying Checksum [2023-01-19T02:49:50.032Z] e2be974225ed: Download complete [2023-01-19T02:49:50.032Z] 988bab9f4d93: Download complete [2023-01-19T02:49:50.296Z] 1469e6f7b9e6: Verifying Checksum [2023-01-19T02:49:50.296Z] 1469e6f7b9e6: Download complete [2023-01-19T02:49:50.296Z] 339a4e72a1f5: Verifying Checksum [2023-01-19T02:49:50.296Z] 339a4e72a1f5: Download complete [2023-01-19T02:49:50.296Z] eaf3925da568: Download complete [2023-01-19T02:49:50.296Z] bde34c3a00c8: Download complete [2023-01-19T02:49:50.296Z] b352a97aabf1: Download complete [2023-01-19T02:49:50.296Z] 4872d77fe225: Download complete [2023-01-19T02:49:50.559Z] b85a868b505f: Verifying Checksum [2023-01-19T02:49:50.559Z] b85a868b505f: Download complete [2023-01-19T02:49:50.559Z] 5851b861e8e6: Verifying Checksum [2023-01-19T02:49:50.559Z] 5851b861e8e6: Download complete [2023-01-19T02:49:50.819Z] bab4dde63d76: Verifying Checksum [2023-01-19T02:49:51.756Z] b85a868b505f: Pull complete [2023-01-19T02:49:52.015Z] e2be974225ed: Pull complete [2023-01-19T02:49:52.582Z] 339a4e72a1f5: Pull complete [2023-01-19T02:49:52.582Z] 988bab9f4d93: Pull complete [2023-01-19T02:49:52.840Z] 1469e6f7b9e6: Pull complete [2023-01-19T02:49:52.840Z] eaf3925da568: Pull complete [2023-01-19T02:49:54.741Z] bab4dde63d76: Pull complete [2023-01-19T02:49:54.741Z] bde34c3a00c8: Pull complete [2023-01-19T02:49:54.741Z] b352a97aabf1: Pull complete [2023-01-19T02:49:54.741Z] 4872d77fe225: Pull complete [2023-01-19T02:49:55.000Z] 5851b861e8e6: Pull complete [2023-01-19T02:49:55.000Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-19T02:49:55.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T02:49:55.000Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:49:55.287Z] prd-ubuntu20.04-docker-8c-8g-3060 does not seem to be running inside a container [2023-01-19T02:49:55.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-217 -v /w/workspace/gexfoundry_device-snmp-go_PR-217:/w/workspace/gexfoundry_device-snmp-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-217@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-217@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-devops/py-git-semver:0.1.4 cat [2023-01-19T02:49:57.506Z] $ docker top b1e653483e38bcd95041aaa81ee289361d3de260372abd84471ccf188d59c058 -eo pid,comm [2023-01-19T02:49:57.569Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-19T02:49:57.569Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-19T02:49:57.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:49:57.700Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:49:57.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:49:57.817Z] $ docker exec b1e653483e38bcd95041aaa81ee289361d3de260372abd84471ccf188d59c058 ssh-agent [2023-01-19T02:49:57.921Z] SSH_AUTH_SOCK=/tmp/ssh-Gyny8cO5FxvX/agent.32 [2023-01-19T02:49:57.921Z] SSH_AGENT_PID=38 [2023-01-19T02:49:57.927Z] Running ssh-add (command line suppressed) [2023-01-19T02:49:58.030Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-217@tmp/private_key_12936856826833502462.key (/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp/private_key_12936856826833502462.key) [2023-01-19T02:49:58.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:49:58.376Z] + git tag --points-at HEAD [Pipeline] } [2023-01-19T02:49:58.401Z] $ docker exec --env ******** --env ******** b1e653483e38bcd95041aaa81ee289361d3de260372abd84471ccf188d59c058 ssh-agent -k [2023-01-19T02:49:58.505Z] unset SSH_AUTH_SOCK; [2023-01-19T02:49:58.505Z] unset SSH_AGENT_PID; [2023-01-19T02:49:58.505Z] echo Agent pid 38 killed; [2023-01-19T02:49:58.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-19T02:49:58.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T02:49:58.609Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T02:49:58.723Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T02:49:58.723Z] $ docker exec b1e653483e38bcd95041aaa81ee289361d3de260372abd84471ccf188d59c058 ssh-agent [2023-01-19T02:49:58.831Z] SSH_AUTH_SOCK=/tmp/ssh-RhA0p7uGmXL7/agent.71 [2023-01-19T02:49:58.831Z] SSH_AGENT_PID=77 [2023-01-19T02:49:58.836Z] Running ssh-add (command line suppressed) [2023-01-19T02:49:58.946Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-217@tmp/private_key_8628084901159660203.key (/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp/private_key_8628084901159660203.key) [2023-01-19T02:49:58.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T02:49:59.284Z] + git semver init [2023-01-19T02:49:59.542Z] 2023-01-19 02:49:59,476 [run_init] DEBUG init version:0.0.0 force:False [2023-01-19T02:49:59.542Z] 2023-01-19 02:49:59,477 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-217/.semver [2023-01-19T02:49:59.542Z] 2023-01-19 02:49:59,478 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-217/.semver [2023-01-19T02:49:59.542Z] 2023-01-19 02:49:59,478 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-217/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-217, universal_newlines=False, shell=None, istream=None) [2023-01-19T02:50:00.477Z] 2023-01-19 02:50:00,265 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-217/.git/info/exclude [2023-01-19T02:50:00.477Z] 2023-01-19 02:50:00,266 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-217/.semver/PR-217 with force:False [2023-01-19T02:50:00.477Z] 2023-01-19 02:50:00,266 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-217/.semver/PR-217 [2023-01-19T02:50:00.477Z] 2023-01-19 02:50:00,272 [execute] INFO git cat-file --batch-check [2023-01-19T02:50:00.477Z] 2023-01-19 02:50:00,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:50:00.477Z] 2023-01-19 02:50:00,280 [execute] INFO git cat-file --batch [2023-01-19T02:50:00.477Z] 2023-01-19 02:50:00,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T02:50:00.477Z] 2023-01-19 02:50:00,287 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-217/.semver/PR-217 [2023-01-19T02:50:00.477Z] 0.0.0 [Pipeline] } [2023-01-19T02:50:00.509Z] $ docker exec --env ******** --env ******** b1e653483e38bcd95041aaa81ee289361d3de260372abd84471ccf188d59c058 ssh-agent -k [2023-01-19T02:50:00.611Z] unset SSH_AUTH_SOCK; [2023-01-19T02:50:00.612Z] unset SSH_AGENT_PID; [2023-01-19T02:50:00.612Z] echo Agent pid 77 killed; [2023-01-19T02:50:00.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-19T02:50:01.058Z] + git semver [Pipeline] } [2023-01-19T02:50:01.338Z] $ docker stop --time=1 b1e653483e38bcd95041aaa81ee289361d3de260372abd84471ccf188d59c058 [2023-01-19T02:50:02.642Z] $ docker rm -f --volumes b1e653483e38bcd95041aaa81ee289361d3de260372abd84471ccf188d59c058 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:50:03.041Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-19T02:50:03.284Z] Stashed 1 file(s) [Pipeline] echo [2023-01-19T02:50:03.300Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:50:03.848Z] provisioning config files... [2023-01-19T02:50:03.857Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp/config17512758814238020882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:50:04.197Z] ---> docker-login.sh [2023-01-19T02:50:04.197Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:50:04.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:50:04.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:50:04.197Z] Configure a credential helper to remove this warning. See [2023-01-19T02:50:04.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:50:04.197Z] [2023-01-19T02:50:04.197Z] Login Succeeded [2023-01-19T02:50:04.197Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:50:04.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:50:04.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:50:04.456Z] Configure a credential helper to remove this warning. See [2023-01-19T02:50:04.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:50:04.456Z] [2023-01-19T02:50:04.456Z] Login Succeeded [2023-01-19T02:50:04.456Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:50:04.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:50:04.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:50:04.456Z] Configure a credential helper to remove this warning. See [2023-01-19T02:50:04.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:50:04.456Z] [2023-01-19T02:50:04.456Z] Login Succeeded [2023-01-19T02:50:04.456Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:50:04.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:50:04.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:50:04.721Z] Configure a credential helper to remove this warning. See [2023-01-19T02:50:04.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:50:04.721Z] [2023-01-19T02:50:04.721Z] Login Succeeded [2023-01-19T02:50:04.721Z] docker.io [2023-01-19T02:50:04.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:50:04.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:50:04.980Z] Configure a credential helper to remove this warning. See [2023-01-19T02:50:04.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:50:04.980Z] [2023-01-19T02:50:04.980Z] Login Succeeded [2023-01-19T02:50:04.980Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:50:05.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T02:50:05.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:50:05.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:50:05.283Z] ========================================================= [2023-01-19T02:50:05.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-19T02:50:05.283Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:50:05.750Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T02:50:05.750Z] Sending build context to Docker daemon 5.71MB [2023-01-19T02:50:05.750Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:50:05.750Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-19T02:50:05.750Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-19T02:50:05.750Z] 213ec9aee27d: Pulling fs layer [2023-01-19T02:50:05.750Z] 4583459ba037: Pulling fs layer [2023-01-19T02:50:05.750Z] 93c1e223e6f2: Pulling fs layer [2023-01-19T02:50:05.750Z] 53926ce57604: Pulling fs layer [2023-01-19T02:50:05.750Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-19T02:50:05.750Z] 22ff95d597cd: Pulling fs layer [2023-01-19T02:50:05.750Z] 12d6caf4c0d1: Pulling fs layer [2023-01-19T02:50:05.750Z] 96b7cbca73a9: Pulling fs layer [2023-01-19T02:50:05.750Z] 21b2b0c7a3f4: Waiting [2023-01-19T02:50:05.750Z] 53926ce57604: Waiting [2023-01-19T02:50:05.750Z] 22ff95d597cd: Waiting [2023-01-19T02:50:05.750Z] 12d6caf4c0d1: Waiting [2023-01-19T02:50:05.750Z] a7acece74701: Pulling fs layer [2023-01-19T02:50:05.750Z] 96b7cbca73a9: Waiting [2023-01-19T02:50:05.750Z] a7acece74701: Waiting [2023-01-19T02:50:05.750Z] 93c1e223e6f2: Download complete [2023-01-19T02:50:05.750Z] 4583459ba037: Download complete [2023-01-19T02:50:06.014Z] 21b2b0c7a3f4: Download complete [2023-01-19T02:50:06.014Z] 22ff95d597cd: Verifying Checksum [2023-01-19T02:50:06.014Z] 22ff95d597cd: Download complete [2023-01-19T02:50:06.014Z] 213ec9aee27d: Verifying Checksum [2023-01-19T02:50:06.014Z] 213ec9aee27d: Download complete [2023-01-19T02:50:06.014Z] 12d6caf4c0d1: Download complete [2023-01-19T02:50:06.014Z] 213ec9aee27d: Pull complete [2023-01-19T02:50:06.637Z] 4583459ba037: Pull complete [2023-01-19T02:50:06.637Z] 93c1e223e6f2: Pull complete [2023-01-19T02:50:07.302Z] a7acece74701: Verifying Checksum [2023-01-19T02:50:07.302Z] a7acece74701: Download complete [2023-01-19T02:50:07.575Z] 53926ce57604: Verifying Checksum [2023-01-19T02:50:07.575Z] 53926ce57604: Download complete [2023-01-19T02:50:07.575Z] 96b7cbca73a9: Verifying Checksum [2023-01-19T02:50:07.575Z] 96b7cbca73a9: Download complete [2023-01-19T02:50:11.770Z] 53926ce57604: Pull complete [2023-01-19T02:50:11.770Z] 21b2b0c7a3f4: Pull complete [2023-01-19T02:50:11.770Z] 22ff95d597cd: Pull complete [2023-01-19T02:50:11.770Z] 12d6caf4c0d1: Pull complete [2023-01-19T02:50:13.685Z] 96b7cbca73a9: Pull complete [2023-01-19T02:50:14.252Z] a7acece74701: Pull complete [2023-01-19T02:50:14.252Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-19T02:50:14.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-19T02:50:14.252Z] ---> db6d94c90886 [2023-01-19T02:50:14.252Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:50:17.556Z] ---> Running in f5c73333ec36 [2023-01-19T02:50:17.556Z] Removing intermediate container f5c73333ec36 [2023-01-19T02:50:17.556Z] ---> 8b1aef1858c7 [2023-01-19T02:50:17.556Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:50:17.556Z] ---> Running in c376572ec444 [2023-01-19T02:50:17.556Z] Removing intermediate container c376572ec444 [2023-01-19T02:50:17.556Z] ---> 0b79691793ba [2023-01-19T02:50:17.556Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:50:17.556Z] ---> Running in 578f847fcb94 [2023-01-19T02:50:17.815Z] Removing intermediate container 578f847fcb94 [2023-01-19T02:50:17.815Z] ---> e883c882e373 [2023-01-19T02:50:17.815Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:50:17.815Z] ---> Running in 62fa1564b7be [2023-01-19T02:50:17.815Z] Removing intermediate container 62fa1564b7be [2023-01-19T02:50:17.815Z] ---> d869e29fa34f [2023-01-19T02:50:17.815Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:50:17.815Z] ---> Running in c245b6c92e6d [2023-01-19T02:50:18.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:50:18.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:50:18.589Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-19T02:50:18.589Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-19T02:50:18.589Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-19T02:50:18.589Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-19T02:50:18.589Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:50:18.589Z] OK: 216 MiB in 55 packages [2023-01-19T02:50:18.685Z] Still waiting to schedule task [2023-01-19T02:50:18.685Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-19T02:50:19.157Z] Removing intermediate container c245b6c92e6d [2023-01-19T02:50:19.157Z] ---> 0b9dc1e9f028 [2023-01-19T02:50:19.157Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-19T02:50:19.157Z] ---> Running in 4ac030b6f5fc [2023-01-19T02:50:19.157Z] Removing intermediate container 4ac030b6f5fc [2023-01-19T02:50:19.157Z] ---> 6d9c09537e5e [2023-01-19T02:50:19.157Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-19T02:50:19.157Z] ---> 5b4e5e6d3a1e [2023-01-19T02:50:19.157Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:50:19.157Z] ---> Running in 05d5ecaebec6 [2023-01-19T02:50:45.733Z] Removing intermediate container 05d5ecaebec6 [2023-01-19T02:50:45.733Z] ---> fae7a9216079 [2023-01-19T02:50:45.733Z] Step 11/12 : COPY . . [2023-01-19T02:50:45.733Z] ---> bc3d724f975c [2023-01-19T02:50:45.733Z] Step 12/12 : RUN ${MAKE} [2023-01-19T02:50:45.992Z] ---> Running in 31f722ae510d [2023-01-19T02:50:46.271Z] noop [2023-01-19T02:50:46.271Z] Removing intermediate container 31f722ae510d [2023-01-19T02:50:46.271Z] ---> 87ff83bec1ea [2023-01-19T02:50:46.271Z] Successfully built 87ff83bec1ea [2023-01-19T02:50:46.533Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:50:46.989Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:50:46.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:50:47.140Z] prd-ubuntu20.04-docker-8c-8g-3060 does not seem to be running inside a container [2023-01-19T02:50:47.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-217 -v /w/workspace/gexfoundry_device-snmp-go_PR-217:/w/workspace/gexfoundry_device-snmp-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-217@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T02:50:47.495Z] $ docker top aa8023228dd60d39660138a296aca6ea03cc11ddddad763cd19debae582f1386 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:50:47.885Z] + go version [2023-01-19T02:50:47.885Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-19T02:50:47.918Z] $ docker stop --time=1 aa8023228dd60d39660138a296aca6ea03cc11ddddad763cd19debae582f1386 [2023-01-19T02:50:49.188Z] $ docker rm -f --volumes aa8023228dd60d39660138a296aca6ea03cc11ddddad763cd19debae582f1386 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:50:49.896Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T02:50:49.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:50:50.039Z] prd-ubuntu20.04-docker-8c-8g-3060 does not seem to be running inside a container [2023-01-19T02:50:50.073Z] $ 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-217 -v /w/workspace/gexfoundry_device-snmp-go_PR-217:/w/workspace/gexfoundry_device-snmp-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-217@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-19T02:50:50.420Z] $ docker top a53206b516fcf19e9650be1c50bf0550dacf9ff3e5c1d77256dcaf0f91681ef4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:50:50.811Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-217 [Pipeline] fileExists [Pipeline] sh [2023-01-19T02:50:51.184Z] + make test [2023-01-19T02:50:51.184Z] go test ./... -coverprofile=coverage.out [2023-01-19T02:50:51.441Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-19T02:51:01.426Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-19T02:51:01.426Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2023-01-19T02:51:07.986Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-19T02:51:07.986Z] go vet ./... [2023-01-19T02:51:10.513Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T02:51:10.513Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T02:51:10.513Z] ./bin/test-attribution-txt.sh [2023-01-19T02:51:10.513Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T02:51:10.513Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T02:51:10.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T02:51:10.587Z] $ docker stop --time=1 a53206b516fcf19e9650be1c50bf0550dacf9ff3e5c1d77256dcaf0f91681ef4 [2023-01-19T02:51:12.696Z] $ docker rm -f --volumes a53206b516fcf19e9650be1c50bf0550dacf9ff3e5c1d77256dcaf0f91681ef4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:51:13.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T02:51:13.395Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-19T02:51:13.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T02:51:14.263Z] + ls -al . [2023-01-19T02:51:14.263Z] total 172 [2023-01-19T02:51:14.263Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 02:50 . [2023-01-19T02:51:14.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:49 .. [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 19 02:49 .dockerignore [2023-01-19T02:51:14.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:51 .git [2023-01-19T02:51:14.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:49 .github [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 19 02:49 .gitignore [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:49 .golangci.yml [2023-01-19T02:51:14.263Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:50 .semver [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 19 02:49 Attribution.txt [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 19 02:49 CHANGELOG.md [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 19 02:49 Dockerfile [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:49 GOVERNANCE.md [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 19 02:49 Jenkinsfile [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:49 LICENSE [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 19 02:49 Makefile [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 02:49 OWNERS.md [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 19 02:49 README.md [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:50 VERSION [2023-01-19T02:51:14.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:49 bin [2023-01-19T02:51:14.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:49 cmd [2023-01-19T02:51:14.263Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 19 02:50 coverage.out [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 3380 Jan 19 02:49 go.mod [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 34497 Jan 19 02:49 go.sum [2023-01-19T02:51:14.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:49 internal [2023-01-19T02:51:14.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:49 snap [2023-01-19T02:51:14.263Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 19 02:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:51:14.659Z] + 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=c9691b8caf86c6d2cce680db4a24e097b68dcd6b --label arch=amd64 --label version=0.0.0 . [2023-01-19T02:51:14.659Z] Sending build context to Docker daemon 5.718MB [2023-01-19T02:51:14.659Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:51:14.659Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-19T02:51:14.659Z] ---> 87ff83bec1ea [2023-01-19T02:51:14.659Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:51:14.659Z] ---> Running in 289e7a78bcbd [2023-01-19T02:51:14.917Z] Removing intermediate container 289e7a78bcbd [2023-01-19T02:51:14.917Z] ---> 05ea13bc3be9 [2023-01-19T02:51:14.917Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:51:14.917Z] ---> Running in 4c4ad0cac175 [2023-01-19T02:51:14.917Z] Removing intermediate container 4c4ad0cac175 [2023-01-19T02:51:14.917Z] ---> 2cf54592e7b4 [2023-01-19T02:51:14.917Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:51:14.917Z] ---> Running in c660d2a670b8 [2023-01-19T02:51:14.917Z] Removing intermediate container c660d2a670b8 [2023-01-19T02:51:14.917Z] ---> d54bc48df918 [2023-01-19T02:51:14.917Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:51:14.917Z] ---> Running in 4e0bb7d432ac [2023-01-19T02:51:15.175Z] Removing intermediate container 4e0bb7d432ac [2023-01-19T02:51:15.175Z] ---> 000bdfc0cec9 [2023-01-19T02:51:15.175Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:51:15.175Z] ---> Running in 9613636db0dc [2023-01-19T02:51:15.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:51:15.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:51:16.012Z] OK: 216 MiB in 55 packages [2023-01-19T02:51:16.012Z] Removing intermediate container 9613636db0dc [2023-01-19T02:51:16.012Z] ---> 3c63db35f153 [2023-01-19T02:51:16.012Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-19T02:51:16.271Z] ---> Running in 348b5c97f909 [2023-01-19T02:51:16.271Z] Removing intermediate container 348b5c97f909 [2023-01-19T02:51:16.271Z] ---> a35754f13840 [2023-01-19T02:51:16.271Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-19T02:51:16.271Z] ---> e9ffa0f7f472 [2023-01-19T02:51:16.271Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:51:16.271Z] ---> Running in 648557fb746d [2023-01-19T02:51:17.211Z] Removing intermediate container 648557fb746d [2023-01-19T02:51:17.211Z] ---> 4e92be67deee [2023-01-19T02:51:17.211Z] Step 11/24 : COPY . . [2023-01-19T02:51:17.469Z] ---> dfe58804904b [2023-01-19T02:51:17.469Z] Step 12/24 : RUN ${MAKE} [2023-01-19T02:51:17.469Z] ---> Running in 3956369bbc6c [2023-01-19T02:51:17.726Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-19T02:51:39.645Z] Removing intermediate container 3956369bbc6c [2023-01-19T02:51:39.645Z] ---> 0785d55a786b [2023-01-19T02:51:39.645Z] Step 13/24 : FROM alpine:3.16 [2023-01-19T02:51:39.645Z] 3.16: Pulling from library/alpine [2023-01-19T02:51:39.645Z] ca7dd9ec2225: Pulling fs layer [2023-01-19T02:51:39.645Z] ca7dd9ec2225: Verifying Checksum [2023-01-19T02:51:39.645Z] ca7dd9ec2225: Download complete [2023-01-19T02:51:39.645Z] ca7dd9ec2225: Pull complete [2023-01-19T02:51:39.645Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T02:51:39.645Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T02:51:39.645Z] ---> bfe296a52501 [2023-01-19T02:51:39.645Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-19T02:51:39.645Z] ---> Running in f848e255ee8b [2023-01-19T02:51:39.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T02:51:39.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T02:51:39.645Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T02:51:39.645Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:51:39.645Z] OK: 6 MiB in 15 packages [2023-01-19T02:51:39.645Z] Removing intermediate container f848e255ee8b [2023-01-19T02:51:39.645Z] ---> 141e3f6f0808 [2023-01-19T02:51:39.645Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-19T02:51:39.645Z] ---> eea4d0279ac9 [2023-01-19T02:51:39.645Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-19T02:51:39.645Z] ---> 0d86ebb8a7c7 [2023-01-19T02:51:39.645Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-19T02:51:39.645Z] ---> 615e0ca3125f [2023-01-19T02:51:39.645Z] Step 18/24 : EXPOSE 59993 [2023-01-19T02:51:39.645Z] ---> Running in 35292a8aee4a [2023-01-19T02:51:39.905Z] Removing intermediate container 35292a8aee4a [2023-01-19T02:51:39.905Z] ---> 354102780bb2 [2023-01-19T02:51:39.905Z] Step 19/24 : EXPOSE 161 [2023-01-19T02:51:39.905Z] ---> Running in cf2737d4836d [2023-01-19T02:51:39.905Z] Removing intermediate container cf2737d4836d [2023-01-19T02:51:39.905Z] ---> 609e9f43a572 [2023-01-19T02:51:39.905Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-19T02:51:39.905Z] ---> Running in 845135faafbc [2023-01-19T02:51:39.905Z] Removing intermediate container 845135faafbc [2023-01-19T02:51:39.905Z] ---> 6c64265ba4a5 [2023-01-19T02:51:39.905Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T02:51:39.905Z] ---> Running in ea7de3d92512 [2023-01-19T02:51:40.167Z] Removing intermediate container ea7de3d92512 [2023-01-19T02:51:40.167Z] ---> becdc8de45b9 [2023-01-19T02:51:40.167Z] Step 22/24 : LABEL arch=amd64 [2023-01-19T02:51:40.167Z] ---> Running in eac84bea20e6 [2023-01-19T02:51:40.167Z] Removing intermediate container eac84bea20e6 [2023-01-19T02:51:40.167Z] ---> a9cc0421aeee [2023-01-19T02:51:40.167Z] Step 23/24 : LABEL git_sha=c9691b8caf86c6d2cce680db4a24e097b68dcd6b [2023-01-19T02:51:40.167Z] ---> Running in 7d35e3230ab5 [2023-01-19T02:51:40.167Z] Removing intermediate container 7d35e3230ab5 [2023-01-19T02:51:40.167Z] ---> 9a5303b8e6f3 [2023-01-19T02:51:40.167Z] Step 24/24 : LABEL version=0.0.0 [2023-01-19T02:51:40.426Z] ---> Running in 08214ecf6048 [2023-01-19T02:51:40.426Z] Removing intermediate container 08214ecf6048 [2023-01-19T02:51:40.426Z] ---> e06ee44f0574 [2023-01-19T02:51:40.426Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T02:51:40.426Z] Successfully built e06ee44f0574 [2023-01-19T02:51:40.426Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:51:41.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:51:41.259Z] [2023-01-19T02:51:41.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:51:41.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:51:41.621Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-19T02:51:41.621Z] 5eb5b503b376: Pulling fs layer [2023-01-19T02:51:41.621Z] 5c69ac0246d0: Pulling fs layer [2023-01-19T02:51:41.621Z] ec43610c2a17: Pulling fs layer [2023-01-19T02:51:41.621Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-19T02:51:41.621Z] 33b1e0a273af: Pulling fs layer [2023-01-19T02:51:41.621Z] 5d3b04190fa2: Pulling fs layer [2023-01-19T02:51:41.621Z] 2f39f015ded8: Pulling fs layer [2023-01-19T02:51:41.621Z] 33b1e0a273af: Waiting [2023-01-19T02:51:41.621Z] 3a2ae6a8a46f: Waiting [2023-01-19T02:51:41.621Z] 2f39f015ded8: Waiting [2023-01-19T02:51:41.621Z] 5c69ac0246d0: Verifying Checksum [2023-01-19T02:51:41.621Z] 5c69ac0246d0: Download complete [2023-01-19T02:51:41.621Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-19T02:51:41.621Z] 3a2ae6a8a46f: Download complete [2023-01-19T02:51:41.881Z] 33b1e0a273af: Verifying Checksum [2023-01-19T02:51:41.881Z] 33b1e0a273af: Download complete [2023-01-19T02:51:41.881Z] 5d3b04190fa2: Verifying Checksum [2023-01-19T02:51:41.881Z] 5d3b04190fa2: Download complete [2023-01-19T02:51:41.881Z] ec43610c2a17: Verifying Checksum [2023-01-19T02:51:41.881Z] ec43610c2a17: Download complete [2023-01-19T02:51:42.139Z] 5eb5b503b376: Verifying Checksum [2023-01-19T02:51:42.139Z] 5eb5b503b376: Download complete [2023-01-19T02:51:42.710Z] 2f39f015ded8: Download complete [2023-01-19T02:51:43.276Z] 5eb5b503b376: Pull complete [2023-01-19T02:51:43.534Z] 5c69ac0246d0: Pull complete [2023-01-19T02:51:44.102Z] ec43610c2a17: Pull complete [2023-01-19T02:51:44.102Z] 3a2ae6a8a46f: Pull complete [2023-01-19T02:51:44.361Z] 33b1e0a273af: Pull complete [2023-01-19T02:51:44.361Z] 5d3b04190fa2: Pull complete [2023-01-19T02:51:48.549Z] 2f39f015ded8: Pull complete [2023-01-19T02:51:48.549Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-19T02:51:48.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T02:51:48.549Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:51:48.773Z] prd-ubuntu20.04-docker-8c-8g-3060 does not seem to be running inside a container [2023-01-19T02:51:48.806Z] $ 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-217 -v /w/workspace/gexfoundry_device-snmp-go_PR-217:/w/workspace/gexfoundry_device-snmp-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-217@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-19T02:51:50.904Z] $ docker top 5f0713cf159cce69e77eccd39061c955ab24a531b8bec42c79bd65fc81c9bc14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:51:51.322Z] ---> job-cost.sh [2023-01-19T02:51:51.322Z] lf-activate-venv: SKIPPING [2023-01-19T02:51:51.322Z] INFO: No Stack... [2023-01-19T02:51:51.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T02:51:52.149Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T02:51:52.465Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-217/archives/cost.csv [2023-01-19T02:51:52.466Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T02:51:52.504Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-217-1-stack-cost] [2023-01-19T02:51:52.512Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-217-1-stack-cost] did not exist. Created. [2023-01-19T02:51:52.512Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T02:51:52.893Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-19T02:51:52.940Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T02:51:52.965Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T02:51:53.048Z] $ docker stop --time=1 5f0713cf159cce69e77eccd39061c955ab24a531b8bec42c79bd65fc81c9bc14 [2023-01-19T02:51:54.206Z] $ docker rm -f --volumes 5f0713cf159cce69e77eccd39061c955ab24a531b8bec42c79bd65fc81c9bc14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-19T02:52:39.217Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3062 in /w/workspace/gexfoundry_device-snmp-go_PR-217 [Pipeline] { [Pipeline] ws [2023-01-19T02:52:39.275Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-01-19T02:52:39.362Z] Selected Git installation does not exist. Using Default [2023-01-19T02:52:39.363Z] The recommended git tool is: NONE [2023-01-19T02:52:45.864Z] using credential edgex-jenkins-ssh [2023-01-19T02:52:45.882Z] Cloning the remote Git repository [2023-01-19T02:52:45.934Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-01-19T02:52:46.023Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-01-19T02:52:46.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-19T02:52:46.236Z] > git --version # timeout=10 [2023-01-19T02:52:46.265Z] > git --version # 'git version 2.25.1' [2023-01-19T02:52:46.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:52:46.343Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T02:52:47.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-19T02:52:47.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T02:52:49.339Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit c9691b8caf86c6d2cce680db4a24e097b68dcd6b [2023-01-19T02:52:48.654Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-01-19T02:52:48.711Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-01-19T02:52:48.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:52:48.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-19T02:52:49.358Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T02:52:49.392Z] > git checkout -f c9691b8caf86c6d2cce680db4a24e097b68dcd6b # timeout=10 [2023-01-19T02:52:49.494Z] > git remote # timeout=10 [2023-01-19T02:52:49.520Z] > git config --get remote.origin.url # timeout=10 [2023-01-19T02:52:49.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T02:52:49.565Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-01-19T02:52:49.629Z] Merge succeeded, producing c9691b8caf86c6d2cce680db4a24e097b68dcd6b [2023-01-19T02:52:49.629Z] Checking out Revision c9691b8caf86c6d2cce680db4a24e097b68dcd6b (PR-217) [2023-01-19T02:52:49.595Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-19T02:52:49.632Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T02:52:49.653Z] > git checkout -f c9691b8caf86c6d2cce680db4a24e097b68dcd6b # timeout=10 [2023-01-19T02:52:53.246Z] Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" [2023-01-19T02:52:53.305Z] > git --version # timeout=10 [2023-01-19T02:52:53.319Z] > git --version # 'git version 2.25.1' [2023-01-19T02:52:53.337Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:52:54.558Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-19T02:52:54.558Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T02:52:54.558Z] Dload Upload Total Spent Left Speed [2023-01-19T02:52:54.558Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-01-19T02:52:55.306Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-19T02:52:55.670Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-19T02:52:55.670Z] + sudo tee /etc/docker/daemon.new [2023-01-19T02:52:55.670Z] { [2023-01-19T02:52:55.670Z] "registry-mirrors": [ [2023-01-19T02:52:55.670Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-19T02:52:55.670Z] ], [2023-01-19T02:52:55.670Z] "bip": "10.250.0.254/24", [2023-01-19T02:52:55.670Z] "hosts": [ [2023-01-19T02:52:55.670Z] "tcp://0.0.0.0:5555", [2023-01-19T02:52:55.670Z] "unix:///var/run/docker.sock" [2023-01-19T02:52:55.670Z] ], [2023-01-19T02:52:55.670Z] "mtu": 1458, [2023-01-19T02:52:55.670Z] "selinux-enabled": true, [2023-01-19T02:52:55.670Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-19T02:52:55.670Z] } [Pipeline] sh [2023-01-19T02:52:56.033Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-19T02:52:56.404Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T02:53:14.759Z] provisioning config files... [2023-01-19T02:53:14.795Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6215847205176405320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T02:53:15.196Z] ---> docker-login.sh [2023-01-19T02:53:15.196Z] nexus3.edgexfoundry.org:10001 [2023-01-19T02:53:15.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:53:15.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:53:15.811Z] Configure a credential helper to remove this warning. See [2023-01-19T02:53:15.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:53:15.811Z] [2023-01-19T02:53:15.811Z] Login Succeeded [2023-01-19T02:53:15.811Z] nexus3.edgexfoundry.org:10002 [2023-01-19T02:53:16.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:53:16.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:53:16.357Z] Configure a credential helper to remove this warning. See [2023-01-19T02:53:16.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:53:16.357Z] [2023-01-19T02:53:16.357Z] Login Succeeded [2023-01-19T02:53:16.357Z] nexus3.edgexfoundry.org:10003 [2023-01-19T02:53:16.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:53:16.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:53:16.630Z] Configure a credential helper to remove this warning. See [2023-01-19T02:53:16.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:53:16.630Z] [2023-01-19T02:53:16.630Z] Login Succeeded [2023-01-19T02:53:16.630Z] nexus3.edgexfoundry.org:10004 [2023-01-19T02:53:16.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:53:17.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:53:17.180Z] Configure a credential helper to remove this warning. See [2023-01-19T02:53:17.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:53:17.180Z] [2023-01-19T02:53:17.180Z] Login Succeeded [2023-01-19T02:53:17.180Z] docker.io [2023-01-19T02:53:17.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T02:53:17.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T02:53:17.720Z] Configure a credential helper to remove this warning. See [2023-01-19T02:53:17.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T02:53:17.720Z] [2023-01-19T02:53:17.720Z] Login Succeeded [2023-01-19T02:53:17.720Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T02:53:17.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T02:53:18.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:53:18.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T02:53:18.264Z] ========================================================= [2023-01-19T02:53:18.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-19T02:53:18.264Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:53:18.761Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-19T02:53:19.032Z] Sending build context to Docker daemon 2.969MB [2023-01-19T02:53:19.032Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:53:19.032Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-19T02:53:19.313Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-19T02:53:19.313Z] 9b18e9b68314: Pulling fs layer [2023-01-19T02:53:19.313Z] 35d82f9e3411: Pulling fs layer [2023-01-19T02:53:19.313Z] e16973657156: Pulling fs layer [2023-01-19T02:53:19.313Z] fc693d55d65f: Pulling fs layer [2023-01-19T02:53:19.313Z] 7e9fc2657dce: Pulling fs layer [2023-01-19T02:53:19.313Z] dda99020689f: Pulling fs layer [2023-01-19T02:53:19.313Z] db1c61fa0a46: Pulling fs layer [2023-01-19T02:53:19.313Z] 891c053d2c06: Pulling fs layer [2023-01-19T02:53:19.313Z] 7e9fc2657dce: Waiting [2023-01-19T02:53:19.313Z] dda99020689f: Waiting [2023-01-19T02:53:19.313Z] db1c61fa0a46: Waiting [2023-01-19T02:53:19.313Z] fc693d55d65f: Waiting [2023-01-19T02:53:19.313Z] 891c053d2c06: Waiting [2023-01-19T02:53:19.313Z] e16973657156: Verifying Checksum [2023-01-19T02:53:19.313Z] e16973657156: Download complete [2023-01-19T02:53:19.313Z] 35d82f9e3411: Verifying Checksum [2023-01-19T02:53:19.313Z] 35d82f9e3411: Download complete [2023-01-19T02:53:19.313Z] 7e9fc2657dce: Verifying Checksum [2023-01-19T02:53:19.313Z] 7e9fc2657dce: Download complete [2023-01-19T02:53:19.313Z] dda99020689f: Verifying Checksum [2023-01-19T02:53:19.313Z] dda99020689f: Download complete [2023-01-19T02:53:19.313Z] 9b18e9b68314: Verifying Checksum [2023-01-19T02:53:19.313Z] 9b18e9b68314: Download complete [2023-01-19T02:53:20.763Z] 9b18e9b68314: Pull complete [2023-01-19T02:53:20.763Z] 891c053d2c06: Verifying Checksum [2023-01-19T02:53:20.763Z] 891c053d2c06: Download complete [2023-01-19T02:53:21.039Z] 35d82f9e3411: Pull complete [2023-01-19T02:53:21.641Z] e16973657156: Pull complete [2023-01-19T02:53:21.914Z] db1c61fa0a46: Verifying Checksum [2023-01-19T02:53:21.914Z] db1c61fa0a46: Download complete [2023-01-19T02:53:22.504Z] fc693d55d65f: Verifying Checksum [2023-01-19T02:53:22.504Z] fc693d55d65f: Download complete [2023-01-19T02:53:34.846Z] fc693d55d65f: Pull complete [2023-01-19T02:53:34.846Z] 7e9fc2657dce: Pull complete [2023-01-19T02:53:34.846Z] dda99020689f: Pull complete [2023-01-19T02:53:40.209Z] db1c61fa0a46: Pull complete [2023-01-19T02:53:41.635Z] 891c053d2c06: Pull complete [2023-01-19T02:53:41.635Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-19T02:53:41.635Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-19T02:53:41.635Z] ---> f96f9c87975a [2023-01-19T02:53:41.635Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:53:44.243Z] ---> Running in ec426c128de5 [2023-01-19T02:53:44.243Z] Removing intermediate container ec426c128de5 [2023-01-19T02:53:44.243Z] ---> c30578c0ae80 [2023-01-19T02:53:44.243Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:53:44.243Z] ---> Running in 3b655b9b11a0 [2023-01-19T02:53:44.513Z] Removing intermediate container 3b655b9b11a0 [2023-01-19T02:53:44.513Z] ---> eed461342c35 [2023-01-19T02:53:44.513Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:53:44.781Z] ---> Running in 69c103c67d30 [2023-01-19T02:53:45.050Z] Removing intermediate container 69c103c67d30 [2023-01-19T02:53:45.050Z] ---> e17f0605265c [2023-01-19T02:53:45.050Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:53:45.050Z] ---> Running in 34dbadd45587 [2023-01-19T02:53:45.319Z] Removing intermediate container 34dbadd45587 [2023-01-19T02:53:45.319Z] ---> 480d5327bd32 [2023-01-19T02:53:45.319Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:53:45.588Z] ---> Running in 3d5e865b3921 [2023-01-19T02:53:47.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T02:53:47.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T02:53:47.985Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-19T02:53:47.986Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-19T02:53:47.986Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-19T02:53:48.256Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-19T02:53:48.256Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T02:53:48.256Z] OK: 226 MiB in 55 packages [2023-01-19T02:53:49.726Z] Removing intermediate container 3d5e865b3921 [2023-01-19T02:53:49.726Z] ---> d4ea94cce6f3 [2023-01-19T02:53:49.726Z] Step 8/12 : WORKDIR /device-snmp-go [2023-01-19T02:53:49.999Z] ---> Running in 811219bb5b4c [2023-01-19T02:53:50.268Z] Removing intermediate container 811219bb5b4c [2023-01-19T02:53:50.268Z] ---> 0947ef8af952 [2023-01-19T02:53:50.268Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-19T02:53:50.872Z] ---> 5b4febd4624a [2023-01-19T02:53:50.872Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:53:50.872Z] ---> Running in 6a598c52c16c [2023-01-19T02:54:58.823Z] Removing intermediate container 6a598c52c16c [2023-01-19T02:54:58.823Z] ---> b29760810453 [2023-01-19T02:54:58.823Z] Step 11/12 : COPY . . [2023-01-19T02:54:58.823Z] ---> 7b1208e60706 [2023-01-19T02:54:58.823Z] Step 12/12 : RUN ${MAKE} [2023-01-19T02:54:58.823Z] ---> Running in 2374ff421428 [2023-01-19T02:54:59.092Z] noop [2023-01-19T02:54:59.682Z] Removing intermediate container 2374ff421428 [2023-01-19T02:54:59.682Z] ---> 23dd2473cc85 [2023-01-19T02:54:59.954Z] Successfully built 23dd2473cc85 [2023-01-19T02:54:59.954Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:55:00.442Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T02:55:00.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:55:00.725Z] prd-ubuntu20.04-docker-arm64-4c-16g-3062 does not seem to be running inside a container [2023-01-19T02:55:00.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T02:55:02.114Z] $ docker top 37abc8f5cd44f38a756771f42a68111bfbede126a1aa3a37aa758285a9725f12 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:55:03.018Z] + go version [2023-01-19T02:55:03.019Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-19T02:55:03.057Z] $ docker stop --time=1 37abc8f5cd44f38a756771f42a68111bfbede126a1aa3a37aa758285a9725f12 [2023-01-19T02:55:04.731Z] $ docker rm -f --volumes 37abc8f5cd44f38a756771f42a68111bfbede126a1aa3a37aa758285a9725f12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:55:05.577Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T02:55:05.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T02:55:05.849Z] prd-ubuntu20.04-docker-arm64-4c-16g-3062 does not seem to be running inside a container [2023-01-19T02:55:05.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-19T02:55:07.342Z] $ docker top 72eea1041ff5baa8a2abe5eefa85e78cc9e7179a75eae2dd89b11bebd2a6b985 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T02:55:08.253Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-19T02:55:08.961Z] + make test [2023-01-19T02:55:08.961Z] go test ./... -coverprofile=coverage.out [2023-01-19T02:55:11.027Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-01-19T02:56:47.734Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-01-19T02:56:47.734Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.056s coverage: 0.0% of statements [2023-01-19T02:56:47.734Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-19T02:56:47.734Z] go vet ./... [2023-01-19T02:57:09.850Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T02:57:09.850Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T02:57:09.850Z] ./bin/test-attribution-txt.sh [2023-01-19T02:57:10.138Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-19T02:57:10.138Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-19T02:57:10.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T02:57:10.211Z] $ docker stop --time=1 72eea1041ff5baa8a2abe5eefa85e78cc9e7179a75eae2dd89b11bebd2a6b985 [2023-01-19T02:57:12.200Z] $ docker rm -f --volumes 72eea1041ff5baa8a2abe5eefa85e78cc9e7179a75eae2dd89b11bebd2a6b985 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T02:57:13.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T02:57:13.393Z] Warning: overwriting stash ‘coverage-report’ [2023-01-19T02:57:14.215Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T02:57:14.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T02:57:15.188Z] + ls -al . [2023-01-19T02:57:15.189Z] total 168 [2023-01-19T02:57:15.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:55 . [2023-01-19T02:57:15.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:52 .. [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 6 Jan 19 02:52 .dockerignore [2023-01-19T02:57:15.189Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:52 .git [2023-01-19T02:57:15.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:52 .github [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 328 Jan 19 02:52 .gitignore [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:52 .golangci.yml [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 8828 Jan 19 02:52 Attribution.txt [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 8355 Jan 19 02:52 CHANGELOG.md [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 1423 Jan 19 02:52 Dockerfile [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:52 GOVERNANCE.md [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 656 Jan 19 02:52 Jenkinsfile [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:52 LICENSE [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 2079 Jan 19 02:52 Makefile [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 02:52 OWNERS.md [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 10054 Jan 19 02:52 README.md [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:50 VERSION [2023-01-19T02:57:15.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:52 bin [2023-01-19T02:57:15.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:52 cmd [2023-01-19T02:57:15.189Z] -rw-r--r-- 1 jenkins jenkins 7631 Jan 19 02:56 coverage.out [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 3380 Jan 19 02:52 go.mod [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 34497 Jan 19 02:52 go.sum [2023-01-19T02:57:15.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:52 internal [2023-01-19T02:57:15.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:52 snap [2023-01-19T02:57:15.189Z] -rw-rw-r-- 1 jenkins jenkins 228 Jan 19 02:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T02:57:15.624Z] + 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=c9691b8caf86c6d2cce680db4a24e097b68dcd6b --label arch=arm64 --label version=0.0.0 . [2023-01-19T02:57:16.222Z] Sending build context to Docker daemon 2.977MB [2023-01-19T02:57:16.222Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T02:57:16.222Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-19T02:57:16.222Z] ---> 23dd2473cc85 [2023-01-19T02:57:16.222Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-19T02:57:16.222Z] ---> Running in 40344adb2120 [2023-01-19T02:57:16.491Z] Removing intermediate container 40344adb2120 [2023-01-19T02:57:16.491Z] ---> 8c17f882fba3 [2023-01-19T02:57:16.491Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T02:57:16.758Z] ---> Running in 93139fd61afd [2023-01-19T02:57:17.027Z] Removing intermediate container 93139fd61afd [2023-01-19T02:57:17.027Z] ---> a06cd5a200e8 [2023-01-19T02:57:17.027Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-19T02:57:17.027Z] ---> Running in 3a54e8af5117 [2023-01-19T02:57:17.294Z] Removing intermediate container 3a54e8af5117 [2023-01-19T02:57:17.294Z] ---> 84fccbd45d63 [2023-01-19T02:57:17.294Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T02:57:17.562Z] ---> Running in acf52c90f8c3 [2023-01-19T02:57:17.836Z] Removing intermediate container acf52c90f8c3 [2023-01-19T02:57:17.836Z] ---> b3b3a45514ba [2023-01-19T02:57:17.836Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T02:57:17.836Z] ---> Running in 32f3ed65ef54 [2023-01-19T02:57:19.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T02:57:19.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T02:57:21.244Z] OK: 226 MiB in 55 packages [2023-01-19T02:57:22.690Z] Removing intermediate container 32f3ed65ef54 [2023-01-19T02:57:22.690Z] ---> 738fc6cbb8a1 [2023-01-19T02:57:22.690Z] Step 8/24 : WORKDIR /device-snmp-go [2023-01-19T02:57:22.690Z] ---> Running in 03942cdc0477 [2023-01-19T02:57:22.962Z] Removing intermediate container 03942cdc0477 [2023-01-19T02:57:22.962Z] ---> ab51c25fbca7 [2023-01-19T02:57:22.962Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-19T02:57:23.564Z] ---> 4fe19f16a106 [2023-01-19T02:57:23.564Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T02:57:23.835Z] ---> Running in cdcb63af4cfa [2023-01-19T02:57:27.194Z] Removing intermediate container cdcb63af4cfa [2023-01-19T02:57:27.194Z] ---> 2381cb483dfc [2023-01-19T02:57:27.194Z] Step 11/24 : COPY . . [2023-01-19T02:57:27.782Z] ---> 0d1d7e8f097d [2023-01-19T02:57:27.782Z] Step 12/24 : RUN ${MAKE} [2023-01-19T02:57:27.782Z] ---> Running in cd0cf6880bc0 [2023-01-19T02:57:28.749Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-01-19T03:00:05.558Z] Removing intermediate container cd0cf6880bc0 [2023-01-19T03:00:05.558Z] ---> 11e0641689f0 [2023-01-19T03:00:05.558Z] Step 13/24 : FROM alpine:3.16 [2023-01-19T03:00:05.558Z] 3.16: Pulling from library/alpine [2023-01-19T03:00:05.558Z] 6875df1f5354: Pulling fs layer [2023-01-19T03:00:05.558Z] 6875df1f5354: Verifying Checksum [2023-01-19T03:00:05.558Z] 6875df1f5354: Download complete [2023-01-19T03:00:05.558Z] 6875df1f5354: Pull complete [2023-01-19T03:00:05.558Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T03:00:05.558Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T03:00:05.558Z] ---> 2b4661558fb8 [2023-01-19T03:00:05.558Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-01-19T03:00:05.558Z] ---> Running in 01fad3282abd [2023-01-19T03:00:05.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T03:00:05.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T03:00:05.558Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T03:00:05.558Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T03:00:05.558Z] OK: 5 MiB in 15 packages [2023-01-19T03:00:05.558Z] Removing intermediate container 01fad3282abd [2023-01-19T03:00:05.558Z] ---> ce4ef77c9fce [2023-01-19T03:00:05.558Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-01-19T03:00:06.530Z] ---> 876848843cc6 [2023-01-19T03:00:06.530Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-01-19T03:00:07.116Z] ---> 9966908a15d3 [2023-01-19T03:00:07.116Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-01-19T03:00:07.707Z] ---> 2a04da27a1e4 [2023-01-19T03:00:07.707Z] Step 18/24 : EXPOSE 59993 [2023-01-19T03:00:07.707Z] ---> Running in 97e548609d85 [2023-01-19T03:00:07.980Z] Removing intermediate container 97e548609d85 [2023-01-19T03:00:07.980Z] ---> a374eb57755f [2023-01-19T03:00:07.980Z] Step 19/24 : EXPOSE 161 [2023-01-19T03:00:08.251Z] ---> Running in a60b38b579e7 [2023-01-19T03:00:08.521Z] Removing intermediate container a60b38b579e7 [2023-01-19T03:00:08.521Z] ---> 75f49c28c171 [2023-01-19T03:00:08.521Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-01-19T03:00:08.521Z] ---> Running in 425cbca61654 [2023-01-19T03:00:08.791Z] Removing intermediate container 425cbca61654 [2023-01-19T03:00:08.791Z] ---> d7daa58e8a72 [2023-01-19T03:00:08.791Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T03:00:09.065Z] ---> Running in b9cf09b7e8d5 [2023-01-19T03:00:09.335Z] Removing intermediate container b9cf09b7e8d5 [2023-01-19T03:00:09.335Z] ---> 90ff1184eedb [2023-01-19T03:00:09.335Z] Step 22/24 : LABEL arch=arm64 [2023-01-19T03:00:09.335Z] ---> Running in f4a2f1dfefe8 [2023-01-19T03:00:09.610Z] Removing intermediate container f4a2f1dfefe8 [2023-01-19T03:00:09.610Z] ---> 2b09cdbe8d97 [2023-01-19T03:00:09.610Z] Step 23/24 : LABEL git_sha=c9691b8caf86c6d2cce680db4a24e097b68dcd6b [2023-01-19T03:00:09.881Z] ---> Running in 82de6bb490a4 [2023-01-19T03:00:10.151Z] Removing intermediate container 82de6bb490a4 [2023-01-19T03:00:10.151Z] ---> dfb88aaea35f [2023-01-19T03:00:10.151Z] Step 24/24 : LABEL version=0.0.0 [2023-01-19T03:00:10.151Z] ---> Running in 2d1e2c7041e2 [2023-01-19T03:00:10.419Z] Removing intermediate container 2d1e2c7041e2 [2023-01-19T03:00:10.419Z] ---> 4f26bfb85c99 [2023-01-19T03:00:10.419Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T03:00:10.419Z] Successfully built 4f26bfb85c99 [2023-01-19T03:00:10.419Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:00:11.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T03:00:11.542Z] [2023-01-19T03:00:11.542Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:00:11.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T03:00:11.951Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-19T03:00:11.951Z] 8998bd30e6a1: Pulling fs layer [2023-01-19T03:00:11.951Z] 04944245beec: Pulling fs layer [2023-01-19T03:00:11.951Z] 699f458cf7ca: Pulling fs layer [2023-01-19T03:00:11.951Z] 765212b225bb: Pulling fs layer [2023-01-19T03:00:11.951Z] f23df028b6ca: Pulling fs layer [2023-01-19T03:00:11.951Z] d65c8cfc05b1: Pulling fs layer [2023-01-19T03:00:11.951Z] 2437ff75d9bd: Pulling fs layer [2023-01-19T03:00:11.951Z] f23df028b6ca: Waiting [2023-01-19T03:00:11.951Z] 765212b225bb: Waiting [2023-01-19T03:00:11.951Z] d65c8cfc05b1: Waiting [2023-01-19T03:00:11.951Z] 2437ff75d9bd: Waiting [2023-01-19T03:00:12.222Z] 04944245beec: Verifying Checksum [2023-01-19T03:00:12.222Z] 04944245beec: Download complete [2023-01-19T03:00:12.222Z] 765212b225bb: Verifying Checksum [2023-01-19T03:00:12.222Z] 765212b225bb: Download complete [2023-01-19T03:00:12.222Z] f23df028b6ca: Verifying Checksum [2023-01-19T03:00:12.222Z] f23df028b6ca: Download complete [2023-01-19T03:00:12.222Z] d65c8cfc05b1: Verifying Checksum [2023-01-19T03:00:12.222Z] d65c8cfc05b1: Download complete [2023-01-19T03:00:12.496Z] 699f458cf7ca: Verifying Checksum [2023-01-19T03:00:12.496Z] 699f458cf7ca: Download complete [2023-01-19T03:00:12.765Z] 8998bd30e6a1: Download complete [2023-01-19T03:00:15.366Z] 2437ff75d9bd: Verifying Checksum [2023-01-19T03:00:15.366Z] 2437ff75d9bd: Download complete [2023-01-19T03:00:17.322Z] 8998bd30e6a1: Pull complete [2023-01-19T03:00:17.592Z] 04944245beec: Pull complete [2023-01-19T03:00:19.012Z] 699f458cf7ca: Pull complete [2023-01-19T03:00:19.283Z] 765212b225bb: Pull complete [2023-01-19T03:00:20.248Z] f23df028b6ca: Pull complete [2023-01-19T03:00:20.248Z] d65c8cfc05b1: Pull complete [2023-01-19T03:00:35.266Z] 2437ff75d9bd: Pull complete [2023-01-19T03:00:35.266Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-19T03:00:35.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T03:00:35.266Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:00:35.612Z] prd-ubuntu20.04-docker-arm64-4c-16g-3062 does not seem to be running inside a container [2023-01-19T03:00:35.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-19T03:00:38.723Z] $ docker top 482d5fdfb0c668451f89fc4e618fa9c4796f25a6098b2783efdf4d8d7ff71c21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:00:39.640Z] ---> job-cost.sh [2023-01-19T03:00:39.640Z] lf-activate-venv: SKIPPING [2023-01-19T03:00:39.640Z] INFO: No Stack... [2023-01-19T03:00:40.224Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-19T03:00:40.814Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T03:00:41.475Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-01-19T03:00:41.475Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T03:00:41.570Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-217-1-stack-cost] [2023-01-19T03:00:41.576Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-217-1-stack-cost] did not exist. Created. [2023-01-19T03:00:41.577Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T03:00:42.303Z] /w/workspace/device-snmp-go/1@tmp/durable-c366a5d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-19T03:00:42.987Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-19T03:00:43.026Z] Warning: overwriting stash ‘stack-cost’ [2023-01-19T03:00:43.074Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T03:00:43.090Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T03:00:43.176Z] $ docker stop --time=1 482d5fdfb0c668451f89fc4e618fa9c4796f25a6098b2783efdf4d8d7ff71c21 [2023-01-19T03:00:44.753Z] $ docker rm -f --volumes 482d5fdfb0c668451f89fc4e618fa9c4796f25a6098b2783efdf4d8d7ff71c21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-19T03:00:45.779Z] provisioning config files... [2023-01-19T03:00:45.788Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp/config17148248885525041749tmp [Pipeline] { [Pipeline] sh [2023-01-19T03:00:46.118Z] + set +x [2023-01-19T03:00:46.118Z] + curl -s https://codecov.io/bash [2023-01-19T03:00:46.118Z] + bash -s -- [2023-01-19T03:00:46.118Z] [2023-01-19T03:00:46.118Z] _____ _ [2023-01-19T03:00:46.118Z] / ____| | | [2023-01-19T03:00:46.118Z] | | ___ __| | ___ ___ _____ __ [2023-01-19T03:00:46.118Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-19T03:00:46.118Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-19T03:00:46.118Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-19T03:00:46.118Z] Bash-1.0.6 [2023-01-19T03:00:46.118Z] [2023-01-19T03:00:46.118Z] [2023-01-19T03:00:46.118Z] ==> git version 2.25.1 found [2023-01-19T03:00:46.118Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-19T03:00:46.118Z] Release-Date: 2020-01-08 [2023-01-19T03:00:46.118Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-19T03:00:46.118Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-19T03:00:46.118Z] ==> Jenkins CI detected. [2023-01-19T03:00:46.118Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-217 [2023-01-19T03:00:46.118Z] project root: . [2023-01-19T03:00:46.118Z] --> token set from env [2023-01-19T03:00:46.118Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-19T03:00:46.118Z] ==> Running gcov in . (disable via -X gcov) [2023-01-19T03:00:46.118Z] ==> Python coveragepy not found [2023-01-19T03:00:46.118Z] ==> Searching for coverage reports in: [2023-01-19T03:00:46.118Z] + . [2023-01-19T03:00:46.118Z] -> Found 1 reports [2023-01-19T03:00:46.118Z] ==> Detecting git/mercurial file structure [2023-01-19T03:00:46.118Z] ==> Reading reports [2023-01-19T03:00:46.118Z] + ./coverage.out bytes=7631 [2023-01-19T03:00:46.118Z] ==> Appending adjustments [2023-01-19T03:00:46.118Z] https://docs.codecov.io/docs/fixing-reports [2023-01-19T03:00:46.378Z] + Found adjustments [2023-01-19T03:00:46.378Z] ==> Gzipping contents [2023-01-19T03:00:46.378Z] 4.0K /tmp/codecov.mmYVaP.gz [2023-01-19T03:00:46.378Z] ==> Uploading reports [2023-01-19T03:00:46.378Z] url: https://codecov.io [2023-01-19T03:00:46.378Z] query: branch=PR-217&commit=c9691b8caf86c6d2cce680db4a24e097b68dcd6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=217&job=&cmd_args= [2023-01-19T03:00:46.378Z] -> Pinging Codecov [2023-01-19T03:00:46.378Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-217&commit=c9691b8caf86c6d2cce680db4a24e097b68dcd6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=217&job=&cmd_args= [2023-01-19T03:00:46.637Z] -> Uploading to [2023-01-19T03:00:46.637Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-19/6C56EA5C29638FB4528AC87E60AF5AE0/c9691b8caf86c6d2cce680db4a24e097b68dcd6b/735a2130-30b2-41a1-8202-2dca24c9186e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T030046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ae13c4f84b231fada69fe628ee69391c2413ab698fcfdd37ffe54a70b76b15a [2023-01-19T03:00:46.637Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T03:00:46.637Z] Dload Upload Total Spent Left Speed [2023-01-19T03:00:46.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 5494 --:--:-- --:--:-- --:--:-- 5494 [2023-01-19T03:00:46.897Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/c9691b8caf86c6d2cce680db4a24e097b68dcd6b [Pipeline] } [2023-01-19T03:00:46.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-19T03:00:48.667Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-217/archives ] [2023-01-19T03:00:48.667Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-217/archives [2023-01-19T03:00:48.667Z] total 16 [2023-01-19T03:00:48.667Z] drwxr-xr-x 3 root root 4096 Jan 19 02:51 . [2023-01-19T03:00:48.667Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:51 .. [2023-01-19T03:00:48.667Z] drwxr-xr-x 2 root root 4096 Jan 19 02:51 cost [2023-01-19T03:00:48.667Z] -rw-r--r-- 1 root root 86 Jan 19 02:51 cost.csv [2023-01-19T03:00:48.667Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-217/archives [2023-01-19T03:00:48.667Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-217/archives [2023-01-19T03:00:48.667Z] total 16 [2023-01-19T03:00:48.667Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:51 . [2023-01-19T03:00:48.667Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:51 .. [2023-01-19T03:00:48.667Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 02:51 cost [2023-01-19T03:00:48.667Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 19 02:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:00:49.003Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:00:49.904Z] ---> package-listing.sh [2023-01-19T03:00:49.904Z] ++ facter osfamily [2023-01-19T03:00:49.904Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-19T03:00:50.162Z] + OS_FAMILY=debian [2023-01-19T03:00:50.162Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-217 [2023-01-19T03:00:50.162Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-19T03:00:50.162Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-19T03:00:50.162Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-19T03:00:50.162Z] + PACKAGES=/tmp/packages_start.txt [2023-01-19T03:00:50.162Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-217 ']' [2023-01-19T03:00:50.162Z] + PACKAGES=/tmp/packages_end.txt [2023-01-19T03:00:50.162Z] + case "${OS_FAMILY}" in [2023-01-19T03:00:50.162Z] + dpkg -l [2023-01-19T03:00:50.162Z] + grep '^ii' [2023-01-19T03:00:50.162Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-19T03:00:50.162Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-19T03:00:50.162Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-19T03:00:50.162Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-217 ']' [2023-01-19T03:00:50.162Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-217/archives/ [2023-01-19T03:00:50.162Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-217/archives/ [Pipeline] echo [2023-01-19T03:00:50.196Z] 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-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-19T03:00:50.486Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T03:00:51.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T03:00:51.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T03:00:51.248Z] prd-ubuntu20.04-docker-8c-8g-3060 does not seem to be running inside a container [2023-01-19T03:00:51.276Z] $ 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-217/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-217 -v /w/workspace/gexfoundry_device-snmp-go_PR-217:/w/workspace/gexfoundry_device-snmp-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-217@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-19T03:00:51.457Z] $ docker top 518f41cf7b33cd89aa19a47df269b412f3a9da448fc32eca0fd87251f0833e9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T03:00:51.850Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-19T03:00:52.166Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-19T03:00:52.480Z] + ls /var/log/sa-host [2023-01-19T03:00:52.480Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T03:00:52.603Z] provisioning config files... [2023-01-19T03:00:52.613Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-217@tmp/config7023659120265371682tmp [Pipeline] { [Pipeline] echo [2023-01-19T03:00:52.654Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:00:52.963Z] ---> create-netrc.sh [Pipeline] } [2023-01-19T03:00:52.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:00:53.389Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-19T03:00:53.425Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:00:53.734Z] ---> sudo-logs.sh [2023-01-19T03:00:53.734Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-19T03:00:53.816Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:00:54.127Z] ---> job-cost.sh [2023-01-19T03:00:54.128Z] lf-activate-venv: SKIPPING [2023-01-19T03:00:54.128Z] DEBUG: total: 0.2199999988079071 [2023-01-19T03:00:54.128Z] INFO: Retrieving Stack Cost... [2023-01-19T03:00:56.032Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T03:00:56.598Z] INFO: Archiving Costs [Pipeline] echo [2023-01-19T03:00:56.632Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T03:00:56.938Z] ---> logs-deploy.sh [2023-01-19T03:00:56.938Z] lf-activate-venv: SKIPPING [2023-01-19T03:00:56.938Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-217/1 [2023-01-19T03:00:56.938Z] INFO: archiving workspace using pattern(s): [2023-01-19T03:00:57.876Z] Archives upload complete. [2023-01-19T03:00:57.876Z] INFO: archiving logs to Nexus