Pull request #255 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d+2bd6e5dae59222faf073cfb9822f90f2048c0bba (71884407ef7d058e0aa609d5cf015412540f6ecb) 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-ssh2742495766726206671.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-ssh7288915445381448060.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-255/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-255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1040098375940328296.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-255/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1121559709109996526.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-ssh7669744089788199829.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-255/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-255/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1048030035551648003.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8846 in /w/workspace/gexfoundry_device-snmp-go_PR-255 [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-255 # 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 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d > 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/255/head:refs/remotes/origin/PR-255 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d # timeout=10 Merge succeeded, producing e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d Checking out Revision e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d (PR-255) > 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 e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d # timeout=10 Commit message: "feat!: updates for common config" 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-03-08T18:12:31.025Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T18:12:31.296Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T18:12:31.391Z] ========================================================= [2023-03-08T18:12:31.391Z] EdgeX Global Pipelines Version Info [2023-03-08T18:12:31.391Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:12:32.135Z] ------------------- [2023-03-08T18:12:32.135Z] stable info: [2023-03-08T18:12:32.135Z] ------------------- [2023-03-08T18:12:32.135Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T18:12:32.135Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T18:12:32.135Z] Message: update stable to v1.0.244 [2023-03-08T18:12:32.706Z] ------------------- [2023-03-08T18:12:32.706Z] experimental info: [2023-03-08T18:12:32.706Z] ------------------- [2023-03-08T18:12:32.706Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T18:12:32.706Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T18:12:32.706Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T18:12:33.030Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-08T18:12:33.069Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-08T18:12:33.113Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T18:12:33.159Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T18:12:33.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T18:12:33.236Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T18:12:33.274Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T18:12:33.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-08T18:12:33.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T18:12:33.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T18:12:33.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T18:12:33.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-08T18:12:33.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T18:12:33.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T18:12:33.636Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T18:12:33.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T18:12:33.708Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T18:12:33.745Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T18:12:33.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T18:12:33.822Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T18:12:33.857Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-08T18:12:33.892Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-08T18:12:33.932Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T18:12:33.972Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T18:12:34.008Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T18:12:34.052Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T18:12:34.088Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T18:12:34.124Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-255 [Pipeline] echo [2023-03-08T18:12:34.160Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-255 [Pipeline] echo [2023-03-08T18:12:34.195Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-255 [Pipeline] echo [2023-03-08T18:12:34.230Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [Pipeline] echo [2023-03-08T18:12:34.270Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6fb495 [Pipeline] echo [2023-03-08T18:12:34.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T18:12:34.402Z] provisioning config files... [2023-03-08T18:12:34.417Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp/config9402691588413965415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:12:34.754Z] ---> docker-login.sh [2023-03-08T18:12:34.754Z] nexus3.edgexfoundry.org:10001 [2023-03-08T18:12:36.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:36.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:36.138Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:36.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:36.138Z] [2023-03-08T18:12:36.138Z] Login Succeeded [2023-03-08T18:12:36.138Z] nexus3.edgexfoundry.org:10002 [2023-03-08T18:12:36.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:36.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:36.138Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:36.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:36.138Z] [2023-03-08T18:12:36.138Z] Login Succeeded [2023-03-08T18:12:36.138Z] nexus3.edgexfoundry.org:10003 [2023-03-08T18:12:36.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:36.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:36.398Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:36.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:36.398Z] [2023-03-08T18:12:36.398Z] Login Succeeded [2023-03-08T18:12:36.398Z] nexus3.edgexfoundry.org:10004 [2023-03-08T18:12:36.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:36.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:36.398Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:36.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:36.398Z] [2023-03-08T18:12:36.398Z] Login Succeeded [2023-03-08T18:12:36.398Z] docker.io [2023-03-08T18:12:36.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:36.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:36.660Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:36.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:36.660Z] [2023-03-08T18:12:36.660Z] Login Succeeded [2023-03-08T18:12:36.660Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T18:12:36.686Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T18:12:37.336Z] + git rev-list -1 --merges e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d~1..e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [Pipeline] echo [2023-03-08T18:12:37.396Z] -----------> git rev-list -1 --merges e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d~1..e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [false] [Pipeline] sh [2023-03-08T18:12:37.705Z] + git log --format=format:%s -1 e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [Pipeline] echo [2023-03-08T18:12:37.753Z] ========================================================= [2023-03-08T18:12:37.753Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T18:12:37.753Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T18:12:38.179Z] + git log --format=format:%s -1 e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [Pipeline] echo [2023-03-08T18:12:38.213Z] [semverPrep] GIT_COMMIT: e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d, Commit Message: feat!: updates for common config [Pipeline] echo [2023-03-08T18:12:38.245Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T18:12:38.662Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T18:12:38.662Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T18:12:38.662Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T18:12:38.662Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T18:12:38.662Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T18:12:38.662Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T18:12:38.662Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:12:39.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T18:12:39.096Z] [2023-03-08T18:12:39.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:12:39.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T18:12:39.477Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T18:12:39.477Z] b85a868b505f: Pulling fs layer [2023-03-08T18:12:39.477Z] e2be974225ed: Pulling fs layer [2023-03-08T18:12:39.477Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T18:12:39.477Z] 988bab9f4d93: Pulling fs layer [2023-03-08T18:12:39.477Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T18:12:39.477Z] eaf3925da568: Pulling fs layer [2023-03-08T18:12:39.478Z] bab4dde63d76: Pulling fs layer [2023-03-08T18:12:39.478Z] bde34c3a00c8: Pulling fs layer [2023-03-08T18:12:39.478Z] b352a97aabf1: Pulling fs layer [2023-03-08T18:12:39.478Z] 4872d77fe225: Pulling fs layer [2023-03-08T18:12:39.478Z] 5851b861e8e6: Pulling fs layer [2023-03-08T18:12:39.478Z] 1469e6f7b9e6: Waiting [2023-03-08T18:12:39.478Z] eaf3925da568: Waiting [2023-03-08T18:12:39.478Z] bab4dde63d76: Waiting [2023-03-08T18:12:39.478Z] bde34c3a00c8: Waiting [2023-03-08T18:12:39.478Z] b352a97aabf1: Waiting [2023-03-08T18:12:39.478Z] 4872d77fe225: Waiting [2023-03-08T18:12:39.478Z] 5851b861e8e6: Waiting [2023-03-08T18:12:39.478Z] 988bab9f4d93: Waiting [2023-03-08T18:12:39.478Z] e2be974225ed: Verifying Checksum [2023-03-08T18:12:39.478Z] e2be974225ed: Download complete [2023-03-08T18:12:39.478Z] 988bab9f4d93: Verifying Checksum [2023-03-08T18:12:39.478Z] 988bab9f4d93: Download complete [2023-03-08T18:12:39.739Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T18:12:39.739Z] 1469e6f7b9e6: Download complete [2023-03-08T18:12:39.739Z] eaf3925da568: Verifying Checksum [2023-03-08T18:12:39.739Z] eaf3925da568: Download complete [2023-03-08T18:12:39.739Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T18:12:39.739Z] 339a4e72a1f5: Download complete [2023-03-08T18:12:39.739Z] bde34c3a00c8: Download complete [2023-03-08T18:12:39.739Z] b352a97aabf1: Verifying Checksum [2023-03-08T18:12:39.739Z] b352a97aabf1: Download complete [2023-03-08T18:12:39.739Z] 4872d77fe225: Verifying Checksum [2023-03-08T18:12:39.739Z] 4872d77fe225: Download complete [2023-03-08T18:12:39.739Z] 5851b861e8e6: Download complete [2023-03-08T18:12:39.739Z] b85a868b505f: Verifying Checksum [2023-03-08T18:12:39.739Z] b85a868b505f: Download complete [2023-03-08T18:12:40.305Z] bab4dde63d76: Verifying Checksum [2023-03-08T18:12:40.305Z] bab4dde63d76: Download complete [2023-03-08T18:12:41.241Z] b85a868b505f: Pull complete [2023-03-08T18:12:41.241Z] e2be974225ed: Pull complete [2023-03-08T18:12:41.810Z] 339a4e72a1f5: Pull complete [2023-03-08T18:12:41.810Z] 988bab9f4d93: Pull complete [2023-03-08T18:12:42.068Z] 1469e6f7b9e6: Pull complete [2023-03-08T18:12:42.068Z] eaf3925da568: Pull complete [2023-03-08T18:12:43.972Z] bab4dde63d76: Pull complete [2023-03-08T18:12:43.972Z] bde34c3a00c8: Pull complete [2023-03-08T18:12:44.232Z] b352a97aabf1: Pull complete [2023-03-08T18:12:44.232Z] 4872d77fe225: Pull complete [2023-03-08T18:12:44.232Z] 5851b861e8e6: Pull complete [2023-03-08T18:12:44.232Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T18:12:44.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T18:12:44.232Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:12:44.444Z] prd-ubuntu20.04-docker-8c-8g-8846 does not seem to be running inside a container [2023-03-08T18:12:44.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-255 -v /w/workspace/gexfoundry_device-snmp-go_PR-255:/w/workspace/gexfoundry_device-snmp-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T18:12:48.171Z] $ docker top f35e0e02d4044253cbe7124f8b941040425063127212f5e9f345ccdef9b8b6f1 -eo pid,comm [2023-03-08T18:12:48.224Z] 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-03-08T18:12:48.224Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T18:12:48.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T18:12:48.338Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T18:12:48.454Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T18:12:48.455Z] $ docker exec f35e0e02d4044253cbe7124f8b941040425063127212f5e9f345ccdef9b8b6f1 ssh-agent [2023-03-08T18:12:48.571Z] SSH_AUTH_SOCK=/tmp/ssh-fATbjDJp34Wu/agent.31 [2023-03-08T18:12:48.571Z] SSH_AGENT_PID=37 [2023-03-08T18:12:48.579Z] Running ssh-add (command line suppressed) [2023-03-08T18:12:48.682Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-255@tmp/private_key_348660044467857972.key (/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp/private_key_348660044467857972.key) [2023-03-08T18:12:48.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T18:12:49.027Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T18:12:49.050Z] $ docker exec --env ******** --env ******** f35e0e02d4044253cbe7124f8b941040425063127212f5e9f345ccdef9b8b6f1 ssh-agent -k [2023-03-08T18:12:49.138Z] unset SSH_AUTH_SOCK; [2023-03-08T18:12:49.139Z] unset SSH_AGENT_PID; [2023-03-08T18:12:49.139Z] echo Agent pid 37 killed; [2023-03-08T18:12:49.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T18:12:49.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T18:12:49.230Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T18:12:49.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T18:12:49.351Z] $ docker exec f35e0e02d4044253cbe7124f8b941040425063127212f5e9f345ccdef9b8b6f1 ssh-agent [2023-03-08T18:12:49.464Z] SSH_AUTH_SOCK=/tmp/ssh-2NK8UbY4lDD4/agent.69 [2023-03-08T18:12:49.464Z] SSH_AGENT_PID=75 [2023-03-08T18:12:49.468Z] Running ssh-add (command line suppressed) [2023-03-08T18:12:49.572Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-255@tmp/private_key_16259399260911450814.key (/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp/private_key_16259399260911450814.key) [2023-03-08T18:12:49.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T18:12:49.928Z] + git semver init [2023-03-08T18:12:50.189Z] 2023-03-08 18:12:50,125 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T18:12:50.189Z] 2023-03-08 18:12:50,126 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-255/.semver [2023-03-08T18:12:50.189Z] 2023-03-08 18:12:50,127 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-255/.semver [2023-03-08T18:12:50.189Z] 2023-03-08 18:12:50,127 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-255/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-255, universal_newlines=False, shell=None, istream=None) [2023-03-08T18:12:51.126Z] 2023-03-08 18:12:50,962 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-255/.git/info/exclude [2023-03-08T18:12:51.126Z] 2023-03-08 18:12:50,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-255/.semver/PR-255 with force:False [2023-03-08T18:12:51.126Z] 2023-03-08 18:12:50,962 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-255/.semver/PR-255 [2023-03-08T18:12:51.126Z] 2023-03-08 18:12:50,966 [execute] INFO git cat-file --batch-check [2023-03-08T18:12:51.126Z] 2023-03-08 18:12:50,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-255/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T18:12:51.126Z] 2023-03-08 18:12:50,973 [execute] INFO git cat-file --batch [2023-03-08T18:12:51.126Z] 2023-03-08 18:12:50,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-255/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T18:12:51.126Z] 2023-03-08 18:12:50,980 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-255/.semver/PR-255 [2023-03-08T18:12:51.126Z] 0.0.0 [Pipeline] } [2023-03-08T18:12:51.153Z] $ docker exec --env ******** --env ******** f35e0e02d4044253cbe7124f8b941040425063127212f5e9f345ccdef9b8b6f1 ssh-agent -k [2023-03-08T18:12:51.256Z] unset SSH_AUTH_SOCK; [2023-03-08T18:12:51.256Z] unset SSH_AGENT_PID; [2023-03-08T18:12:51.256Z] echo Agent pid 75 killed; [2023-03-08T18:12:51.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T18:12:51.691Z] + git semver [Pipeline] } [2023-03-08T18:12:51.977Z] $ docker stop --time=1 f35e0e02d4044253cbe7124f8b941040425063127212f5e9f345ccdef9b8b6f1 [2023-03-08T18:12:53.248Z] $ docker rm -f --volumes f35e0e02d4044253cbe7124f8b941040425063127212f5e9f345ccdef9b8b6f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T18:12:53.632Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T18:12:53.885Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T18:12:53.906Z] [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-03-08T18:12:54.481Z] provisioning config files... [2023-03-08T18:12:54.495Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp/config1710388930933944220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:12:54.866Z] ---> docker-login.sh [2023-03-08T18:12:54.866Z] nexus3.edgexfoundry.org:10001 [2023-03-08T18:12:54.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:54.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:54.866Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:54.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:54.866Z] [2023-03-08T18:12:54.866Z] Login Succeeded [2023-03-08T18:12:54.866Z] nexus3.edgexfoundry.org:10002 [2023-03-08T18:12:54.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:55.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:55.157Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:55.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:55.157Z] [2023-03-08T18:12:55.157Z] Login Succeeded [2023-03-08T18:12:55.157Z] nexus3.edgexfoundry.org:10003 [2023-03-08T18:12:55.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:55.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:55.447Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:55.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:55.447Z] [2023-03-08T18:12:55.447Z] Login Succeeded [2023-03-08T18:12:55.447Z] nexus3.edgexfoundry.org:10004 [2023-03-08T18:12:55.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:55.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:55.717Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:55.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:55.717Z] [2023-03-08T18:12:55.717Z] Login Succeeded [2023-03-08T18:12:55.717Z] docker.io [2023-03-08T18:12:55.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:12:55.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:12:55.717Z] Configure a credential helper to remove this warning. See [2023-03-08T18:12:55.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:12:55.717Z] [2023-03-08T18:12:55.717Z] Login Succeeded [2023-03-08T18:12:55.976Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T18:12:56.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T18:12:56.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T18:12:56.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T18:12:56.266Z] ========================================================= [2023-03-08T18:12:56.266Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T18:12:56.266Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:12:56.732Z] + 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-03-08T18:12:56.732Z] Sending build context to Docker daemon 5.721MB [2023-03-08T18:12:56.732Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T18:12:56.732Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T18:12:56.732Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T18:12:56.732Z] 213ec9aee27d: Pulling fs layer [2023-03-08T18:12:56.732Z] 4583459ba037: Pulling fs layer [2023-03-08T18:12:56.732Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T18:12:56.732Z] 53926ce57604: Pulling fs layer [2023-03-08T18:12:56.732Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T18:12:56.732Z] 22ff95d597cd: Pulling fs layer [2023-03-08T18:12:56.732Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T18:12:56.732Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T18:12:56.732Z] a7acece74701: Pulling fs layer [2023-03-08T18:12:56.732Z] 12d6caf4c0d1: Waiting [2023-03-08T18:12:56.732Z] 21b2b0c7a3f4: Waiting [2023-03-08T18:12:56.732Z] 96b7cbca73a9: Waiting [2023-03-08T18:12:56.732Z] a7acece74701: Waiting [2023-03-08T18:12:56.732Z] 22ff95d597cd: Waiting [2023-03-08T18:12:56.732Z] 53926ce57604: Waiting [2023-03-08T18:12:56.732Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T18:12:56.732Z] 93c1e223e6f2: Download complete [2023-03-08T18:12:56.732Z] 4583459ba037: Verifying Checksum [2023-03-08T18:12:56.732Z] 4583459ba037: Download complete [2023-03-08T18:12:56.732Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-08T18:12:56.732Z] 21b2b0c7a3f4: Download complete [2023-03-08T18:12:56.994Z] 22ff95d597cd: Verifying Checksum [2023-03-08T18:12:56.994Z] 22ff95d597cd: Download complete [2023-03-08T18:12:56.994Z] 213ec9aee27d: Verifying Checksum [2023-03-08T18:12:56.994Z] 213ec9aee27d: Download complete [2023-03-08T18:12:56.994Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T18:12:56.994Z] 12d6caf4c0d1: Download complete [2023-03-08T18:12:56.994Z] 213ec9aee27d: Pull complete [2023-03-08T18:12:57.263Z] 4583459ba037: Pull complete [2023-03-08T18:12:57.263Z] 93c1e223e6f2: Pull complete [2023-03-08T18:12:57.526Z] a7acece74701: Verifying Checksum [2023-03-08T18:12:57.526Z] a7acece74701: Download complete [2023-03-08T18:12:57.526Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T18:12:57.526Z] 96b7cbca73a9: Download complete [2023-03-08T18:12:57.785Z] 53926ce57604: Verifying Checksum [2023-03-08T18:12:57.785Z] 53926ce57604: Download complete [2023-03-08T18:13:01.991Z] 53926ce57604: Pull complete [2023-03-08T18:13:01.991Z] 21b2b0c7a3f4: Pull complete [2023-03-08T18:13:01.991Z] 22ff95d597cd: Pull complete [2023-03-08T18:13:01.991Z] 12d6caf4c0d1: Pull complete [2023-03-08T18:13:04.522Z] 96b7cbca73a9: Pull complete [2023-03-08T18:13:05.462Z] a7acece74701: Pull complete [2023-03-08T18:13:05.723Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T18:13:05.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T18:13:05.990Z] ---> db6d94c90886 [2023-03-08T18:13:05.990Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T18:13:09.305Z] Still waiting to schedule task [2023-03-08T18:13:09.305Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-08T18:13:12.644Z] ---> Running in 356c4deb7a85 [2023-03-08T18:13:12.644Z] Removing intermediate container 356c4deb7a85 [2023-03-08T18:13:12.644Z] ---> 38b90b03f7f5 [2023-03-08T18:13:12.644Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T18:13:12.644Z] ---> Running in e1b21e6ad431 [2023-03-08T18:13:12.644Z] Removing intermediate container e1b21e6ad431 [2023-03-08T18:13:12.644Z] ---> 266c3d69a490 [2023-03-08T18:13:12.644Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T18:13:12.644Z] ---> Running in 954c663e3b96 [2023-03-08T18:13:12.644Z] Removing intermediate container 954c663e3b96 [2023-03-08T18:13:12.644Z] ---> abc3180efd0d [2023-03-08T18:13:12.644Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T18:13:12.644Z] ---> Running in 5729ad0c96fa [2023-03-08T18:13:12.644Z] Removing intermediate container 5729ad0c96fa [2023-03-08T18:13:12.644Z] ---> adbe0e05cbb0 [2023-03-08T18:13:12.644Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T18:13:12.644Z] ---> Running in 1e1f360d4886 [2023-03-08T18:13:12.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T18:13:12.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T18:13:13.164Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T18:13:13.164Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T18:13:13.164Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T18:13:13.164Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T18:13:13.164Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T18:13:13.164Z] OK: 216 MiB in 55 packages [2023-03-08T18:13:13.731Z] Removing intermediate container 1e1f360d4886 [2023-03-08T18:13:13.731Z] ---> 0cd32438e958 [2023-03-08T18:13:13.731Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-08T18:13:13.731Z] ---> Running in afd777f73b22 [2023-03-08T18:13:13.731Z] Removing intermediate container afd777f73b22 [2023-03-08T18:13:13.731Z] ---> 7f4309a5bfcc [2023-03-08T18:13:13.731Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T18:13:13.731Z] ---> fc39dad687d5 [2023-03-08T18:13:13.731Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T18:13:13.731Z] ---> Running in 720f75a495f2 [2023-03-08T18:13:45.836Z] Removing intermediate container 720f75a495f2 [2023-03-08T18:13:45.836Z] ---> eab5682fb1bc [2023-03-08T18:13:45.836Z] Step 11/12 : COPY . . [2023-03-08T18:13:45.836Z] ---> fa8c64f11bf8 [2023-03-08T18:13:45.836Z] Step 12/12 : RUN ${MAKE} [2023-03-08T18:13:45.836Z] ---> Running in 4d9d8487a0fe [2023-03-08T18:13:45.836Z] noop [2023-03-08T18:13:45.836Z] Removing intermediate container 4d9d8487a0fe [2023-03-08T18:13:45.836Z] ---> c047b73a574b [2023-03-08T18:13:45.836Z] Successfully built c047b73a574b [2023-03-08T18:13:45.836Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:13:46.284Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T18:13:46.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:13:46.432Z] prd-ubuntu20.04-docker-8c-8g-8846 does not seem to be running inside a container [2023-03-08T18:13:46.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-255 -v /w/workspace/gexfoundry_device-snmp-go_PR-255:/w/workspace/gexfoundry_device-snmp-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T18:13:46.820Z] $ docker top 422c942bf81c754c0b14d568cf3a38839dd4157045a2f7eee69bf08ff97dc69a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:13:47.202Z] + go version [2023-03-08T18:13:47.202Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T18:13:47.239Z] $ docker stop --time=1 422c942bf81c754c0b14d568cf3a38839dd4157045a2f7eee69bf08ff97dc69a [2023-03-08T18:13:48.489Z] $ docker rm -f --volumes 422c942bf81c754c0b14d568cf3a38839dd4157045a2f7eee69bf08ff97dc69a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:13:49.200Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T18:13:49.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:13:49.344Z] prd-ubuntu20.04-docker-8c-8g-8846 does not seem to be running inside a container [2023-03-08T18:13:49.375Z] $ 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-255 -v /w/workspace/gexfoundry_device-snmp-go_PR-255:/w/workspace/gexfoundry_device-snmp-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T18:13:49.722Z] $ docker top 54a572cc1923a18a8d167ad2047f769311349568f45adb454596d78bf8e37f5d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:13:50.118Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-255 [Pipeline] fileExists [Pipeline] sh [2023-03-08T18:13:50.474Z] + make test [2023-03-08T18:13:50.474Z] go test ./... -coverprofile=coverage.out [2023-03-08T18:13:50.732Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-08T18:14:00.698Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-08T18:14:00.698Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.017s coverage: 0.0% of statements [2023-03-08T18:14:07.266Z] 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-03-08T18:14:07.266Z] go vet ./... [2023-03-08T18:14:10.553Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T18:14:10.553Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T18:14:10.553Z] ./bin/test-attribution-txt.sh [2023-03-08T18:14:10.553Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-08T18:14:10.553Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T18:14:10.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T18:14:10.618Z] $ docker stop --time=1 54a572cc1923a18a8d167ad2047f769311349568f45adb454596d78bf8e37f5d [2023-03-08T18:14:13.043Z] $ docker rm -f --volumes 54a572cc1923a18a8d167ad2047f769311349568f45adb454596d78bf8e37f5d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T18:14:13.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T18:14:13.610Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-08T18:14:14.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T18:14:14.524Z] + ls -al . [2023-03-08T18:14:14.525Z] total 172 [2023-03-08T18:14:14.525Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 18:13 . [2023-03-08T18:14:14.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:12 .. [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 8 18:12 .dockerignore [2023-03-08T18:14:14.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 18:14 .git [2023-03-08T18:14:14.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:12 .github [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 8 18:12 .gitignore [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 18:12 .golangci.yml [2023-03-08T18:14:14.525Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 18:12 .semver [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 8828 Mar 8 18:12 Attribution.txt [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 8 18:12 CHANGELOG.md [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 8 18:12 Dockerfile [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 18:12 GOVERNANCE.md [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 8 18:12 Jenkinsfile [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 18:12 LICENSE [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 2079 Mar 8 18:12 Makefile [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 18:12 OWNERS.md [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 8 18:12 README.md [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 18:12 VERSION [2023-03-08T18:14:14.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 18:12 bin [2023-03-08T18:14:14.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:12 cmd [2023-03-08T18:14:14.525Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 8 18:13 coverage.out [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 8 18:12 go.mod [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 8 18:12 go.sum [2023-03-08T18:14:14.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:12 internal [2023-03-08T18:14:14.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:12 snap [2023-03-08T18:14:14.525Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 8 18:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:14:14.926Z] + 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=e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d --label arch=amd64 --label version=0.0.0 . [2023-03-08T18:14:14.926Z] Sending build context to Docker daemon 5.729MB [2023-03-08T18:14:14.926Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T18:14:14.926Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T18:14:14.926Z] ---> c047b73a574b [2023-03-08T18:14:14.926Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T18:14:14.926Z] ---> Running in ebed29ea8392 [2023-03-08T18:14:15.187Z] Removing intermediate container ebed29ea8392 [2023-03-08T18:14:15.187Z] ---> 1d9c83d6cf46 [2023-03-08T18:14:15.187Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T18:14:15.187Z] ---> Running in e390912b06be [2023-03-08T18:14:15.187Z] Removing intermediate container e390912b06be [2023-03-08T18:14:15.187Z] ---> 5a9c45751ff1 [2023-03-08T18:14:15.187Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T18:14:15.187Z] ---> Running in 1ab9eb6f9513 [2023-03-08T18:14:15.187Z] Removing intermediate container 1ab9eb6f9513 [2023-03-08T18:14:15.187Z] ---> d328d1503777 [2023-03-08T18:14:15.187Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T18:14:15.187Z] ---> Running in 35094b7564c8 [2023-03-08T18:14:15.445Z] Removing intermediate container 35094b7564c8 [2023-03-08T18:14:15.445Z] ---> 514249a52503 [2023-03-08T18:14:15.445Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T18:14:15.445Z] ---> Running in e739114d4b78 [2023-03-08T18:14:15.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T18:14:15.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T18:14:16.229Z] OK: 216 MiB in 55 packages [2023-03-08T18:14:16.489Z] Removing intermediate container e739114d4b78 [2023-03-08T18:14:16.489Z] ---> a5ac17381eb3 [2023-03-08T18:14:16.489Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-08T18:14:16.489Z] ---> Running in 4a7f80a81455 [2023-03-08T18:14:16.489Z] Removing intermediate container 4a7f80a81455 [2023-03-08T18:14:16.489Z] ---> 6edc3c1b741e [2023-03-08T18:14:16.489Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T18:14:16.749Z] ---> cef7dac180af [2023-03-08T18:14:16.749Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T18:14:16.749Z] ---> Running in 5fa4879c98e9 [2023-03-08T18:14:17.688Z] Removing intermediate container 5fa4879c98e9 [2023-03-08T18:14:17.688Z] ---> 02711433b112 [2023-03-08T18:14:17.688Z] Step 11/24 : COPY . . [2023-03-08T18:14:17.948Z] ---> 351bbb5617df [2023-03-08T18:14:17.948Z] Step 12/24 : RUN ${MAKE} [2023-03-08T18:14:17.948Z] ---> Running in 1259b3a8fd12 [2023-03-08T18:14:18.207Z] 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-03-08T18:14:40.163Z] Removing intermediate container 1259b3a8fd12 [2023-03-08T18:14:40.163Z] ---> 9275bc33c852 [2023-03-08T18:14:40.163Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T18:14:40.163Z] 3.16: Pulling from library/alpine [2023-03-08T18:14:40.163Z] ef5531b6e74e: Pulling fs layer [2023-03-08T18:14:40.163Z] ef5531b6e74e: Verifying Checksum [2023-03-08T18:14:40.163Z] ef5531b6e74e: Download complete [2023-03-08T18:14:40.163Z] ef5531b6e74e: Pull complete [2023-03-08T18:14:40.163Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T18:14:40.163Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T18:14:40.163Z] ---> dfd21b5a31f5 [2023-03-08T18:14:40.163Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T18:14:40.163Z] ---> Running in a77a32aabe01 [2023-03-08T18:14:40.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T18:14:40.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T18:14:40.163Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T18:14:40.163Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T18:14:40.163Z] OK: 6 MiB in 15 packages [2023-03-08T18:14:40.423Z] Removing intermediate container a77a32aabe01 [2023-03-08T18:14:40.423Z] ---> e3f5344e6dbf [2023-03-08T18:14:40.423Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-08T18:14:41.394Z] ---> 5afc5a907428 [2023-03-08T18:14:41.394Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-08T18:14:41.394Z] ---> c2e7bcf6c93d [2023-03-08T18:14:41.394Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-08T18:14:41.394Z] ---> 4b30e8be91ba [2023-03-08T18:14:41.394Z] Step 18/24 : EXPOSE 59993 [2023-03-08T18:14:41.654Z] ---> Running in 7e7e48797fff [2023-03-08T18:14:41.654Z] Removing intermediate container 7e7e48797fff [2023-03-08T18:14:41.654Z] ---> 4a9782d49446 [2023-03-08T18:14:41.654Z] Step 19/24 : EXPOSE 161 [2023-03-08T18:14:41.654Z] ---> Running in 494174f24486 [2023-03-08T18:14:41.654Z] Removing intermediate container 494174f24486 [2023-03-08T18:14:41.654Z] ---> 84f474273c63 [2023-03-08T18:14:41.654Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-08T18:14:41.654Z] ---> Running in 105b446a7837 [2023-03-08T18:14:41.915Z] Removing intermediate container 105b446a7837 [2023-03-08T18:14:41.915Z] ---> 5131708580b0 [2023-03-08T18:14:41.915Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T18:14:41.915Z] ---> Running in 7edf3956fed8 [2023-03-08T18:14:41.915Z] Removing intermediate container 7edf3956fed8 [2023-03-08T18:14:41.915Z] ---> 4f5d57b2e32b [2023-03-08T18:14:41.915Z] Step 22/24 : LABEL arch=amd64 [2023-03-08T18:14:41.915Z] ---> Running in 785ddb5f960a [2023-03-08T18:14:41.915Z] Removing intermediate container 785ddb5f960a [2023-03-08T18:14:41.915Z] ---> 96e1c3162a9e [2023-03-08T18:14:41.915Z] Step 23/24 : LABEL git_sha=e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [2023-03-08T18:14:41.915Z] ---> Running in 85fcde172200 [2023-03-08T18:14:42.173Z] Removing intermediate container 85fcde172200 [2023-03-08T18:14:42.173Z] ---> 169915831c56 [2023-03-08T18:14:42.173Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T18:14:42.173Z] ---> Running in a1d820abe85f [2023-03-08T18:14:42.173Z] Removing intermediate container a1d820abe85f [2023-03-08T18:14:42.173Z] ---> ef2934feffc4 [2023-03-08T18:14:42.173Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T18:14:42.173Z] Successfully built ef2934feffc4 [2023-03-08T18:14:42.173Z] 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-03-08T18:14:43.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T18:14:43.034Z] [2023-03-08T18:14:43.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:14:43.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T18:14:43.419Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T18:14:43.419Z] 5eb5b503b376: Pulling fs layer [2023-03-08T18:14:43.419Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T18:14:43.419Z] ec43610c2a17: Pulling fs layer [2023-03-08T18:14:43.419Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T18:14:43.419Z] 33b1e0a273af: Pulling fs layer [2023-03-08T18:14:43.419Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T18:14:43.419Z] 2f39f015ded8: Pulling fs layer [2023-03-08T18:14:43.419Z] 33b1e0a273af: Waiting [2023-03-08T18:14:43.419Z] 5d3b04190fa2: Waiting [2023-03-08T18:14:43.419Z] 2f39f015ded8: Waiting [2023-03-08T18:14:43.419Z] 3a2ae6a8a46f: Waiting [2023-03-08T18:14:43.419Z] 5c69ac0246d0: Verifying Checksum [2023-03-08T18:14:43.419Z] 5c69ac0246d0: Download complete [2023-03-08T18:14:43.419Z] 3a2ae6a8a46f: Download complete [2023-03-08T18:14:43.683Z] 33b1e0a273af: Verifying Checksum [2023-03-08T18:14:43.683Z] 33b1e0a273af: Download complete [2023-03-08T18:14:43.683Z] ec43610c2a17: Verifying Checksum [2023-03-08T18:14:43.683Z] ec43610c2a17: Download complete [2023-03-08T18:14:43.683Z] 5d3b04190fa2: Download complete [2023-03-08T18:14:43.683Z] 5eb5b503b376: Download complete [2023-03-08T18:14:44.621Z] 2f39f015ded8: Download complete [2023-03-08T18:14:45.189Z] 5eb5b503b376: Pull complete [2023-03-08T18:14:45.189Z] 5c69ac0246d0: Pull complete [2023-03-08T18:14:45.758Z] ec43610c2a17: Pull complete [2023-03-08T18:14:45.758Z] 3a2ae6a8a46f: Pull complete [2023-03-08T18:14:46.017Z] 33b1e0a273af: Pull complete [2023-03-08T18:14:46.017Z] 5d3b04190fa2: Pull complete [2023-03-08T18:14:51.287Z] 2f39f015ded8: Pull complete [2023-03-08T18:14:51.288Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T18:14:51.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T18:14:51.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:14:51.520Z] prd-ubuntu20.04-docker-8c-8g-8846 does not seem to be running inside a container [2023-03-08T18:14:51.556Z] $ 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-255 -v /w/workspace/gexfoundry_device-snmp-go_PR-255:/w/workspace/gexfoundry_device-snmp-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T18:14:55.109Z] $ docker top 7e5f02ffb3333ef3cadb434191b88434de7503c80e70c3018b9f1d07ac5d0bd7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:14:55.543Z] ---> job-cost.sh [2023-03-08T18:14:55.543Z] lf-activate-venv: SKIPPING [2023-03-08T18:14:55.543Z] INFO: No Stack... [2023-03-08T18:14:55.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T18:14:56.060Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T18:14:56.387Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-255/archives/cost.csv [2023-03-08T18:14:56.387Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T18:14:56.424Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-255-1-stack-cost] [2023-03-08T18:14:56.429Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-255-1-stack-cost] did not exist. Created. [2023-03-08T18:14:56.429Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-255-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T18:14:56.812Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T18:14:56.863Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T18:14:56.889Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-255-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T18:14:56.959Z] $ docker stop --time=1 7e5f02ffb3333ef3cadb434191b88434de7503c80e70c3018b9f1d07ac5d0bd7 [2023-03-08T18:14:58.104Z] $ docker rm -f --volumes 7e5f02ffb3333ef3cadb434191b88434de7503c80e70c3018b9f1d07ac5d0bd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T18:15:41.201Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8848 in /w/workspace/gexfoundry_device-snmp-go_PR-255 [Pipeline] { [Pipeline] ws [2023-03-08T18:15:41.254Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-03-08T18:15:41.324Z] Selected Git installation does not exist. Using Default [2023-03-08T18:15:41.324Z] The recommended git tool is: NONE [2023-03-08T18:15:46.397Z] using credential edgex-jenkins-ssh [2023-03-08T18:15:46.415Z] Cloning the remote Git repository [2023-03-08T18:15:46.459Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-08T18:15:46.529Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-03-08T18:15:46.688Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-08T18:15:46.689Z] > git --version # timeout=10 [2023-03-08T18:15:46.709Z] > git --version # 'git version 2.25.1' [2023-03-08T18:15:46.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T18:15:46.765Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T18:15:47.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-08T18:15:47.964Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T18:15:48.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-08T18:15:48.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-08T18:15:48.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T18:15:48.839Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/255/head:refs/remotes/origin/PR-255 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T18:15:49.410Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [2023-03-08T18:15:49.629Z] Merge succeeded, producing e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [2023-03-08T18:15:49.629Z] Checking out Revision e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d (PR-255) [2023-03-08T18:15:49.429Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T18:15:49.449Z] > git checkout -f e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d # timeout=10 [2023-03-08T18:15:49.534Z] > git remote # timeout=10 [2023-03-08T18:15:49.551Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T18:15:49.576Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T18:15:49.589Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-03-08T18:15:49.611Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T18:15:49.637Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T18:15:49.654Z] > git checkout -f e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d # timeout=10 [2023-03-08T18:15:53.113Z] Commit message: "feat!: updates for common config" [2023-03-08T18:15:53.172Z] > git --version # timeout=10 [2023-03-08T18:15:53.183Z] > git --version # 'git version 2.25.1' [2023-03-08T18:15:53.204Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T18:15:54.361Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T18:15:54.362Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T18:15:54.362Z] Dload Upload Total Spent Left Speed [2023-03-08T18:15:54.362Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-03-08T18:15:55.084Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T18:15:55.458Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T18:15:55.458Z] + sudo tee /etc/docker/daemon.new [2023-03-08T18:15:55.458Z] { [2023-03-08T18:15:55.458Z] "registry-mirrors": [ [2023-03-08T18:15:55.458Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T18:15:55.458Z] ], [2023-03-08T18:15:55.458Z] "bip": "10.250.0.254/24", [2023-03-08T18:15:55.458Z] "hosts": [ [2023-03-08T18:15:55.458Z] "tcp://0.0.0.0:5555", [2023-03-08T18:15:55.458Z] "unix:///var/run/docker.sock" [2023-03-08T18:15:55.458Z] ], [2023-03-08T18:15:55.458Z] "mtu": 1458, [2023-03-08T18:15:55.458Z] "selinux-enabled": true, [2023-03-08T18:15:55.458Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T18:15:55.458Z] } [Pipeline] sh [2023-03-08T18:15:55.810Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T18:15:56.178Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T18:16:14.523Z] provisioning config files... [2023-03-08T18:16:14.554Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config17433728996606457392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:16:14.959Z] ---> docker-login.sh [2023-03-08T18:16:14.959Z] nexus3.edgexfoundry.org:10001 [2023-03-08T18:16:15.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:16:15.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:16:15.552Z] Configure a credential helper to remove this warning. See [2023-03-08T18:16:15.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:16:15.552Z] [2023-03-08T18:16:15.552Z] Login Succeeded [2023-03-08T18:16:15.552Z] nexus3.edgexfoundry.org:10002 [2023-03-08T18:16:15.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:16:16.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:16:16.096Z] Configure a credential helper to remove this warning. See [2023-03-08T18:16:16.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:16:16.096Z] [2023-03-08T18:16:16.096Z] Login Succeeded [2023-03-08T18:16:16.096Z] nexus3.edgexfoundry.org:10003 [2023-03-08T18:16:16.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:16:16.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:16:16.366Z] Configure a credential helper to remove this warning. See [2023-03-08T18:16:16.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:16:16.366Z] [2023-03-08T18:16:16.366Z] Login Succeeded [2023-03-08T18:16:16.366Z] nexus3.edgexfoundry.org:10004 [2023-03-08T18:16:16.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:16:16.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:16:16.910Z] Configure a credential helper to remove this warning. See [2023-03-08T18:16:16.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:16:16.910Z] [2023-03-08T18:16:16.910Z] Login Succeeded [2023-03-08T18:16:16.910Z] docker.io [2023-03-08T18:16:17.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T18:16:17.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T18:16:17.185Z] Configure a credential helper to remove this warning. See [2023-03-08T18:16:17.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T18:16:17.185Z] [2023-03-08T18:16:17.185Z] Login Succeeded [2023-03-08T18:16:17.185Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T18:16:17.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T18:16:17.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T18:16:17.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T18:16:17.681Z] ========================================================= [2023-03-08T18:16:17.681Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T18:16:17.681Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:16:18.178Z] + 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-03-08T18:16:18.449Z] Sending build context to Docker daemon 2.976MB [2023-03-08T18:16:18.449Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T18:16:18.449Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-08T18:16:20.408Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T18:16:20.408Z] 9b18e9b68314: Pulling fs layer [2023-03-08T18:16:20.408Z] 35d82f9e3411: Pulling fs layer [2023-03-08T18:16:20.408Z] e16973657156: Pulling fs layer [2023-03-08T18:16:20.408Z] fc693d55d65f: Pulling fs layer [2023-03-08T18:16:20.408Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T18:16:20.408Z] dda99020689f: Pulling fs layer [2023-03-08T18:16:20.408Z] db1c61fa0a46: Pulling fs layer [2023-03-08T18:16:20.408Z] 891c053d2c06: Pulling fs layer [2023-03-08T18:16:20.408Z] fc693d55d65f: Waiting [2023-03-08T18:16:20.408Z] 7e9fc2657dce: Waiting [2023-03-08T18:16:20.408Z] dda99020689f: Waiting [2023-03-08T18:16:20.408Z] db1c61fa0a46: Waiting [2023-03-08T18:16:20.408Z] 891c053d2c06: Waiting [2023-03-08T18:16:20.408Z] e16973657156: Download complete [2023-03-08T18:16:20.408Z] 35d82f9e3411: Verifying Checksum [2023-03-08T18:16:20.408Z] 35d82f9e3411: Download complete [2023-03-08T18:16:20.408Z] 7e9fc2657dce: Download complete [2023-03-08T18:16:20.408Z] dda99020689f: Verifying Checksum [2023-03-08T18:16:20.408Z] dda99020689f: Download complete [2023-03-08T18:16:20.408Z] 9b18e9b68314: Verifying Checksum [2023-03-08T18:16:21.389Z] 9b18e9b68314: Pull complete [2023-03-08T18:16:21.669Z] 891c053d2c06: Verifying Checksum [2023-03-08T18:16:21.669Z] 891c053d2c06: Download complete [2023-03-08T18:16:22.263Z] 35d82f9e3411: Pull complete [2023-03-08T18:16:22.535Z] e16973657156: Pull complete [2023-03-08T18:16:22.806Z] db1c61fa0a46: Verifying Checksum [2023-03-08T18:16:23.396Z] fc693d55d65f: Verifying Checksum [2023-03-08T18:16:23.396Z] fc693d55d65f: Download complete [2023-03-08T18:16:35.769Z] fc693d55d65f: Pull complete [2023-03-08T18:16:36.039Z] 7e9fc2657dce: Pull complete [2023-03-08T18:16:36.308Z] dda99020689f: Pull complete [2023-03-08T18:16:42.983Z] db1c61fa0a46: Pull complete [2023-03-08T18:16:45.568Z] 891c053d2c06: Pull complete [2023-03-08T18:16:45.568Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T18:16:45.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T18:16:45.568Z] ---> f96f9c87975a [2023-03-08T18:16:45.568Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-08T18:16:47.527Z] ---> Running in 061f634555ac [2023-03-08T18:16:47.527Z] Removing intermediate container 061f634555ac [2023-03-08T18:16:47.527Z] ---> e33de1846409 [2023-03-08T18:16:47.527Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T18:16:47.795Z] ---> Running in eecad4493f3b [2023-03-08T18:16:48.063Z] Removing intermediate container eecad4493f3b [2023-03-08T18:16:48.063Z] ---> 5681df460846 [2023-03-08T18:16:48.063Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T18:16:48.063Z] ---> Running in 043629413d01 [2023-03-08T18:16:48.329Z] Removing intermediate container 043629413d01 [2023-03-08T18:16:48.329Z] ---> c18e29891875 [2023-03-08T18:16:48.329Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T18:16:48.597Z] ---> Running in 5e2e4b5f21dd [2023-03-08T18:16:48.864Z] Removing intermediate container 5e2e4b5f21dd [2023-03-08T18:16:48.864Z] ---> 611edd0b3c8f [2023-03-08T18:16:48.864Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T18:16:48.864Z] ---> Running in dd4fd27e25b7 [2023-03-08T18:16:49.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T18:16:50.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T18:16:51.378Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-08T18:16:51.378Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-08T18:16:51.378Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-08T18:16:51.378Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-08T18:16:51.378Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T18:16:51.378Z] OK: 226 MiB in 55 packages [2023-03-08T18:16:52.342Z] Removing intermediate container dd4fd27e25b7 [2023-03-08T18:16:52.342Z] ---> e47baa1eedc8 [2023-03-08T18:16:52.342Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-08T18:16:52.342Z] ---> Running in 2be7a16202df [2023-03-08T18:16:52.611Z] Removing intermediate container 2be7a16202df [2023-03-08T18:16:52.611Z] ---> 22ad05dcc9b0 [2023-03-08T18:16:52.611Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-08T18:16:53.196Z] ---> 6b21439d2578 [2023-03-08T18:16:53.196Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T18:16:53.196Z] ---> Running in dd4906b11ddd [2023-03-08T18:18:01.092Z] Removing intermediate container dd4906b11ddd [2023-03-08T18:18:01.092Z] ---> 34c755dcb569 [2023-03-08T18:18:01.092Z] Step 11/12 : COPY . . [2023-03-08T18:18:01.092Z] ---> 843eb6b8d929 [2023-03-08T18:18:01.092Z] Step 12/12 : RUN ${MAKE} [2023-03-08T18:18:01.092Z] ---> Running in b4ed56b05f23 [2023-03-08T18:18:01.092Z] noop [2023-03-08T18:18:01.092Z] Removing intermediate container b4ed56b05f23 [2023-03-08T18:18:01.092Z] ---> 2764e79e7388 [2023-03-08T18:18:01.092Z] Successfully built 2764e79e7388 [2023-03-08T18:18:01.092Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:18:01.570Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T18:18:01.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:18:01.850Z] prd-ubuntu20.04-docker-arm64-4c-16g-8848 does not seem to be running inside a container [2023-03-08T18:18:01.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T18:18:03.172Z] $ docker top 2bb12447170be217cf4bcf91c43ed1565f337df78937ecacedabf9d445ea9110 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:18:04.074Z] + go version [2023-03-08T18:18:04.074Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T18:18:04.113Z] $ docker stop --time=1 2bb12447170be217cf4bcf91c43ed1565f337df78937ecacedabf9d445ea9110 [2023-03-08T18:18:05.785Z] $ docker rm -f --volumes 2bb12447170be217cf4bcf91c43ed1565f337df78937ecacedabf9d445ea9110 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:18:06.662Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T18:18:06.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:18:06.933Z] prd-ubuntu20.04-docker-arm64-4c-16g-8848 does not seem to be running inside a container [2023-03-08T18:18:06.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T18:18:08.176Z] $ docker top a4f6da6c023e59001a345c2f120102c1ab709c50fc34b28eb932524ec0047f68 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:18:09.063Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-08T18:18:09.772Z] + make test [2023-03-08T18:18:09.772Z] go test ./... -coverprofile=coverage.out [2023-03-08T18:18:11.725Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-08T18:19:33.398Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-03-08T18:19:33.399Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.067s coverage: 0.0% of statements [2023-03-08T18:19:33.399Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-08T18:19:33.399Z] go vet ./... [2023-03-08T18:19:55.496Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-08T18:19:55.496Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-08T18:19:55.496Z] ./bin/test-attribution-txt.sh [2023-03-08T18:19:55.496Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-03-08T18:19:55.496Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-03-08T18:19:55.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-08T18:19:55.566Z] $ docker stop --time=1 a4f6da6c023e59001a345c2f120102c1ab709c50fc34b28eb932524ec0047f68 [2023-03-08T18:19:57.494Z] $ docker rm -f --volumes a4f6da6c023e59001a345c2f120102c1ab709c50fc34b28eb932524ec0047f68 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T18:19:58.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-08T18:19:58.500Z] Warning: overwriting stash ‘coverage-report’ [2023-03-08T18:20:00.230Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T18:20:00.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-08T18:20:01.172Z] + ls -al . [2023-03-08T18:20:01.172Z] total 168 [2023-03-08T18:20:01.172Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 18:18 . [2023-03-08T18:20:01.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:15 .. [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 6 Mar 8 18:15 .dockerignore [2023-03-08T18:20:01.172Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 18:15 .git [2023-03-08T18:20:01.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:15 .github [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 328 Mar 8 18:15 .gitignore [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 18:15 .golangci.yml [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 8828 Mar 8 18:15 Attribution.txt [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 8355 Mar 8 18:15 CHANGELOG.md [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 1423 Mar 8 18:15 Dockerfile [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 18:15 GOVERNANCE.md [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 656 Mar 8 18:15 Jenkinsfile [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 18:15 LICENSE [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 2079 Mar 8 18:15 Makefile [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 8 18:15 OWNERS.md [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 10054 Mar 8 18:15 README.md [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 18:12 VERSION [2023-03-08T18:20:01.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 18:15 bin [2023-03-08T18:20:01.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:15 cmd [2023-03-08T18:20:01.172Z] -rw-r--r-- 1 jenkins jenkins 7631 Mar 8 18:19 coverage.out [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 3326 Mar 8 18:15 go.mod [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 32920 Mar 8 18:15 go.sum [2023-03-08T18:20:01.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:15 internal [2023-03-08T18:20:01.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:15 snap [2023-03-08T18:20:01.172Z] -rw-rw-r-- 1 jenkins jenkins 228 Mar 8 18:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:20:01.589Z] + 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=e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d --label arch=arm64 --label version=0.0.0 . [2023-03-08T18:20:02.286Z] Sending build context to Docker daemon 2.984MB [2023-03-08T18:20:02.286Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T18:20:02.286Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-08T18:20:02.286Z] ---> 2764e79e7388 [2023-03-08T18:20:02.286Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-08T18:20:02.573Z] ---> Running in 7722abfdb128 [2023-03-08T18:20:02.852Z] Removing intermediate container 7722abfdb128 [2023-03-08T18:20:02.852Z] ---> 729cb3887fcd [2023-03-08T18:20:02.852Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-08T18:20:02.852Z] ---> Running in 0b542e5da012 [2023-03-08T18:20:03.126Z] Removing intermediate container 0b542e5da012 [2023-03-08T18:20:03.126Z] ---> 402b7000f372 [2023-03-08T18:20:03.126Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-08T18:20:03.412Z] ---> Running in 547f0e2fca3c [2023-03-08T18:20:03.693Z] Removing intermediate container 547f0e2fca3c [2023-03-08T18:20:03.693Z] ---> e9dbce1fb166 [2023-03-08T18:20:03.693Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-08T18:20:03.693Z] ---> Running in 198d1ce9305a [2023-03-08T18:20:03.996Z] Removing intermediate container 198d1ce9305a [2023-03-08T18:20:03.996Z] ---> eba5f135b9bb [2023-03-08T18:20:03.996Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-08T18:20:03.996Z] ---> Running in d95bc019f532 [2023-03-08T18:20:05.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T18:20:05.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T18:20:06.834Z] OK: 226 MiB in 55 packages [2023-03-08T18:20:07.421Z] Removing intermediate container d95bc019f532 [2023-03-08T18:20:07.421Z] ---> 285342650b2f [2023-03-08T18:20:07.421Z] Step 8/24 : WORKDIR /device-snmp-go [2023-03-08T18:20:07.421Z] ---> Running in 1f304302568a [2023-03-08T18:20:07.687Z] Removing intermediate container 1f304302568a [2023-03-08T18:20:07.687Z] ---> b29d7c558ea4 [2023-03-08T18:20:07.687Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-08T18:20:08.290Z] ---> aba9922d5d96 [2023-03-08T18:20:08.290Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T18:20:08.558Z] ---> Running in 6c49b3a6af6b [2023-03-08T18:20:11.146Z] Removing intermediate container 6c49b3a6af6b [2023-03-08T18:20:11.146Z] ---> 0efa67ee3aa4 [2023-03-08T18:20:11.146Z] Step 11/24 : COPY . . [2023-03-08T18:20:13.094Z] ---> 75a779fe5ac1 [2023-03-08T18:20:13.094Z] Step 12/24 : RUN ${MAKE} [2023-03-08T18:20:13.094Z] ---> Running in 2cb676fddc80 [2023-03-08T18:20:14.509Z] 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-03-08T18:22:36.221Z] Removing intermediate container 2cb676fddc80 [2023-03-08T18:22:36.221Z] ---> 094e6f0d8b8b [2023-03-08T18:22:36.221Z] Step 13/24 : FROM alpine:3.16 [2023-03-08T18:22:36.221Z] 3.16: Pulling from library/alpine [2023-03-08T18:22:36.221Z] 3760b48202b3: Pulling fs layer [2023-03-08T18:22:36.221Z] 3760b48202b3: Download complete [2023-03-08T18:22:36.221Z] 3760b48202b3: Pull complete [2023-03-08T18:22:36.221Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-08T18:22:36.221Z] Status: Downloaded newer image for alpine:3.16 [2023-03-08T18:22:36.221Z] ---> 4c81e5bf8899 [2023-03-08T18:22:36.221Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-03-08T18:22:36.221Z] ---> Running in 9325d9ecb04f [2023-03-08T18:22:36.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T18:22:36.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T18:22:36.221Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-08T18:22:36.221Z] Executing busybox-1.35.0-r17.trigger [2023-03-08T18:22:36.221Z] OK: 5 MiB in 15 packages [2023-03-08T18:22:36.805Z] Removing intermediate container 9325d9ecb04f [2023-03-08T18:22:36.805Z] ---> 5c44c2481f05 [2023-03-08T18:22:36.805Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-03-08T18:22:38.220Z] ---> dba8716924d4 [2023-03-08T18:22:38.220Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-03-08T18:22:38.488Z] ---> 9b351193dfd4 [2023-03-08T18:22:38.488Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-03-08T18:22:39.076Z] ---> 628b352edcb0 [2023-03-08T18:22:39.076Z] Step 18/24 : EXPOSE 59993 [2023-03-08T18:22:39.076Z] ---> Running in 14f009007caa [2023-03-08T18:22:39.346Z] Removing intermediate container 14f009007caa [2023-03-08T18:22:39.346Z] ---> 1ac3cf488270 [2023-03-08T18:22:39.346Z] Step 19/24 : EXPOSE 161 [2023-03-08T18:22:39.346Z] ---> Running in 9e69f9e35d17 [2023-03-08T18:22:39.613Z] Removing intermediate container 9e69f9e35d17 [2023-03-08T18:22:39.613Z] ---> 13740970ec4f [2023-03-08T18:22:39.614Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-03-08T18:22:39.884Z] ---> Running in cd30c0bab656 [2023-03-08T18:22:40.153Z] Removing intermediate container cd30c0bab656 [2023-03-08T18:22:40.153Z] ---> db69248b2944 [2023-03-08T18:22:40.153Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-08T18:22:40.153Z] ---> Running in 9a93fc858e21 [2023-03-08T18:22:40.422Z] Removing intermediate container 9a93fc858e21 [2023-03-08T18:22:40.422Z] ---> 9e26a23a3880 [2023-03-08T18:22:40.422Z] Step 22/24 : LABEL arch=arm64 [2023-03-08T18:22:40.422Z] ---> Running in 5cae61e943e2 [2023-03-08T18:22:40.695Z] Removing intermediate container 5cae61e943e2 [2023-03-08T18:22:40.695Z] ---> bbdd34b07472 [2023-03-08T18:22:40.695Z] Step 23/24 : LABEL git_sha=e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [2023-03-08T18:22:40.965Z] ---> Running in 05be55ee32c6 [2023-03-08T18:22:41.233Z] Removing intermediate container 05be55ee32c6 [2023-03-08T18:22:41.233Z] ---> 9314fd346f3b [2023-03-08T18:22:41.233Z] Step 24/24 : LABEL version=0.0.0 [2023-03-08T18:22:41.233Z] ---> Running in 23dd3fee777e [2023-03-08T18:22:41.501Z] Removing intermediate container 23dd3fee777e [2023-03-08T18:22:41.501Z] ---> 203f24e61dcb [2023-03-08T18:22:41.501Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-08T18:22:41.501Z] Successfully built 203f24e61dcb [2023-03-08T18:22:41.501Z] 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-03-08T18:22:42.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T18:22:42.267Z] [2023-03-08T18:22:42.267Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:22:42.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T18:22:42.661Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T18:22:42.661Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T18:22:42.661Z] 04944245beec: Pulling fs layer [2023-03-08T18:22:42.661Z] 699f458cf7ca: Pulling fs layer [2023-03-08T18:22:42.661Z] 765212b225bb: Pulling fs layer [2023-03-08T18:22:42.661Z] f23df028b6ca: Pulling fs layer [2023-03-08T18:22:42.661Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T18:22:42.661Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T18:22:42.661Z] 765212b225bb: Waiting [2023-03-08T18:22:42.661Z] f23df028b6ca: Waiting [2023-03-08T18:22:42.661Z] 2437ff75d9bd: Waiting [2023-03-08T18:22:42.661Z] d65c8cfc05b1: Waiting [2023-03-08T18:22:42.931Z] 04944245beec: Verifying Checksum [2023-03-08T18:22:42.931Z] 04944245beec: Download complete [2023-03-08T18:22:42.931Z] 765212b225bb: Verifying Checksum [2023-03-08T18:22:42.931Z] 765212b225bb: Download complete [2023-03-08T18:22:42.931Z] f23df028b6ca: Verifying Checksum [2023-03-08T18:22:42.931Z] f23df028b6ca: Download complete [2023-03-08T18:22:42.931Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T18:22:42.931Z] d65c8cfc05b1: Download complete [2023-03-08T18:22:42.931Z] 699f458cf7ca: Verifying Checksum [2023-03-08T18:22:42.932Z] 699f458cf7ca: Download complete [2023-03-08T18:22:43.516Z] 8998bd30e6a1: Verifying Checksum [2023-03-08T18:22:43.516Z] 8998bd30e6a1: Download complete [2023-03-08T18:22:45.456Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T18:22:45.456Z] 2437ff75d9bd: Download complete [2023-03-08T18:22:47.399Z] 8998bd30e6a1: Pull complete [2023-03-08T18:22:47.982Z] 04944245beec: Pull complete [2023-03-08T18:22:50.566Z] 699f458cf7ca: Pull complete [2023-03-08T18:22:50.566Z] 765212b225bb: Pull complete [2023-03-08T18:22:51.150Z] f23df028b6ca: Pull complete [2023-03-08T18:22:51.418Z] d65c8cfc05b1: Pull complete [2023-03-08T18:23:06.406Z] 2437ff75d9bd: Pull complete [2023-03-08T18:23:06.406Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T18:23:06.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T18:23:06.406Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:23:06.710Z] prd-ubuntu20.04-docker-arm64-4c-16g-8848 does not seem to be running inside a container [2023-03-08T18:23:06.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-08T18:23:09.295Z] $ docker top 08c3fd2a2c1fdbd064bab6dabdf7b7cc5e41934ef1b313bc47c828ed2ea8ff15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:23:09.866Z] ---> job-cost.sh [2023-03-08T18:23:10.133Z] lf-activate-venv: SKIPPING [2023-03-08T18:23:10.133Z] INFO: No Stack... [2023-03-08T18:23:10.398Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T18:23:11.355Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T18:23:11.697Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-03-08T18:23:11.697Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T18:23:11.791Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-255-1-stack-cost] [2023-03-08T18:23:11.797Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-255-1-stack-cost] did not exist. Created. [2023-03-08T18:23:11.797Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-255-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T18:23:12.205Z] /w/workspace/device-snmp-go/1@tmp/durable-980c3627/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T18:23:12.876Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T18:23:12.916Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T18:23:12.962Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T18:23:12.979Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-255-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T18:23:13.051Z] $ docker stop --time=1 08c3fd2a2c1fdbd064bab6dabdf7b7cc5e41934ef1b313bc47c828ed2ea8ff15 [2023-03-08T18:23:16.423Z] $ docker rm -f --volumes 08c3fd2a2c1fdbd064bab6dabdf7b7cc5e41934ef1b313bc47c828ed2ea8ff15 [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-03-08T18:23:17.363Z] provisioning config files... [2023-03-08T18:23:17.370Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp/config6512123733043383720tmp [Pipeline] { [Pipeline] sh [2023-03-08T18:23:17.698Z] + set +x [2023-03-08T18:23:17.698Z] + curl -s https://codecov.io/bash [2023-03-08T18:23:17.698Z] + bash -s -- [2023-03-08T18:23:17.698Z] [2023-03-08T18:23:17.698Z] _____ _ [2023-03-08T18:23:17.698Z] / ____| | | [2023-03-08T18:23:17.698Z] | | ___ __| | ___ ___ _____ __ [2023-03-08T18:23:17.698Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-08T18:23:17.698Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-08T18:23:17.698Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-08T18:23:17.698Z] Bash-1.0.6 [2023-03-08T18:23:17.698Z] [2023-03-08T18:23:17.698Z] [2023-03-08T18:23:17.698Z] ==> git version 2.25.1 found [2023-03-08T18:23:17.698Z] ==> 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-03-08T18:23:17.698Z] Release-Date: 2020-01-08 [2023-03-08T18:23:17.698Z] 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-03-08T18:23:17.698Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-08T18:23:17.698Z] ==> Jenkins CI detected. [2023-03-08T18:23:17.698Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-255 [2023-03-08T18:23:17.698Z] project root: . [2023-03-08T18:23:17.698Z] --> token set from env [2023-03-08T18:23:17.698Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-08T18:23:17.698Z] ==> Running gcov in . (disable via -X gcov) [2023-03-08T18:23:17.698Z] ==> Python coveragepy not found [2023-03-08T18:23:17.698Z] ==> Searching for coverage reports in: [2023-03-08T18:23:17.698Z] + . [2023-03-08T18:23:17.698Z] -> Found 1 reports [2023-03-08T18:23:17.698Z] ==> Detecting git/mercurial file structure [2023-03-08T18:23:17.698Z] ==> Reading reports [2023-03-08T18:23:17.698Z] + ./coverage.out bytes=7631 [2023-03-08T18:23:17.698Z] ==> Appending adjustments [2023-03-08T18:23:17.698Z] https://docs.codecov.io/docs/fixing-reports [2023-03-08T18:23:17.957Z] + Found adjustments [2023-03-08T18:23:17.957Z] ==> Gzipping contents [2023-03-08T18:23:17.957Z] 4.0K /tmp/codecov.WCBD6v.gz [2023-03-08T18:23:17.957Z] ==> Uploading reports [2023-03-08T18:23:17.957Z] url: https://codecov.io [2023-03-08T18:23:17.957Z] query: branch=PR-255&commit=e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-255%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=255&job=&cmd_args= [2023-03-08T18:23:17.957Z] -> Pinging Codecov [2023-03-08T18:23:17.957Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-255&commit=e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-255%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=255&job=&cmd_args= [2023-03-08T18:23:17.957Z] -> Uploading to [2023-03-08T18:23:17.957Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-08/6C56EA5C29638FB4528AC87E60AF5AE0/e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d/3479b5fc-3718-4231-8653-e6ac179116d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T182317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb2e27c3035b3158250e5cf5beacaace850faddb49c6f6a169c75a6a7fced517 [2023-03-08T18:23:17.957Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T18:23:17.957Z] Dload Upload Total Spent Left Speed [2023-03-08T18:23:18.216Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 6886 --:--:-- --:--:-- --:--:-- 6855 100 1522 0 0 100 1522 0 5303 --:--:-- --:--:-- --:--:-- 5284 [2023-03-08T18:23:18.216Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/e6fb495d76f6aee33d24e8cfa6917c5a2df6a44d [Pipeline] } [2023-03-08T18:23:18.245Z] 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-03-08T18:23:19.903Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-255/archives ] [2023-03-08T18:23:19.903Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-255/archives [2023-03-08T18:23:19.903Z] total 16 [2023-03-08T18:23:19.903Z] drwxr-xr-x 3 root root 4096 Mar 8 18:14 . [2023-03-08T18:23:19.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 18:14 .. [2023-03-08T18:23:19.903Z] drwxr-xr-x 2 root root 4096 Mar 8 18:14 cost [2023-03-08T18:23:19.903Z] -rw-r--r-- 1 root root 86 Mar 8 18:14 cost.csv [2023-03-08T18:23:19.903Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-255/archives [2023-03-08T18:23:19.903Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-255/archives [2023-03-08T18:23:19.903Z] total 16 [2023-03-08T18:23:19.903Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 18:14 . [2023-03-08T18:23:19.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 18:14 .. [2023-03-08T18:23:19.903Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 18:14 cost [2023-03-08T18:23:19.903Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 18:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:23:20.232Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:23:21.122Z] ---> package-listing.sh [2023-03-08T18:23:21.123Z] ++ facter osfamily [2023-03-08T18:23:21.123Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T18:23:21.382Z] + OS_FAMILY=debian [2023-03-08T18:23:21.382Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-255 [2023-03-08T18:23:21.382Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T18:23:21.382Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T18:23:21.382Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T18:23:21.382Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T18:23:21.382Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-255 ']' [2023-03-08T18:23:21.382Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T18:23:21.382Z] + case "${OS_FAMILY}" in [2023-03-08T18:23:21.382Z] + dpkg -l [2023-03-08T18:23:21.382Z] + grep '^ii' [2023-03-08T18:23:21.382Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T18:23:21.382Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T18:23:21.382Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T18:23:21.382Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-255 ']' [2023-03-08T18:23:21.382Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-255/archives/ [2023-03-08T18:23:21.382Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-255/archives/ [Pipeline] echo [2023-03-08T18:23:21.419Z] 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-255/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T18:23:21.717Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T18:23:22.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T18:23:22.331Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T18:23:22.475Z] prd-ubuntu20.04-docker-8c-8g-8846 does not seem to be running inside a container [2023-03-08T18:23:22.510Z] $ 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-255/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-255 -v /w/workspace/gexfoundry_device-snmp-go_PR-255:/w/workspace/gexfoundry_device-snmp-go_PR-255:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T18:23:22.688Z] $ docker top f22e31683c79434933b23c16a7ed78490a5baf527935610aff779b468069b676 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T18:23:23.083Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T18:23:23.396Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T18:23:23.715Z] + ls /var/log/sa-host [2023-03-08T18:23:23.715Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T18:23:23.848Z] provisioning config files... [2023-03-08T18:23:23.856Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-255@tmp/config3578834211659465322tmp [Pipeline] { [Pipeline] echo [2023-03-08T18:23:23.912Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:23:24.223Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T18:23:24.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:23:24.647Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T18:23:24.678Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:23:24.993Z] ---> sudo-logs.sh [2023-03-08T18:23:24.993Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T18:23:25.078Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:23:25.393Z] ---> job-cost.sh [2023-03-08T18:23:25.393Z] lf-activate-venv: SKIPPING [2023-03-08T18:23:25.393Z] DEBUG: total: 0.2199999988079071 [2023-03-08T18:23:25.393Z] INFO: Retrieving Stack Cost... [2023-03-08T18:23:25.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T18:23:26.223Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T18:23:26.258Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T18:23:26.568Z] ---> logs-deploy.sh [2023-03-08T18:23:26.568Z] lf-activate-venv: SKIPPING [2023-03-08T18:23:26.568Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-255/1 [2023-03-08T18:23:26.568Z] INFO: archiving workspace using pattern(s): [2023-03-08T18:23:27.505Z] Archives upload complete. [2023-03-08T18:23:27.505Z] INFO: archiving logs to Nexus