Pull request #230 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7+2bd6e5dae59222faf073cfb9822f90f2048c0bba (9ca4da593eee6a44dd5d52648f1829b4f08c8363) 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-ssh12429367561525479337.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-ssh662994267173531600.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-230/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-230/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13355792707244217595.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-230/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4611799261959791816.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-ssh14157691148353857477.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-230/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-230/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12737572187819689529.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 ‘prd-ubuntu20.04-docker-8c-8g-5477’ Running on prd-ubuntu20.04-docker-8c-8g-5484 in /w/workspace/gexfoundry_device-snmp-go_PR-230 [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-230 # 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/230/head:refs/remotes/origin/PR-230 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 Merge succeeded, producing 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 Checking out Revision 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 (PR-230) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T05:59:39.797Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T05:59:39.956Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T05:59:40.050Z] ========================================================= [2023-02-13T05:59:40.050Z] EdgeX Global Pipelines Version Info [2023-02-13T05:59:40.050Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 # 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 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 # timeout=10 [2023-02-13T05:59:40.786Z] ------------------- [2023-02-13T05:59:40.786Z] stable info: [2023-02-13T05:59:40.786Z] ------------------- [2023-02-13T05:59:40.786Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T05:59:40.786Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T05:59:40.786Z] Message: update stable to v1.0.244 [2023-02-13T05:59:41.356Z] ------------------- [2023-02-13T05:59:41.356Z] experimental info: [2023-02-13T05:59:41.356Z] ------------------- [2023-02-13T05:59:41.356Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T05:59:41.356Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T05:59:41.356Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T05:59:41.654Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-13T05:59:41.691Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-13T05:59:41.729Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T05:59:41.766Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T05:59:41.807Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T05:59:41.849Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T05:59:41.888Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T05:59:41.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T05:59:41.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T05:59:42.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T05:59:42.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T05:59:42.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-13T05:59:42.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T05:59:42.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T05:59:42.203Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T05:59:42.244Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T05:59:42.280Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T05:59:42.316Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T05:59:42.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T05:59:42.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T05:59:42.429Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-13T05:59:42.468Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-13T05:59:42.506Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T05:59:42.544Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T05:59:42.584Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T05:59:42.626Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T05:59:42.665Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T05:59:42.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-230 [Pipeline] echo [2023-02-13T05:59:42.747Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-230 [Pipeline] echo [2023-02-13T05:59:42.789Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-230 [Pipeline] echo [2023-02-13T05:59:42.834Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [Pipeline] echo [2023-02-13T05:59:42.876Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 270b5ee [Pipeline] echo [2023-02-13T05:59:42.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T05:59:43.045Z] provisioning config files... [2023-02-13T05:59:43.057Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp/config5502264781695541372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:59:43.398Z] ---> docker-login.sh [2023-02-13T05:59:43.398Z] nexus3.edgexfoundry.org:10001 [2023-02-13T05:59:43.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:59:43.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:59:43.657Z] Configure a credential helper to remove this warning. See [2023-02-13T05:59:43.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:59:43.657Z] [2023-02-13T05:59:43.657Z] Login Succeeded [2023-02-13T05:59:43.657Z] nexus3.edgexfoundry.org:10002 [2023-02-13T05:59:43.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:59:43.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:59:43.657Z] Configure a credential helper to remove this warning. See [2023-02-13T05:59:43.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:59:43.657Z] [2023-02-13T05:59:43.657Z] Login Succeeded [2023-02-13T05:59:43.657Z] nexus3.edgexfoundry.org:10003 [2023-02-13T05:59:43.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:59:43.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:59:43.916Z] Configure a credential helper to remove this warning. See [2023-02-13T05:59:43.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:59:43.916Z] [2023-02-13T05:59:43.916Z] Login Succeeded [2023-02-13T05:59:43.916Z] nexus3.edgexfoundry.org:10004 [2023-02-13T05:59:43.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:59:43.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:59:43.916Z] Configure a credential helper to remove this warning. See [2023-02-13T05:59:43.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:59:43.916Z] [2023-02-13T05:59:43.916Z] Login Succeeded [2023-02-13T05:59:43.916Z] docker.io [2023-02-13T05:59:44.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:59:44.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:59:44.177Z] Configure a credential helper to remove this warning. See [2023-02-13T05:59:44.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:59:44.177Z] [2023-02-13T05:59:44.177Z] Login Succeeded [2023-02-13T05:59:44.437Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T05:59:44.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T05:59:45.096Z] + git rev-list -1 --merges 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7~1..270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [Pipeline] echo [2023-02-13T05:59:45.167Z] -----------> git rev-list -1 --merges 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7~1..270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [false] [Pipeline] sh [2023-02-13T05:59:45.479Z] + git log --format=format:%s -1 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [Pipeline] echo [2023-02-13T05:59:45.513Z] ========================================================= [2023-02-13T05:59:45.513Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T05:59:45.513Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T05:59:45.941Z] + git log --format=format:%s -1 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [Pipeline] echo [2023-02-13T05:59:45.975Z] [semverPrep] GIT_COMMIT: 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-13T05:59:46.005Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T05:59:46.392Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T05:59:46.393Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T05:59:46.393Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T05:59:46.393Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T05:59:46.393Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T05:59:46.393Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T05:59:46.393Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:59:46.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T05:59:46.886Z] [2023-02-13T05:59:46.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:59:47.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T05:59:47.281Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T05:59:47.281Z] b85a868b505f: Pulling fs layer [2023-02-13T05:59:47.281Z] e2be974225ed: Pulling fs layer [2023-02-13T05:59:47.281Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T05:59:47.281Z] 988bab9f4d93: Pulling fs layer [2023-02-13T05:59:47.281Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T05:59:47.281Z] 988bab9f4d93: Waiting [2023-02-13T05:59:47.281Z] eaf3925da568: Pulling fs layer [2023-02-13T05:59:47.281Z] bab4dde63d76: Pulling fs layer [2023-02-13T05:59:47.281Z] 1469e6f7b9e6: Waiting [2023-02-13T05:59:47.281Z] eaf3925da568: Waiting [2023-02-13T05:59:47.281Z] bde34c3a00c8: Pulling fs layer [2023-02-13T05:59:47.281Z] b352a97aabf1: Pulling fs layer [2023-02-13T05:59:47.281Z] 4872d77fe225: Pulling fs layer [2023-02-13T05:59:47.281Z] 5851b861e8e6: Pulling fs layer [2023-02-13T05:59:47.281Z] bab4dde63d76: Waiting [2023-02-13T05:59:47.281Z] 4872d77fe225: Waiting [2023-02-13T05:59:47.281Z] b352a97aabf1: Waiting [2023-02-13T05:59:47.281Z] bde34c3a00c8: Waiting [2023-02-13T05:59:47.281Z] 5851b861e8e6: Waiting [2023-02-13T05:59:47.281Z] e2be974225ed: Verifying Checksum [2023-02-13T05:59:47.281Z] e2be974225ed: Download complete [2023-02-13T05:59:47.547Z] 988bab9f4d93: Download complete [2023-02-13T05:59:47.822Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T05:59:47.822Z] 1469e6f7b9e6: Download complete [2023-02-13T05:59:47.822Z] eaf3925da568: Verifying Checksum [2023-02-13T05:59:47.822Z] eaf3925da568: Download complete [2023-02-13T05:59:47.822Z] 339a4e72a1f5: Download complete [2023-02-13T05:59:47.822Z] bde34c3a00c8: Verifying Checksum [2023-02-13T05:59:47.822Z] bde34c3a00c8: Download complete [2023-02-13T05:59:47.822Z] b352a97aabf1: Verifying Checksum [2023-02-13T05:59:47.822Z] b352a97aabf1: Download complete [2023-02-13T05:59:47.822Z] 4872d77fe225: Verifying Checksum [2023-02-13T05:59:47.822Z] 4872d77fe225: Download complete [2023-02-13T05:59:48.086Z] 5851b861e8e6: Verifying Checksum [2023-02-13T05:59:48.086Z] 5851b861e8e6: Download complete [2023-02-13T05:59:48.086Z] b85a868b505f: Verifying Checksum [2023-02-13T05:59:48.086Z] b85a868b505f: Download complete [2023-02-13T05:59:48.346Z] bab4dde63d76: Verifying Checksum [2023-02-13T05:59:48.346Z] bab4dde63d76: Download complete [2023-02-13T05:59:49.280Z] b85a868b505f: Pull complete [2023-02-13T05:59:49.609Z] e2be974225ed: Pull complete [2023-02-13T05:59:49.866Z] 339a4e72a1f5: Pull complete [2023-02-13T05:59:50.124Z] 988bab9f4d93: Pull complete [2023-02-13T05:59:50.380Z] 1469e6f7b9e6: Pull complete [2023-02-13T05:59:50.381Z] eaf3925da568: Pull complete [2023-02-13T05:59:52.287Z] bab4dde63d76: Pull complete [2023-02-13T05:59:52.287Z] bde34c3a00c8: Pull complete [2023-02-13T05:59:52.546Z] b352a97aabf1: Pull complete [2023-02-13T05:59:52.546Z] 4872d77fe225: Pull complete [2023-02-13T05:59:52.546Z] 5851b861e8e6: Pull complete [2023-02-13T05:59:52.804Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T05:59:52.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T05:59:52.804Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:59:53.024Z] prd-ubuntu20.04-docker-8c-8g-5484 does not seem to be running inside a container [2023-02-13T05:59:53.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-230 -v /w/workspace/gexfoundry_device-snmp-go_PR-230:/w/workspace/gexfoundry_device-snmp-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T05:59:56.009Z] $ docker top 908cc6b7d253b4af82af88b0cc0a4cada27a3328f236dd63ec691d930e6c17f0 -eo pid,comm [2023-02-13T05:59:56.062Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-13T05:59:56.062Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T05:59:56.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T05:59:56.177Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T05:59:56.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T05:59:56.291Z] $ docker exec 908cc6b7d253b4af82af88b0cc0a4cada27a3328f236dd63ec691d930e6c17f0 ssh-agent [2023-02-13T05:59:56.400Z] SSH_AUTH_SOCK=/tmp/ssh-jka1cnan9Xad/agent.32 [2023-02-13T05:59:56.400Z] SSH_AGENT_PID=38 [2023-02-13T05:59:56.406Z] Running ssh-add (command line suppressed) [2023-02-13T05:59:56.515Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-230@tmp/private_key_13164190716041648715.key (/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp/private_key_13164190716041648715.key) [2023-02-13T05:59:56.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T05:59:56.853Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T05:59:56.882Z] $ docker exec --env ******** --env ******** 908cc6b7d253b4af82af88b0cc0a4cada27a3328f236dd63ec691d930e6c17f0 ssh-agent -k [2023-02-13T05:59:56.993Z] unset SSH_AUTH_SOCK; [2023-02-13T05:59:56.993Z] unset SSH_AGENT_PID; [2023-02-13T05:59:56.993Z] echo Agent pid 38 killed; [2023-02-13T05:59:57.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T05:59:57.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T05:59:57.092Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T05:59:57.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T05:59:57.217Z] $ docker exec 908cc6b7d253b4af82af88b0cc0a4cada27a3328f236dd63ec691d930e6c17f0 ssh-agent [2023-02-13T05:59:57.325Z] SSH_AUTH_SOCK=/tmp/ssh-bqkgOstTjKFF/agent.70 [2023-02-13T05:59:57.325Z] SSH_AGENT_PID=76 [2023-02-13T05:59:57.330Z] Running ssh-add (command line suppressed) [2023-02-13T05:59:57.442Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-230@tmp/private_key_1713961032726467994.key (/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp/private_key_1713961032726467994.key) [2023-02-13T05:59:57.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T05:59:57.789Z] + git semver init [2023-02-13T05:59:58.048Z] 2023-02-13 05:59:57,976 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T05:59:58.048Z] 2023-02-13 05:59:57,977 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-230/.semver [2023-02-13T05:59:58.048Z] 2023-02-13 05:59:57,978 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-230/.semver [2023-02-13T05:59:58.048Z] 2023-02-13 05:59:57,978 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-230/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-230, universal_newlines=False, shell=None, istream=None) [2023-02-13T05:59:58.986Z] 2023-02-13 05:59:58,874 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-230/.git/info/exclude [2023-02-13T05:59:58.986Z] 2023-02-13 05:59:58,875 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-230/.semver/PR-230 with force:False [2023-02-13T05:59:58.986Z] 2023-02-13 05:59:58,875 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-230/.semver/PR-230 [2023-02-13T05:59:58.986Z] 2023-02-13 05:59:58,879 [execute] INFO git cat-file --batch-check [2023-02-13T05:59:58.986Z] 2023-02-13 05:59:58,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-230/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T05:59:58.986Z] 2023-02-13 05:59:58,887 [execute] INFO git cat-file --batch [2023-02-13T05:59:58.986Z] 2023-02-13 05:59:58,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-230/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T05:59:58.986Z] 2023-02-13 05:59:58,894 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-230/.semver/PR-230 [2023-02-13T05:59:58.986Z] 0.0.0 [Pipeline] } [2023-02-13T05:59:59.012Z] $ docker exec --env ******** --env ******** 908cc6b7d253b4af82af88b0cc0a4cada27a3328f236dd63ec691d930e6c17f0 ssh-agent -k [2023-02-13T05:59:59.114Z] unset SSH_AUTH_SOCK; [2023-02-13T05:59:59.114Z] unset SSH_AGENT_PID; [2023-02-13T05:59:59.115Z] echo Agent pid 76 killed; [2023-02-13T05:59:59.120Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T05:59:59.534Z] + git semver [Pipeline] } [2023-02-13T05:59:59.824Z] $ docker stop --time=1 908cc6b7d253b4af82af88b0cc0a4cada27a3328f236dd63ec691d930e6c17f0 [2023-02-13T06:00:01.154Z] $ docker rm -f --volumes 908cc6b7d253b4af82af88b0cc0a4cada27a3328f236dd63ec691d930e6c17f0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T06:00:01.549Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T06:00:01.811Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T06:00:01.827Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:00:02.461Z] provisioning config files... [2023-02-13T06:00:02.473Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp/config9722863262553703347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:00:02.643Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5483 in /w/workspace/gexfoundry_device-snmp-go_PR-230 [Pipeline] { [Pipeline] ws [2023-02-13T06:00:02.697Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-13T06:00:02.772Z] Selected Git installation does not exist. Using Default [2023-02-13T06:00:02.772Z] The recommended git tool is: NONE [2023-02-13T06:00:02.821Z] ---> docker-login.sh [2023-02-13T06:00:02.821Z] nexus3.edgexfoundry.org:10001 [2023-02-13T06:00:02.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:02.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:02.821Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:02.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:02.821Z] [2023-02-13T06:00:02.821Z] Login Succeeded [2023-02-13T06:00:02.821Z] nexus3.edgexfoundry.org:10002 [2023-02-13T06:00:02.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:02.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:02.821Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:02.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:02.821Z] [2023-02-13T06:00:02.821Z] Login Succeeded [2023-02-13T06:00:02.821Z] nexus3.edgexfoundry.org:10003 [2023-02-13T06:00:03.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:03.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:03.079Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:03.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:03.079Z] [2023-02-13T06:00:03.079Z] Login Succeeded [2023-02-13T06:00:03.079Z] nexus3.edgexfoundry.org:10004 [2023-02-13T06:00:03.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:03.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:03.340Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:03.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:03.340Z] [2023-02-13T06:00:03.340Z] Login Succeeded [2023-02-13T06:00:03.340Z] docker.io [2023-02-13T06:00:03.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:05.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:05.245Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:05.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:05.245Z] [2023-02-13T06:00:05.245Z] Login Succeeded [2023-02-13T06:00:05.245Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T06:00:05.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T06:00:05.516Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:00:05.558Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:00:05.592Z] ========================================================= [2023-02-13T06:00:05.592Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T06:00:05.592Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:00:06.078Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T06:00:06.078Z] Sending build context to Docker daemon 5.679MB [2023-02-13T06:00:06.078Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:00:06.078Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T06:00:06.338Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T06:00:06.338Z] 213ec9aee27d: Pulling fs layer [2023-02-13T06:00:06.338Z] 4583459ba037: Pulling fs layer [2023-02-13T06:00:06.338Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T06:00:06.338Z] 53926ce57604: Pulling fs layer [2023-02-13T06:00:06.338Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T06:00:06.338Z] 22ff95d597cd: Pulling fs layer [2023-02-13T06:00:06.338Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T06:00:06.338Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T06:00:06.338Z] a7acece74701: Pulling fs layer [2023-02-13T06:00:06.338Z] 21b2b0c7a3f4: Waiting [2023-02-13T06:00:06.338Z] 96b7cbca73a9: Waiting [2023-02-13T06:00:06.338Z] 12d6caf4c0d1: Waiting [2023-02-13T06:00:06.338Z] 22ff95d597cd: Waiting [2023-02-13T06:00:06.338Z] 53926ce57604: Waiting [2023-02-13T06:00:06.338Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T06:00:06.338Z] 93c1e223e6f2: Download complete [2023-02-13T06:00:06.338Z] 4583459ba037: Verifying Checksum [2023-02-13T06:00:06.338Z] 4583459ba037: Download complete [2023-02-13T06:00:06.338Z] 21b2b0c7a3f4: Download complete [2023-02-13T06:00:06.338Z] 22ff95d597cd: Download complete [2023-02-13T06:00:06.338Z] 213ec9aee27d: Verifying Checksum [2023-02-13T06:00:06.338Z] 213ec9aee27d: Download complete [2023-02-13T06:00:06.338Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T06:00:06.338Z] 12d6caf4c0d1: Download complete [2023-02-13T06:00:06.602Z] 213ec9aee27d: Pull complete [2023-02-13T06:00:06.884Z] 4583459ba037: Pull complete [2023-02-13T06:00:07.158Z] a7acece74701: Verifying Checksum [2023-02-13T06:00:07.158Z] a7acece74701: Download complete [2023-02-13T06:00:07.429Z] 93c1e223e6f2: Pull complete [2023-02-13T06:00:07.695Z] 53926ce57604: Verifying Checksum [2023-02-13T06:00:07.695Z] 53926ce57604: Download complete [2023-02-13T06:00:07.695Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T06:00:07.695Z] 96b7cbca73a9: Download complete [2023-02-13T06:00:08.035Z] using credential edgex-jenkins-ssh [2023-02-13T06:00:08.052Z] Cloning the remote Git repository [2023-02-13T06:00:08.082Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-13T06:00:08.158Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-13T06:00:08.316Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-13T06:00:08.317Z] > git --version # timeout=10 [2023-02-13T06:00:08.349Z] > git --version # 'git version 2.25.1' [2023-02-13T06:00:08.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T06:00:08.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T06:00:11.885Z] 53926ce57604: Pull complete [2023-02-13T06:00:11.885Z] 21b2b0c7a3f4: Pull complete [2023-02-13T06:00:11.885Z] 22ff95d597cd: Pull complete [2023-02-13T06:00:11.885Z] 12d6caf4c0d1: Pull complete [2023-02-13T06:00:12.344Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-13T06:00:12.366Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T06:00:13.781Z] 96b7cbca73a9: Pull complete [2023-02-13T06:00:14.369Z] a7acece74701: Pull complete [2023-02-13T06:00:14.369Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T06:00:14.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T06:00:14.369Z] ---> db6d94c90886 [2023-02-13T06:00:14.369Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:00:13.257Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-13T06:00:13.294Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-13T06:00:13.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T06:00:13.311Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/230/head:refs/remotes/origin/PR-230 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T06:00:15.285Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [2023-02-13T06:00:15.514Z] Merge succeeded, producing 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [2023-02-13T06:00:15.515Z] Checking out Revision 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 (PR-230) [2023-02-13T06:00:15.293Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T06:00:15.317Z] > git checkout -f 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 # timeout=10 [2023-02-13T06:00:15.408Z] > git remote # timeout=10 [2023-02-13T06:00:15.428Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T06:00:15.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T06:00:15.464Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-13T06:00:15.487Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T06:00:15.509Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T06:00:15.521Z] > git checkout -f 270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 # timeout=10 [2023-02-13T06:00:16.020Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-13T06:00:16.062Z] > git --version # timeout=10 [2023-02-13T06:00:16.075Z] > git --version # 'git version 2.25.1' [2023-02-13T06:00:16.097Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T06:00:17.275Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T06:00:17.276Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T06:00:17.276Z] Dload Upload Total Spent Left Speed [2023-02-13T06:00:17.276Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 96598 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-02-13T06:00:17.898Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T06:00:18.243Z] + sudo tee /etc/docker/daemon.new [2023-02-13T06:00:18.243Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T06:00:18.243Z] { [2023-02-13T06:00:18.243Z] "registry-mirrors": [ [2023-02-13T06:00:18.243Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T06:00:18.243Z] ], [2023-02-13T06:00:18.243Z] "bip": "10.250.0.254/24", [2023-02-13T06:00:18.243Z] "hosts": [ [2023-02-13T06:00:18.243Z] "tcp://0.0.0.0:5555", [2023-02-13T06:00:18.243Z] "unix:///var/run/docker.sock" [2023-02-13T06:00:18.243Z] ], [2023-02-13T06:00:18.243Z] "mtu": 1458, [2023-02-13T06:00:18.243Z] "selinux-enabled": true, [2023-02-13T06:00:18.243Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T06:00:18.243Z] } [Pipeline] sh [2023-02-13T06:00:18.604Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-02-13T06:00:18.624Z] ---> Running in 6f4c86a89f1f [2023-02-13T06:00:18.624Z] Removing intermediate container 6f4c86a89f1f [2023-02-13T06:00:18.624Z] ---> 69b63bde3901 [2023-02-13T06:00:18.624Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:00:18.624Z] ---> Running in a99065199ae2 [2023-02-13T06:00:18.624Z] Removing intermediate container a99065199ae2 [2023-02-13T06:00:18.624Z] ---> 28027bafecd1 [2023-02-13T06:00:18.624Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T06:00:18.624Z] ---> Running in f68e39331ee9 [2023-02-13T06:00:18.624Z] Removing intermediate container f68e39331ee9 [2023-02-13T06:00:18.624Z] ---> 0ef8e92b288c [2023-02-13T06:00:18.624Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T06:00:18.624Z] ---> Running in 3e48d3becd11 [2023-02-13T06:00:18.624Z] Removing intermediate container 3e48d3becd11 [2023-02-13T06:00:18.624Z] ---> f4405b158a6d [2023-02-13T06:00:18.624Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T06:00:18.624Z] ---> Running in ab2d62ef1561 [2023-02-13T06:00:18.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [Pipeline] sh [2023-02-13T06:00:18.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T06:00:18.965Z] + sudo service docker restart [2023-02-13T06:00:19.144Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T06:00:19.144Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T06:00:19.144Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T06:00:19.144Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T06:00:19.144Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:00:19.144Z] OK: 216 MiB in 55 packages [2023-02-13T06:00:19.712Z] Removing intermediate container ab2d62ef1561 [2023-02-13T06:00:19.712Z] ---> f1ddb7441e39 [2023-02-13T06:00:19.712Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-13T06:00:19.712Z] ---> Running in e7cb23410a73 [2023-02-13T06:00:19.712Z] Removing intermediate container e7cb23410a73 [2023-02-13T06:00:19.712Z] ---> 9bb40cb51a5e [2023-02-13T06:00:19.712Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-13T06:00:19.970Z] ---> 7b9af48908f8 [2023-02-13T06:00:19.970Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:00:19.970Z] ---> Running in 2c1c7329dcb3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:00:37.321Z] provisioning config files... [2023-02-13T06:00:37.349Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config993297615697597061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:00:37.766Z] ---> docker-login.sh [2023-02-13T06:00:37.766Z] nexus3.edgexfoundry.org:10001 [2023-02-13T06:00:38.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:38.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:38.353Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:38.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:38.353Z] [2023-02-13T06:00:38.353Z] Login Succeeded [2023-02-13T06:00:38.353Z] nexus3.edgexfoundry.org:10002 [2023-02-13T06:00:38.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:38.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:38.624Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:38.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:38.624Z] [2023-02-13T06:00:38.624Z] Login Succeeded [2023-02-13T06:00:38.896Z] nexus3.edgexfoundry.org:10003 [2023-02-13T06:00:38.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:39.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:39.168Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:39.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:39.168Z] [2023-02-13T06:00:39.168Z] Login Succeeded [2023-02-13T06:00:39.168Z] nexus3.edgexfoundry.org:10004 [2023-02-13T06:00:39.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:39.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:39.440Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:39.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:39.440Z] [2023-02-13T06:00:39.440Z] Login Succeeded [2023-02-13T06:00:39.440Z] docker.io [2023-02-13T06:00:39.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:40.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:40.302Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:40.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:40.302Z] [2023-02-13T06:00:40.302Z] Login Succeeded [2023-02-13T06:00:40.302Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T06:00:40.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T06:00:41.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:00:41.064Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:00:41.099Z] ========================================================= [2023-02-13T06:00:41.099Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T06:00:41.099Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:00:41.612Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T06:00:41.881Z] Sending build context to Docker daemon 2.938MB [2023-02-13T06:00:41.881Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:00:41.881Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-13T06:00:42.156Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T06:00:42.156Z] 9b18e9b68314: Pulling fs layer [2023-02-13T06:00:42.156Z] 35d82f9e3411: Pulling fs layer [2023-02-13T06:00:42.156Z] e16973657156: Pulling fs layer [2023-02-13T06:00:42.156Z] fc693d55d65f: Pulling fs layer [2023-02-13T06:00:42.156Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T06:00:42.156Z] dda99020689f: Pulling fs layer [2023-02-13T06:00:42.156Z] db1c61fa0a46: Pulling fs layer [2023-02-13T06:00:42.156Z] 891c053d2c06: Pulling fs layer [2023-02-13T06:00:42.156Z] dda99020689f: Waiting [2023-02-13T06:00:42.156Z] fc693d55d65f: Waiting [2023-02-13T06:00:42.156Z] db1c61fa0a46: Waiting [2023-02-13T06:00:42.156Z] 7e9fc2657dce: Waiting [2023-02-13T06:00:42.156Z] 891c053d2c06: Waiting [2023-02-13T06:00:42.156Z] e16973657156: Verifying Checksum [2023-02-13T06:00:42.156Z] e16973657156: Download complete [2023-02-13T06:00:42.156Z] 35d82f9e3411: Verifying Checksum [2023-02-13T06:00:42.156Z] 35d82f9e3411: Download complete [2023-02-13T06:00:42.156Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T06:00:42.156Z] 7e9fc2657dce: Download complete [2023-02-13T06:00:42.156Z] dda99020689f: Verifying Checksum [2023-02-13T06:00:42.156Z] dda99020689f: Download complete [2023-02-13T06:00:42.156Z] 9b18e9b68314: Verifying Checksum [2023-02-13T06:00:43.583Z] 9b18e9b68314: Pull complete [2023-02-13T06:00:43.583Z] 891c053d2c06: Verifying Checksum [2023-02-13T06:00:43.583Z] 891c053d2c06: Download complete [2023-02-13T06:00:43.852Z] 35d82f9e3411: Pull complete [2023-02-13T06:00:44.122Z] e16973657156: Pull complete [2023-02-13T06:00:44.711Z] db1c61fa0a46: Verifying Checksum [2023-02-13T06:00:44.711Z] db1c61fa0a46: Download complete [2023-02-13T06:00:45.379Z] fc693d55d65f: Verifying Checksum [2023-02-13T06:00:45.380Z] fc693d55d65f: Download complete [2023-02-13T06:00:52.060Z] Removing intermediate container 2c1c7329dcb3 [2023-02-13T06:00:52.060Z] ---> 04941c74df70 [2023-02-13T06:00:52.060Z] Step 11/12 : COPY . . [2023-02-13T06:00:52.060Z] ---> 9ae239db5212 [2023-02-13T06:00:52.060Z] Step 12/12 : RUN ${MAKE} [2023-02-13T06:00:52.060Z] ---> Running in 14f6074da257 [2023-02-13T06:00:52.060Z] noop [2023-02-13T06:00:52.060Z] Removing intermediate container 14f6074da257 [2023-02-13T06:00:52.060Z] ---> 3ae6e7b1bf2d [2023-02-13T06:00:52.060Z] Successfully built 3ae6e7b1bf2d [2023-02-13T06:00:52.060Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:00:52.615Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T06:00:52.615Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:00:52.825Z] prd-ubuntu20.04-docker-8c-8g-5484 does not seem to be running inside a container [2023-02-13T06:00:52.856Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-230 -v /w/workspace/gexfoundry_device-snmp-go_PR-230:/w/workspace/gexfoundry_device-snmp-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T06:00:53.217Z] $ docker top 7c7f7d97d05be7021034d2071fa4bb97e7128c559a08059832fbc5aac34aa7d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:00:53.609Z] + go version [2023-02-13T06:00:53.609Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T06:00:53.640Z] $ docker stop --time=1 7c7f7d97d05be7021034d2071fa4bb97e7128c559a08059832fbc5aac34aa7d7 [2023-02-13T06:00:54.919Z] $ docker rm -f --volumes 7c7f7d97d05be7021034d2071fa4bb97e7128c559a08059832fbc5aac34aa7d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:00:55.655Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T06:00:55.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:00:55.818Z] prd-ubuntu20.04-docker-8c-8g-5484 does not seem to be running inside a container [2023-02-13T06:00:55.848Z] $ 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-230 -v /w/workspace/gexfoundry_device-snmp-go_PR-230:/w/workspace/gexfoundry_device-snmp-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T06:00:56.164Z] $ docker top 96535995e963bc9937589e96ac396fa3da7c3b380fafc86fc2ba5a8719d535e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:00:56.559Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-230 [Pipeline] fileExists [Pipeline] sh [2023-02-13T06:00:56.923Z] + make test [2023-02-13T06:00:56.923Z] go test ./... -coverprofile=coverage.out [2023-02-13T06:00:57.182Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-13T06:00:57.726Z] fc693d55d65f: Pull complete [2023-02-13T06:00:57.726Z] 7e9fc2657dce: Pull complete [2023-02-13T06:00:57.726Z] dda99020689f: Pull complete [2023-02-13T06:01:04.422Z] db1c61fa0a46: Pull complete [2023-02-13T06:01:05.284Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-13T06:01:05.284Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements [2023-02-13T06:01:05.837Z] 891c053d2c06: Pull complete [2023-02-13T06:01:06.106Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T06:01:06.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T06:01:06.106Z] ---> f96f9c87975a [2023-02-13T06:01:06.106Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:01:08.060Z] ---> Running in 0058a2b27296 [2023-02-13T06:01:08.328Z] Removing intermediate container 0058a2b27296 [2023-02-13T06:01:08.328Z] ---> d01124bdf5f9 [2023-02-13T06:01:08.328Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:01:08.328Z] ---> Running in dad065e35c8b [2023-02-13T06:01:08.596Z] Removing intermediate container dad065e35c8b [2023-02-13T06:01:08.596Z] ---> 9648b72b1b1b [2023-02-13T06:01:08.596Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T06:01:08.596Z] ---> Running in 0f4dd4b32092 [2023-02-13T06:01:08.863Z] Removing intermediate container 0f4dd4b32092 [2023-02-13T06:01:08.863Z] ---> 15ec609aea24 [2023-02-13T06:01:08.863Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T06:01:08.863Z] ---> Running in a649e03f0974 [2023-02-13T06:01:09.133Z] Removing intermediate container a649e03f0974 [2023-02-13T06:01:09.133Z] ---> e60717bdbb0a [2023-02-13T06:01:09.133Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T06:01:09.401Z] ---> Running in a14a105aa4d0 [2023-02-13T06:01:10.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T06:01:10.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T06:01:11.594Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T06:01:11.594Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-13T06:01:11.594Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T06:01:11.594Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T06:01:11.594Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:01:11.838Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-13T06:01:11.838Z] go vet ./... [2023-02-13T06:01:11.862Z] OK: 226 MiB in 55 packages [2023-02-13T06:01:12.834Z] Removing intermediate container a14a105aa4d0 [2023-02-13T06:01:12.834Z] ---> 3a43c0b5fbf4 [2023-02-13T06:01:12.834Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-13T06:01:12.834Z] ---> Running in 11e479609b23 [2023-02-13T06:01:13.102Z] Removing intermediate container 11e479609b23 [2023-02-13T06:01:13.102Z] ---> 8be4483345e4 [2023-02-13T06:01:13.102Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-13T06:01:13.689Z] ---> be4b364bd7a6 [2023-02-13T06:01:13.689Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:01:13.689Z] ---> Running in fbcfd688f8c7 [2023-02-13T06:01:13.736Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T06:01:13.736Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T06:01:13.736Z] ./bin/test-attribution-txt.sh [2023-02-13T06:01:13.736Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T06:01:13.736Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T06:01:13.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T06:01:13.803Z] $ docker stop --time=1 96535995e963bc9937589e96ac396fa3da7c3b380fafc86fc2ba5a8719d535e0 [2023-02-13T06:01:15.900Z] $ docker rm -f --volumes 96535995e963bc9937589e96ac396fa3da7c3b380fafc86fc2ba5a8719d535e0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T06:01:16.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T06:01:16.797Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T06:01:17.534Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T06:01:17.847Z] + ls -al . [2023-02-13T06:01:17.847Z] total 172 [2023-02-13T06:01:17.847Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 13 06:00 . [2023-02-13T06:01:17.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 05:59 .. [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 13 05:59 .dockerignore [2023-02-13T06:01:17.847Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 06:01 .git [2023-02-13T06:01:17.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 05:59 .github [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 13 05:59 .gitignore [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 05:59 .golangci.yml [2023-02-13T06:01:17.847Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 05:59 .semver [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 13 05:59 Attribution.txt [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 13 05:59 CHANGELOG.md [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 13 05:59 Dockerfile [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 05:59 GOVERNANCE.md [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 13 05:59 Jenkinsfile [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 05:59 LICENSE [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 13 05:59 Makefile [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 13 05:59 OWNERS.md [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 13 05:59 README.md [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 06:00 VERSION [2023-02-13T06:01:17.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 05:59 bin [2023-02-13T06:01:17.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 05:59 cmd [2023-02-13T06:01:17.847Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 13 06:01 coverage.out [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 3326 Feb 13 05:59 go.mod [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 32920 Feb 13 05:59 go.sum [2023-02-13T06:01:17.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 05:59 internal [2023-02-13T06:01:17.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 05:59 snap [2023-02-13T06:01:17.847Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 13 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:01:18.231Z] + 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=270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 --label arch=amd64 --label version=0.0.0 . [2023-02-13T06:01:18.231Z] Sending build context to Docker daemon 5.687MB [2023-02-13T06:01:18.231Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:01:18.231Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-13T06:01:18.231Z] ---> 3ae6e7b1bf2d [2023-02-13T06:01:18.231Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:01:18.231Z] ---> Running in 70fbd3ebcad4 [2023-02-13T06:01:18.231Z] Removing intermediate container 70fbd3ebcad4 [2023-02-13T06:01:18.231Z] ---> 69cf5f927685 [2023-02-13T06:01:18.231Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:01:18.489Z] ---> Running in a2e42e9c20d5 [2023-02-13T06:01:18.489Z] Removing intermediate container a2e42e9c20d5 [2023-02-13T06:01:18.489Z] ---> f333c71bb1ba [2023-02-13T06:01:18.489Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T06:01:18.489Z] ---> Running in 3a9580cdf2d7 [2023-02-13T06:01:18.489Z] Removing intermediate container 3a9580cdf2d7 [2023-02-13T06:01:18.489Z] ---> f77a2468fd7d [2023-02-13T06:01:18.489Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T06:01:18.489Z] ---> Running in bfb239e37257 [2023-02-13T06:01:18.747Z] Removing intermediate container bfb239e37257 [2023-02-13T06:01:18.747Z] ---> b3be483dffb8 [2023-02-13T06:01:18.747Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T06:01:18.747Z] ---> Running in 110b63231632 [2023-02-13T06:01:18.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T06:01:19.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T06:01:19.265Z] OK: 216 MiB in 55 packages [2023-02-13T06:01:19.524Z] Removing intermediate container 110b63231632 [2023-02-13T06:01:19.524Z] ---> 2cddace24404 [2023-02-13T06:01:19.524Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-13T06:01:19.524Z] ---> Running in f36092efe116 [2023-02-13T06:01:19.782Z] Removing intermediate container f36092efe116 [2023-02-13T06:01:19.782Z] ---> a0d745821e50 [2023-02-13T06:01:19.782Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-13T06:01:19.782Z] ---> deee4f6fe11c [2023-02-13T06:01:19.782Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:01:19.782Z] ---> Running in ce8332944b06 [2023-02-13T06:01:20.737Z] Removing intermediate container ce8332944b06 [2023-02-13T06:01:20.737Z] ---> 37dfe85a8bfb [2023-02-13T06:01:20.737Z] Step 11/24 : COPY . . [2023-02-13T06:01:20.995Z] ---> 979355b0896f [2023-02-13T06:01:20.995Z] Step 12/24 : RUN ${MAKE} [2023-02-13T06:01:20.995Z] ---> Running in bb47e30bfef2 [2023-02-13T06:01:21.253Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-13T06:01:43.183Z] Removing intermediate container bb47e30bfef2 [2023-02-13T06:01:43.183Z] ---> 038e7af5c3de [2023-02-13T06:01:43.183Z] Step 13/24 : FROM alpine:3.16 [2023-02-13T06:01:43.183Z] 3.16: Pulling from library/alpine [2023-02-13T06:01:43.183Z] ef5531b6e74e: Pulling fs layer [2023-02-13T06:01:43.183Z] ef5531b6e74e: Verifying Checksum [2023-02-13T06:01:43.183Z] ef5531b6e74e: Download complete [2023-02-13T06:01:43.183Z] ef5531b6e74e: Pull complete [2023-02-13T06:01:43.183Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T06:01:43.183Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T06:01:43.183Z] ---> dfd21b5a31f5 [2023-02-13T06:01:43.183Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-13T06:01:43.183Z] ---> Running in a5412471403d [2023-02-13T06:01:43.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T06:01:43.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T06:01:43.183Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T06:01:43.183Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:01:43.183Z] OK: 6 MiB in 15 packages [2023-02-13T06:01:43.183Z] Removing intermediate container a5412471403d [2023-02-13T06:01:43.183Z] ---> 5418d41dd725 [2023-02-13T06:01:43.183Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-13T06:01:43.183Z] ---> cbf879b6e098 [2023-02-13T06:01:43.183Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-13T06:01:43.183Z] ---> 4d5d11f8802e [2023-02-13T06:01:43.183Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-13T06:01:43.183Z] ---> bad1d5d6e1a1 [2023-02-13T06:01:43.183Z] Step 18/24 : EXPOSE 59993 [2023-02-13T06:01:43.183Z] ---> Running in 0e22dfc0b111 [2023-02-13T06:01:43.183Z] Removing intermediate container 0e22dfc0b111 [2023-02-13T06:01:43.183Z] ---> 0b62a30f5417 [2023-02-13T06:01:43.183Z] Step 19/24 : EXPOSE 161 [2023-02-13T06:01:43.183Z] ---> Running in 3322f6388245 [2023-02-13T06:01:43.183Z] Removing intermediate container 3322f6388245 [2023-02-13T06:01:43.183Z] ---> 0816e5a3ce98 [2023-02-13T06:01:43.183Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-13T06:01:43.183Z] ---> Running in 8be842da6324 [2023-02-13T06:01:43.183Z] Removing intermediate container 8be842da6324 [2023-02-13T06:01:43.183Z] ---> 2fa06cec8d33 [2023-02-13T06:01:43.183Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T06:01:43.183Z] ---> Running in 732e76e04eee [2023-02-13T06:01:43.183Z] Removing intermediate container 732e76e04eee [2023-02-13T06:01:43.183Z] ---> 76922abd0c33 [2023-02-13T06:01:43.183Z] Step 22/24 : LABEL arch=amd64 [2023-02-13T06:01:43.183Z] ---> Running in 986d5b603b8c [2023-02-13T06:01:43.441Z] Removing intermediate container 986d5b603b8c [2023-02-13T06:01:43.441Z] ---> 4191ef9c1305 [2023-02-13T06:01:43.441Z] Step 23/24 : LABEL git_sha=270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [2023-02-13T06:01:43.441Z] ---> Running in 8337c416f6ce [2023-02-13T06:01:43.441Z] Removing intermediate container 8337c416f6ce [2023-02-13T06:01:43.441Z] ---> 4eef665d3f01 [2023-02-13T06:01:43.441Z] Step 24/24 : LABEL version=0.0.0 [2023-02-13T06:01:43.441Z] ---> Running in 5cbad4f36077 [2023-02-13T06:01:43.441Z] Removing intermediate container 5cbad4f36077 [2023-02-13T06:01:43.441Z] ---> c967ef25b53d [2023-02-13T06:01:43.441Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T06:01:43.441Z] Successfully built c967ef25b53d [2023-02-13T06:01:43.441Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:01:44.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:01:44.397Z] [2023-02-13T06:01:44.397Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:01:44.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:01:44.769Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T06:01:44.769Z] 5eb5b503b376: Pulling fs layer [2023-02-13T06:01:44.769Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T06:01:44.769Z] ec43610c2a17: Pulling fs layer [2023-02-13T06:01:44.769Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T06:01:44.769Z] 33b1e0a273af: Pulling fs layer [2023-02-13T06:01:44.769Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T06:01:44.769Z] 2f39f015ded8: Pulling fs layer [2023-02-13T06:01:44.769Z] 33b1e0a273af: Waiting [2023-02-13T06:01:44.769Z] 5d3b04190fa2: Waiting [2023-02-13T06:01:44.769Z] 2f39f015ded8: Waiting [2023-02-13T06:01:44.769Z] 3a2ae6a8a46f: Waiting [2023-02-13T06:01:44.769Z] 5c69ac0246d0: Download complete [2023-02-13T06:01:44.769Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T06:01:44.769Z] 3a2ae6a8a46f: Download complete [2023-02-13T06:01:45.041Z] 33b1e0a273af: Verifying Checksum [2023-02-13T06:01:45.041Z] 33b1e0a273af: Download complete [2023-02-13T06:01:45.041Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T06:01:45.041Z] 5d3b04190fa2: Download complete [2023-02-13T06:01:45.041Z] ec43610c2a17: Verifying Checksum [2023-02-13T06:01:45.041Z] ec43610c2a17: Download complete [2023-02-13T06:01:45.300Z] 5eb5b503b376: Verifying Checksum [2023-02-13T06:01:45.300Z] 5eb5b503b376: Download complete [2023-02-13T06:01:45.867Z] 2f39f015ded8: Download complete [2023-02-13T06:01:46.432Z] 5eb5b503b376: Pull complete [2023-02-13T06:01:46.432Z] 5c69ac0246d0: Pull complete [2023-02-13T06:01:47.002Z] ec43610c2a17: Pull complete [2023-02-13T06:01:47.002Z] 3a2ae6a8a46f: Pull complete [2023-02-13T06:01:47.261Z] 33b1e0a273af: Pull complete [2023-02-13T06:01:47.261Z] 5d3b04190fa2: Pull complete [2023-02-13T06:01:51.472Z] 2f39f015ded8: Pull complete [2023-02-13T06:01:51.472Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T06:01:51.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:01:51.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:01:51.735Z] prd-ubuntu20.04-docker-8c-8g-5484 does not seem to be running inside a container [2023-02-13T06:01:51.769Z] $ 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-230 -v /w/workspace/gexfoundry_device-snmp-go_PR-230:/w/workspace/gexfoundry_device-snmp-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T06:01:55.034Z] $ docker top 5998a0b0157e028e2f12391cce6217a7b79a5cbc7858aca9b12f33435eb70fc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:01:55.505Z] ---> job-cost.sh [2023-02-13T06:01:55.505Z] lf-activate-venv: SKIPPING [2023-02-13T06:01:55.505Z] INFO: No Stack... [2023-02-13T06:01:55.763Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T06:01:56.330Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T06:01:56.644Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-230/archives/cost.csv [2023-02-13T06:01:56.644Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T06:01:56.689Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-230-1-stack-cost] [2023-02-13T06:01:56.694Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-230-1-stack-cost] did not exist. Created. [2023-02-13T06:01:56.694Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-230-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T06:01:57.086Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T06:01:57.145Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T06:01:57.174Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-230-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T06:01:57.259Z] $ docker stop --time=1 5998a0b0157e028e2f12391cce6217a7b79a5cbc7858aca9b12f33435eb70fc2 [2023-02-13T06:01:58.410Z] $ docker rm -f --volumes 5998a0b0157e028e2f12391cce6217a7b79a5cbc7858aca9b12f33435eb70fc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T06:02:21.557Z] Removing intermediate container fbcfd688f8c7 [2023-02-13T06:02:21.557Z] ---> 269eb18f891f [2023-02-13T06:02:21.557Z] Step 11/12 : COPY . . [2023-02-13T06:02:21.557Z] ---> 02680b0496f5 [2023-02-13T06:02:21.557Z] Step 12/12 : RUN ${MAKE} [2023-02-13T06:02:21.557Z] ---> Running in acefe7e2dc57 [2023-02-13T06:02:21.557Z] noop [2023-02-13T06:02:21.824Z] Removing intermediate container acefe7e2dc57 [2023-02-13T06:02:21.824Z] ---> f712cce7c84e [2023-02-13T06:02:22.090Z] Successfully built f712cce7c84e [2023-02-13T06:02:22.090Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:02:22.566Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T06:02:22.566Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:02:22.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-5483 does not seem to be running inside a container [2023-02-13T06:02:22.968Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-13T06:02:24.174Z] $ docker top 7bdcddfc68530d117701ec396e28a808d2b03984f5462a9acb23a6ec41bcc4c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:02:25.072Z] + go version [2023-02-13T06:02:25.072Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T06:02:25.093Z] $ docker stop --time=1 7bdcddfc68530d117701ec396e28a808d2b03984f5462a9acb23a6ec41bcc4c6 [2023-02-13T06:02:26.722Z] $ docker rm -f --volumes 7bdcddfc68530d117701ec396e28a808d2b03984f5462a9acb23a6ec41bcc4c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:02:27.648Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T06:02:27.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:02:27.901Z] prd-ubuntu20.04-docker-arm64-4c-16g-5483 does not seem to be running inside a container [2023-02-13T06:02:27.953Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-13T06:02:29.117Z] $ docker top 0b02a5cd618786bcbbe7b184fc722339b9eca7594dc104e36aecaa9e483d808b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:02:30.015Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T06:02:30.401Z] + make test [2023-02-13T06:02:30.671Z] go test ./... -coverprofile=coverage.out [2023-02-13T06:02:32.090Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-13T06:03:53.706Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-13T06:03:53.706Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2023-02-13T06:03:53.706Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T06:03:53.706Z] go vet ./... [2023-02-13T06:04:11.936Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T06:04:11.936Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T06:04:11.936Z] ./bin/test-attribution-txt.sh [2023-02-13T06:04:11.936Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-13T06:04:11.936Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-13T06:04:11.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T06:04:11.992Z] $ docker stop --time=1 0b02a5cd618786bcbbe7b184fc722339b9eca7594dc104e36aecaa9e483d808b [2023-02-13T06:04:13.790Z] $ docker rm -f --volumes 0b02a5cd618786bcbbe7b184fc722339b9eca7594dc104e36aecaa9e483d808b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T06:04:14.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T06:04:14.892Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T06:04:15.304Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T06:04:15.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T06:04:16.237Z] + ls -al . [2023-02-13T06:04:16.237Z] total 168 [2023-02-13T06:04:16.237Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 06:02 . [2023-02-13T06:04:16.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 06:00 .. [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 13 06:00 .dockerignore [2023-02-13T06:04:16.237Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 06:00 .git [2023-02-13T06:04:16.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:00 .github [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 13 06:00 .gitignore [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 13 06:00 .golangci.yml [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 13 06:00 Attribution.txt [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 13 06:00 CHANGELOG.md [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 13 06:00 Dockerfile [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 06:00 GOVERNANCE.md [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 13 06:00 Jenkinsfile [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 13 06:00 LICENSE [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 13 06:00 Makefile [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 13 06:00 OWNERS.md [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 13 06:00 README.md [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 06:00 VERSION [2023-02-13T06:04:16.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 06:00 bin [2023-02-13T06:04:16.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:00 cmd [2023-02-13T06:04:16.237Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 13 06:03 coverage.out [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 3326 Feb 13 06:00 go.mod [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 32920 Feb 13 06:00 go.sum [2023-02-13T06:04:16.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 06:00 internal [2023-02-13T06:04:16.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 06:00 snap [2023-02-13T06:04:16.237Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 13 06:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:04:16.662Z] + 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=270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 --label arch=arm64 --label version=0.0.0 . [2023-02-13T06:04:16.929Z] Sending build context to Docker daemon 2.947MB [2023-02-13T06:04:16.929Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:04:16.929Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-13T06:04:16.929Z] ---> f712cce7c84e [2023-02-13T06:04:16.929Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:04:17.196Z] ---> Running in d0e3988205d6 [2023-02-13T06:04:17.464Z] Removing intermediate container d0e3988205d6 [2023-02-13T06:04:17.464Z] ---> 057dfa13f6a0 [2023-02-13T06:04:17.464Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:04:17.464Z] ---> Running in eb280e7fcd9b [2023-02-13T06:04:17.732Z] Removing intermediate container eb280e7fcd9b [2023-02-13T06:04:17.732Z] ---> 53aef3689f5c [2023-02-13T06:04:17.732Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-13T06:04:18.000Z] ---> Running in 832c9cc96d0a [2023-02-13T06:04:18.269Z] Removing intermediate container 832c9cc96d0a [2023-02-13T06:04:18.269Z] ---> e71c8c30016c [2023-02-13T06:04:18.269Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T06:04:18.269Z] ---> Running in 40e2e44cefe4 [2023-02-13T06:04:18.540Z] Removing intermediate container 40e2e44cefe4 [2023-02-13T06:04:18.540Z] ---> 556506629891 [2023-02-13T06:04:18.540Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T06:04:18.809Z] ---> Running in 55d5a048dae7 [2023-02-13T06:04:19.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T06:04:20.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T06:04:21.770Z] OK: 226 MiB in 55 packages [2023-02-13T06:04:22.742Z] Removing intermediate container 55d5a048dae7 [2023-02-13T06:04:22.742Z] ---> ab538b07cee7 [2023-02-13T06:04:22.742Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-13T06:04:22.742Z] ---> Running in aa2d70a9d360 [2023-02-13T06:04:23.010Z] Removing intermediate container aa2d70a9d360 [2023-02-13T06:04:23.010Z] ---> e6ae706ffbc6 [2023-02-13T06:04:23.010Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-13T06:04:23.594Z] ---> 95ecbaa7fe44 [2023-02-13T06:04:23.594Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:04:23.594Z] ---> Running in 7bdd0605f885 [2023-02-13T06:04:26.169Z] Removing intermediate container 7bdd0605f885 [2023-02-13T06:04:26.169Z] ---> 27a8c20dad52 [2023-02-13T06:04:26.169Z] Step 11/24 : COPY . . [2023-02-13T06:04:29.164Z] ---> 52d0e9494327 [2023-02-13T06:04:29.164Z] Step 12/24 : RUN ${MAKE} [2023-02-13T06:04:29.164Z] ---> Running in aa22f1eeac03 [2023-02-13T06:04:29.164Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-13T06:06:50.921Z] Removing intermediate container aa22f1eeac03 [2023-02-13T06:06:50.921Z] ---> df77c9debf54 [2023-02-13T06:06:50.921Z] Step 13/24 : FROM alpine:3.16 [2023-02-13T06:06:50.921Z] 3.16: Pulling from library/alpine [2023-02-13T06:06:50.921Z] 3760b48202b3: Pulling fs layer [2023-02-13T06:06:50.921Z] 3760b48202b3: Verifying Checksum [2023-02-13T06:06:50.921Z] 3760b48202b3: Pull complete [2023-02-13T06:06:50.921Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T06:06:50.921Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T06:06:50.921Z] ---> 4c81e5bf8899 [2023-02-13T06:06:50.921Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-13T06:06:50.921Z] ---> Running in e9f3395838cd [2023-02-13T06:06:50.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T06:06:50.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T06:06:50.921Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-13T06:06:50.921Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:06:50.921Z] OK: 5 MiB in 15 packages [2023-02-13T06:06:50.921Z] Removing intermediate container e9f3395838cd [2023-02-13T06:06:50.921Z] ---> 60beac453e48 [2023-02-13T06:06:50.921Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-13T06:06:50.922Z] ---> 2b923bc5a94f [2023-02-13T06:06:50.922Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-13T06:06:50.922Z] ---> ddbbaaa82a46 [2023-02-13T06:06:50.922Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-13T06:06:50.922Z] ---> bf4bcf93c39d [2023-02-13T06:06:50.922Z] Step 18/24 : EXPOSE 59993 [2023-02-13T06:06:50.922Z] ---> Running in be02ed46594f [2023-02-13T06:06:50.922Z] Removing intermediate container be02ed46594f [2023-02-13T06:06:50.922Z] ---> 7de80dea84ba [2023-02-13T06:06:50.922Z] Step 19/24 : EXPOSE 161 [2023-02-13T06:06:50.922Z] ---> Running in 6bf27d3d2985 [2023-02-13T06:06:50.922Z] Removing intermediate container 6bf27d3d2985 [2023-02-13T06:06:50.922Z] ---> 08f5c32f8ba8 [2023-02-13T06:06:50.922Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-13T06:06:50.922Z] ---> Running in ae7876d698ef [2023-02-13T06:06:50.922Z] Removing intermediate container ae7876d698ef [2023-02-13T06:06:50.922Z] ---> 04f110e67fad [2023-02-13T06:06:50.922Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T06:06:50.922Z] ---> Running in da89c65c9acd [2023-02-13T06:06:50.922Z] Removing intermediate container da89c65c9acd [2023-02-13T06:06:50.922Z] ---> 23fd19321907 [2023-02-13T06:06:50.922Z] Step 22/24 : LABEL arch=arm64 [2023-02-13T06:06:50.922Z] ---> Running in ebe27895f0f2 [2023-02-13T06:06:50.922Z] Removing intermediate container ebe27895f0f2 [2023-02-13T06:06:50.922Z] ---> aed60de7a89f [2023-02-13T06:06:50.922Z] Step 23/24 : LABEL git_sha=270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [2023-02-13T06:06:50.922Z] ---> Running in b00b24ce850f [2023-02-13T06:06:50.922Z] Removing intermediate container b00b24ce850f [2023-02-13T06:06:50.922Z] ---> e789d4e621d8 [2023-02-13T06:06:50.922Z] Step 24/24 : LABEL version=0.0.0 [2023-02-13T06:06:50.922Z] ---> Running in 8b327b1b92b6 [2023-02-13T06:06:50.922Z] Removing intermediate container 8b327b1b92b6 [2023-02-13T06:06:50.922Z] ---> 7f0bae525ce1 [2023-02-13T06:06:50.922Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T06:06:50.922Z] Successfully built 7f0bae525ce1 [2023-02-13T06:06:50.922Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:06:51.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T06:06:51.995Z] [2023-02-13T06:06:51.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:06:52.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T06:06:52.418Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T06:06:52.418Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T06:06:52.418Z] 04944245beec: Pulling fs layer [2023-02-13T06:06:52.418Z] 699f458cf7ca: Pulling fs layer [2023-02-13T06:06:52.418Z] 765212b225bb: Pulling fs layer [2023-02-13T06:06:52.418Z] f23df028b6ca: Pulling fs layer [2023-02-13T06:06:52.418Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T06:06:52.418Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T06:06:52.418Z] f23df028b6ca: Waiting [2023-02-13T06:06:52.418Z] d65c8cfc05b1: Waiting [2023-02-13T06:06:52.418Z] 2437ff75d9bd: Waiting [2023-02-13T06:06:52.418Z] 765212b225bb: Waiting [2023-02-13T06:06:52.688Z] 04944245beec: Verifying Checksum [2023-02-13T06:06:52.688Z] 04944245beec: Download complete [2023-02-13T06:06:52.688Z] 765212b225bb: Verifying Checksum [2023-02-13T06:06:52.688Z] 765212b225bb: Download complete [2023-02-13T06:06:52.688Z] f23df028b6ca: Verifying Checksum [2023-02-13T06:06:52.688Z] f23df028b6ca: Download complete [2023-02-13T06:06:52.688Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T06:06:52.688Z] d65c8cfc05b1: Download complete [2023-02-13T06:06:52.966Z] 699f458cf7ca: Verifying Checksum [2023-02-13T06:06:52.966Z] 699f458cf7ca: Download complete [2023-02-13T06:06:53.238Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T06:06:53.238Z] 8998bd30e6a1: Download complete [2023-02-13T06:06:55.918Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T06:06:55.918Z] 2437ff75d9bd: Download complete [2023-02-13T06:06:57.877Z] 8998bd30e6a1: Pull complete [2023-02-13T06:06:58.147Z] 04944245beec: Pull complete [2023-02-13T06:06:59.559Z] 699f458cf7ca: Pull complete [2023-02-13T06:06:59.559Z] 765212b225bb: Pull complete [2023-02-13T06:07:00.528Z] f23df028b6ca: Pull complete [2023-02-13T06:07:00.797Z] d65c8cfc05b1: Pull complete [2023-02-13T06:07:15.810Z] 2437ff75d9bd: Pull complete [2023-02-13T06:07:15.810Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T06:07:15.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T06:07:15.810Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:07:16.153Z] prd-ubuntu20.04-docker-arm64-4c-16g-5483 does not seem to be running inside a container [2023-02-13T06:07:16.283Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T06:07:19.098Z] $ docker top 983d6266bd661b87bf784d32981a30319f44e0811ccc0f7181560977177129ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:07:20.097Z] ---> job-cost.sh [2023-02-13T06:07:20.097Z] lf-activate-venv: SKIPPING [2023-02-13T06:07:20.097Z] INFO: No Stack... [2023-02-13T06:07:20.691Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T06:07:21.282Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T06:07:21.991Z] + cut+ cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-02-13T06:07:21.991Z] -d, -f6 [Pipeline] lock [2023-02-13T06:07:22.088Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-230-1-stack-cost] [2023-02-13T06:07:22.093Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-230-1-stack-cost] did not exist. Created. [2023-02-13T06:07:22.094Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-230-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T06:07:22.838Z] /w/workspace/device-snmp-go/1@tmp/durable-70b93961/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T06:07:23.514Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T06:07:23.550Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T06:07:23.599Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T06:07:23.613Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-230-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T06:07:23.667Z] $ docker stop --time=1 983d6266bd661b87bf784d32981a30319f44e0811ccc0f7181560977177129ff [2023-02-13T06:07:25.199Z] $ docker rm -f --volumes 983d6266bd661b87bf784d32981a30319f44e0811ccc0f7181560977177129ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-13T06:07:26.172Z] provisioning config files... [2023-02-13T06:07:26.181Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp/config1627325383217866066tmp [Pipeline] { [Pipeline] sh [2023-02-13T06:07:26.526Z] + set +x [2023-02-13T06:07:26.526Z] + curl -s https://codecov.io/bash [2023-02-13T06:07:26.526Z] + bash -s -- [2023-02-13T06:07:26.526Z] [2023-02-13T06:07:26.526Z] _____ _ [2023-02-13T06:07:26.526Z] / ____| | | [2023-02-13T06:07:26.526Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T06:07:26.526Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T06:07:26.526Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T06:07:26.526Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T06:07:26.526Z] Bash-1.0.6 [2023-02-13T06:07:26.526Z] [2023-02-13T06:07:26.526Z] [2023-02-13T06:07:26.526Z] ==> git version 2.25.1 found [2023-02-13T06:07:26.526Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-13T06:07:26.526Z] Release-Date: 2020-01-08 [2023-02-13T06:07:26.526Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-13T06:07:26.526Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T06:07:26.526Z] ==> Jenkins CI detected. [2023-02-13T06:07:26.526Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-230 [2023-02-13T06:07:26.526Z] project root: . [2023-02-13T06:07:26.526Z] --> token set from env [2023-02-13T06:07:26.526Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T06:07:26.526Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T06:07:26.526Z] ==> Python coveragepy not found [2023-02-13T06:07:26.526Z] ==> Searching for coverage reports in: [2023-02-13T06:07:26.526Z] + . [2023-02-13T06:07:26.526Z] -> Found 1 reports [2023-02-13T06:07:26.526Z] ==> Detecting git/mercurial file structure [2023-02-13T06:07:26.526Z] ==> Reading reports [2023-02-13T06:07:26.526Z] + ./coverage.out bytes=7631 [2023-02-13T06:07:26.526Z] ==> Appending adjustments [2023-02-13T06:07:26.526Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T06:07:26.786Z] + Found adjustments [2023-02-13T06:07:26.786Z] ==> Gzipping contents [2023-02-13T06:07:26.786Z] 4.0K /tmp/codecov.QTYJN5.gz [2023-02-13T06:07:26.786Z] ==> Uploading reports [2023-02-13T06:07:26.786Z] url: https://codecov.io [2023-02-13T06:07:26.786Z] query: branch=PR-230&commit=270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-230%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=230&job=&cmd_args= [2023-02-13T06:07:26.786Z] -> Pinging Codecov [2023-02-13T06:07:26.786Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-230&commit=270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-230%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=230&job=&cmd_args= [2023-02-13T06:07:27.046Z] -> Uploading to [2023-02-13T06:07:27.046Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/6C56EA5C29638FB4528AC87E60AF5AE0/270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7/de11ae60-c16d-473d-ae1d-bde47afafdad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T060726Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=330df9c8d09a7be7424d3326d178294cabae6e55b4a449cfa29297b888f4bf77 [2023-02-13T06:07:27.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T06:07:27.046Z] Dload Upload Total Spent Left Speed [2023-02-13T06:07:27.304Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1517 0 0 100 1517 0 5437 --:--:-- --:--:-- --:--:-- 5417 100 1517 0 0 100 1517 0 5417 --:--:-- --:--:-- --:--:-- 5398 [2023-02-13T06:07:27.304Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/270b5eedfbb418872ab85dd8715dfdf9ce2b2ac7 [Pipeline] } [2023-02-13T06:07:27.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-13T06:07:29.152Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-230/archives ] [2023-02-13T06:07:29.153Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-230/archives [2023-02-13T06:07:29.153Z] total 16 [2023-02-13T06:07:29.153Z] drwxr-xr-x 3 root root 4096 Feb 13 06:01 . [2023-02-13T06:07:29.153Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 06:01 .. [2023-02-13T06:07:29.153Z] drwxr-xr-x 2 root root 4096 Feb 13 06:01 cost [2023-02-13T06:07:29.153Z] -rw-r--r-- 1 root root 86 Feb 13 06:01 cost.csv [2023-02-13T06:07:29.153Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-230/archives [2023-02-13T06:07:29.153Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-230/archives [2023-02-13T06:07:29.153Z] total 16 [2023-02-13T06:07:29.153Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 06:01 . [2023-02-13T06:07:29.153Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 06:01 .. [2023-02-13T06:07:29.153Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 06:01 cost [2023-02-13T06:07:29.153Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 13 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:07:29.480Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:07:30.370Z] ---> package-listing.sh [2023-02-13T06:07:30.370Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T06:07:30.370Z] ++ facter osfamily [2023-02-13T06:07:30.629Z] + OS_FAMILY=debian [2023-02-13T06:07:30.629Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-230 [2023-02-13T06:07:30.629Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T06:07:30.629Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T06:07:30.629Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T06:07:30.629Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T06:07:30.629Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-230 ']' [2023-02-13T06:07:30.629Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T06:07:30.629Z] + case "${OS_FAMILY}" in [2023-02-13T06:07:30.629Z] + dpkg -l [2023-02-13T06:07:30.629Z] + grep '^ii' [2023-02-13T06:07:30.629Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T06:07:30.629Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T06:07:30.629Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T06:07:30.629Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-230 ']' [2023-02-13T06:07:30.629Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-230/archives/ [2023-02-13T06:07:30.629Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-230/archives/ [Pipeline] echo [2023-02-13T06:07:30.663Z] 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-230/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T06:07:30.954Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:07:31.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:07:31.580Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:07:31.718Z] prd-ubuntu20.04-docker-8c-8g-5484 does not seem to be running inside a container [2023-02-13T06:07:31.749Z] $ 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-230/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-230 -v /w/workspace/gexfoundry_device-snmp-go_PR-230:/w/workspace/gexfoundry_device-snmp-go_PR-230:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T06:07:31.936Z] $ docker top e9459e3170d4942355bf5d0729aedb01d23bd849ee58c7e151108f765ee8d035 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:07:32.409Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T06:07:32.719Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T06:07:33.035Z] + ls /var/log/sa-host [2023-02-13T06:07:33.035Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:07:33.166Z] provisioning config files... [2023-02-13T06:07:33.173Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-230@tmp/config16316259164502309741tmp [Pipeline] { [Pipeline] echo [2023-02-13T06:07:33.226Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:07:33.533Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T06:07:33.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:07:33.951Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T06:07:34.041Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:07:34.350Z] ---> sudo-logs.sh [2023-02-13T06:07:34.350Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T06:07:34.431Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:07:34.745Z] ---> job-cost.sh [2023-02-13T06:07:34.746Z] lf-activate-venv: SKIPPING [2023-02-13T06:07:34.746Z] DEBUG: total: 0.2199999988079071 [2023-02-13T06:07:34.746Z] INFO: Retrieving Stack Cost... [2023-02-13T06:07:35.005Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T06:07:35.573Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T06:07:35.609Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:07:35.924Z] ---> logs-deploy.sh [2023-02-13T06:07:35.924Z] lf-activate-venv: SKIPPING [2023-02-13T06:07:35.924Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-230/1 [2023-02-13T06:07:35.924Z] INFO: archiving workspace using pattern(s): [2023-02-13T06:07:36.861Z] Archives upload complete. [2023-02-13T06:07:36.861Z] INFO: archiving logs to Nexus