Pull request #228 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e209851465e270389b3c44a079f66a8837d91f54+2bd6e5dae59222faf073cfb9822f90f2048c0bba (51fe88762df724cecc9030c7766468c67a23d7f9) 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-ssh9829199228716021544.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-ssh10213205376738472814.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-228/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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10785851925056166134.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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8391863327001320897.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-ssh2438653191405962963.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-228/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-228/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2184218865753614806.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 Running on prd-ubuntu20.04-docker-8c-8g-5061 in /w/workspace/gexfoundry_device-snmp-go_PR-228 [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-228 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit e209851465e270389b3c44a079f66a8837d91f54 Merge succeeded, producing e209851465e270389b3c44a079f66a8837d91f54 Checking out Revision e209851465e270389b3c44a079f66a8837d91f54 (PR-228) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv > git config core.sparsecheckout # timeout=10 > git checkout -f e209851465e270389b3c44a079f66a8837d91f54 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e209851465e270389b3c44a079f66a8837d91f54 # timeout=10 [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-08T05:03:06.276Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-08T05:03:06.451Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-08T05:03:06.553Z] ========================================================= [2023-02-08T05:03:06.553Z] EdgeX Global Pipelines Version Info [2023-02-08T05:03:06.553Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:03:07.362Z] ------------------- [2023-02-08T05:03:07.362Z] stable info: [2023-02-08T05:03:07.362Z] ------------------- [2023-02-08T05:03:07.362Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-08T05:03:07.362Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-08T05:03:07.362Z] Message: update stable to v1.0.244 [2023-02-08T05:03:07.933Z] ------------------- [2023-02-08T05:03:07.933Z] experimental info: [2023-02-08T05:03:07.933Z] ------------------- [2023-02-08T05:03:07.933Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-08T05:03:07.933Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-08T05:03:07.933Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-08T05:03:08.240Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-08T05:03:08.283Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-08T05:03:08.321Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-08T05:03:08.361Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-08T05:03:08.397Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-08T05:03:08.436Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-08T05:03:08.473Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-08T05:03:08.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-08T05:03:08.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-08T05:03:08.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-08T05:03:08.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-08T05:03:08.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-08T05:03:08.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-08T05:03:08.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-08T05:03:08.791Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-08T05:03:08.835Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-08T05:03:08.873Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-08T05:03:08.911Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-08T05:03:08.954Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-08T05:03:08.995Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-08T05:03:09.033Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-08T05:03:09.075Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-08T05:03:09.115Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-08T05:03:09.153Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-08T05:03:09.196Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-08T05:03:09.236Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-08T05:03:09.274Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-08T05:03:09.316Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-228 [Pipeline] echo [2023-02-08T05:03:09.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-228 [Pipeline] echo [2023-02-08T05:03:09.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-228 [Pipeline] echo [2023-02-08T05:03:09.431Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e209851465e270389b3c44a079f66a8837d91f54 [Pipeline] echo [2023-02-08T05:03:09.475Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e209851 [Pipeline] echo [2023-02-08T05:03:09.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T05:03:09.637Z] provisioning config files... [2023-02-08T05:03:09.660Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp/config12462941906311990355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:03:10.001Z] ---> docker-login.sh [2023-02-08T05:03:10.001Z] nexus3.edgexfoundry.org:10001 [2023-02-08T05:03:10.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:10.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:10.260Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:10.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:10.260Z] [2023-02-08T05:03:10.260Z] Login Succeeded [2023-02-08T05:03:10.260Z] nexus3.edgexfoundry.org:10002 [2023-02-08T05:03:10.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:10.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:10.520Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:10.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:10.520Z] [2023-02-08T05:03:10.520Z] Login Succeeded [2023-02-08T05:03:10.520Z] nexus3.edgexfoundry.org:10003 [2023-02-08T05:03:10.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:10.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:10.520Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:10.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:10.520Z] [2023-02-08T05:03:10.520Z] Login Succeeded [2023-02-08T05:03:10.520Z] nexus3.edgexfoundry.org:10004 [2023-02-08T05:03:10.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:10.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:10.782Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:10.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:10.782Z] [2023-02-08T05:03:10.782Z] Login Succeeded [2023-02-08T05:03:10.782Z] docker.io [2023-02-08T05:03:10.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:11.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:11.042Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:11.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:11.042Z] [2023-02-08T05:03:11.042Z] Login Succeeded [2023-02-08T05:03:11.042Z] ---> docker-login.sh ends [Pipeline] } [2023-02-08T05:03:11.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-08T05:03:11.642Z] + git rev-list -1 --merges e209851465e270389b3c44a079f66a8837d91f54~1..e209851465e270389b3c44a079f66a8837d91f54 [Pipeline] echo [2023-02-08T05:03:11.704Z] -----------> git rev-list -1 --merges e209851465e270389b3c44a079f66a8837d91f54~1..e209851465e270389b3c44a079f66a8837d91f54 e209851465e270389b3c44a079f66a8837d91f54 [false] [Pipeline] sh [2023-02-08T05:03:12.014Z] + git log --format=format:%s -1 e209851465e270389b3c44a079f66a8837d91f54 [Pipeline] echo [2023-02-08T05:03:12.062Z] ========================================================= [2023-02-08T05:03:12.062Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-08T05:03:12.062Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-08T05:03:12.498Z] + git log --format=format:%s -1 e209851465e270389b3c44a079f66a8837d91f54 [Pipeline] echo [2023-02-08T05:03:12.529Z] [semverPrep] GIT_COMMIT: e209851465e270389b3c44a079f66a8837d91f54, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-08T05:03:12.558Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-08T05:03:12.921Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-08T05:03:12.922Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-08T05:03:12.922Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-08T05:03:12.922Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-08T05:03:12.922Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-08T05:03:12.922Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-08T05:03:12.922Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:03:13.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-08T05:03:13.342Z] [2023-02-08T05:03:13.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:03:13.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-08T05:03:13.981Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-08T05:03:13.981Z] b85a868b505f: Pulling fs layer [2023-02-08T05:03:13.981Z] e2be974225ed: Pulling fs layer [2023-02-08T05:03:13.981Z] 339a4e72a1f5: Pulling fs layer [2023-02-08T05:03:13.981Z] 988bab9f4d93: Pulling fs layer [2023-02-08T05:03:13.981Z] 1469e6f7b9e6: Pulling fs layer [2023-02-08T05:03:13.981Z] eaf3925da568: Pulling fs layer [2023-02-08T05:03:13.981Z] bab4dde63d76: Pulling fs layer [2023-02-08T05:03:13.981Z] 988bab9f4d93: Waiting [2023-02-08T05:03:13.981Z] bde34c3a00c8: Pulling fs layer [2023-02-08T05:03:13.981Z] b352a97aabf1: Pulling fs layer [2023-02-08T05:03:13.981Z] 4872d77fe225: Pulling fs layer [2023-02-08T05:03:13.981Z] 5851b861e8e6: Pulling fs layer [2023-02-08T05:03:13.981Z] eaf3925da568: Waiting [2023-02-08T05:03:13.981Z] 1469e6f7b9e6: Waiting [2023-02-08T05:03:13.981Z] bab4dde63d76: Waiting [2023-02-08T05:03:13.981Z] bde34c3a00c8: Waiting [2023-02-08T05:03:13.981Z] b352a97aabf1: Waiting [2023-02-08T05:03:13.981Z] 5851b861e8e6: Waiting [2023-02-08T05:03:13.981Z] e2be974225ed: Verifying Checksum [2023-02-08T05:03:13.981Z] e2be974225ed: Download complete [2023-02-08T05:03:13.981Z] 988bab9f4d93: Verifying Checksum [2023-02-08T05:03:13.981Z] 988bab9f4d93: Download complete [2023-02-08T05:03:14.258Z] 339a4e72a1f5: Verifying Checksum [2023-02-08T05:03:14.258Z] 339a4e72a1f5: Download complete [2023-02-08T05:03:14.258Z] eaf3925da568: Verifying Checksum [2023-02-08T05:03:14.258Z] eaf3925da568: Download complete [2023-02-08T05:03:14.258Z] 1469e6f7b9e6: Verifying Checksum [2023-02-08T05:03:14.258Z] 1469e6f7b9e6: Download complete [2023-02-08T05:03:14.258Z] bde34c3a00c8: Download complete [2023-02-08T05:03:14.526Z] b85a868b505f: Verifying Checksum [2023-02-08T05:03:14.526Z] b85a868b505f: Download complete [2023-02-08T05:03:14.526Z] b352a97aabf1: Verifying Checksum [2023-02-08T05:03:14.526Z] b352a97aabf1: Download complete [2023-02-08T05:03:14.526Z] 4872d77fe225: Verifying Checksum [2023-02-08T05:03:14.526Z] 4872d77fe225: Download complete [2023-02-08T05:03:14.526Z] 5851b861e8e6: Verifying Checksum [2023-02-08T05:03:14.526Z] 5851b861e8e6: Download complete [2023-02-08T05:03:14.784Z] bab4dde63d76: Verifying Checksum [2023-02-08T05:03:15.721Z] b85a868b505f: Pull complete [2023-02-08T05:03:15.985Z] e2be974225ed: Pull complete [2023-02-08T05:03:21.284Z] 339a4e72a1f5: Pull complete [2023-02-08T05:03:21.284Z] 988bab9f4d93: Pull complete [2023-02-08T05:03:21.284Z] 1469e6f7b9e6: Pull complete [2023-02-08T05:03:21.542Z] eaf3925da568: Pull complete [2023-02-08T05:03:24.100Z] bab4dde63d76: Pull complete [2023-02-08T05:03:25.482Z] bde34c3a00c8: Pull complete [2023-02-08T05:03:26.085Z] b352a97aabf1: Pull complete [2023-02-08T05:03:27.038Z] 4872d77fe225: Pull complete [2023-02-08T05:03:27.991Z] 5851b861e8e6: Pull complete [2023-02-08T05:03:28.250Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-08T05:03:28.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-08T05:03:28.521Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T05:03:28.754Z] prd-ubuntu20.04-docker-8c-8g-5061 does not seem to be running inside a container [2023-02-08T05:03:28.823Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-228 -v /w/workspace/gexfoundry_device-snmp-go_PR-228:/w/workspace/gexfoundry_device-snmp-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-228@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-228@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-08T05:03:41.611Z] $ docker top 1a976a59a459ba6d0e6ea73574c2358497b6541fce51f891f51a30544de05834 -eo pid,comm [2023-02-08T05:03:41.662Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-08T05:03:41.662Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-08T05:03:41.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-08T05:03:41.788Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-08T05:03:41.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-08T05:03:41.899Z] $ docker exec 1a976a59a459ba6d0e6ea73574c2358497b6541fce51f891f51a30544de05834 ssh-agent [2023-02-08T05:03:41.997Z] SSH_AUTH_SOCK=/tmp/ssh-tGdVSVPdCrIu/agent.32 [2023-02-08T05:03:41.997Z] SSH_AGENT_PID=38 [2023-02-08T05:03:42.006Z] Running ssh-add (command line suppressed) [2023-02-08T05:03:42.101Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-228@tmp/private_key_16984758049297634001.key (/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp/private_key_16984758049297634001.key) [2023-02-08T05:03:42.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-08T05:03:42.448Z] + git tag --points-at HEAD [Pipeline] } [2023-02-08T05:03:42.474Z] $ docker exec --env ******** --env ******** 1a976a59a459ba6d0e6ea73574c2358497b6541fce51f891f51a30544de05834 ssh-agent -k [2023-02-08T05:03:42.573Z] unset SSH_AUTH_SOCK; [2023-02-08T05:03:42.574Z] unset SSH_AGENT_PID; [2023-02-08T05:03:42.574Z] echo Agent pid 38 killed; [2023-02-08T05:03:42.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-08T05:03:42.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-08T05:03:42.684Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-08T05:03:42.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-08T05:03:42.783Z] $ docker exec 1a976a59a459ba6d0e6ea73574c2358497b6541fce51f891f51a30544de05834 ssh-agent [2023-02-08T05:03:42.887Z] SSH_AUTH_SOCK=/tmp/ssh-STtd2SpOpKUU/agent.70 [2023-02-08T05:03:42.887Z] SSH_AGENT_PID=76 [2023-02-08T05:03:42.892Z] Running ssh-add (command line suppressed) [2023-02-08T05:03:42.991Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-228@tmp/private_key_4888041330602786565.key (/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp/private_key_4888041330602786565.key) [2023-02-08T05:03:43.004Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-08T05:03:43.382Z] + git semver init [2023-02-08T05:03:43.642Z] 2023-02-08 05:03:43,555 [run_init] DEBUG init version:0.0.0 force:False [2023-02-08T05:03:43.642Z] 2023-02-08 05:03:43,555 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-228/.semver [2023-02-08T05:03:43.642Z] 2023-02-08 05:03:43,556 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-228/.semver [2023-02-08T05:03:43.642Z] 2023-02-08 05:03:43,556 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-228/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-228, universal_newlines=False, shell=None, istream=None) [2023-02-08T05:03:45.053Z] 2023-02-08 05:03:44,738 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-228/.git/info/exclude [2023-02-08T05:03:45.053Z] 2023-02-08 05:03:44,738 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-228/.semver/PR-228 with force:False [2023-02-08T05:03:45.053Z] 2023-02-08 05:03:44,738 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-228/.semver/PR-228 [2023-02-08T05:03:45.053Z] 2023-02-08 05:03:44,741 [execute] INFO git cat-file --batch-check [2023-02-08T05:03:45.053Z] 2023-02-08 05:03:44,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-228/.semver, universal_newlines=False, shell=None, istream=) [2023-02-08T05:03:45.053Z] 2023-02-08 05:03:44,746 [execute] INFO git cat-file --batch [2023-02-08T05:03:45.053Z] 2023-02-08 05:03:44,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-228/.semver, universal_newlines=False, shell=None, istream=) [2023-02-08T05:03:45.053Z] 2023-02-08 05:03:44,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-228/.semver/PR-228 [2023-02-08T05:03:45.053Z] 0.0.0 [Pipeline] } [2023-02-08T05:03:45.080Z] $ docker exec --env ******** --env ******** 1a976a59a459ba6d0e6ea73574c2358497b6541fce51f891f51a30544de05834 ssh-agent -k [2023-02-08T05:03:45.198Z] unset SSH_AUTH_SOCK; [2023-02-08T05:03:45.198Z] unset SSH_AGENT_PID; [2023-02-08T05:03:45.198Z] echo Agent pid 76 killed; [2023-02-08T05:03:45.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-08T05:03:45.620Z] + git semver [Pipeline] } [2023-02-08T05:03:45.902Z] $ docker stop --time=1 1a976a59a459ba6d0e6ea73574c2358497b6541fce51f891f51a30544de05834 [2023-02-08T05:03:47.838Z] $ docker rm -f --volumes 1a976a59a459ba6d0e6ea73574c2358497b6541fce51f891f51a30544de05834 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-08T05:03:48.310Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-08T05:03:48.607Z] Stashed 1 file(s) [Pipeline] echo [2023-02-08T05:03:48.623Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T05:03:49.250Z] provisioning config files... [2023-02-08T05:03:49.260Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp/config10974915075499039419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:03:49.601Z] ---> docker-login.sh [2023-02-08T05:03:49.601Z] nexus3.edgexfoundry.org:10001 [2023-02-08T05:03:49.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:49.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:49.601Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:49.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:49.601Z] [2023-02-08T05:03:49.601Z] Login Succeeded [2023-02-08T05:03:49.601Z] nexus3.edgexfoundry.org:10002 [2023-02-08T05:03:49.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:49.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:49.601Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:49.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:49.601Z] [2023-02-08T05:03:49.601Z] Login Succeeded [2023-02-08T05:03:49.601Z] nexus3.edgexfoundry.org:10003 [2023-02-08T05:03:49.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:49.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:49.863Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:49.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:49.863Z] [2023-02-08T05:03:49.863Z] Login Succeeded [2023-02-08T05:03:49.863Z] nexus3.edgexfoundry.org:10004 [2023-02-08T05:03:49.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:49.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:49.863Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:49.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:49.863Z] [2023-02-08T05:03:49.863Z] Login Succeeded [2023-02-08T05:03:49.863Z] docker.io [2023-02-08T05:03:50.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:03:50.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:03:50.121Z] Configure a credential helper to remove this warning. See [2023-02-08T05:03:50.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:03:50.121Z] [2023-02-08T05:03:50.121Z] Login Succeeded [2023-02-08T05:03:50.121Z] ---> docker-login.sh ends [Pipeline] } [2023-02-08T05:03:50.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-08T05:03:50.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T05:03:50.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T05:03:50.391Z] ========================================================= [2023-02-08T05:03:50.391Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-08T05:03:50.391Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:03:50.842Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-08T05:03:50.842Z] Sending build context to Docker daemon 5.68MB [2023-02-08T05:03:50.842Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-08T05:03:50.842Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-08T05:03:51.104Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-08T05:03:51.104Z] 213ec9aee27d: Pulling fs layer [2023-02-08T05:03:51.104Z] 4583459ba037: Pulling fs layer [2023-02-08T05:03:51.104Z] 93c1e223e6f2: Pulling fs layer [2023-02-08T05:03:51.104Z] 53926ce57604: Pulling fs layer [2023-02-08T05:03:51.104Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-08T05:03:51.104Z] 22ff95d597cd: Pulling fs layer [2023-02-08T05:03:51.104Z] 12d6caf4c0d1: Pulling fs layer [2023-02-08T05:03:51.104Z] 96b7cbca73a9: Pulling fs layer [2023-02-08T05:03:51.104Z] a7acece74701: Pulling fs layer [2023-02-08T05:03:51.104Z] 22ff95d597cd: Waiting [2023-02-08T05:03:51.104Z] 53926ce57604: Waiting [2023-02-08T05:03:51.104Z] 21b2b0c7a3f4: Waiting [2023-02-08T05:03:51.104Z] 96b7cbca73a9: Waiting [2023-02-08T05:03:51.104Z] 93c1e223e6f2: Download complete [2023-02-08T05:03:51.104Z] 4583459ba037: Verifying Checksum [2023-02-08T05:03:51.104Z] 4583459ba037: Download complete [2023-02-08T05:03:51.104Z] 21b2b0c7a3f4: Download complete [2023-02-08T05:03:51.104Z] 22ff95d597cd: Download complete [2023-02-08T05:03:51.104Z] 213ec9aee27d: Verifying Checksum [2023-02-08T05:03:51.104Z] 213ec9aee27d: Download complete [2023-02-08T05:03:51.104Z] 12d6caf4c0d1: Verifying Checksum [2023-02-08T05:03:51.104Z] 12d6caf4c0d1: Download complete [2023-02-08T05:03:51.369Z] 213ec9aee27d: Pull complete [2023-02-08T05:03:51.369Z] 4583459ba037: Pull complete [2023-02-08T05:03:51.648Z] 93c1e223e6f2: Pull complete [2023-02-08T05:03:52.255Z] a7acece74701: Verifying Checksum [2023-02-08T05:03:52.255Z] a7acece74701: Download complete [2023-02-08T05:03:52.255Z] 53926ce57604: Verifying Checksum [2023-02-08T05:03:52.255Z] 53926ce57604: Download complete [2023-02-08T05:03:52.515Z] 96b7cbca73a9: Verifying Checksum [2023-02-08T05:03:52.515Z] 96b7cbca73a9: Download complete [2023-02-08T05:03:56.705Z] 53926ce57604: Pull complete [2023-02-08T05:03:56.967Z] 21b2b0c7a3f4: Pull complete [2023-02-08T05:03:57.535Z] 22ff95d597cd: Pull complete [2023-02-08T05:03:58.477Z] 12d6caf4c0d1: Pull complete [2023-02-08T05:04:00.389Z] 96b7cbca73a9: Pull complete [2023-02-08T05:04:01.321Z] a7acece74701: Pull complete [2023-02-08T05:04:01.321Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-08T05:04:01.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-08T05:04:01.321Z] ---> db6d94c90886 [2023-02-08T05:04:01.321Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-08T05:04:04.074Z] Still waiting to schedule task [2023-02-08T05:04:04.074Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5063’ is offline [2023-02-08T05:04:07.935Z] ---> Running in 0f47b3060870 [2023-02-08T05:04:07.935Z] Removing intermediate container 0f47b3060870 [2023-02-08T05:04:07.935Z] ---> 4c8f61eff73f [2023-02-08T05:04:07.935Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-08T05:04:08.869Z] ---> Running in 567e6bfba2e0 [2023-02-08T05:04:08.869Z] Removing intermediate container 567e6bfba2e0 [2023-02-08T05:04:08.869Z] ---> e8dbf69cdf27 [2023-02-08T05:04:08.869Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-08T05:04:08.869Z] ---> Running in 4eeab5b9d0c5 [2023-02-08T05:04:08.869Z] Removing intermediate container 4eeab5b9d0c5 [2023-02-08T05:04:08.869Z] ---> 9570c94ca9c4 [2023-02-08T05:04:08.869Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-08T05:04:08.869Z] ---> Running in fdbd79a7aa0b [2023-02-08T05:04:09.128Z] Removing intermediate container fdbd79a7aa0b [2023-02-08T05:04:09.128Z] ---> 6c3f15d0dea1 [2023-02-08T05:04:09.128Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-08T05:04:09.128Z] ---> Running in fe4dc5028f0f [2023-02-08T05:04:09.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T05:04:09.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-08T05:04:09.910Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-08T05:04:09.910Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-08T05:04:09.910Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-08T05:04:09.910Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-08T05:04:09.910Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T05:04:09.910Z] OK: 216 MiB in 55 packages [2023-02-08T05:04:10.477Z] Removing intermediate container fe4dc5028f0f [2023-02-08T05:04:10.477Z] ---> 5c3582932c65 [2023-02-08T05:04:10.477Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-08T05:04:10.477Z] ---> Running in bb90a7fa59e5 [2023-02-08T05:04:10.736Z] Removing intermediate container bb90a7fa59e5 [2023-02-08T05:04:10.736Z] ---> fc5b05e97166 [2023-02-08T05:04:10.736Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-08T05:04:10.736Z] ---> 9eaafbacabec [2023-02-08T05:04:10.736Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-08T05:04:10.994Z] ---> Running in 56c5b2887f54 [2023-02-08T05:04:49.713Z] Removing intermediate container 56c5b2887f54 [2023-02-08T05:04:49.713Z] ---> 2a7174e99f1b [2023-02-08T05:04:49.713Z] Step 11/12 : COPY . . [2023-02-08T05:04:49.713Z] ---> 535c4cfb6cac [2023-02-08T05:04:49.713Z] Step 12/12 : RUN ${MAKE} [2023-02-08T05:04:49.713Z] ---> Running in f284e1c00baa [2023-02-08T05:04:49.713Z] noop [2023-02-08T05:04:49.713Z] Removing intermediate container f284e1c00baa [2023-02-08T05:04:49.713Z] ---> 21b04153b8b2 [2023-02-08T05:04:49.713Z] Successfully built 21b04153b8b2 [2023-02-08T05:04:49.713Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:04:50.167Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-08T05:04:50.167Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T05:04:50.452Z] prd-ubuntu20.04-docker-8c-8g-5061 does not seem to be running inside a container [2023-02-08T05:04:50.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-228 -v /w/workspace/gexfoundry_device-snmp-go_PR-228:/w/workspace/gexfoundry_device-snmp-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-228@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-08T05:04:50.820Z] $ docker top 1f4bbe24712648315af9da73e2fb62503be3e518627713b39c8a04781f7451d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T05:04:51.203Z] + go version [2023-02-08T05:04:51.203Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-08T05:04:51.232Z] $ docker stop --time=1 1f4bbe24712648315af9da73e2fb62503be3e518627713b39c8a04781f7451d9 [2023-02-08T05:04:52.505Z] $ docker rm -f --volumes 1f4bbe24712648315af9da73e2fb62503be3e518627713b39c8a04781f7451d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:04:53.277Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-08T05:04:53.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T05:04:53.438Z] prd-ubuntu20.04-docker-8c-8g-5061 does not seem to be running inside a container [2023-02-08T05:04:53.470Z] $ 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-228 -v /w/workspace/gexfoundry_device-snmp-go_PR-228:/w/workspace/gexfoundry_device-snmp-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-228@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-08T05:04:54.016Z] $ docker top 197a5ec1b048bf70d50e6407771abc7a8b92e075cf8b24be7047c3d47205d365 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T05:04:54.402Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-228 [Pipeline] fileExists [Pipeline] sh [2023-02-08T05:04:54.764Z] + make test [2023-02-08T05:04:54.764Z] go test ./... -coverprofile=coverage.out [2023-02-08T05:04:55.024Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-08T05:05:03.306Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-08T05:05:03.306Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.019s coverage: 0.0% of statements [2023-02-08T05:05:09.882Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-08T05:05:09.882Z] go vet ./... [2023-02-08T05:05:13.158Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-08T05:05:13.158Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-08T05:05:13.158Z] ./bin/test-attribution-txt.sh [2023-02-08T05:05:13.158Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-08T05:05:13.158Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-08T05:05:13.196Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-08T05:05:13.230Z] $ docker stop --time=1 197a5ec1b048bf70d50e6407771abc7a8b92e075cf8b24be7047c3d47205d365 [2023-02-08T05:05:15.669Z] $ docker rm -f --volumes 197a5ec1b048bf70d50e6407771abc7a8b92e075cf8b24be7047c3d47205d365 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-08T05:05:16.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-08T05:05:16.238Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-08T05:05:16.918Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-08T05:05:17.233Z] + ls -al . [2023-02-08T05:05:17.233Z] total 172 [2023-02-08T05:05:17.233Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 8 05:04 . [2023-02-08T05:05:17.233Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 05:03 .. [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 8 05:03 .dockerignore [2023-02-08T05:05:17.233Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 05:05 .git [2023-02-08T05:05:17.233Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 05:03 .github [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 8 05:03 .gitignore [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 8 05:03 .golangci.yml [2023-02-08T05:05:17.233Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 8 05:03 .semver [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 8 05:03 Attribution.txt [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 8 05:03 CHANGELOG.md [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 8 05:03 Dockerfile [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 05:03 GOVERNANCE.md [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 8 05:03 Jenkinsfile [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 8 05:03 LICENSE [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 8 05:03 Makefile [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 8 05:03 OWNERS.md [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 8 05:03 README.md [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 8 05:03 VERSION [2023-02-08T05:05:17.233Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 05:03 bin [2023-02-08T05:05:17.233Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 05:03 cmd [2023-02-08T05:05:17.233Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 8 05:05 coverage.out [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 3325 Feb 8 05:03 go.mod [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 32918 Feb 8 05:03 go.sum [2023-02-08T05:05:17.233Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 05:03 internal [2023-02-08T05:05:17.233Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 05:03 snap [2023-02-08T05:05:17.233Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 8 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:05:17.624Z] + 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=e209851465e270389b3c44a079f66a8837d91f54 --label arch=amd64 --label version=0.0.0 . [2023-02-08T05:05:17.624Z] Sending build context to Docker daemon 5.688MB [2023-02-08T05:05:17.624Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-08T05:05:17.624Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-08T05:05:17.624Z] ---> 21b04153b8b2 [2023-02-08T05:05:17.624Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-08T05:05:17.624Z] ---> Running in 1e0db04dd64c [2023-02-08T05:05:17.885Z] Removing intermediate container 1e0db04dd64c [2023-02-08T05:05:17.885Z] ---> 1a2fffeab266 [2023-02-08T05:05:17.885Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-08T05:05:17.885Z] ---> Running in e44de08493ed [2023-02-08T05:05:17.885Z] Removing intermediate container e44de08493ed [2023-02-08T05:05:17.885Z] ---> 8a92e499ddfe [2023-02-08T05:05:17.885Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-08T05:05:17.885Z] ---> Running in bca3f68e4c5b [2023-02-08T05:05:18.149Z] Removing intermediate container bca3f68e4c5b [2023-02-08T05:05:18.149Z] ---> 9e6fc88ee51d [2023-02-08T05:05:18.149Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-08T05:05:18.149Z] ---> Running in a67ee44067fc [2023-02-08T05:05:18.149Z] Removing intermediate container a67ee44067fc [2023-02-08T05:05:18.149Z] ---> 67cbd444dd1c [2023-02-08T05:05:18.149Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-08T05:05:18.149Z] ---> Running in 2878ea471bd9 [2023-02-08T05:05:18.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T05:05:18.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-08T05:05:18.679Z] OK: 216 MiB in 55 packages [2023-02-08T05:05:19.246Z] Removing intermediate container 2878ea471bd9 [2023-02-08T05:05:19.246Z] ---> 60ec6a21e8f5 [2023-02-08T05:05:19.246Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-08T05:05:19.246Z] ---> Running in 42381d798faf [2023-02-08T05:05:19.246Z] Removing intermediate container 42381d798faf [2023-02-08T05:05:19.246Z] ---> be23e44d68c6 [2023-02-08T05:05:19.246Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-08T05:05:19.246Z] ---> 620226845855 [2023-02-08T05:05:19.246Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-08T05:05:19.505Z] ---> Running in d55f6a25b105 [2023-02-08T05:05:20.655Z] Removing intermediate container d55f6a25b105 [2023-02-08T05:05:20.655Z] ---> 76b55fc24ed5 [2023-02-08T05:05:20.655Z] Step 11/24 : COPY . . [2023-02-08T05:05:20.914Z] ---> c33f6e11e10c [2023-02-08T05:05:20.914Z] Step 12/24 : RUN ${MAKE} [2023-02-08T05:05:20.914Z] ---> Running in d94c72914ee2 [2023-02-08T05:05:21.173Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-08T05:05:43.227Z] Removing intermediate container d94c72914ee2 [2023-02-08T05:05:43.227Z] ---> fc80275195eb [2023-02-08T05:05:43.227Z] Step 13/24 : FROM alpine:3.16 [2023-02-08T05:05:43.227Z] 3.16: Pulling from library/alpine [2023-02-08T05:05:43.227Z] ca7dd9ec2225: Pulling fs layer [2023-02-08T05:05:43.227Z] ca7dd9ec2225: Verifying Checksum [2023-02-08T05:05:43.227Z] ca7dd9ec2225: Download complete [2023-02-08T05:05:43.227Z] ca7dd9ec2225: Pull complete [2023-02-08T05:05:43.227Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-08T05:05:43.227Z] Status: Downloaded newer image for alpine:3.16 [2023-02-08T05:05:43.227Z] ---> bfe296a52501 [2023-02-08T05:05:43.227Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-08T05:05:43.227Z] ---> Running in ecd5c28b7bbc [2023-02-08T05:05:43.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-08T05:05:43.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-08T05:05:43.227Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-08T05:05:43.227Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T05:05:43.227Z] OK: 6 MiB in 15 packages [2023-02-08T05:05:43.227Z] Removing intermediate container ecd5c28b7bbc [2023-02-08T05:05:43.227Z] ---> 5473bf79060c [2023-02-08T05:05:43.227Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-08T05:05:43.488Z] ---> a8ff7d8c1eaf [2023-02-08T05:05:43.488Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-08T05:05:43.746Z] ---> dabc2b7c47b4 [2023-02-08T05:05:43.746Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-08T05:05:43.746Z] ---> ed76b99c5b4d [2023-02-08T05:05:43.746Z] Step 18/24 : EXPOSE 59993 [2023-02-08T05:05:43.746Z] ---> Running in 09182c38ea86 [2023-02-08T05:05:44.006Z] Removing intermediate container 09182c38ea86 [2023-02-08T05:05:44.006Z] ---> d8ad9e438d7f [2023-02-08T05:05:44.006Z] Step 19/24 : EXPOSE 161 [2023-02-08T05:05:44.006Z] ---> Running in d2a8f92f2577 [2023-02-08T05:05:44.006Z] Removing intermediate container d2a8f92f2577 [2023-02-08T05:05:44.006Z] ---> 000451a4bd1c [2023-02-08T05:05:44.006Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-08T05:05:44.006Z] ---> Running in 62bcac2c923e [2023-02-08T05:05:44.006Z] Removing intermediate container 62bcac2c923e [2023-02-08T05:05:44.006Z] ---> 16030568511e [2023-02-08T05:05:44.006Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-08T05:05:44.264Z] ---> Running in 5c2d7cd3a955 [2023-02-08T05:05:44.264Z] Removing intermediate container 5c2d7cd3a955 [2023-02-08T05:05:44.264Z] ---> 72b9b582bcfb [2023-02-08T05:05:44.264Z] Step 22/24 : LABEL arch=amd64 [2023-02-08T05:05:44.264Z] ---> Running in 0ac70c9e7e29 [2023-02-08T05:05:44.264Z] Removing intermediate container 0ac70c9e7e29 [2023-02-08T05:05:44.264Z] ---> d08bf179cc3e [2023-02-08T05:05:44.264Z] Step 23/24 : LABEL git_sha=e209851465e270389b3c44a079f66a8837d91f54 [2023-02-08T05:05:44.264Z] ---> Running in 83026711bd50 [2023-02-08T05:05:44.522Z] Removing intermediate container 83026711bd50 [2023-02-08T05:05:44.522Z] ---> 8998ffadf181 [2023-02-08T05:05:44.522Z] Step 24/24 : LABEL version=0.0.0 [2023-02-08T05:05:44.522Z] ---> Running in e2049f5ef821 [2023-02-08T05:05:44.522Z] Removing intermediate container e2049f5ef821 [2023-02-08T05:05:44.522Z] ---> afb3a878bb02 [2023-02-08T05:05:44.522Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-08T05:05:44.522Z] Successfully built afb3a878bb02 [2023-02-08T05:05:44.522Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:05:45.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T05:05:45.320Z] [2023-02-08T05:05:45.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:05:45.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T05:05:45.705Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-08T05:05:45.705Z] 5eb5b503b376: Pulling fs layer [2023-02-08T05:05:45.705Z] 5c69ac0246d0: Pulling fs layer [2023-02-08T05:05:45.705Z] ec43610c2a17: Pulling fs layer [2023-02-08T05:05:45.705Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-08T05:05:45.705Z] 33b1e0a273af: Pulling fs layer [2023-02-08T05:05:45.705Z] 5d3b04190fa2: Pulling fs layer [2023-02-08T05:05:45.705Z] 2f39f015ded8: Pulling fs layer [2023-02-08T05:05:45.705Z] 3a2ae6a8a46f: Waiting [2023-02-08T05:05:45.705Z] 33b1e0a273af: Waiting [2023-02-08T05:05:45.705Z] 5d3b04190fa2: Waiting [2023-02-08T05:05:45.705Z] 2f39f015ded8: Waiting [2023-02-08T05:05:45.705Z] 5c69ac0246d0: Verifying Checksum [2023-02-08T05:05:45.705Z] 5c69ac0246d0: Download complete [2023-02-08T05:05:45.705Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-08T05:05:45.705Z] 3a2ae6a8a46f: Download complete [2023-02-08T05:05:45.969Z] 33b1e0a273af: Verifying Checksum [2023-02-08T05:05:45.969Z] 33b1e0a273af: Download complete [2023-02-08T05:05:45.969Z] 5d3b04190fa2: Verifying Checksum [2023-02-08T05:05:45.969Z] 5d3b04190fa2: Download complete [2023-02-08T05:05:45.969Z] ec43610c2a17: Verifying Checksum [2023-02-08T05:05:45.969Z] ec43610c2a17: Download complete [2023-02-08T05:05:46.232Z] 5eb5b503b376: Verifying Checksum [2023-02-08T05:05:46.232Z] 5eb5b503b376: Download complete [2023-02-08T05:05:46.802Z] 2f39f015ded8: Download complete [2023-02-08T05:05:47.368Z] 5eb5b503b376: Pull complete [2023-02-08T05:05:47.368Z] 5c69ac0246d0: Pull complete [2023-02-08T05:05:47.933Z] ec43610c2a17: Pull complete [2023-02-08T05:05:47.933Z] 3a2ae6a8a46f: Pull complete [2023-02-08T05:05:48.192Z] 33b1e0a273af: Pull complete [2023-02-08T05:05:48.192Z] 5d3b04190fa2: Pull complete [2023-02-08T05:05:52.375Z] 2f39f015ded8: Pull complete [2023-02-08T05:05:52.375Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-08T05:05:52.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T05:05:52.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T05:05:52.600Z] prd-ubuntu20.04-docker-8c-8g-5061 does not seem to be running inside a container [2023-02-08T05:05:52.628Z] $ 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-228 -v /w/workspace/gexfoundry_device-snmp-go_PR-228:/w/workspace/gexfoundry_device-snmp-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-228@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-08T05:05:55.558Z] $ docker top b7551ed85334649cb5272ab74a2296bbcc9eae5be4db96650dafabf44b087fe3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:05:55.996Z] ---> job-cost.sh [2023-02-08T05:05:55.996Z] lf-activate-venv: SKIPPING [2023-02-08T05:05:55.996Z] INFO: No Stack... [2023-02-08T05:05:56.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-08T05:05:56.513Z] INFO: Archiving Costs [Pipeline] sh [2023-02-08T05:05:56.824Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-228/archives/cost.csv [2023-02-08T05:05:56.824Z] + cut -d, -f6 [Pipeline] lock [2023-02-08T05:05:56.873Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-228-1-stack-cost] [2023-02-08T05:05:56.878Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-228-1-stack-cost] did not exist. Created. [2023-02-08T05:05:56.878Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-08T05:05:57.272Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-08T05:05:57.318Z] Stashed 1 file(s) [Pipeline] } [2023-02-08T05:05:57.348Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-08T05:05:57.427Z] $ docker stop --time=1 b7551ed85334649cb5272ab74a2296bbcc9eae5be4db96650dafabf44b087fe3 [2023-02-08T05:05:58.560Z] $ docker rm -f --volumes b7551ed85334649cb5272ab74a2296bbcc9eae5be4db96650dafabf44b087fe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-08T05:06:23.206Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5065 in /w/workspace/gexfoundry_device-snmp-go_PR-228 [Pipeline] { [Pipeline] ws [2023-02-08T05:06:23.258Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-08T05:06:23.332Z] Selected Git installation does not exist. Using Default [2023-02-08T05:06:23.332Z] The recommended git tool is: NONE [2023-02-08T05:06:29.104Z] using credential edgex-jenkins-ssh [2023-02-08T05:06:29.130Z] Cloning the remote Git repository [2023-02-08T05:06:29.187Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-08T05:06:29.280Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-08T05:06:29.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-08T05:06:29.482Z] > git --version # timeout=10 [2023-02-08T05:06:29.525Z] > git --version # 'git version 2.25.1' [2023-02-08T05:06:29.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-08T05:06:29.628Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-08T05:06:30.828Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-08T05:06:30.851Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-08T05:06:31.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-08T05:06:31.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-08T05:06:31.945Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-08T05:06:31.965Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-08T05:06:32.852Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit e209851465e270389b3c44a079f66a8837d91f54 [2023-02-08T05:06:33.110Z] Merge succeeded, producing e209851465e270389b3c44a079f66a8837d91f54 [2023-02-08T05:06:33.111Z] Checking out Revision e209851465e270389b3c44a079f66a8837d91f54 (PR-228) [2023-02-08T05:06:32.872Z] > git config core.sparsecheckout # timeout=10 [2023-02-08T05:06:32.895Z] > git checkout -f e209851465e270389b3c44a079f66a8837d91f54 # timeout=10 [2023-02-08T05:06:32.997Z] > git remote # timeout=10 [2023-02-08T05:06:33.019Z] > git config --get remote.origin.url # timeout=10 [2023-02-08T05:06:33.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-08T05:06:33.058Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-08T05:06:33.087Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-08T05:06:33.115Z] > git config core.sparsecheckout # timeout=10 [2023-02-08T05:06:33.135Z] > git checkout -f e209851465e270389b3c44a079f66a8837d91f54 # timeout=10 [2023-02-08T05:06:33.648Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-08T05:06:33.704Z] > git --version # timeout=10 [2023-02-08T05:06:33.724Z] > git --version # 'git version 2.25.1' [2023-02-08T05:06:33.743Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-08T05:06:34.937Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-08T05:06:34.937Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-08T05:06:34.937Z] Dload Upload Total Spent Left Speed [2023-02-08T05:06:34.937Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-02-08T05:06:35.620Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-08T05:06:35.976Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-02-08T05:06:35.976Z] /etc/docker/daemon.json [2023-02-08T05:06:35.976Z] { [2023-02-08T05:06:35.976Z] "registry-mirrors": [ [2023-02-08T05:06:35.976Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-08T05:06:35.976Z] ], [2023-02-08T05:06:35.976Z] "bip": "10.250.0.254/24", [2023-02-08T05:06:35.976Z] "hosts": [ [2023-02-08T05:06:35.976Z] "tcp://0.0.0.0:5555", [2023-02-08T05:06:35.976Z] "unix:///var/run/docker.sock" [2023-02-08T05:06:35.976Z] ], [2023-02-08T05:06:35.976Z] "mtu": 1458, [2023-02-08T05:06:35.976Z] "selinux-enabled": true, [2023-02-08T05:06:35.976Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-08T05:06:35.976Z] } [Pipeline] sh [2023-02-08T05:06:36.348Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-08T05:06:36.707Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T05:06:55.041Z] provisioning config files... [2023-02-08T05:06:55.074Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config6228768582161538881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:06:55.471Z] ---> docker-login.sh [2023-02-08T05:06:55.471Z] nexus3.edgexfoundry.org:10001 [2023-02-08T05:06:56.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:06:56.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:06:56.064Z] Configure a credential helper to remove this warning. See [2023-02-08T05:06:56.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:06:56.064Z] [2023-02-08T05:06:56.064Z] Login Succeeded [2023-02-08T05:06:56.064Z] nexus3.edgexfoundry.org:10002 [2023-02-08T05:06:56.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:06:56.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:06:56.609Z] Configure a credential helper to remove this warning. See [2023-02-08T05:06:56.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:06:56.609Z] [2023-02-08T05:06:56.609Z] Login Succeeded [2023-02-08T05:06:56.609Z] nexus3.edgexfoundry.org:10003 [2023-02-08T05:06:56.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:06:56.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:06:56.879Z] Configure a credential helper to remove this warning. See [2023-02-08T05:06:56.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:06:56.879Z] [2023-02-08T05:06:56.879Z] Login Succeeded [2023-02-08T05:06:56.879Z] nexus3.edgexfoundry.org:10004 [2023-02-08T05:06:57.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:06:57.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:06:57.154Z] Configure a credential helper to remove this warning. See [2023-02-08T05:06:57.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:06:57.154Z] [2023-02-08T05:06:57.154Z] Login Succeeded [2023-02-08T05:06:57.427Z] docker.io [2023-02-08T05:06:57.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-08T05:06:57.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-08T05:06:57.972Z] Configure a credential helper to remove this warning. See [2023-02-08T05:06:57.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-08T05:06:57.972Z] [2023-02-08T05:06:57.972Z] Login Succeeded [2023-02-08T05:06:57.972Z] ---> docker-login.sh ends [Pipeline] } [2023-02-08T05:06:58.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-08T05:06:58.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T05:06:58.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-08T05:06:58.482Z] ========================================================= [2023-02-08T05:06:58.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-08T05:06:58.482Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:06:58.981Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-08T05:06:59.251Z] Sending build context to Docker daemon 2.938MB [2023-02-08T05:06:59.251Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-08T05:06:59.251Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-08T05:06:59.524Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-08T05:06:59.524Z] 9b18e9b68314: Pulling fs layer [2023-02-08T05:06:59.524Z] 35d82f9e3411: Pulling fs layer [2023-02-08T05:06:59.524Z] e16973657156: Pulling fs layer [2023-02-08T05:06:59.524Z] fc693d55d65f: Pulling fs layer [2023-02-08T05:06:59.524Z] 7e9fc2657dce: Pulling fs layer [2023-02-08T05:06:59.524Z] dda99020689f: Pulling fs layer [2023-02-08T05:06:59.524Z] db1c61fa0a46: Pulling fs layer [2023-02-08T05:06:59.524Z] 891c053d2c06: Pulling fs layer [2023-02-08T05:06:59.524Z] fc693d55d65f: Waiting [2023-02-08T05:06:59.524Z] 7e9fc2657dce: Waiting [2023-02-08T05:06:59.524Z] dda99020689f: Waiting [2023-02-08T05:06:59.524Z] 891c053d2c06: Waiting [2023-02-08T05:06:59.524Z] e16973657156: Download complete [2023-02-08T05:06:59.524Z] 35d82f9e3411: Verifying Checksum [2023-02-08T05:06:59.524Z] 35d82f9e3411: Download complete [2023-02-08T05:06:59.524Z] 7e9fc2657dce: Verifying Checksum [2023-02-08T05:06:59.524Z] 7e9fc2657dce: Download complete [2023-02-08T05:06:59.524Z] dda99020689f: Download complete [2023-02-08T05:06:59.524Z] 9b18e9b68314: Verifying Checksum [2023-02-08T05:06:59.524Z] 9b18e9b68314: Download complete [2023-02-08T05:07:00.505Z] 9b18e9b68314: Pull complete [2023-02-08T05:07:00.783Z] 891c053d2c06: Verifying Checksum [2023-02-08T05:07:00.783Z] 891c053d2c06: Download complete [2023-02-08T05:07:01.058Z] 35d82f9e3411: Pull complete [2023-02-08T05:07:01.647Z] e16973657156: Pull complete [2023-02-08T05:07:01.918Z] db1c61fa0a46: Verifying Checksum [2023-02-08T05:07:01.918Z] db1c61fa0a46: Download complete [2023-02-08T05:07:02.890Z] fc693d55d65f: Verifying Checksum [2023-02-08T05:07:02.890Z] fc693d55d65f: Download complete [2023-02-08T05:07:15.261Z] fc693d55d65f: Pull complete [2023-02-08T05:07:15.262Z] 7e9fc2657dce: Pull complete [2023-02-08T05:07:15.262Z] dda99020689f: Pull complete [2023-02-08T05:07:22.024Z] db1c61fa0a46: Pull complete [2023-02-08T05:07:24.043Z] 891c053d2c06: Pull complete [2023-02-08T05:07:24.043Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-08T05:07:24.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-08T05:07:24.043Z] ---> f96f9c87975a [2023-02-08T05:07:24.043Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-08T05:07:26.008Z] ---> Running in a437c0f7b55c [2023-02-08T05:07:26.287Z] Removing intermediate container a437c0f7b55c [2023-02-08T05:07:26.287Z] ---> 8161533226bf [2023-02-08T05:07:26.287Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-08T05:07:26.287Z] ---> Running in ce1df2848885 [2023-02-08T05:07:26.556Z] Removing intermediate container ce1df2848885 [2023-02-08T05:07:26.556Z] ---> 733e556e2afa [2023-02-08T05:07:26.556Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-08T05:07:26.823Z] ---> Running in 7befc28cc438 [2023-02-08T05:07:27.092Z] Removing intermediate container 7befc28cc438 [2023-02-08T05:07:27.092Z] ---> 98191c521f2d [2023-02-08T05:07:27.092Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-08T05:07:27.092Z] ---> Running in 195ac7c91a5c [2023-02-08T05:07:27.362Z] Removing intermediate container 195ac7c91a5c [2023-02-08T05:07:27.362Z] ---> 25cf301b41a6 [2023-02-08T05:07:27.362Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-08T05:07:27.630Z] ---> Running in df75d09a9cbd [2023-02-08T05:07:29.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T05:07:29.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-08T05:07:30.470Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-08T05:07:30.470Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-08T05:07:30.470Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-08T05:07:30.470Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-08T05:07:30.470Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T05:07:30.470Z] OK: 226 MiB in 55 packages [2023-02-08T05:07:31.445Z] Removing intermediate container df75d09a9cbd [2023-02-08T05:07:31.445Z] ---> 8684a1bdedd5 [2023-02-08T05:07:31.445Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-08T05:07:31.720Z] ---> Running in 38a5dbd56093 [2023-02-08T05:07:31.991Z] Removing intermediate container 38a5dbd56093 [2023-02-08T05:07:31.991Z] ---> 4cd3c2dfe1d7 [2023-02-08T05:07:31.991Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-08T05:07:32.592Z] ---> 2cf5632d5d4f [2023-02-08T05:07:32.592Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-08T05:07:32.592Z] ---> Running in f005a64f8c0a [2023-02-08T05:08:40.530Z] Removing intermediate container f005a64f8c0a [2023-02-08T05:08:40.530Z] ---> 096de818c32d [2023-02-08T05:08:40.530Z] Step 11/12 : COPY . . [2023-02-08T05:08:40.530Z] ---> 6d8de3475b0f [2023-02-08T05:08:40.530Z] Step 12/12 : RUN ${MAKE} [2023-02-08T05:08:40.530Z] ---> Running in 1d89676cf967 [2023-02-08T05:08:41.119Z] noop [2023-02-08T05:08:41.705Z] Removing intermediate container 1d89676cf967 [2023-02-08T05:08:41.705Z] ---> 713a0c78674b [2023-02-08T05:08:41.705Z] Successfully built 713a0c78674b [2023-02-08T05:08:41.705Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:08:42.177Z] + docker inspect -f . ci-base-image-arm64 [2023-02-08T05:08:42.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T05:08:42.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-5065 does not seem to be running inside a container [2023-02-08T05:08:42.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-08T05:08:43.723Z] $ docker top 61f1665a5ca0ce5cf68f6d9ceb00b24d0908de06d6a37a42b68a8ccdd20b60ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T05:08:44.608Z] + go version [2023-02-08T05:08:44.608Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-08T05:08:44.660Z] $ docker stop --time=1 61f1665a5ca0ce5cf68f6d9ceb00b24d0908de06d6a37a42b68a8ccdd20b60ea [2023-02-08T05:08:46.459Z] $ docker rm -f --volumes 61f1665a5ca0ce5cf68f6d9ceb00b24d0908de06d6a37a42b68a8ccdd20b60ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:08:47.297Z] + docker inspect -f . ci-base-image-arm64 [2023-02-08T05:08:47.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T05:08:47.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-5065 does not seem to be running inside a container [2023-02-08T05:08:47.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-08T05:08:48.817Z] $ docker top 0648689484bcf7ddc4ccd5e66430f7ca4b213a83cbc45aea8bac91b247a72a58 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T05:08:49.687Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-08T05:08:50.390Z] + make test [2023-02-08T05:08:50.390Z] go test ./... -coverprofile=coverage.out [2023-02-08T05:08:52.342Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-08T05:10:29.014Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-08T05:10:29.014Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements [2023-02-08T05:10:29.014Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-08T05:10:29.014Z] go vet ./... [2023-02-08T05:10:39.090Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-08T05:10:39.090Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-08T05:10:39.090Z] ./bin/test-attribution-txt.sh [2023-02-08T05:10:39.090Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-08T05:10:39.090Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-08T05:10:39.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-08T05:10:39.167Z] $ docker stop --time=1 0648689484bcf7ddc4ccd5e66430f7ca4b213a83cbc45aea8bac91b247a72a58 [2023-02-08T05:10:41.132Z] $ docker rm -f --volumes 0648689484bcf7ddc4ccd5e66430f7ca4b213a83cbc45aea8bac91b247a72a58 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-08T05:10:42.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-08T05:10:42.282Z] Warning: overwriting stash ‘coverage-report’ [2023-02-08T05:10:42.938Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-08T05:10:43.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-08T05:10:43.851Z] + ls -al . [2023-02-08T05:10:43.851Z] total 168 [2023-02-08T05:10:43.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 05:08 . [2023-02-08T05:10:43.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 05:06 .. [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 8 05:06 .dockerignore [2023-02-08T05:10:43.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 05:06 .git [2023-02-08T05:10:43.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 05:06 .github [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 8 05:06 .gitignore [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 8 05:06 .golangci.yml [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 8 05:06 Attribution.txt [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 8 05:06 CHANGELOG.md [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 8 05:06 Dockerfile [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 05:06 GOVERNANCE.md [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 8 05:06 Jenkinsfile [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 8 05:06 LICENSE [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 8 05:06 Makefile [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 8 05:06 OWNERS.md [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 8 05:06 README.md [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 8 05:03 VERSION [2023-02-08T05:10:43.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 05:06 bin [2023-02-08T05:10:43.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 05:06 cmd [2023-02-08T05:10:43.851Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 8 05:10 coverage.out [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 3325 Feb 8 05:06 go.mod [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 32918 Feb 8 05:06 go.sum [2023-02-08T05:10:43.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 05:06 internal [2023-02-08T05:10:43.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 05:06 snap [2023-02-08T05:10:43.851Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 8 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:10:44.285Z] + 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=e209851465e270389b3c44a079f66a8837d91f54 --label arch=arm64 --label version=0.0.0 . [2023-02-08T05:10:44.564Z] Sending build context to Docker daemon 2.947MB [2023-02-08T05:10:44.564Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-08T05:10:44.564Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-08T05:10:44.564Z] ---> 713a0c78674b [2023-02-08T05:10:44.564Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-08T05:10:44.833Z] ---> Running in b3a785003a1d [2023-02-08T05:10:45.107Z] Removing intermediate container b3a785003a1d [2023-02-08T05:10:45.107Z] ---> 95da92ce1942 [2023-02-08T05:10:45.107Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-08T05:10:45.380Z] ---> Running in 25d9d8ca9f5c [2023-02-08T05:10:45.652Z] Removing intermediate container 25d9d8ca9f5c [2023-02-08T05:10:45.652Z] ---> c173d8481af5 [2023-02-08T05:10:45.652Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-08T05:10:45.652Z] ---> Running in 941b020b7565 [2023-02-08T05:10:46.247Z] Removing intermediate container 941b020b7565 [2023-02-08T05:10:46.247Z] ---> 2cc170f0a5bc [2023-02-08T05:10:46.247Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-08T05:10:46.247Z] ---> Running in 1d68854de71d [2023-02-08T05:10:46.521Z] Removing intermediate container 1d68854de71d [2023-02-08T05:10:46.521Z] ---> 08ed68282ce4 [2023-02-08T05:10:46.521Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-08T05:10:46.794Z] ---> Running in 440751ab73e1 [2023-02-08T05:10:48.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T05:10:48.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-08T05:10:49.178Z] OK: 226 MiB in 55 packages [2023-02-08T05:10:50.602Z] Removing intermediate container 440751ab73e1 [2023-02-08T05:10:50.602Z] ---> 7367ae8becce [2023-02-08T05:10:50.602Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-08T05:10:50.602Z] ---> Running in e9f5f9fda042 [2023-02-08T05:10:50.874Z] Removing intermediate container e9f5f9fda042 [2023-02-08T05:10:50.874Z] ---> 00beffe67296 [2023-02-08T05:10:50.874Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-08T05:10:51.462Z] ---> 6519e5b6c6db [2023-02-08T05:10:51.462Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-08T05:10:51.462Z] ---> Running in d384b49bc691 [2023-02-08T05:10:54.838Z] Removing intermediate container d384b49bc691 [2023-02-08T05:10:54.838Z] ---> ad8530d829fd [2023-02-08T05:10:54.838Z] Step 11/24 : COPY . . [2023-02-08T05:10:55.802Z] ---> edd6d8040a6d [2023-02-08T05:10:55.802Z] Step 12/24 : RUN ${MAKE} [2023-02-08T05:10:55.802Z] ---> Running in 43d18360e409 [2023-02-08T05:10:57.752Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-02-08T05:13:19.489Z] Removing intermediate container 43d18360e409 [2023-02-08T05:13:19.489Z] ---> 2d071c5df625 [2023-02-08T05:13:19.489Z] Step 13/24 : FROM alpine:3.16 [2023-02-08T05:13:19.489Z] 3.16: Pulling from library/alpine [2023-02-08T05:13:19.489Z] 6875df1f5354: Pulling fs layer [2023-02-08T05:13:19.489Z] 6875df1f5354: Verifying Checksum [2023-02-08T05:13:19.489Z] 6875df1f5354: Download complete [2023-02-08T05:13:19.489Z] 6875df1f5354: Pull complete [2023-02-08T05:13:19.489Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-08T05:13:19.489Z] Status: Downloaded newer image for alpine:3.16 [2023-02-08T05:13:19.489Z] ---> 2b4661558fb8 [2023-02-08T05:13:19.489Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-08T05:13:19.489Z] ---> Running in 69fbafe8906c [2023-02-08T05:13:19.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-08T05:13:19.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-08T05:13:19.757Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-08T05:13:19.757Z] Executing busybox-1.35.0-r17.trigger [2023-02-08T05:13:20.029Z] OK: 5 MiB in 15 packages [2023-02-08T05:13:20.999Z] Removing intermediate container 69fbafe8906c [2023-02-08T05:13:20.999Z] ---> 98d09e39e812 [2023-02-08T05:13:20.999Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-08T05:13:22.413Z] ---> 453e1332c079 [2023-02-08T05:13:22.413Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-08T05:13:22.680Z] ---> dc8e6ec5a268 [2023-02-08T05:13:22.680Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-08T05:13:24.625Z] ---> 8a4eb1e27b61 [2023-02-08T05:13:24.625Z] Step 18/24 : EXPOSE 59993 [2023-02-08T05:13:24.625Z] ---> Running in 8ec30db9978f [2023-02-08T05:13:24.625Z] Removing intermediate container 8ec30db9978f [2023-02-08T05:13:24.625Z] ---> 5e175a8c0723 [2023-02-08T05:13:24.625Z] Step 19/24 : EXPOSE 161 [2023-02-08T05:13:24.899Z] ---> Running in e4c89503a21d [2023-02-08T05:13:25.170Z] Removing intermediate container e4c89503a21d [2023-02-08T05:13:25.170Z] ---> 973f427db7de [2023-02-08T05:13:25.170Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-08T05:13:25.170Z] ---> Running in 4ae12561e9ec [2023-02-08T05:13:25.437Z] Removing intermediate container 4ae12561e9ec [2023-02-08T05:13:25.437Z] ---> 1a790f65517f [2023-02-08T05:13:25.437Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-08T05:13:25.437Z] ---> Running in bf2bf51482da [2023-02-08T05:13:25.706Z] Removing intermediate container bf2bf51482da [2023-02-08T05:13:25.706Z] ---> a643642d7a9b [2023-02-08T05:13:25.706Z] Step 22/24 : LABEL arch=arm64 [2023-02-08T05:13:25.973Z] ---> Running in 7295e8237f42 [2023-02-08T05:13:26.239Z] Removing intermediate container 7295e8237f42 [2023-02-08T05:13:26.239Z] ---> ad1e3cdd773c [2023-02-08T05:13:26.239Z] Step 23/24 : LABEL git_sha=e209851465e270389b3c44a079f66a8837d91f54 [2023-02-08T05:13:26.239Z] ---> Running in 45f3f457f0e2 [2023-02-08T05:13:26.508Z] Removing intermediate container 45f3f457f0e2 [2023-02-08T05:13:26.508Z] ---> d55e061ff404 [2023-02-08T05:13:26.508Z] Step 24/24 : LABEL version=0.0.0 [2023-02-08T05:13:26.508Z] ---> Running in 7c1dddb1d4c4 [2023-02-08T05:13:26.776Z] Removing intermediate container 7c1dddb1d4c4 [2023-02-08T05:13:26.776Z] ---> ab043d17396c [2023-02-08T05:13:26.776Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-08T05:13:27.042Z] Successfully built ab043d17396c [2023-02-08T05:13:27.042Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:13:27.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-08T05:13:27.803Z] [2023-02-08T05:13:27.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:13:28.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-08T05:13:28.186Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-08T05:13:28.186Z] 8998bd30e6a1: Pulling fs layer [2023-02-08T05:13:28.186Z] 04944245beec: Pulling fs layer [2023-02-08T05:13:28.186Z] 699f458cf7ca: Pulling fs layer [2023-02-08T05:13:28.186Z] 765212b225bb: Pulling fs layer [2023-02-08T05:13:28.186Z] f23df028b6ca: Pulling fs layer [2023-02-08T05:13:28.186Z] d65c8cfc05b1: Pulling fs layer [2023-02-08T05:13:28.186Z] 2437ff75d9bd: Pulling fs layer [2023-02-08T05:13:28.186Z] 765212b225bb: Waiting [2023-02-08T05:13:28.186Z] f23df028b6ca: Waiting [2023-02-08T05:13:28.186Z] d65c8cfc05b1: Waiting [2023-02-08T05:13:28.186Z] 2437ff75d9bd: Waiting [2023-02-08T05:13:28.457Z] 04944245beec: Verifying Checksum [2023-02-08T05:13:28.457Z] 04944245beec: Download complete [2023-02-08T05:13:28.457Z] 765212b225bb: Verifying Checksum [2023-02-08T05:13:28.457Z] 765212b225bb: Download complete [2023-02-08T05:13:28.457Z] f23df028b6ca: Verifying Checksum [2023-02-08T05:13:28.457Z] f23df028b6ca: Download complete [2023-02-08T05:13:28.726Z] d65c8cfc05b1: Verifying Checksum [2023-02-08T05:13:28.726Z] d65c8cfc05b1: Download complete [2023-02-08T05:13:28.726Z] 699f458cf7ca: Verifying Checksum [2023-02-08T05:13:28.726Z] 699f458cf7ca: Download complete [2023-02-08T05:13:28.995Z] 8998bd30e6a1: Verifying Checksum [2023-02-08T05:13:28.995Z] 8998bd30e6a1: Download complete [2023-02-08T05:13:31.581Z] 2437ff75d9bd: Download complete [2023-02-08T05:13:33.008Z] 8998bd30e6a1: Pull complete [2023-02-08T05:13:33.358Z] 04944245beec: Pull complete [2023-02-08T05:13:34.821Z] 699f458cf7ca: Pull complete [2023-02-08T05:13:35.101Z] 765212b225bb: Pull complete [2023-02-08T05:13:37.082Z] f23df028b6ca: Pull complete [2023-02-08T05:13:37.082Z] d65c8cfc05b1: Pull complete [2023-02-08T05:13:52.079Z] 2437ff75d9bd: Pull complete [2023-02-08T05:13:52.079Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-08T05:13:52.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-08T05:13:52.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T05:13:52.407Z] prd-ubuntu20.04-docker-arm64-4c-16g-5065 does not seem to be running inside a container [2023-02-08T05:13:52.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-08T05:13:54.855Z] $ docker top 59f770b0060fe81cf5228356fcb1bdb6263f64244e37ebeb70a6a3e92c7aa2ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:13:55.438Z] ---> job-cost.sh [2023-02-08T05:13:55.705Z] lf-activate-venv: SKIPPING [2023-02-08T05:13:55.705Z] INFO: No Stack... [2023-02-08T05:13:55.971Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-08T05:13:56.927Z] INFO: Archiving Costs [Pipeline] sh [2023-02-08T05:13:57.267Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-02-08T05:13:57.267Z] + cut -d, -f6 [Pipeline] lock [2023-02-08T05:13:57.347Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-228-1-stack-cost] [2023-02-08T05:13:57.352Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-228-1-stack-cost] did not exist. Created. [2023-02-08T05:13:57.352Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-08T05:13:57.752Z] /w/workspace/device-snmp-go/1@tmp/durable-115d236a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-08T05:13:58.093Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-08T05:13:58.128Z] Warning: overwriting stash ‘stack-cost’ [2023-02-08T05:13:58.168Z] Stashed 1 file(s) [Pipeline] } [2023-02-08T05:13:58.183Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-08T05:13:58.267Z] $ docker stop --time=1 59f770b0060fe81cf5228356fcb1bdb6263f64244e37ebeb70a6a3e92c7aa2ce [2023-02-08T05:13:59.700Z] $ docker rm -f --volumes 59f770b0060fe81cf5228356fcb1bdb6263f64244e37ebeb70a6a3e92c7aa2ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-08T05:14:00.595Z] provisioning config files... [2023-02-08T05:14:00.603Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp/config3236354812870879331tmp [Pipeline] { [Pipeline] sh [2023-02-08T05:14:00.931Z] + set +x [2023-02-08T05:14:00.931Z] + curl -s https://codecov.io/bash [2023-02-08T05:14:00.931Z] + bash -s -- [2023-02-08T05:14:00.931Z] [2023-02-08T05:14:00.931Z] _____ _ [2023-02-08T05:14:00.931Z] / ____| | | [2023-02-08T05:14:00.931Z] | | ___ __| | ___ ___ _____ __ [2023-02-08T05:14:00.931Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-08T05:14:00.931Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-08T05:14:00.931Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-08T05:14:00.931Z] Bash-1.0.6 [2023-02-08T05:14:00.931Z] [2023-02-08T05:14:00.931Z] [2023-02-08T05:14:00.931Z] ==> git version 2.25.1 found [2023-02-08T05:14:00.931Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-08T05:14:00.931Z] Release-Date: 2020-01-08 [2023-02-08T05:14:00.931Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-08T05:14:00.931Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-08T05:14:00.931Z] ==> Jenkins CI detected. [2023-02-08T05:14:00.931Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-228 [2023-02-08T05:14:00.931Z] project root: . [2023-02-08T05:14:00.931Z] --> token set from env [2023-02-08T05:14:00.931Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-08T05:14:00.931Z] ==> Running gcov in . (disable via -X gcov) [2023-02-08T05:14:00.931Z] ==> Python coveragepy not found [2023-02-08T05:14:00.931Z] ==> Searching for coverage reports in: [2023-02-08T05:14:00.931Z] + . [2023-02-08T05:14:00.931Z] -> Found 1 reports [2023-02-08T05:14:00.931Z] ==> Detecting git/mercurial file structure [2023-02-08T05:14:00.931Z] ==> Reading reports [2023-02-08T05:14:00.931Z] + ./coverage.out bytes=7631 [2023-02-08T05:14:00.931Z] ==> Appending adjustments [2023-02-08T05:14:00.931Z] https://docs.codecov.io/docs/fixing-reports [2023-02-08T05:14:00.931Z] + Found adjustments [2023-02-08T05:14:01.191Z] ==> Gzipping contents [2023-02-08T05:14:01.191Z] 4.0K /tmp/codecov.vBfn6G.gz [2023-02-08T05:14:01.191Z] ==> Uploading reports [2023-02-08T05:14:01.191Z] url: https://codecov.io [2023-02-08T05:14:01.191Z] query: branch=PR-228&commit=e209851465e270389b3c44a079f66a8837d91f54&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=228&job=&cmd_args= [2023-02-08T05:14:01.191Z] -> Pinging Codecov [2023-02-08T05:14:01.191Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-228&commit=e209851465e270389b3c44a079f66a8837d91f54&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=228&job=&cmd_args= [2023-02-08T05:14:01.451Z] -> Uploading to [2023-02-08T05:14:01.451Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-08/6C56EA5C29638FB4528AC87E60AF5AE0/e209851465e270389b3c44a079f66a8837d91f54/92caab4f-2f58-45f6-8385-56707117aa74.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230208T051401Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4511d05cd09faf7ea276bfc41bf2ba56e7d0d512434559ae39e7d908e681fb1 [2023-02-08T05:14:01.451Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-08T05:14:01.451Z] Dload Upload Total Spent Left Speed [2023-02-08T05:14:01.709Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1522 0 0 100 1522 0 6675 --:--:-- --:--:-- --:--:-- 6646 100 1522 0 0 100 1522 0 4771 --:--:-- --:--:-- --:--:-- 4756 [2023-02-08T05:14:01.709Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/e209851465e270389b3c44a079f66a8837d91f54 [Pipeline] } [2023-02-08T05:14:01.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-08T05:14:03.329Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-228/archives ] [2023-02-08T05:14:03.330Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-228/archives [2023-02-08T05:14:03.330Z] total 16 [2023-02-08T05:14:03.330Z] drwxr-xr-x 3 root root 4096 Feb 8 05:05 . [2023-02-08T05:14:03.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 8 05:05 .. [2023-02-08T05:14:03.330Z] drwxr-xr-x 2 root root 4096 Feb 8 05:05 cost [2023-02-08T05:14:03.330Z] -rw-r--r-- 1 root root 86 Feb 8 05:05 cost.csv [2023-02-08T05:14:03.330Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-228/archives [2023-02-08T05:14:03.330Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-228/archives [2023-02-08T05:14:03.330Z] total 16 [2023-02-08T05:14:03.330Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 8 05:05 . [2023-02-08T05:14:03.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 8 05:05 .. [2023-02-08T05:14:03.330Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 8 05:05 cost [2023-02-08T05:14:03.330Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 8 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:14:03.654Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:14:04.544Z] ---> package-listing.sh [2023-02-08T05:14:04.544Z] ++ facter osfamily [2023-02-08T05:14:04.544Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-08T05:14:04.803Z] + OS_FAMILY=debian [2023-02-08T05:14:04.803Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-228 [2023-02-08T05:14:04.803Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-08T05:14:04.803Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-08T05:14:04.803Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-08T05:14:04.803Z] + PACKAGES=/tmp/packages_start.txt [2023-02-08T05:14:04.803Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-228 ']' [2023-02-08T05:14:04.803Z] + PACKAGES=/tmp/packages_end.txt [2023-02-08T05:14:04.803Z] + case "${OS_FAMILY}" in [2023-02-08T05:14:04.803Z] + dpkg -l [2023-02-08T05:14:04.803Z] + grep '^ii' [2023-02-08T05:14:04.803Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-08T05:14:04.803Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-08T05:14:04.803Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-08T05:14:04.803Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-228 ']' [2023-02-08T05:14:04.803Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-228/archives/ [2023-02-08T05:14:04.803Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-228/archives/ [Pipeline] echo [2023-02-08T05:14:04.837Z] 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-228/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-08T05:14:05.163Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-08T05:14:05.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-08T05:14:05.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-08T05:14:05.939Z] prd-ubuntu20.04-docker-8c-8g-5061 does not seem to be running inside a container [2023-02-08T05:14:05.969Z] $ 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-228/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-228 -v /w/workspace/gexfoundry_device-snmp-go_PR-228:/w/workspace/gexfoundry_device-snmp-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-228@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-08T05:14:06.166Z] $ docker top 8e12205305ba82668ae6d277e5a7221539490509a5db1e08955f56a718b4b0f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-08T05:14:06.554Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-08T05:14:06.862Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-08T05:14:07.172Z] + ls /var/log/sa-host [2023-02-08T05:14:07.172Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-08T05:14:07.298Z] provisioning config files... [2023-02-08T05:14:07.307Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-228@tmp/config16300370119584099127tmp [Pipeline] { [Pipeline] echo [2023-02-08T05:14:07.352Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:14:07.663Z] ---> create-netrc.sh [Pipeline] } [2023-02-08T05:14:07.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:14:08.081Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-08T05:14:08.115Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:14:08.424Z] ---> sudo-logs.sh [2023-02-08T05:14:08.424Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-08T05:14:08.507Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:14:08.813Z] ---> job-cost.sh [2023-02-08T05:14:08.813Z] lf-activate-venv: SKIPPING [2023-02-08T05:14:08.813Z] DEBUG: total: 0.2199999988079071 [2023-02-08T05:14:08.813Z] INFO: Retrieving Stack Cost... [2023-02-08T05:14:09.380Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-08T05:14:09.638Z] INFO: Archiving Costs [Pipeline] echo [2023-02-08T05:14:09.673Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-08T05:14:09.991Z] ---> logs-deploy.sh [2023-02-08T05:14:09.991Z] lf-activate-venv: SKIPPING [2023-02-08T05:14:09.991Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-228/1 [2023-02-08T05:14:09.991Z] INFO: archiving workspace using pattern(s): [2023-02-08T05:14:10.928Z] Archives upload complete. [2023-02-08T05:14:10.928Z] INFO: archiving logs to Nexus