Pull request #247 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0580104b3e71e24182fc93213824bc07e2b77ce7+2bd6e5dae59222faf073cfb9822f90f2048c0bba (f97118303571f577e6868480fbbde46d709c11ab) 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-ssh1177165424290495414.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-ssh16827677055072447794.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-247/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-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7689746045834621013.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-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18068839400316662714.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-ssh969885947728800533.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-247/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-247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3282067703666497766.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7537 in /w/workspace/gexfoundry_device-snmp-go_PR-247 [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-247 # 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/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 0580104b3e71e24182fc93213824bc07e2b77ce7 Merge succeeded, producing 0580104b3e71e24182fc93213824bc07e2b77ce7 Checking out Revision 0580104b3e71e24182fc93213824bc07e2b77ce7 (PR-247) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-27T05:58:57.524Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-27T05:58:57.703Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 0580104b3e71e24182fc93213824bc07e2b77ce7 # 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 0580104b3e71e24182fc93213824bc07e2b77ce7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-27T05:58:57.799Z] ========================================================= [2023-02-27T05:58:57.799Z] EdgeX Global Pipelines Version Info [2023-02-27T05:58:57.799Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-27T05:58:58.578Z] ------------------- [2023-02-27T05:58:58.578Z] stable info: [2023-02-27T05:58:58.578Z] ------------------- [2023-02-27T05:58:58.578Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-27T05:58:58.578Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T05:58:58.578Z] Message: update stable to v1.0.244 [2023-02-27T05:58:59.150Z] ------------------- [2023-02-27T05:58:59.150Z] experimental info: [2023-02-27T05:58:59.150Z] ------------------- [2023-02-27T05:58:59.150Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-27T05:58:59.150Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T05:58:59.150Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-27T05:58:59.428Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-02-27T05:58:59.466Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-02-27T05:58:59.514Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-27T05:58:59.556Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-27T05:58:59.599Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-27T05:58:59.641Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-27T05:58:59.682Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-27T05:58:59.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-27T05:58:59.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-27T05:58:59.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-27T05:58:59.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-27T05:58:59.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-02-27T05:58:59.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-27T05:58:59.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-27T05:59:00.011Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T05:59:00.055Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T05:59:00.098Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T05:59:00.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T05:59:00.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-27T05:59:00.229Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-27T05:59:00.269Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-27T05:59:00.316Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-27T05:59:00.355Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-27T05:59:00.395Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-27T05:59:00.439Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-27T05:59:00.481Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-27T05:59:00.521Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-27T05:59:00.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-247 [Pipeline] echo [2023-02-27T05:59:00.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-247 [Pipeline] echo [2023-02-27T05:59:00.649Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-247 [Pipeline] echo [2023-02-27T05:59:00.693Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0580104b3e71e24182fc93213824bc07e2b77ce7 [Pipeline] echo [2023-02-27T05:59:00.735Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0580104 [Pipeline] echo [2023-02-27T05:59:00.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T05:59:00.904Z] provisioning config files... [2023-02-27T05:59:00.923Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-247@tmp/config10144529431497014450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T05:59:01.280Z] ---> docker-login.sh [2023-02-27T05:59:01.280Z] nexus3.edgexfoundry.org:10001 [2023-02-27T05:59:01.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:01.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:01.540Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:01.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:01.540Z] [2023-02-27T05:59:01.540Z] Login Succeeded [2023-02-27T05:59:01.540Z] nexus3.edgexfoundry.org:10002 [2023-02-27T05:59:01.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:01.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:01.799Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:01.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:01.799Z] [2023-02-27T05:59:01.799Z] Login Succeeded [2023-02-27T05:59:01.799Z] nexus3.edgexfoundry.org:10003 [2023-02-27T05:59:01.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:01.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:01.799Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:01.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:01.799Z] [2023-02-27T05:59:01.799Z] Login Succeeded [2023-02-27T05:59:01.799Z] nexus3.edgexfoundry.org:10004 [2023-02-27T05:59:01.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:02.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:02.058Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:02.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:02.058Z] [2023-02-27T05:59:02.058Z] Login Succeeded [2023-02-27T05:59:02.058Z] docker.io [2023-02-27T05:59:02.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:02.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:02.318Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:02.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:02.318Z] [2023-02-27T05:59:02.318Z] Login Succeeded [2023-02-27T05:59:02.318Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T05:59:02.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-27T05:59:02.959Z] + git rev-list -1 --merges 0580104b3e71e24182fc93213824bc07e2b77ce7~1..0580104b3e71e24182fc93213824bc07e2b77ce7 [Pipeline] echo [2023-02-27T05:59:03.018Z] -----------> git rev-list -1 --merges 0580104b3e71e24182fc93213824bc07e2b77ce7~1..0580104b3e71e24182fc93213824bc07e2b77ce7 0580104b3e71e24182fc93213824bc07e2b77ce7 [false] [Pipeline] sh [2023-02-27T05:59:03.325Z] + git log --format=format:%s -1 0580104b3e71e24182fc93213824bc07e2b77ce7 [Pipeline] echo [2023-02-27T05:59:03.360Z] ========================================================= [2023-02-27T05:59:03.360Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-27T05:59:03.360Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T05:59:03.789Z] + git log --format=format:%s -1 0580104b3e71e24182fc93213824bc07e2b77ce7 [Pipeline] echo [2023-02-27T05:59:03.819Z] [semverPrep] GIT_COMMIT: 0580104b3e71e24182fc93213824bc07e2b77ce7, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-27T05:59:03.848Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-27T05:59:04.229Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-27T05:59:04.229Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-27T05:59:04.229Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-27T05:59:04.229Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-27T05:59:04.229Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-27T05:59:04.229Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-27T05:59:04.229Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T05:59:04.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T05:59:04.650Z] [2023-02-27T05:59:04.650Z] 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-27T05:59:05.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T05:59:05.025Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-27T05:59:05.025Z] b85a868b505f: Pulling fs layer [2023-02-27T05:59:05.025Z] e2be974225ed: Pulling fs layer [2023-02-27T05:59:05.025Z] 339a4e72a1f5: Pulling fs layer [2023-02-27T05:59:05.025Z] 988bab9f4d93: Pulling fs layer [2023-02-27T05:59:05.025Z] 1469e6f7b9e6: Pulling fs layer [2023-02-27T05:59:05.025Z] eaf3925da568: Pulling fs layer [2023-02-27T05:59:05.025Z] bab4dde63d76: Pulling fs layer [2023-02-27T05:59:05.025Z] bde34c3a00c8: Pulling fs layer [2023-02-27T05:59:05.025Z] b352a97aabf1: Pulling fs layer [2023-02-27T05:59:05.025Z] 4872d77fe225: Pulling fs layer [2023-02-27T05:59:05.025Z] 5851b861e8e6: Pulling fs layer [2023-02-27T05:59:05.025Z] eaf3925da568: Waiting [2023-02-27T05:59:05.025Z] 988bab9f4d93: Waiting [2023-02-27T05:59:05.025Z] 1469e6f7b9e6: Waiting [2023-02-27T05:59:05.025Z] bab4dde63d76: Waiting [2023-02-27T05:59:05.025Z] bde34c3a00c8: Waiting [2023-02-27T05:59:05.025Z] 4872d77fe225: Waiting [2023-02-27T05:59:05.025Z] b352a97aabf1: Waiting [2023-02-27T05:59:05.025Z] e2be974225ed: Download complete [2023-02-27T05:59:05.025Z] 988bab9f4d93: Verifying Checksum [2023-02-27T05:59:05.025Z] 988bab9f4d93: Download complete [2023-02-27T05:59:05.288Z] 1469e6f7b9e6: Verifying Checksum [2023-02-27T05:59:05.288Z] 1469e6f7b9e6: Download complete [2023-02-27T05:59:05.288Z] eaf3925da568: Verifying Checksum [2023-02-27T05:59:05.288Z] eaf3925da568: Download complete [2023-02-27T05:59:05.288Z] 339a4e72a1f5: Verifying Checksum [2023-02-27T05:59:05.288Z] 339a4e72a1f5: Download complete [2023-02-27T05:59:05.288Z] bde34c3a00c8: Download complete [2023-02-27T05:59:05.288Z] b352a97aabf1: Verifying Checksum [2023-02-27T05:59:05.288Z] b352a97aabf1: Download complete [2023-02-27T05:59:05.288Z] 4872d77fe225: Verifying Checksum [2023-02-27T05:59:05.288Z] 4872d77fe225: Download complete [2023-02-27T05:59:05.288Z] 5851b861e8e6: Verifying Checksum [2023-02-27T05:59:05.288Z] 5851b861e8e6: Download complete [2023-02-27T05:59:05.547Z] b85a868b505f: Download complete [2023-02-27T05:59:05.805Z] bab4dde63d76: Verifying Checksum [2023-02-27T05:59:05.805Z] bab4dde63d76: Download complete [2023-02-27T05:59:06.742Z] b85a868b505f: Pull complete [2023-02-27T05:59:07.002Z] e2be974225ed: Pull complete [2023-02-27T05:59:07.262Z] 339a4e72a1f5: Pull complete [2023-02-27T05:59:07.521Z] 988bab9f4d93: Pull complete [2023-02-27T05:59:07.779Z] 1469e6f7b9e6: Pull complete [2023-02-27T05:59:07.779Z] eaf3925da568: Pull complete [2023-02-27T05:59:09.693Z] bab4dde63d76: Pull complete [2023-02-27T05:59:09.693Z] bde34c3a00c8: Pull complete [2023-02-27T05:59:09.953Z] b352a97aabf1: Pull complete [2023-02-27T05:59:09.953Z] 4872d77fe225: Pull complete [2023-02-27T05:59:09.953Z] 5851b861e8e6: Pull complete [2023-02-27T05:59:09.953Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-27T05:59:09.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T05:59:09.953Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T05:59:10.180Z] prd-ubuntu20.04-docker-8c-8g-7537 does not seem to be running inside a container [2023-02-27T05:59:10.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-247 -v /w/workspace/gexfoundry_device-snmp-go_PR-247:/w/workspace/gexfoundry_device-snmp-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-247@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-247@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-27T05:59:11.407Z] $ docker top 2c62402557ff51928bdbcb70c0748cc763132726ae43c84f0dc2ac67f2b708ab -eo pid,comm [2023-02-27T05:59:11.469Z] 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-27T05:59:11.469Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-27T05:59:11.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T05:59:11.602Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T05:59:11.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T05:59:11.718Z] $ docker exec 2c62402557ff51928bdbcb70c0748cc763132726ae43c84f0dc2ac67f2b708ab ssh-agent [2023-02-27T05:59:11.833Z] SSH_AUTH_SOCK=/tmp/ssh-dSFATdHt1y0o/agent.33 [2023-02-27T05:59:11.833Z] SSH_AGENT_PID=39 [2023-02-27T05:59:11.840Z] Running ssh-add (command line suppressed) [2023-02-27T05:59:11.945Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-247@tmp/private_key_6833662858340152052.key (/w/workspace/gexfoundry_device-snmp-go_PR-247@tmp/private_key_6833662858340152052.key) [2023-02-27T05:59:11.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T05:59:12.289Z] + git tag --points-at HEAD [Pipeline] } [2023-02-27T05:59:12.315Z] $ docker exec --env ******** --env ******** 2c62402557ff51928bdbcb70c0748cc763132726ae43c84f0dc2ac67f2b708ab ssh-agent -k [2023-02-27T05:59:12.429Z] unset SSH_AUTH_SOCK; [2023-02-27T05:59:12.430Z] unset SSH_AGENT_PID; [2023-02-27T05:59:12.431Z] echo Agent pid 39 killed; [2023-02-27T05:59:12.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-27T05:59:12.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T05:59:12.535Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T05:59:12.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T05:59:12.654Z] $ docker exec 2c62402557ff51928bdbcb70c0748cc763132726ae43c84f0dc2ac67f2b708ab ssh-agent [2023-02-27T05:59:12.767Z] SSH_AUTH_SOCK=/tmp/ssh-5bYknvr67cG3/agent.71 [2023-02-27T05:59:12.767Z] SSH_AGENT_PID=77 [2023-02-27T05:59:12.772Z] Running ssh-add (command line suppressed) [2023-02-27T05:59:12.865Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-247@tmp/private_key_9474265072966006172.key (/w/workspace/gexfoundry_device-snmp-go_PR-247@tmp/private_key_9474265072966006172.key) [2023-02-27T05:59:12.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T05:59:13.206Z] + git semver init [2023-02-27T05:59:13.466Z] 2023-02-27 05:59:13,395 [run_init] DEBUG init version:0.0.0 force:False [2023-02-27T05:59:13.466Z] 2023-02-27 05:59:13,396 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-247/.semver [2023-02-27T05:59:13.466Z] 2023-02-27 05:59:13,396 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-247/.semver [2023-02-27T05:59:13.466Z] 2023-02-27 05:59:13,396 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-247/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-247, universal_newlines=False, shell=None, istream=None) [2023-02-27T05:59:14.408Z] 2023-02-27 05:59:14,282 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-247/.git/info/exclude [2023-02-27T05:59:14.408Z] 2023-02-27 05:59:14,283 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-247/.semver/PR-247 with force:False [2023-02-27T05:59:14.408Z] 2023-02-27 05:59:14,283 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-247/.semver/PR-247 [2023-02-27T05:59:14.408Z] 2023-02-27 05:59:14,287 [execute] INFO git cat-file --batch-check [2023-02-27T05:59:14.408Z] 2023-02-27 05:59:14,288 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T05:59:14.408Z] 2023-02-27 05:59:14,294 [execute] INFO git cat-file --batch [2023-02-27T05:59:14.408Z] 2023-02-27 05:59:14,294 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T05:59:14.408Z] 2023-02-27 05:59:14,299 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-247/.semver/PR-247 [2023-02-27T05:59:14.408Z] 0.0.0 [Pipeline] } [2023-02-27T05:59:14.431Z] $ docker exec --env ******** --env ******** 2c62402557ff51928bdbcb70c0748cc763132726ae43c84f0dc2ac67f2b708ab ssh-agent -k [2023-02-27T05:59:14.546Z] unset SSH_AUTH_SOCK; [2023-02-27T05:59:14.546Z] unset SSH_AGENT_PID; [2023-02-27T05:59:14.546Z] echo Agent pid 77 killed; [2023-02-27T05:59:14.560Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-27T05:59:14.985Z] + git semver [Pipeline] } [2023-02-27T05:59:15.270Z] $ docker stop --time=1 2c62402557ff51928bdbcb70c0748cc763132726ae43c84f0dc2ac67f2b708ab [2023-02-27T05:59:16.604Z] $ docker rm -f --volumes 2c62402557ff51928bdbcb70c0748cc763132726ae43c84f0dc2ac67f2b708ab [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T05:59:17.000Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-27T05:59:17.267Z] Stashed 1 file(s) [Pipeline] echo [2023-02-27T05:59:17.285Z] [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-27T05:59:17.896Z] provisioning config files... [2023-02-27T05:59:17.906Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-247@tmp/config8430554328947435183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T05:59:18.254Z] ---> docker-login.sh [2023-02-27T05:59:18.255Z] nexus3.edgexfoundry.org:10001 [2023-02-27T05:59:18.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:18.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:18.255Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:18.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:18.255Z] [2023-02-27T05:59:18.255Z] Login Succeeded [2023-02-27T05:59:18.255Z] nexus3.edgexfoundry.org:10002 [2023-02-27T05:59:18.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:18.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:18.255Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:18.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:18.255Z] [2023-02-27T05:59:18.255Z] Login Succeeded [2023-02-27T05:59:18.255Z] nexus3.edgexfoundry.org:10003 [2023-02-27T05:59:18.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:18.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:18.513Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:18.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:18.513Z] [2023-02-27T05:59:18.513Z] Login Succeeded [2023-02-27T05:59:18.513Z] nexus3.edgexfoundry.org:10004 [2023-02-27T05:59:18.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:18.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:18.513Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:18.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:18.513Z] [2023-02-27T05:59:18.513Z] Login Succeeded [2023-02-27T05:59:18.513Z] docker.io [2023-02-27T05:59:18.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T05:59:19.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T05:59:19.033Z] Configure a credential helper to remove this warning. See [2023-02-27T05:59:19.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T05:59:19.033Z] [2023-02-27T05:59:19.033Z] Login Succeeded [2023-02-27T05:59:19.033Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T05:59:19.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T05:59:19.257Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T05:59:19.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T05:59:19.323Z] ========================================================= [2023-02-27T05:59:19.323Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-27T05:59:19.323Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T05:59:19.807Z] + 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-27T05:59:19.807Z] Sending build context to Docker daemon 5.69MB [2023-02-27T05:59:19.807Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T05:59:19.807Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-27T05:59:19.807Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-27T05:59:19.807Z] 213ec9aee27d: Pulling fs layer [2023-02-27T05:59:19.807Z] 4583459ba037: Pulling fs layer [2023-02-27T05:59:19.807Z] 93c1e223e6f2: Pulling fs layer [2023-02-27T05:59:19.807Z] 53926ce57604: Pulling fs layer [2023-02-27T05:59:19.807Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-27T05:59:19.807Z] 22ff95d597cd: Pulling fs layer [2023-02-27T05:59:19.807Z] 12d6caf4c0d1: Pulling fs layer [2023-02-27T05:59:19.807Z] 96b7cbca73a9: Pulling fs layer [2023-02-27T05:59:19.807Z] a7acece74701: Pulling fs layer [2023-02-27T05:59:19.807Z] 96b7cbca73a9: Waiting [2023-02-27T05:59:19.807Z] 12d6caf4c0d1: Waiting [2023-02-27T05:59:19.807Z] 53926ce57604: Waiting [2023-02-27T05:59:19.807Z] a7acece74701: Waiting [2023-02-27T05:59:19.807Z] 21b2b0c7a3f4: Waiting [2023-02-27T05:59:19.807Z] 22ff95d597cd: Waiting [2023-02-27T05:59:19.807Z] 93c1e223e6f2: Download complete [2023-02-27T05:59:20.069Z] 4583459ba037: Verifying Checksum [2023-02-27T05:59:20.069Z] 4583459ba037: Download complete [2023-02-27T05:59:20.069Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-27T05:59:20.069Z] 21b2b0c7a3f4: Download complete [2023-02-27T05:59:20.069Z] 22ff95d597cd: Verifying Checksum [2023-02-27T05:59:20.069Z] 22ff95d597cd: Download complete [2023-02-27T05:59:20.069Z] 213ec9aee27d: Verifying Checksum [2023-02-27T05:59:20.069Z] 213ec9aee27d: Download complete [2023-02-27T05:59:20.069Z] 12d6caf4c0d1: Verifying Checksum [2023-02-27T05:59:20.069Z] 12d6caf4c0d1: Download complete [2023-02-27T05:59:20.339Z] 213ec9aee27d: Pull complete [2023-02-27T05:59:20.339Z] 4583459ba037: Pull complete [2023-02-27T05:59:20.339Z] 93c1e223e6f2: Pull complete [2023-02-27T05:59:20.604Z] a7acece74701: Verifying Checksum [2023-02-27T05:59:20.604Z] a7acece74701: Download complete [2023-02-27T05:59:20.862Z] 96b7cbca73a9: Verifying Checksum [2023-02-27T05:59:20.862Z] 96b7cbca73a9: Download complete [2023-02-27T05:59:20.862Z] 53926ce57604: Verifying Checksum [2023-02-27T05:59:20.862Z] 53926ce57604: Download complete [2023-02-27T05:59:25.074Z] 53926ce57604: Pull complete [2023-02-27T05:59:25.074Z] 21b2b0c7a3f4: Pull complete [2023-02-27T05:59:25.074Z] 22ff95d597cd: Pull complete [2023-02-27T05:59:25.074Z] 12d6caf4c0d1: Pull complete [2023-02-27T05:59:26.975Z] 96b7cbca73a9: Pull complete [2023-02-27T05:59:27.912Z] a7acece74701: Pull complete [2023-02-27T05:59:27.912Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-27T05:59:27.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-27T05:59:27.912Z] ---> db6d94c90886 [2023-02-27T05:59:27.912Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-27T05:59:29.296Z] ---> Running in 9057dc3b2d84 [2023-02-27T05:59:29.296Z] Removing intermediate container 9057dc3b2d84 [2023-02-27T05:59:29.296Z] ---> 929e1868840e [2023-02-27T05:59:29.296Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T05:59:29.296Z] ---> Running in 5e17a8b66c2b [2023-02-27T05:59:29.296Z] Removing intermediate container 5e17a8b66c2b [2023-02-27T05:59:29.296Z] ---> 169cdeec9470 [2023-02-27T05:59:29.296Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T05:59:29.296Z] ---> Running in beea4652423f [2023-02-27T05:59:29.555Z] Removing intermediate container beea4652423f [2023-02-27T05:59:29.555Z] ---> 44b3017d9b6e [2023-02-27T05:59:29.555Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T05:59:29.555Z] ---> Running in cd47261115fc [2023-02-27T05:59:29.555Z] Removing intermediate container cd47261115fc [2023-02-27T05:59:29.555Z] ---> 146b9af8776c [2023-02-27T05:59:29.555Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T05:59:29.555Z] ---> Running in 3a3ce5eaf181 [2023-02-27T05:59:29.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T05:59:30.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T05:59:30.332Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-27T05:59:30.332Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-27T05:59:30.332Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-27T05:59:30.332Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-27T05:59:30.332Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T05:59:30.332Z] OK: 216 MiB in 55 packages [2023-02-27T05:59:30.907Z] Removing intermediate container 3a3ce5eaf181 [2023-02-27T05:59:30.907Z] ---> cee13a01dd22 [2023-02-27T05:59:30.907Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-27T05:59:30.907Z] ---> Running in 039007f24826 [2023-02-27T05:59:30.907Z] Removing intermediate container 039007f24826 [2023-02-27T05:59:30.907Z] ---> 6baf581d337a [2023-02-27T05:59:30.907Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-27T05:59:31.166Z] ---> 6abbcedadaa0 [2023-02-27T05:59:31.166Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T05:59:31.166Z] ---> Running in c44d7f7b5e20 [2023-02-27T05:59:32.715Z] Still waiting to schedule task [2023-02-27T05:59:32.716Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-27T05:59:53.097Z] Removing intermediate container c44d7f7b5e20 [2023-02-27T05:59:53.097Z] ---> 35d5118d0971 [2023-02-27T05:59:53.097Z] Step 11/12 : COPY . . [2023-02-27T05:59:53.097Z] ---> 66eb09e762d3 [2023-02-27T05:59:53.097Z] Step 12/12 : RUN ${MAKE} [2023-02-27T05:59:53.097Z] ---> Running in 5afec08cefbb [2023-02-27T05:59:53.097Z] noop [2023-02-27T05:59:53.097Z] Removing intermediate container 5afec08cefbb [2023-02-27T05:59:53.097Z] ---> 62558a9508df [2023-02-27T05:59:53.097Z] Successfully built 62558a9508df [2023-02-27T05:59:53.097Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T05:59:53.551Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T05:59:53.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T05:59:53.711Z] prd-ubuntu20.04-docker-8c-8g-7537 does not seem to be running inside a container [2023-02-27T05:59:53.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-247 -v /w/workspace/gexfoundry_device-snmp-go_PR-247:/w/workspace/gexfoundry_device-snmp-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-247@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-247@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-27T05:59:54.105Z] $ docker top d85ae827d932a475392bf2cc739b89c45cf134dff21392000f85f1a217117596 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T05:59:54.499Z] + go version [2023-02-27T05:59:54.500Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-27T05:59:54.532Z] $ docker stop --time=1 d85ae827d932a475392bf2cc739b89c45cf134dff21392000f85f1a217117596 [2023-02-27T05:59:55.810Z] $ docker rm -f --volumes d85ae827d932a475392bf2cc739b89c45cf134dff21392000f85f1a217117596 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T05:59:56.515Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T05:59:56.515Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T05:59:56.662Z] prd-ubuntu20.04-docker-8c-8g-7537 does not seem to be running inside a container [2023-02-27T05:59:56.691Z] $ 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-247 -v /w/workspace/gexfoundry_device-snmp-go_PR-247:/w/workspace/gexfoundry_device-snmp-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-247@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-247@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-27T05:59:57.081Z] $ docker top 9050462cd42173167462b436d74ce674cbc73c8f4782bb41dcccbc7a623c51ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T05:59:57.475Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-247 [Pipeline] fileExists [Pipeline] sh [2023-02-27T05:59:57.832Z] + make test [2023-02-27T05:59:57.832Z] go test ./... -coverprofile=coverage.out [2023-02-27T05:59:58.090Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-27T06:00:08.063Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-27T06:00:08.063Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2023-02-27T06:00:14.621Z] 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-27T06:00:14.621Z] go vet ./... [2023-02-27T06:00:17.910Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T06:00:17.910Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T06:00:17.910Z] ./bin/test-attribution-txt.sh [2023-02-27T06:00:17.910Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-27T06:00:17.910Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-27T06:00:17.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T06:00:17.984Z] $ docker stop --time=1 9050462cd42173167462b436d74ce674cbc73c8f4782bb41dcccbc7a623c51ca [2023-02-27T06:00:20.037Z] $ docker rm -f --volumes 9050462cd42173167462b436d74ce674cbc73c8f4782bb41dcccbc7a623c51ca [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T06:00:20.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T06:00:20.674Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-27T06:00:21.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T06:00:21.582Z] + ls -al . [2023-02-27T06:00:21.582Z] total 172 [2023-02-27T06:00:21.582Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 05:59 . [2023-02-27T06:00:21.582Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 05:58 .. [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 27 05:58 .dockerignore [2023-02-27T06:00:21.582Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 06:00 .git [2023-02-27T06:00:21.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 05:58 .github [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 27 05:58 .gitignore [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 05:58 .golangci.yml [2023-02-27T06:00:21.582Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 05:59 .semver [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 27 05:58 Attribution.txt [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 27 05:58 CHANGELOG.md [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 27 05:58 Dockerfile [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 05:58 GOVERNANCE.md [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 27 05:58 Jenkinsfile [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 05:58 LICENSE [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 27 05:58 Makefile [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 27 05:58 OWNERS.md [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 27 05:58 README.md [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 05:59 VERSION [2023-02-27T06:00:21.582Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 05:58 bin [2023-02-27T06:00:21.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 05:58 cmd [2023-02-27T06:00:21.582Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 27 06:00 coverage.out [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 3327 Feb 27 05:58 go.mod [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 32895 Feb 27 05:58 go.sum [2023-02-27T06:00:21.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 05:58 internal [2023-02-27T06:00:21.582Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 05:58 snap [2023-02-27T06:00:21.582Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 27 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T06:00:21.984Z] + 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=0580104b3e71e24182fc93213824bc07e2b77ce7 --label arch=amd64 --label version=0.0.0 . [2023-02-27T06:00:21.984Z] Sending build context to Docker daemon 5.698MB [2023-02-27T06:00:21.984Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T06:00:21.984Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-27T06:00:21.984Z] ---> 62558a9508df [2023-02-27T06:00:21.984Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-27T06:00:21.984Z] ---> Running in 42c791631e3b [2023-02-27T06:00:22.243Z] Removing intermediate container 42c791631e3b [2023-02-27T06:00:22.243Z] ---> 37d1a8530805 [2023-02-27T06:00:22.243Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T06:00:22.243Z] ---> Running in b4f320690a64 [2023-02-27T06:00:22.243Z] Removing intermediate container b4f320690a64 [2023-02-27T06:00:22.243Z] ---> 2cd51d7b0afa [2023-02-27T06:00:22.243Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T06:00:22.243Z] ---> Running in cfba449c9d83 [2023-02-27T06:00:22.243Z] Removing intermediate container cfba449c9d83 [2023-02-27T06:00:22.243Z] ---> 02f1947fa063 [2023-02-27T06:00:22.243Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T06:00:22.243Z] ---> Running in d9c77ece161e [2023-02-27T06:00:22.504Z] Removing intermediate container d9c77ece161e [2023-02-27T06:00:22.504Z] ---> 4b6426231caa [2023-02-27T06:00:22.504Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T06:00:22.504Z] ---> Running in be55add22e9d [2023-02-27T06:00:22.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T06:00:22.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T06:00:23.019Z] OK: 216 MiB in 55 packages [2023-02-27T06:00:23.276Z] Removing intermediate container be55add22e9d [2023-02-27T06:00:23.276Z] ---> ca3f0946084c [2023-02-27T06:00:23.276Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-27T06:00:23.276Z] ---> Running in 9eb1bf0a3fc9 [2023-02-27T06:00:23.533Z] Removing intermediate container 9eb1bf0a3fc9 [2023-02-27T06:00:23.533Z] ---> a8ef50c26e2e [2023-02-27T06:00:23.533Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-27T06:00:23.533Z] ---> 85b790e957be [2023-02-27T06:00:23.533Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T06:00:23.533Z] ---> Running in ff9be6797e0a [2023-02-27T06:00:24.467Z] Removing intermediate container ff9be6797e0a [2023-02-27T06:00:24.467Z] ---> 686483199ae1 [2023-02-27T06:00:24.467Z] Step 11/24 : COPY . . [2023-02-27T06:00:24.726Z] ---> 86e2365dda5a [2023-02-27T06:00:24.726Z] Step 12/24 : RUN ${MAKE} [2023-02-27T06:00:24.726Z] ---> Running in 58a6fbf7521e [2023-02-27T06:00:24.984Z] 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-27T06:00:46.963Z] Removing intermediate container 58a6fbf7521e [2023-02-27T06:00:46.963Z] ---> 037a0a213259 [2023-02-27T06:00:46.963Z] Step 13/24 : FROM alpine:3.16 [2023-02-27T06:00:46.963Z] 3.16: Pulling from library/alpine [2023-02-27T06:00:46.963Z] ef5531b6e74e: Pulling fs layer [2023-02-27T06:00:46.963Z] ef5531b6e74e: Verifying Checksum [2023-02-27T06:00:46.963Z] ef5531b6e74e: Download complete [2023-02-27T06:00:46.963Z] ef5531b6e74e: Pull complete [2023-02-27T06:00:46.963Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T06:00:46.963Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T06:00:46.963Z] ---> dfd21b5a31f5 [2023-02-27T06:00:46.963Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-27T06:00:46.963Z] ---> Running in 2fd55e91e64b [2023-02-27T06:00:46.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T06:00:46.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T06:00:46.964Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T06:00:46.964Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T06:00:46.964Z] OK: 6 MiB in 15 packages [2023-02-27T06:00:46.964Z] Removing intermediate container 2fd55e91e64b [2023-02-27T06:00:46.964Z] ---> c8bdb66dbcfc [2023-02-27T06:00:46.964Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-27T06:00:46.964Z] ---> 3fe039da8609 [2023-02-27T06:00:46.964Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-27T06:00:46.964Z] ---> e0fff1db8e1f [2023-02-27T06:00:46.964Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-27T06:00:46.964Z] ---> c1b08d89f286 [2023-02-27T06:00:46.964Z] Step 18/24 : EXPOSE 59993 [2023-02-27T06:00:46.964Z] ---> Running in eb13eed31e52 [2023-02-27T06:00:46.964Z] Removing intermediate container eb13eed31e52 [2023-02-27T06:00:46.964Z] ---> 7c94a0fffe98 [2023-02-27T06:00:46.964Z] Step 19/24 : EXPOSE 161 [2023-02-27T06:00:46.964Z] ---> Running in 5f648b53e5ac [2023-02-27T06:00:46.964Z] Removing intermediate container 5f648b53e5ac [2023-02-27T06:00:46.964Z] ---> edbe7c9e90ec [2023-02-27T06:00:46.964Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-27T06:00:46.964Z] ---> Running in d7baf14dfe67 [2023-02-27T06:00:46.964Z] Removing intermediate container d7baf14dfe67 [2023-02-27T06:00:46.964Z] ---> 15fa59e9c125 [2023-02-27T06:00:46.964Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-27T06:00:46.964Z] ---> Running in c85f798abdb4 [2023-02-27T06:00:46.964Z] Removing intermediate container c85f798abdb4 [2023-02-27T06:00:46.964Z] ---> decb192086ee [2023-02-27T06:00:46.964Z] Step 22/24 : LABEL arch=amd64 [2023-02-27T06:00:46.964Z] ---> Running in e2dcadab9c8f [2023-02-27T06:00:46.964Z] Removing intermediate container e2dcadab9c8f [2023-02-27T06:00:46.964Z] ---> 480991419cbf [2023-02-27T06:00:46.964Z] Step 23/24 : LABEL git_sha=0580104b3e71e24182fc93213824bc07e2b77ce7 [2023-02-27T06:00:46.964Z] ---> Running in d9f8e2a63ddd [2023-02-27T06:00:46.964Z] Removing intermediate container d9f8e2a63ddd [2023-02-27T06:00:46.964Z] ---> a3c07c69499f [2023-02-27T06:00:46.964Z] Step 24/24 : LABEL version=0.0.0 [2023-02-27T06:00:46.964Z] ---> Running in 19e5105bb4be [2023-02-27T06:00:46.964Z] Removing intermediate container 19e5105bb4be [2023-02-27T06:00:46.964Z] ---> d95beaa59151 [2023-02-27T06:00:46.964Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T06:00:46.964Z] Successfully built d95beaa59151 [2023-02-27T06:00:46.964Z] 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-27T06:00:47.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T06:00:47.971Z] [2023-02-27T06:00:47.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T06:00:48.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T06:00:48.343Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-27T06:00:48.343Z] 5eb5b503b376: Pulling fs layer [2023-02-27T06:00:48.343Z] 5c69ac0246d0: Pulling fs layer [2023-02-27T06:00:48.343Z] ec43610c2a17: Pulling fs layer [2023-02-27T06:00:48.343Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-27T06:00:48.343Z] 33b1e0a273af: Pulling fs layer [2023-02-27T06:00:48.344Z] 5d3b04190fa2: Pulling fs layer [2023-02-27T06:00:48.344Z] 2f39f015ded8: Pulling fs layer [2023-02-27T06:00:48.344Z] 3a2ae6a8a46f: Waiting [2023-02-27T06:00:48.344Z] 33b1e0a273af: Waiting [2023-02-27T06:00:48.344Z] 5d3b04190fa2: Waiting [2023-02-27T06:00:48.344Z] 2f39f015ded8: Waiting [2023-02-27T06:00:48.344Z] 5c69ac0246d0: Verifying Checksum [2023-02-27T06:00:48.344Z] 5c69ac0246d0: Download complete [2023-02-27T06:00:48.344Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-27T06:00:48.344Z] 3a2ae6a8a46f: Download complete [2023-02-27T06:00:48.603Z] 33b1e0a273af: Verifying Checksum [2023-02-27T06:00:48.603Z] 33b1e0a273af: Download complete [2023-02-27T06:00:48.603Z] ec43610c2a17: Verifying Checksum [2023-02-27T06:00:48.603Z] ec43610c2a17: Download complete [2023-02-27T06:00:48.603Z] 5d3b04190fa2: Verifying Checksum [2023-02-27T06:00:48.603Z] 5d3b04190fa2: Download complete [2023-02-27T06:00:48.603Z] 5eb5b503b376: Verifying Checksum [2023-02-27T06:00:48.603Z] 5eb5b503b376: Download complete [2023-02-27T06:00:49.168Z] 2f39f015ded8: Download complete [2023-02-27T06:00:49.736Z] 5eb5b503b376: Pull complete [2023-02-27T06:00:49.994Z] 5c69ac0246d0: Pull complete [2023-02-27T06:00:50.255Z] ec43610c2a17: Pull complete [2023-02-27T06:00:50.514Z] 3a2ae6a8a46f: Pull complete [2023-02-27T06:00:50.514Z] 33b1e0a273af: Pull complete [2023-02-27T06:00:50.775Z] 5d3b04190fa2: Pull complete [2023-02-27T06:00:54.972Z] 2f39f015ded8: Pull complete [2023-02-27T06:00:54.972Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-27T06:00:54.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T06:00:54.972Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T06:00:55.176Z] prd-ubuntu20.04-docker-8c-8g-7537 does not seem to be running inside a container [2023-02-27T06:00:55.203Z] $ 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-247 -v /w/workspace/gexfoundry_device-snmp-go_PR-247:/w/workspace/gexfoundry_device-snmp-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-247@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-247@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-27T06:00:57.636Z] $ docker top a0ee85c694db46e86e8c0e1fe3753ec49d029b5f19a019bb961c7cb54c02ec32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:00:58.067Z] ---> job-cost.sh [2023-02-27T06:00:58.067Z] lf-activate-venv: SKIPPING [2023-02-27T06:00:58.067Z] INFO: No Stack... [2023-02-27T06:00:58.326Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T06:00:58.585Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T06:00:58.898Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-247/archives/cost.csv [2023-02-27T06:00:58.898Z] + cut -d, -f6 [Pipeline] lock [2023-02-27T06:00:58.943Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-247-1-stack-cost] [2023-02-27T06:00:58.948Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-247-1-stack-cost] did not exist. Created. [2023-02-27T06:00:58.948Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-247-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T06:00:59.326Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-27T06:00:59.372Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T06:00:59.398Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-247-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T06:00:59.469Z] $ docker stop --time=1 a0ee85c694db46e86e8c0e1fe3753ec49d029b5f19a019bb961c7cb54c02ec32 [2023-02-27T06:01:00.625Z] $ docker rm -f --volumes a0ee85c694db46e86e8c0e1fe3753ec49d029b5f19a019bb961c7cb54c02ec32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-27T06:01:38.508Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7542 in /w/workspace/gexfoundry_device-snmp-go_PR-247 [Pipeline] { [Pipeline] ws [2023-02-27T06:01:38.563Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2023-02-27T06:01:38.636Z] Selected Git installation does not exist. Using Default [2023-02-27T06:01:38.636Z] The recommended git tool is: NONE [2023-02-27T06:01:44.873Z] using credential edgex-jenkins-ssh [2023-02-27T06:01:44.891Z] Cloning the remote Git repository [2023-02-27T06:01:44.939Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-02-27T06:01:45.015Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2023-02-27T06:01:45.177Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-27T06:01:45.178Z] > git --version # timeout=10 [2023-02-27T06:01:45.201Z] > git --version # 'git version 2.25.1' [2023-02-27T06:01:45.204Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T06:01:45.270Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T06:01:46.385Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-27T06:01:46.412Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T06:01:47.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-02-27T06:01:47.415Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-02-27T06:01:47.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T06:01:47.439Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-27T06:01:48.049Z] Merging remotes/origin/main commit 2bd6e5dae59222faf073cfb9822f90f2048c0bba into PR head commit 0580104b3e71e24182fc93213824bc07e2b77ce7 [2023-02-27T06:01:48.292Z] Merge succeeded, producing 0580104b3e71e24182fc93213824bc07e2b77ce7 [2023-02-27T06:01:48.293Z] Checking out Revision 0580104b3e71e24182fc93213824bc07e2b77ce7 (PR-247) [2023-02-27T06:01:48.823Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-27T06:01:48.068Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T06:01:48.088Z] > git checkout -f 0580104b3e71e24182fc93213824bc07e2b77ce7 # timeout=10 [2023-02-27T06:01:48.190Z] > git remote # timeout=10 [2023-02-27T06:01:48.209Z] > git config --get remote.origin.url # timeout=10 [2023-02-27T06:01:48.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T06:01:48.244Z] > git merge 2bd6e5dae59222faf073cfb9822f90f2048c0bba # timeout=10 [2023-02-27T06:01:48.273Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-27T06:01:48.299Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T06:01:48.315Z] > git checkout -f 0580104b3e71e24182fc93213824bc07e2b77ce7 # timeout=10 [2023-02-27T06:01:48.881Z] > git --version # timeout=10 [2023-02-27T06:01:48.892Z] > git --version # 'git version 2.25.1' [2023-02-27T06:01:48.919Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T06:01:50.012Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-27T06:01:50.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T06:01:50.012Z] Dload Upload Total Spent Left Speed [2023-02-27T06:01:50.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-02-27T06:01:50.684Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-27T06:01:51.039Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-27T06:01:51.039Z] + sudo tee /etc/docker/daemon.new [2023-02-27T06:01:51.039Z] { [2023-02-27T06:01:51.039Z] "registry-mirrors": [ [2023-02-27T06:01:51.040Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-27T06:01:51.040Z] ], [2023-02-27T06:01:51.040Z] "bip": "10.250.0.254/24", [2023-02-27T06:01:51.040Z] "hosts": [ [2023-02-27T06:01:51.040Z] "tcp://0.0.0.0:5555", [2023-02-27T06:01:51.040Z] "unix:///var/run/docker.sock" [2023-02-27T06:01:51.040Z] ], [2023-02-27T06:01:51.040Z] "mtu": 1458, [2023-02-27T06:01:51.040Z] "selinux-enabled": true, [2023-02-27T06:01:51.040Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-27T06:01:51.040Z] } [Pipeline] sh [2023-02-27T06:01:51.397Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-27T06:01:51.753Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T06:02:10.114Z] provisioning config files... [2023-02-27T06:02:10.147Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config917962664830685259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:02:10.553Z] ---> docker-login.sh [2023-02-27T06:02:10.553Z] nexus3.edgexfoundry.org:10001 [2023-02-27T06:02:11.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T06:02:11.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T06:02:11.149Z] Configure a credential helper to remove this warning. See [2023-02-27T06:02:11.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T06:02:11.149Z] [2023-02-27T06:02:11.149Z] Login Succeeded [2023-02-27T06:02:11.149Z] nexus3.edgexfoundry.org:10002 [2023-02-27T06:02:11.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T06:02:11.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T06:02:11.697Z] Configure a credential helper to remove this warning. See [2023-02-27T06:02:11.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T06:02:11.697Z] [2023-02-27T06:02:11.697Z] Login Succeeded [2023-02-27T06:02:11.697Z] nexus3.edgexfoundry.org:10003 [2023-02-27T06:02:11.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T06:02:11.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T06:02:11.970Z] Configure a credential helper to remove this warning. See [2023-02-27T06:02:11.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T06:02:11.970Z] [2023-02-27T06:02:11.970Z] Login Succeeded [2023-02-27T06:02:11.970Z] nexus3.edgexfoundry.org:10004 [2023-02-27T06:02:12.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T06:02:12.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T06:02:12.247Z] Configure a credential helper to remove this warning. See [2023-02-27T06:02:12.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T06:02:12.247Z] [2023-02-27T06:02:12.519Z] Login Succeeded [2023-02-27T06:02:12.519Z] docker.io [2023-02-27T06:02:12.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T06:02:13.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T06:02:13.064Z] Configure a credential helper to remove this warning. See [2023-02-27T06:02:13.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T06:02:13.064Z] [2023-02-27T06:02:13.064Z] Login Succeeded [2023-02-27T06:02:13.064Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T06:02:13.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T06:02:13.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T06:02:13.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T06:02:13.581Z] ========================================================= [2023-02-27T06:02:13.581Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-27T06:02:13.581Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T06:02:14.085Z] + 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-27T06:02:14.356Z] Sending build context to Docker daemon 2.949MB [2023-02-27T06:02:14.357Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T06:02:14.357Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-27T06:02:14.632Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-27T06:02:14.632Z] 9b18e9b68314: Pulling fs layer [2023-02-27T06:02:14.632Z] 35d82f9e3411: Pulling fs layer [2023-02-27T06:02:14.632Z] e16973657156: Pulling fs layer [2023-02-27T06:02:14.632Z] fc693d55d65f: Pulling fs layer [2023-02-27T06:02:14.632Z] 7e9fc2657dce: Pulling fs layer [2023-02-27T06:02:14.632Z] dda99020689f: Pulling fs layer [2023-02-27T06:02:14.632Z] db1c61fa0a46: Pulling fs layer [2023-02-27T06:02:14.632Z] 891c053d2c06: Pulling fs layer [2023-02-27T06:02:14.632Z] fc693d55d65f: Waiting [2023-02-27T06:02:14.632Z] 7e9fc2657dce: Waiting [2023-02-27T06:02:14.632Z] dda99020689f: Waiting [2023-02-27T06:02:14.632Z] db1c61fa0a46: Waiting [2023-02-27T06:02:14.632Z] 891c053d2c06: Waiting [2023-02-27T06:02:14.632Z] e16973657156: Verifying Checksum [2023-02-27T06:02:14.632Z] e16973657156: Download complete [2023-02-27T06:02:14.632Z] 35d82f9e3411: Verifying Checksum [2023-02-27T06:02:14.632Z] 35d82f9e3411: Download complete [2023-02-27T06:02:14.632Z] 7e9fc2657dce: Verifying Checksum [2023-02-27T06:02:14.632Z] 7e9fc2657dce: Download complete [2023-02-27T06:02:14.632Z] dda99020689f: Verifying Checksum [2023-02-27T06:02:14.632Z] dda99020689f: Download complete [2023-02-27T06:02:14.632Z] 9b18e9b68314: Verifying Checksum [2023-02-27T06:02:14.632Z] 9b18e9b68314: Download complete [2023-02-27T06:02:15.630Z] 9b18e9b68314: Pull complete [2023-02-27T06:02:15.630Z] 891c053d2c06: Verifying Checksum [2023-02-27T06:02:15.630Z] 891c053d2c06: Download complete [2023-02-27T06:02:16.221Z] 35d82f9e3411: Pull complete [2023-02-27T06:02:16.508Z] e16973657156: Pull complete [2023-02-27T06:02:17.100Z] db1c61fa0a46: Verifying Checksum [2023-02-27T06:02:17.100Z] db1c61fa0a46: Download complete [2023-02-27T06:02:17.686Z] fc693d55d65f: Verifying Checksum [2023-02-27T06:02:17.686Z] fc693d55d65f: Download complete [2023-02-27T06:02:30.027Z] fc693d55d65f: Pull complete [2023-02-27T06:02:30.027Z] 7e9fc2657dce: Pull complete [2023-02-27T06:02:30.027Z] dda99020689f: Pull complete [2023-02-27T06:02:34.393Z] db1c61fa0a46: Pull complete [2023-02-27T06:02:38.651Z] 891c053d2c06: Pull complete [2023-02-27T06:02:38.651Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-27T06:02:38.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-27T06:02:38.931Z] ---> f96f9c87975a [2023-02-27T06:02:38.931Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-27T06:02:42.280Z] ---> Running in 78dd254b3ae2 [2023-02-27T06:02:42.281Z] Removing intermediate container 78dd254b3ae2 [2023-02-27T06:02:42.281Z] ---> f36475efc0b8 [2023-02-27T06:02:42.281Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T06:02:42.281Z] ---> Running in 2f70962c6a4b [2023-02-27T06:02:42.559Z] Removing intermediate container 2f70962c6a4b [2023-02-27T06:02:42.559Z] ---> 24f51975531d [2023-02-27T06:02:42.559Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T06:02:42.559Z] ---> Running in ce288e44e3b2 [2023-02-27T06:02:43.150Z] Removing intermediate container ce288e44e3b2 [2023-02-27T06:02:43.150Z] ---> f310194cf1ad [2023-02-27T06:02:43.150Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T06:02:43.150Z] ---> Running in 3f94a9b32691 [2023-02-27T06:02:43.419Z] Removing intermediate container 3f94a9b32691 [2023-02-27T06:02:43.419Z] ---> 3f282fe3c6b1 [2023-02-27T06:02:43.419Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T06:02:43.419Z] ---> Running in 3990e78a284b [2023-02-27T06:02:44.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T06:02:44.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T06:02:45.796Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-27T06:02:45.796Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-27T06:02:46.066Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-27T06:02:46.066Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-27T06:02:46.066Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T06:02:46.066Z] OK: 226 MiB in 55 packages [2023-02-27T06:02:47.031Z] Removing intermediate container 3990e78a284b [2023-02-27T06:02:47.031Z] ---> 7adf27159e7b [2023-02-27T06:02:47.031Z] Step 8/12 : WORKDIR /device-snmp-go [2023-02-27T06:02:47.031Z] ---> Running in 3c5eac764c4d [2023-02-27T06:02:47.625Z] Removing intermediate container 3c5eac764c4d [2023-02-27T06:02:47.625Z] ---> 8dbdb7c63bea [2023-02-27T06:02:47.625Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-27T06:02:47.894Z] ---> 068997f00c0d [2023-02-27T06:02:47.894Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T06:02:48.167Z] ---> Running in 2ee5e41374e7 [2023-02-27T06:03:56.147Z] Removing intermediate container 2ee5e41374e7 [2023-02-27T06:03:56.147Z] ---> 20b32ad0d193 [2023-02-27T06:03:56.147Z] Step 11/12 : COPY . . [2023-02-27T06:03:56.147Z] ---> 61809c345cb1 [2023-02-27T06:03:56.147Z] Step 12/12 : RUN ${MAKE} [2023-02-27T06:03:56.147Z] ---> Running in 76c204c19356 [2023-02-27T06:03:56.147Z] noop [2023-02-27T06:03:56.147Z] Removing intermediate container 76c204c19356 [2023-02-27T06:03:56.147Z] ---> 2caa9661b5c2 [2023-02-27T06:03:56.147Z] Successfully built 2caa9661b5c2 [2023-02-27T06:03:56.147Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T06:03:56.643Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T06:03:56.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T06:03:56.936Z] prd-ubuntu20.04-docker-arm64-4c-16g-7542 does not seem to be running inside a container [2023-02-27T06:03:57.034Z] $ 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-27T06:03:58.477Z] $ docker top d19b5ad224e52a6444b7d051f11dcdd6c18b209a0b3b2d4bd6e64840b4ebcd33 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T06:03:59.445Z] + go version [2023-02-27T06:03:59.445Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-27T06:03:59.489Z] $ docker stop --time=1 d19b5ad224e52a6444b7d051f11dcdd6c18b209a0b3b2d4bd6e64840b4ebcd33 [2023-02-27T06:04:01.217Z] $ docker rm -f --volumes d19b5ad224e52a6444b7d051f11dcdd6c18b209a0b3b2d4bd6e64840b4ebcd33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T06:04:02.108Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T06:04:02.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T06:04:02.400Z] prd-ubuntu20.04-docker-arm64-4c-16g-7542 does not seem to be running inside a container [2023-02-27T06:04:02.487Z] $ 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-27T06:04:03.859Z] $ docker top ddce99916723af8c97161d19feb9aa6db3816ec3571d5c657d4b3d06b3575177 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T06:04:04.780Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-27T06:04:05.500Z] + make test [2023-02-27T06:04:05.500Z] go test ./... -coverprofile=coverage.out [2023-02-27T06:04:07.460Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-02-27T06:05:44.258Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-02-27T06:05:44.258Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.052s coverage: 0.0% of statements [2023-02-27T06:05:44.259Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-27T06:05:44.259Z] go vet ./... [2023-02-27T06:06:11.019Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T06:06:11.019Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T06:06:11.019Z] ./bin/test-attribution-txt.sh [2023-02-27T06:06:11.019Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-27T06:06:11.019Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-27T06:06:11.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T06:06:11.101Z] $ docker stop --time=1 ddce99916723af8c97161d19feb9aa6db3816ec3571d5c657d4b3d06b3575177 [2023-02-27T06:06:13.473Z] $ docker rm -f --volumes ddce99916723af8c97161d19feb9aa6db3816ec3571d5c657d4b3d06b3575177 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T06:06:14.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T06:06:14.687Z] Warning: overwriting stash ‘coverage-report’ [2023-02-27T06:06:18.088Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T06:06:18.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T06:06:19.071Z] + ls -al . [2023-02-27T06:06:19.071Z] total 168 [2023-02-27T06:06:19.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 06:04 . [2023-02-27T06:06:19.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 06:01 .. [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 6 Feb 27 06:01 .dockerignore [2023-02-27T06:06:19.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 06:01 .git [2023-02-27T06:06:19.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 06:01 .github [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 328 Feb 27 06:01 .gitignore [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 27 06:01 .golangci.yml [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 8828 Feb 27 06:01 Attribution.txt [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 8355 Feb 27 06:01 CHANGELOG.md [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 1423 Feb 27 06:01 Dockerfile [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 06:01 GOVERNANCE.md [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 656 Feb 27 06:01 Jenkinsfile [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 27 06:01 LICENSE [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 2079 Feb 27 06:01 Makefile [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 27 06:01 OWNERS.md [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 10054 Feb 27 06:01 README.md [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 05:59 VERSION [2023-02-27T06:06:19.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 06:01 bin [2023-02-27T06:06:19.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 06:01 cmd [2023-02-27T06:06:19.071Z] -rw-r--r-- 1 jenkins jenkins 7631 Feb 27 06:05 coverage.out [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 3327 Feb 27 06:01 go.mod [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 32895 Feb 27 06:01 go.sum [2023-02-27T06:06:19.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 06:01 internal [2023-02-27T06:06:19.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 06:01 snap [2023-02-27T06:06:19.071Z] -rw-rw-r-- 1 jenkins jenkins 228 Feb 27 06:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T06:06:19.514Z] + 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=0580104b3e71e24182fc93213824bc07e2b77ce7 --label arch=arm64 --label version=0.0.0 . [2023-02-27T06:06:19.799Z] Sending build context to Docker daemon 2.957MB [2023-02-27T06:06:20.075Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T06:06:20.075Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-27T06:06:20.075Z] ---> 2caa9661b5c2 [2023-02-27T06:06:20.075Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-27T06:06:20.075Z] ---> Running in 74d16dc9be85 [2023-02-27T06:06:20.357Z] Removing intermediate container 74d16dc9be85 [2023-02-27T06:06:20.357Z] ---> 0a6aaffc1748 [2023-02-27T06:06:20.357Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T06:06:20.632Z] ---> Running in ba7c2d943da6 [2023-02-27T06:06:20.903Z] Removing intermediate container ba7c2d943da6 [2023-02-27T06:06:20.903Z] ---> 6a6d154c80b7 [2023-02-27T06:06:20.903Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-27T06:06:21.171Z] ---> Running in 71a03edc80ec [2023-02-27T06:06:21.441Z] Removing intermediate container 71a03edc80ec [2023-02-27T06:06:21.442Z] ---> eb4faaca9a76 [2023-02-27T06:06:21.442Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T06:06:21.711Z] ---> Running in 5f0b248308e3 [2023-02-27T06:06:21.984Z] Removing intermediate container 5f0b248308e3 [2023-02-27T06:06:21.984Z] ---> 2b5884f17a98 [2023-02-27T06:06:21.984Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T06:06:22.253Z] ---> Running in b3697562d8c6 [2023-02-27T06:06:23.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T06:06:23.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T06:06:24.798Z] OK: 226 MiB in 55 packages [2023-02-27T06:06:26.241Z] Removing intermediate container b3697562d8c6 [2023-02-27T06:06:26.241Z] ---> e278618abeee [2023-02-27T06:06:26.241Z] Step 8/24 : WORKDIR /device-snmp-go [2023-02-27T06:06:26.241Z] ---> Running in 42cb2909794d [2023-02-27T06:06:26.511Z] Removing intermediate container 42cb2909794d [2023-02-27T06:06:26.511Z] ---> ae339116f3a0 [2023-02-27T06:06:26.511Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-27T06:06:27.105Z] ---> 56aa2aeacb1b [2023-02-27T06:06:27.105Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T06:06:27.105Z] ---> Running in f14ff2554691 [2023-02-27T06:06:30.473Z] Removing intermediate container f14ff2554691 [2023-02-27T06:06:30.473Z] ---> 706ae9686f32 [2023-02-27T06:06:30.473Z] Step 11/24 : COPY . . [2023-02-27T06:06:33.073Z] ---> e76ad683e1ba [2023-02-27T06:06:33.073Z] Step 12/24 : RUN ${MAKE} [2023-02-27T06:06:33.346Z] ---> Running in b5527032cb8b [2023-02-27T06:06:34.787Z] 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-27T06:09:11.629Z] Removing intermediate container b5527032cb8b [2023-02-27T06:09:11.629Z] ---> c27f3052ea45 [2023-02-27T06:09:11.629Z] Step 13/24 : FROM alpine:3.16 [2023-02-27T06:09:11.629Z] 3.16: Pulling from library/alpine [2023-02-27T06:09:11.629Z] 3760b48202b3: Pulling fs layer [2023-02-27T06:09:11.629Z] 3760b48202b3: Verifying Checksum [2023-02-27T06:09:11.629Z] 3760b48202b3: Download complete [2023-02-27T06:09:11.629Z] 3760b48202b3: Pull complete [2023-02-27T06:09:11.629Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T06:09:11.629Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T06:09:11.629Z] ---> 4c81e5bf8899 [2023-02-27T06:09:11.629Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-02-27T06:09:11.629Z] ---> Running in 8ea034cde1ab [2023-02-27T06:09:11.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T06:09:11.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T06:09:11.629Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T06:09:11.898Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T06:09:11.898Z] OK: 5 MiB in 15 packages [2023-02-27T06:09:12.868Z] Removing intermediate container 8ea034cde1ab [2023-02-27T06:09:12.868Z] ---> d9ccbaa8928b [2023-02-27T06:09:12.868Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-02-27T06:09:14.284Z] ---> df8071a4c09d [2023-02-27T06:09:14.284Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-02-27T06:09:14.553Z] ---> c602b8f82bb0 [2023-02-27T06:09:14.553Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-02-27T06:09:15.139Z] ---> 00817e4f8281 [2023-02-27T06:09:15.139Z] Step 18/24 : EXPOSE 59993 [2023-02-27T06:09:15.139Z] ---> Running in 0ba32a0536c0 [2023-02-27T06:09:15.724Z] Removing intermediate container 0ba32a0536c0 [2023-02-27T06:09:15.724Z] ---> a540532d2d14 [2023-02-27T06:09:15.724Z] Step 19/24 : EXPOSE 161 [2023-02-27T06:09:15.724Z] ---> Running in f590a7377ed6 [2023-02-27T06:09:16.004Z] Removing intermediate container f590a7377ed6 [2023-02-27T06:09:16.004Z] ---> 163569ac1492 [2023-02-27T06:09:16.004Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-02-27T06:09:16.004Z] ---> Running in 485155a6ea98 [2023-02-27T06:09:16.273Z] Removing intermediate container 485155a6ea98 [2023-02-27T06:09:16.273Z] ---> 8cfac8c4e251 [2023-02-27T06:09:16.273Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-27T06:09:16.543Z] ---> Running in 806cd0a9a6ac [2023-02-27T06:09:16.813Z] Removing intermediate container 806cd0a9a6ac [2023-02-27T06:09:16.813Z] ---> 58d6f39e7c3c [2023-02-27T06:09:16.813Z] Step 22/24 : LABEL arch=arm64 [2023-02-27T06:09:16.813Z] ---> Running in d55e9207ca65 [2023-02-27T06:09:17.081Z] Removing intermediate container d55e9207ca65 [2023-02-27T06:09:17.081Z] ---> 96e97b06526e [2023-02-27T06:09:17.081Z] Step 23/24 : LABEL git_sha=0580104b3e71e24182fc93213824bc07e2b77ce7 [2023-02-27T06:09:17.352Z] ---> Running in 2f88008f7267 [2023-02-27T06:09:17.619Z] Removing intermediate container 2f88008f7267 [2023-02-27T06:09:17.619Z] ---> bd94d04b0f76 [2023-02-27T06:09:17.619Z] Step 24/24 : LABEL version=0.0.0 [2023-02-27T06:09:17.619Z] ---> Running in ee3b9c68edda [2023-02-27T06:09:17.887Z] Removing intermediate container ee3b9c68edda [2023-02-27T06:09:17.887Z] ---> b86fa2375a8b [2023-02-27T06:09:17.887Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T06:09:17.887Z] Successfully built b86fa2375a8b [2023-02-27T06:09:17.887Z] 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-27T06:09:18.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T06:09:18.737Z] [2023-02-27T06:09:18.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T06:09:19.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T06:09:19.154Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-27T06:09:19.154Z] 8998bd30e6a1: Pulling fs layer [2023-02-27T06:09:19.154Z] 04944245beec: Pulling fs layer [2023-02-27T06:09:19.154Z] 699f458cf7ca: Pulling fs layer [2023-02-27T06:09:19.154Z] 765212b225bb: Pulling fs layer [2023-02-27T06:09:19.154Z] f23df028b6ca: Pulling fs layer [2023-02-27T06:09:19.154Z] d65c8cfc05b1: Pulling fs layer [2023-02-27T06:09:19.154Z] 2437ff75d9bd: Pulling fs layer [2023-02-27T06:09:19.154Z] 765212b225bb: Waiting [2023-02-27T06:09:19.154Z] f23df028b6ca: Waiting [2023-02-27T06:09:19.154Z] d65c8cfc05b1: Waiting [2023-02-27T06:09:19.154Z] 2437ff75d9bd: Waiting [2023-02-27T06:09:19.426Z] 04944245beec: Verifying Checksum [2023-02-27T06:09:19.426Z] 04944245beec: Download complete [2023-02-27T06:09:19.426Z] 765212b225bb: Verifying Checksum [2023-02-27T06:09:19.426Z] 765212b225bb: Download complete [2023-02-27T06:09:19.426Z] f23df028b6ca: Verifying Checksum [2023-02-27T06:09:19.426Z] f23df028b6ca: Download complete [2023-02-27T06:09:19.426Z] d65c8cfc05b1: Verifying Checksum [2023-02-27T06:09:19.426Z] d65c8cfc05b1: Download complete [2023-02-27T06:09:19.699Z] 699f458cf7ca: Verifying Checksum [2023-02-27T06:09:19.699Z] 699f458cf7ca: Download complete [2023-02-27T06:09:19.968Z] 8998bd30e6a1: Verifying Checksum [2023-02-27T06:09:19.968Z] 8998bd30e6a1: Download complete [2023-02-27T06:09:22.555Z] 2437ff75d9bd: Verifying Checksum [2023-02-27T06:09:22.555Z] 2437ff75d9bd: Download complete [2023-02-27T06:09:24.057Z] 8998bd30e6a1: Pull complete [2023-02-27T06:09:24.669Z] 04944245beec: Pull complete [2023-02-27T06:09:26.119Z] 699f458cf7ca: Pull complete [2023-02-27T06:09:26.120Z] 765212b225bb: Pull complete [2023-02-27T06:09:26.746Z] f23df028b6ca: Pull complete [2023-02-27T06:09:27.033Z] d65c8cfc05b1: Pull complete [2023-02-27T06:09:42.044Z] 2437ff75d9bd: Pull complete [2023-02-27T06:09:42.044Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-27T06:09:42.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T06:09:42.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T06:09:42.360Z] prd-ubuntu20.04-docker-arm64-4c-16g-7542 does not seem to be running inside a container [2023-02-27T06:09:42.446Z] $ 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-27T06:09:45.977Z] $ docker top 94c1d6e197afd2328e0b94ad438570e71db6dbff3c89e06ab1e7e1f51f2f9f85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:09:46.940Z] ---> job-cost.sh [2023-02-27T06:09:46.940Z] lf-activate-venv: SKIPPING [2023-02-27T06:09:46.940Z] INFO: No Stack... [2023-02-27T06:09:47.207Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-27T06:09:48.167Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T06:09:48.521Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2023-02-27T06:09:48.521Z] + cut -d, -f6 [Pipeline] lock [2023-02-27T06:09:48.874Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-247-1-stack-cost] [2023-02-27T06:09:48.879Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-247-1-stack-cost] did not exist. Created. [2023-02-27T06:09:48.879Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-247-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T06:09:49.618Z] /w/workspace/device-snmp-go/1@tmp/durable-2d1361cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-27T06:09:50.289Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-27T06:09:50.326Z] Warning: overwriting stash ‘stack-cost’ [2023-02-27T06:09:50.369Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T06:09:50.384Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-247-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T06:09:50.471Z] $ docker stop --time=1 94c1d6e197afd2328e0b94ad438570e71db6dbff3c89e06ab1e7e1f51f2f9f85 [2023-02-27T06:09:51.982Z] $ docker rm -f --volumes 94c1d6e197afd2328e0b94ad438570e71db6dbff3c89e06ab1e7e1f51f2f9f85 [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-27T06:09:52.911Z] provisioning config files... [2023-02-27T06:09:52.918Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-247@tmp/config3709816164305179847tmp [Pipeline] { [Pipeline] sh [2023-02-27T06:09:53.258Z] + set +x [2023-02-27T06:09:53.258Z] + bash -s -- [2023-02-27T06:09:53.258Z] + curl -s https://codecov.io/bash [2023-02-27T06:09:53.258Z] [2023-02-27T06:09:53.258Z] _____ _ [2023-02-27T06:09:53.258Z] / ____| | | [2023-02-27T06:09:53.258Z] | | ___ __| | ___ ___ _____ __ [2023-02-27T06:09:53.258Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-27T06:09:53.258Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-27T06:09:53.258Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-27T06:09:53.258Z] Bash-1.0.6 [2023-02-27T06:09:53.258Z] [2023-02-27T06:09:53.258Z] [2023-02-27T06:09:53.258Z] ==> git version 2.25.1 found [2023-02-27T06:09:53.258Z] ==> 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-27T06:09:53.258Z] Release-Date: 2020-01-08 [2023-02-27T06:09:53.258Z] 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-27T06:09:53.258Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-27T06:09:53.258Z] ==> Jenkins CI detected. [2023-02-27T06:09:53.258Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-247 [2023-02-27T06:09:53.258Z] project root: . [2023-02-27T06:09:53.258Z] --> token set from env [2023-02-27T06:09:53.258Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-27T06:09:53.258Z] ==> Running gcov in . (disable via -X gcov) [2023-02-27T06:09:53.258Z] ==> Python coveragepy not found [2023-02-27T06:09:53.258Z] ==> Searching for coverage reports in: [2023-02-27T06:09:53.258Z] + . [2023-02-27T06:09:53.258Z] -> Found 1 reports [2023-02-27T06:09:53.258Z] ==> Detecting git/mercurial file structure [2023-02-27T06:09:53.258Z] ==> Reading reports [2023-02-27T06:09:53.258Z] + ./coverage.out bytes=7631 [2023-02-27T06:09:53.258Z] ==> Appending adjustments [2023-02-27T06:09:53.258Z] https://docs.codecov.io/docs/fixing-reports [2023-02-27T06:09:53.517Z] + Found adjustments [2023-02-27T06:09:53.517Z] ==> Gzipping contents [2023-02-27T06:09:53.517Z] 4.0K /tmp/codecov.SrYAYh.gz [2023-02-27T06:09:53.517Z] ==> Uploading reports [2023-02-27T06:09:53.517Z] url: https://codecov.io [2023-02-27T06:09:53.517Z] query: branch=PR-247&commit=0580104b3e71e24182fc93213824bc07e2b77ce7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-247%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=247&job=&cmd_args= [2023-02-27T06:09:53.517Z] -> Pinging Codecov [2023-02-27T06:09:53.517Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-247&commit=0580104b3e71e24182fc93213824bc07e2b77ce7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-247%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=247&job=&cmd_args= [2023-02-27T06:09:53.517Z] -> Uploading to [2023-02-27T06:09:53.517Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-27/6C56EA5C29638FB4528AC87E60AF5AE0/0580104b3e71e24182fc93213824bc07e2b77ce7/fc9bd0d2-60a4-4913-b9c6-e49e25e1889f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T060953Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f52d912d30d87f1a66f8177119a636987555ceaeaf7185dc979dc990b01fe9b [2023-02-27T06:09:53.517Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T06:09:53.517Z] Dload Upload Total Spent Left Speed [2023-02-27T06:09:53.775Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1517 0 0 100 1517 0 6833 --:--:-- --:--:-- --:--:-- 6802 100 1517 0 0 100 1517 0 5285 --:--:-- --:--:-- --:--:-- 5267 [2023-02-27T06:09:53.776Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/0580104b3e71e24182fc93213824bc07e2b77ce7 [Pipeline] } [2023-02-27T06:09:53.802Z] 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-27T06:09:55.502Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-247/archives ] [2023-02-27T06:09:55.502Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-247/archives [2023-02-27T06:09:55.502Z] total 16 [2023-02-27T06:09:55.502Z] drwxr-xr-x 3 root root 4096 Feb 27 06:00 . [2023-02-27T06:09:55.502Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 06:00 .. [2023-02-27T06:09:55.502Z] drwxr-xr-x 2 root root 4096 Feb 27 06:00 cost [2023-02-27T06:09:55.502Z] -rw-r--r-- 1 root root 86 Feb 27 06:00 cost.csv [2023-02-27T06:09:55.502Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-247/archives [2023-02-27T06:09:55.502Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-247/archives [2023-02-27T06:09:55.502Z] total 16 [2023-02-27T06:09:55.502Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 06:00 . [2023-02-27T06:09:55.502Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 06:00 .. [2023-02-27T06:09:55.502Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 06:00 cost [2023-02-27T06:09:55.502Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 27 06:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:09:55.830Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:09:56.731Z] ---> package-listing.sh [2023-02-27T06:09:56.731Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-27T06:09:56.731Z] ++ facter osfamily [2023-02-27T06:09:56.991Z] + OS_FAMILY=debian [2023-02-27T06:09:56.991Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-247 [2023-02-27T06:09:56.991Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-27T06:09:56.991Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-27T06:09:56.991Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-27T06:09:56.991Z] + PACKAGES=/tmp/packages_start.txt [2023-02-27T06:09:56.991Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-247 ']' [2023-02-27T06:09:56.991Z] + PACKAGES=/tmp/packages_end.txt [2023-02-27T06:09:56.991Z] + case "${OS_FAMILY}" in [2023-02-27T06:09:56.991Z] + dpkg -l [2023-02-27T06:09:56.991Z] + grep '^ii' [2023-02-27T06:09:56.991Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-27T06:09:56.991Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-27T06:09:56.991Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-27T06:09:56.991Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-247 ']' [2023-02-27T06:09:56.991Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-247/archives/ [2023-02-27T06:09:56.991Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-247/archives/ [Pipeline] echo [2023-02-27T06:09:57.029Z] 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-247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-27T06:09:57.322Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T06:09:57.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T06:09:57.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T06:09:58.099Z] prd-ubuntu20.04-docker-8c-8g-7537 does not seem to be running inside a container [2023-02-27T06:09:58.132Z] $ 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-247/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-247 -v /w/workspace/gexfoundry_device-snmp-go_PR-247:/w/workspace/gexfoundry_device-snmp-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-247@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-247@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-27T06:09:58.326Z] $ docker top b2ef7d4caa2ff6e708c0ffca2e8daa568e7c08275dc82bd7ab72fdd745409806 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T06:09:58.720Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-27T06:09:59.032Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-27T06:09:59.338Z] + ls /var/log/sa-host [2023-02-27T06:09:59.338Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T06:09:59.467Z] provisioning config files... [2023-02-27T06:09:59.475Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-247@tmp/config18222370832453778569tmp [Pipeline] { [Pipeline] echo [2023-02-27T06:09:59.524Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:09:59.844Z] ---> create-netrc.sh [Pipeline] } [2023-02-27T06:09:59.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:10:00.260Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-27T06:10:00.292Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:10:00.609Z] ---> sudo-logs.sh [2023-02-27T06:10:00.609Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-27T06:10:00.691Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:10:01.004Z] ---> job-cost.sh [2023-02-27T06:10:01.004Z] lf-activate-venv: SKIPPING [2023-02-27T06:10:01.004Z] DEBUG: total: 0.2199999988079071 [2023-02-27T06:10:01.004Z] INFO: Retrieving Stack Cost... [2023-02-27T06:10:01.580Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T06:10:01.840Z] INFO: Archiving Costs [Pipeline] echo [2023-02-27T06:10:01.874Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T06:10:02.192Z] ---> logs-deploy.sh [2023-02-27T06:10:02.192Z] lf-activate-venv: SKIPPING [2023-02-27T06:10:02.192Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-247/1 [2023-02-27T06:10:02.192Z] INFO: archiving workspace using pattern(s): [2023-02-27T06:10:03.142Z] Archives upload complete. [2023-02-27T06:10:03.142Z] INFO: archiving logs to Nexus